Getting local graphics enviroment produces assert
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libxcb (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
sun-java6 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: sun-java6-jre
If I use this in a java program
GraphicsEnviron
will I get the following result
Locking assertion failure. Backtrace:
#0 /usr/lib/
#1 /usr/lib/
#2 /usr/lib/
#3 /usr/lib/
#4 /usr/lib/
#5 /usr/lib/
#6 /usr/lib/
#7 [0xb5cd5ecd]
#8 [0xb5cceedd]
#9 [0xb5cceedd]
#10 [0xb5ccc249]
#11 /usr/lib/
#12 /usr/lib/
#13 /usr/lib/
#14 /usr/lib/
#15 /usr/lib/
#16 [0xb5cd5ecd]
#17 [0xb5cced77]
#18 [0xb5ccc249]
#19 /usr/lib/
Locking assertion failure. Backtrace:
#0 /usr/lib/
#1 /usr/lib/
#2 /usr/lib/
#3 /usr/lib/
#4 /usr/lib/
#5 /usr/lib/
#6 /usr/lib/
#7 /usr/lib/
#8 [0xb5cd5ecd]
#9 [0xb5cceedd]
#10 [0xb5cceedd]
#11 [0xb5ccc249]
#12 /usr/lib/
#13 /usr/lib/
#14 /usr/lib/
#15 /usr/lib/
#16 /usr/lib/
#17 [0xb5cd5ecd]
#18 [0xb5cced77]
#19 [0xb5ccc249]
Minimal program - Test.java
import java.awt.*;
public class Test {
public static void main(String[] args) {
GraphicsEnvir
}
}
Compile with
javac Test.java
Run with
java Test
Version of java is
sun-java6-jre 6-05-0ubuntu1
This is Fujitsu Siemens Si1520 with a Intel 945 integrated graphics
Output from lspci
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
I have tested on Gutsy, RHEL 4 and Windows and they produce no assert
description: | updated |
The message itself is harmless, but annoying. See bug #87947, where libxcb was made to use sloppy locks by default for Hardy. Looks like the backtrace still gets printed.
Novell applied more complex patch, which ouputs a warning instead of the backtrace when using sloppy locks : https:/ /bugzilla. novell. com/attachment. cgi?id= 182029.