United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6620021 : glibc 2.7 + Java - crash any AWT application

Details
Type:
Bug
Submit Date:
2007-10-22
Status:
Closed
Updated Date:
2011-02-16
Project Name:
JDK
Resolved Date:
2007-11-15
Component:
client-libs
OS:
linux
Sub-Component:
java.awt
CPU:
x86
Priority:
P3
Resolution:
Cannot Reproduce
Affected Versions:
6
Fixed Versions:

Related Reports
Relates:

Sub Tasks

Description
FULL PRODUCT VERSION :
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Server VM (build 1.6.0_03-b05, mixed mode)

tested also Early Access build 1.6.0_05

ADDITIONAL OS VERSION INFORMATION :
Fedora 8 test 3
Linux libretto 2.6.22.4-65.fc7 #1 SMP Tue Aug 21 22:36:56 EDT 2007 i686 i686 i386 GNU/Linux
glibc-2.7-2 (but also 2.6.90 development versions)
libX11 compiled with XCB

A DESCRIPTION OF THE PROBLEM :
After patching libmawt.so to not recognise Xinerama due to the xcb bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6532373 java applications start, but crash soon after. Non-GUI applications seem to be stable, and so are SWT apps. It's those that use AWT (including all applets) that crash.

My other computer using amd64 JVM does not exhibit the issue.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Install a distro with glibc 2.7 and Java 1.6 including browser plugin.
sed -i 's/XINERAMA/FAKEXTEN/' /usr/java/jdk-1.6*/jre/lib/i386/*/libmawt.so to make Java start at all.
Visit the Java Test Applet page.


ERROR MESSAGES/STACK TRACES THAT OCCUR :
Attached seperatly


REPRODUCIBILITY :
This bug can be reproduced always.

                                    

Comments
EVALUATION

As no further information is received, I'm closing this CR as not reproducible. It can be re-opened later, if required (if Fedora 8 still has some problems with JDK7-b22 or the fix is required in some JDK6 update release).
                                     
2007-11-15
EVALUATION

After the fix for 6532373 ("xcb_xlib.c:50: xcb_xlib_unlock: Assertion 'c->xlib.lock' failed.", integrated into 7.0-b22) AWT doesn't use its own version of Xinerama any more. I don't have any glibc 2.7 desktop, so asking the submitter to check if 7.0-b22 still has any problems on Fedora 8.
                                     
2007-10-30



Hardware and Software, Engineered to Work Together