Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6620021

glibc 2.7 + Java - crash any AWT application

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 6
    • client-libs
    • x86
    • linux

      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.

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: