
| View previous topic :: View next topic |
| Author |
Message |
ako
Joined: 21 Nov 2008 Posts: 11
|
Posted: Fri Nov 21, 2008 4:36 pm Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) |
|
|
Hi,
I discovered a strange rendering bug when opening big PHP files.
The first 500 or so lines are displayed like this (see attachement), everything below gets rendered normal.
It seems that the pane is not properly refreshed? It happens when you scroll through the code.
This appeares from Netbeans Versions 6.5rc1 to 6.5.
I'm using Ubuntu 8.10 with Java build 1.6.0_10-b33.
But it seems to be a generic Java bug, because all of a sudden the Zend Studio IDE (which I used before Netbeans) showed similar symptoms.
(I couldn't reproduce it with Eclipse though).
Has anybody seen this effect yet?
| Description: |
| Similar symptom in Zend Studio |
|
| Filesize: |
34.87 KB |
| Viewed: |
6516 Time(s) |

|
| Description: |
|
| Filesize: |
183.8 KB |
| Viewed: |
6516 Time(s) |

|
|
|
| Back to top |
|
 |
Petr Pisl Posted via mailing list.
|
Posted: Sat Nov 22, 2008 10:25 am Post subject: Strange rendering bug (Netbeans 6.5, Ubutnu 8.10) |
|
|
Hi,
I haven't seen this before yet. Do you have Compiz switch on?
Regards,
Petr
| Quote: | Hi,
I discovered a strange rendering bug when opening big PHP files.
The first 500 or so lines are displayed like this (see attachement), everything below gets rendered normal.
It seems that the pane is not properly refreshed?
This appeares from Netbeans Versions 6.5rc1 to 6.5.
I'm using Ubuntu 8.10 with Java build 1.6.0_10-b33.
But it seems to be a generic Java bug, because all of a sudden the Zend Studio IDE (which I used before Netbeans) showed similar symptoms.
(I couldn't reproduce it with Eclipse though).
Has anybody seen this effect yet?
Attachments:
http://forums.netbeans.org//files/zde5_5_rendering_bug_426.png
http://forums.netbeans.org//files/netbeans_rendering_bug_194.png
|
|
|
| Back to top |
|
 |
ako
Joined: 21 Nov 2008 Posts: 11
|
Posted: Sat Nov 22, 2008 10:53 am Post subject: |
|
|
| No, I don't have compiz enabled...
|
|
| Back to top |
|
 |
Jan Chalupa Posted via mailing list.
|
Posted: Sat Nov 22, 2008 11:01 am Post subject: Strange rendering bug (Netbeans 6.5, Ubutnu 8.10) |
|
|
Also please verify that NetBeans is really using the JDK version you
mention. Other JDK alternatives available in Ubuntu may cause rendering
problems.
You can check the JDK version in Help | About.
-Jan
Petr Pisl wrote:
| Quote: | Hi,
I haven't seen this before yet. Do you have Compiz switch on?
Regards,
Petr
| Quote: | Hi,
I discovered a strange rendering bug when opening big PHP files.
The first 500 or so lines are displayed like this (see attachement),
everything below gets rendered normal.
It seems that the pane is not properly refreshed?
This appeares from Netbeans Versions 6.5rc1 to 6.5.
I'm using Ubuntu 8.10 with Java build 1.6.0_10-b33.
But it seems to be a generic Java bug, because all of a sudden the
Zend Studio IDE (which I used before Netbeans) showed similar symptoms.
(I couldn't reproduce it with Eclipse though).
Has anybody seen this effect yet?
Attachments:
http://forums.netbeans.org//files/zde5_5_rendering_bug_426.png
http://forums.netbeans.org//files/netbeans_rendering_bug_194.png
|
|
|
|
| Back to top |
|
 |
ako
Joined: 21 Nov 2008 Posts: 11
|
Posted: Mon Nov 24, 2008 2:50 pm Post subject: Re: Strange rendering bug (Netbeans 6.5, Ubutnu 8.10) |
|
|
| Jan Chalupa wrote: | Also please verify that NetBeans is really using the JDK version you
mention. Other JDK alternatives available in Ubuntu may cause rendering
problems.
You can check the JDK version in Help | About.
-Jan
|
Yes, it seems so:
| Code: | Product Version: NetBeans IDE 6.5 (Build 200811100001)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Linux version 2.6.27-8-generic running on i386; UTF-8; de_DE (nb) |
|
|
| Back to top |
|
 |
Petr Pisl Posted via mailing list.
|
Posted: Tue Nov 25, 2008 1:15 pm Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) |
|
|
Thanks for the info. So the problem will not be in the version of java.
I haven't seen or heard about this yet. Do you know about someone else,
who has similar problem? I'm afraid that the issue will be somewhere in
combination java + driver + xXwindow. But this is just my guess.
Regards,
Petr
| Quote: | Jan Chalupa wrote:
| Quote: | Also please verify that NetBeans is really using the JDK version you
|
| Quote: | mention. Other JDK alternatives available in Ubuntu may cause rendering
|
| Quote: | You can check the JDK version in Help | About.
|
Yes, it seems so:
Code:
Product Version: NetBeans IDE 6.5 (Build 200811100001)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Linux version 2.6.27-8-generic running on i386; UTF-8; de_DE (nb)
|
|
|
| Back to top |
|
 |
Jan Chalupa Posted via mailing list.
|
Posted: Tue Nov 25, 2008 1:28 pm Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) |
|
|
Petr Pisl wrote:
| Quote: | Thanks for the info. So the problem will not be in the version of java.
I haven't seen or heard about this yet. Do you know about someone else,
who has similar problem? I'm afraid that the issue will be somewhere in
combination java + driver + xXwindow. But this is just my guess.
|
I'd also add the graphics card HW to the mix. Do you have a chance to
try the same project on another system (preferably the same Linux
version, but on different HW)? That might help us to narrow it down a
little bit.
Unfortunately, we haven't seen other reports of this issue yet.
-Honza
| Quote: | Regards,
Petr
| Quote: | Jan Chalupa wrote:
| Quote: | Also please verify that NetBeans is really using the JDK version you
|
| Quote: | mention. Other JDK alternatives available in Ubuntu may cause
rendering
|
| Quote: | You can check the JDK version in Help | About.
|
Yes, it seems so:
Code:
Product Version: NetBeans IDE 6.5 (Build 200811100001)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Linux version 2.6.27-8-generic running on i386; UTF-8; de_DE (nb)
|
|
|
|
| Back to top |
|
 |
ako
Joined: 21 Nov 2008 Posts: 11
|
Posted: Tue Nov 25, 2008 1:46 pm Post subject: Re: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) |
|
|
The only other person that I know, who uses Netbeans with the same PHP sources is running it on OSX, he doesn't have these problems.
I'm running it on a three year old notebook with a i810 (Intel) onboard chipset.
But I will get a new notebook in the next weeks, I will check if the problem persists there!
Thanks so far.
| Jan Chalupa wrote: |
| Quote: | Thanks for the info. So the problem will not be in the version of java.
I haven't seen or heard about this yet. Do you know about someone else,
who has similar problem? I'm afraid that the issue will be somewhere in
combination java + driver + xXwindow. But this is just my guess.
|
I'd also add the graphics card HW to the mix. Do you have a chance to
try the same project on another system (preferably the same Linux
version, but on different HW)? That might help us to narrow it down a
little bit.
Unfortunately, we haven't seen other reports of this issue yet.
-Honza
|
|
|
| Back to top |
|
 |
Micel
Joined: 25 Nov 2008 Posts: 1
|
Posted: Tue Nov 25, 2008 2:21 pm Post subject: |
|
|
Hi !
I have the same problem im running Ubuntu 8.10 x64 + 1.6.0_10; Java HotSpot(TM) 64-Bit Server VM 11.0-b15 + NetBeans IDE 6.5 (Build 200811100001) on a Dell OPTIPLEX 745
it happens when i scroll any .java file in the editor
|
|
| Back to top |
|
 |
Jan Chalupa Posted via mailing list.
|
Posted: Tue Nov 25, 2008 3:43 pm Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) |
|
|
Thank you for the report.
| Quote: | it happens when i scroll any .java file in the editor
|
Is it just with .java, or any other file types?
I just checked with the guys who work on the NetBeans editor
infrastructure and they confirmed occasional reports like these, but
didn't know the root cause either.
Could either of you experiencing this problem try the following test,
please?
cd <your-jdk-install>/demo/jfc/Notepad/
../../../bin/java -jar Notepad.jar
This will open a simple Java editor that comes with the JDK. Then try to
open the files you're experiencing the problem with. Do some scrolling
around. Do you see the same problem?
Thanks,
-Honza
Micel wrote:
| Quote: | Hi !
I have the same problem im running Ubuntu 8.10 x64 + 1.6.0_10; Java HotSpot(TM) 64-Bit Server VM 11.0-b15 + NetBeans IDE 6.5 (Build 200811100001) on a Dell OPTIPLEX 745
it happens when i scroll any .java file in the editor
|
|
|
| Back to top |
|
 |
ako
Joined: 21 Nov 2008 Posts: 11
|
Posted: Tue Nov 25, 2008 3:58 pm Post subject: Re: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) |
|
|
| Jan Chalupa wrote: |
This will open a simple Java editor that comes with the JDK. Then try to
open the files you're experiencing the problem with. Do some scrolling
around. Do you see the same problem?
|
On my system it shows the same error with the Java Notepad.
So I guess this is an error that should be reported to the Ubuntu bug tracker?
| Description: |
|
| Filesize: |
47.86 KB |
| Viewed: |
6387 Time(s) |

|
|
|
| Back to top |
|
 |
Jan Chalupa Posted via mailing list.
|
Posted: Tue Nov 25, 2008 4:47 pm Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) |
|
|
ako wrote:
| Quote: | Jan Chalupa wrote:
| Quote: | This will open a simple Java editor that comes with the JDK. Then try to
open the files you're experiencing the problem with. Do some scrolling
around. Do you see the same problem?
|
On my system it shows the same error with the Java Notepad.
|
Thanks. That's what I suspected.
| Quote: | So I guess this is an error that should be reported to the Ubuntu bug tracker?
|
No. The highest common denominator is the JDK in this case, so I'd start
there. You can report the bug here:
http://bugreport.sun.com/bugreport/
Or I can do it for you, if you provide me with the following details
(one more time, please):
java -version
uname -a
(+ graphics system info: card maker, driver version)
Thanks,
-Honza
|
|
| Back to top |
|
 |
ako
Joined: 21 Nov 2008 Posts: 11
|
Posted: Tue Nov 25, 2008 5:33 pm Post subject: Re: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) |
|
|
| Jan Chalupa wrote: | ako wrote:
Or I can do it for you, if you provide me with the following details
(one more time, please):
java -version
uname -a
(+ graphics system info: card maker, driver version)
|
That would be nice!
java -version
| Code: |
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
|
uname -a
| Code: |
Linux M12 2.6.27-8-generic #1 SMP Thu Nov 6 17:33:54 UTC 2008 i686 GNU/Linux
|
lspci | grep VGA
| Code: |
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
|
Is this information sufficient?
|
|
| Back to top |
|
 |
Jan Chalupa Posted via mailing list.
|
Posted: Tue Nov 25, 2008 7:14 pm Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) |
|
|
Thanks. I've filed an internal bug report #6776352 against JDK. If
accepted, it should show up on the public bugs.sun.com site in a couple
days. The responsible engineer may ask for more info, so stay tuned.
There's one more thing you could try in the meantime. It might be worth
trying the previous JDK release - 6u7. There's a slight chance this
issue is a regression introduced in 6u10. If you're still willing to do
a little bit of experimenting, go to
http://java.sun.com/products/archive/j2se/6u7/index.html
Download the JDK 6u7 for Linux (the plain .bin package, not rpm),
install it, and try the simple Notepad experiment with this version. If
it doesn't help, you can just delete the installation. It won't replace
the default 6u10 you already have.
Thanks again,
-Honza
ako wrote:
| Quote: | Jan Chalupa wrote:
| Quote: | Or I can do it for you, if you provide me with the following details
|
| Quote: | (one more time, please):
|
| Quote: | (+ graphics system info: card maker, driver version)
|
That would be nice!
java -version
Code:
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
uname -a
Code:
Linux M12 2.6.27-8-generic #1 SMP Thu Nov 6 17:33:54 UTC 2008 i686 GNU/Linux
lspci | grep VGA
Code:
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
Is this information sufficient?
|
|
|
| Back to top |
|
 |
Jan Chalupa Posted via mailing list.
|
Posted: Wed Nov 26, 2008 9:25 am Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) |
|
|
So, we've got the initial evaluation from the Java2d experts (full text
pasted below) and as expected, they're looking for more info.
Specifically:
1. It would be nice, if someone experiencing this problem could also
test with JDK 6u7 and report back the results. (I sent the instructions
on how to install 6u7 earlier in this thread).
2. The reports we've seen so far were for Ubuntu 8.10. Anyone
experiencing this with Ubuntu 8.04 or other Linux systems? Anyone able
to test both 8.10 and 8.04 on the same HW?
3. As requested by the JDK folks, it would be nice to get the following
files from the affected systems:
* /var/log/Xorg.0.log
* /etc/X11/xorg.conf
(You can email them to me directly. No need to attach them to this thread.)
4. A help of someone willing to go through the instructions in the
Java2d troubleshooting guide mentioned below and report the results
would be highly appreciated.
Just note that to pass properties to the JVM, you need to prefix them
with '-J' when starting NetBeans, i.e.:
./netbeans -J-Dsun.java2d.pmoffscreen=false
The environment variables should work without extra tricks.
Thanks,
-Honza
-------------------------------%<------------------------------
This doesn't look like a problem with the text rendering. It looks like
the Swing back-buffer isn't cleared before being repainted, so text is
painted over the old text.
However although I created a similarly sized set of content for Notepad
as shown in the attachment. I can't reproduce it, at least under vmware,
which is the only access I have to Ubuntu 8.10.
We need a whole lot of info here :
Is there a precise set of steps to reproduce ?
- Please confirm that this is
1) 6u10 only, not 6u7 ?
2) Ubuntu 8.10 only, not Ubuntu 8.04 ?
It could well be a bug in Ubuntu 8.10, perhaps specific to the driver.
It would be helpful to have the
* /var/log/Xorg.0.log
* /etc/X11/xorg.conf
from both systems attached to this report.
And please have those who can reproduce it try the troubleshooting tips
at
http://java.sun.com/javase/6/webnotes/trouble/TSG-Desktop/html/java2d.html#gcghm
More specifically, does the problem manifest if any of the following
steps are made:
1. disable the use of pixmaps: pass property to the application:
-Dsun.java2d.pmoffscreen=false
2. diable the use of shared memory pixmaps: set this env. variable:
J2D_PIXMAPS=server
3. disable the use of shared memory: set this env. variable:
J2D_USE_MITSHM=false
Report back the results.
-------------------------------%<------------------------------
Jan Chalupa wrote:
| Quote: | Thanks. I've filed an internal bug report #6776352 against JDK. If
accepted, it should show up on the public bugs.sun.com site in a couple
days. The responsible engineer may ask for more info, so stay tuned.
There's one more thing you could try in the meantime. It might be worth
trying the previous JDK release - 6u7. There's a slight chance this
issue is a regression introduced in 6u10. If you're still willing to do
a little bit of experimenting, go to
http://java.sun.com/products/archive/j2se/6u7/index.html
Download the JDK 6u7 for Linux (the plain .bin package, not rpm),
install it, and try the simple Notepad experiment with this version. If
it doesn't help, you can just delete the installation. It won't replace
the default 6u10 you already have.
Thanks again,
-Honza
ako wrote:
| Quote: | Jan Chalupa wrote:
| Quote: | Or I can do it for you, if you provide me with the following details
|
| Quote: | (one more time, please):
|
| Quote: | (+ graphics system info: card maker, driver version)
|
That would be nice!
java -version
Code:
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
uname -a
Code:
Linux M12 2.6.27-8-generic #1 SMP Thu Nov 6 17:33:54 UTC 2008 i686
GNU/Linux
lspci | grep VGA
Code:
00:02.0 VGA compatible controller: Intel Corporation Mobile
915GM/GMS/910GML Express Graphics Controller (rev 04)
Is this information sufficient?
|
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|
|