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

Java 1.4.0-rc-b89 core dumps on sparc during S9 CD0 GUI sysid run.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • solaris_9, 1.4.0
    • client-libs
    • None
    • b00
    • generic, x86
    • solaris_8


        ###@###.### 2002-01-15

        This is found while I try to verify bug fix for bugid 4451889. I did the following install on a Ultra 10 with 512 MB of memory.

          I use generic s81_54 CD0 and ran sysidtool. sysidtool core dumps. This is the configuration:

        # java -fullversion
        java full version "1.4.0-rc-b89"
        # cd /webstart/wizards/apps
        # # file core
        core: ELF 32-bit MSB core file SPARC Version 1, from 'java'
        # pwd
        /webstart/wizards/apps
        #
        # more hs*log

        An unexpected exception has been detected in native code outside the VM.
        Unexpected Signal : 10 occurred at PC=0xF04DDDE0
        Function=XmbResetIC+0x24
        Library=/usr/openwin/lib/libX11.so.4

        Current Java thread:
                at sun.awt.motif.X11InputMethod.resetXIC(Native Method)
                at sun.awt.motif.X11InputMethod.endComposition(X11InputMethod.java:753)
                at sun.awt.im.InputContext.endComposition(InputContext.java:779)
                - locked <f2d9f3f8> (a sun.awt.im.InputMethodContext)
                at java.awt.Component.enableInputMethods(Component.java:1066)
                at java.awt.TextComponent.enableInputMethods(TextComponent.java:144)
                at java.awt.TextComponent.enableInputMethodsIfNecessary(TextComponent.java:135)
                at java.awt.TextComponent.areInputMethodsEnabled(TextComponent.java:151)
                at java.awt.Component.dispatchEventImpl(Component.java:3461)
                at java.awt.Component.dispatchEvent(Component.java:3367)
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
                at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190
        )
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
                at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

        Dynamic libraries:
        0x10000 java
        0xff370000 /usr/lib/libthread.so.1
        0xff3a0000 /usr/lib/libdl.so.1
        0xff280000 /usr/lib/libc.so.1
        0xff350000 /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
        0xfec00000 /usr/j2se/jre/lib/sparc/client/libjvm.so
        0xff230000 /usr/lib/libCrun.so.1
        0xff210000 /usr/lib/libsocket.so.1
        0xff100000 /usr/lib/libnsl.so.1
        0xff1d0000 /usr/lib/libm.so.1
        0xff260000 /usr/lib/libw.so.1
        0xff0e0000 /usr/lib/libmp.so.2
        0xff0c0000 /usr/lib/librt.so.1
        0xff0a0000 /usr/lib/libaio.so.1
        0xff080000 /usr/lib/libmd5.so.1
        0xff050000 /usr/platform/SUNW,Ultra-5_10/lib/libmd5_psr.so.1
        0xfebd0000 /usr/j2se/jre/lib/sparc/native_threads/libhpi.so
        0xfeba0000 /usr/j2se/jre/lib/sparc/libverify.so
        0xfeb60000 /usr/j2se/jre/lib/sparc/libjava.so
        0xfeb40000 /usr/j2se/jre/lib/sparc/libzip.so
        0xfd390000 /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2
        0xfd0e0000 /usr/lib/nss_files.so.1
        0xf0800000 /usr/j2se/jre/lib/sparc/libawt.so
        0xf2300000 /usr/j2se/jre/lib/sparc/libmlib_image.so
        0xfaf90000 /usr/j2se/jre/lib/sparc/motif21/libmawt.so
        0xf0580000 /usr/dt/lib/libXm.so.4
        0xfae10000 /usr/openwin/lib/libXt.so.4
        0xfad50000 /usr/openwin/lib/libXext.so.0
        0xfd010000 /usr/openwin/lib/libXtst.so.1
        0xf0480000 /usr/openwin/lib/libX11.so.4
        0xfac20000 /usr/openwin/lib/libdps.so.5
        0xfad20000 /usr/openwin/lib/libSM.so.6
        0xf2bd0000 /usr/openwin/lib/libICE.so.6
        0xf0380000 /usr/j2se/jre/lib/sparc/libfontmanager.so
        0xf2bb0000 /usr/openwin/lib/locale/common/xlibi18n.so.2
        0xf2b90000 /usr/openwin/lib/locale/iso8859-1/xomEuro.so.2
        0xf2ae0000 /usr/lib//liblayout.so
        0xf2aa0000 /usr/openwin/lib/locale/common/ximlocal.so.2
        0xf29e0000 /usr/j2se/jre/lib/sparc/libsunwjdga.so
        0xf29b0000 /usr/openwin/lib/libdga.so.1
        0xf2890000 /usr/j2se/jre/lib/sparc/libjdgaSUNWm64.so
        0xf2990000 /usr/lib/libsysidzoneinfo.so
        0xf28e0000 /usr/lib/libzoneinfo.so.1

        Local Time = Tue Jan 15 08:55:31 2002
        Elapsed Time = 78
        #
        # The exception above was detected in native code outside the VM
        #
        # Java VM: Java HotSpot(TM) Client VM (1.4.0-rc-b89 mixed mode)
        #
        # # cd /webstart
        # cd wizards/apps
        # ls
        car.class hs_err_pid216.log postinstall.class solaris.class.new
        com launcher.class progress.class sysid.class
        core ORIG solaris.class
        # adb /usr/j2se/bin/java core
        core file = core -- program ``/usr/j2se/bin/java'' on platform SUNW,Ultra-5_10
        SIGABRT: Abort
        $c
        libc.so.1`_lwp_kill+8(6, 0, efdfe398, 0, fcea8, feee14f0)
        libc.so.1`abort+0x100(0, efdfe428, 0, fffffff8, 0, efdfe451)
        0xfeee1390(1, fef968ba, efdfe4c8, 0, feffa058, feedff90)
        0xfeee0000(2339f8, a, f04ddde0, efdff210, fede6298, 0)
        0xfede6abc(f04ddde0, efdff210, efdfef58, f04ddde0, f04ddde4, 0)
        libthread.so.1`__sighndlr+0xc(a, efdff210, efdfef58, fede6234, 0, 0)
        libthread.so.1`call_user_handler+0x234(a, efdff210, efdfef58, 0, 0, 0)
        libthread.so.1`sigacthandler+0x64(a, efdff210, efdfef58, 4, 3c, de518)
        libX11.so.4`XmbResetIC+0x24(675, d21d0, 2339f8, faff225c, efdfeddc, 1)
        libmawt.so`Java_sun_awt_motif_X11InputMethod_resetXIC+0x3c(233a84, efdff444, 0, 41ca18, 0, 0
        )
        0xfb00cc94(f2dae5a0, b7, 0, fb01357c, 2e2a04, efdff3d0)
        0xfb005c4c(f2dae5a0, fb00bc8c, efdff55c, fb015624, 0, efdff470)
        0xfb006268(f2d9f3f8, b6, efdff5e0, fb015904, 0, efdff4f0)
        0xfb005da0(f2dfa158, b7, efdff660, fb015408, 0, efdff580)
        0xfb005da0(f2dfa158, b6, efdff6f4, fb01561c, 0, efdff600)
        0xfb005da0(f2dfa158, b7, efdff774, fb015450, 2e2a04, efdff688)
        0xfb005da0(f2dfa158, 384, efdff808, fb0155d4, 1, efdff710)
        0xfb005b80(f2dfa158, efdff884, efdff888, fb015408, 2e2a04, efdff7a8)
        0xfb005da0(f2dfa158, f2dfba68, efdff910, fb015408, f3444208, efdff828)
        0xfb005da0(f3444220, ffffffff, efdff9a4, fb015408, 0, efdff8b0)
        0xfb005da0(f34b0420, f6fc5e51, efdffa28, fb015408, 0, efdff948)
        0xfb005b80(f2c28c48, b6, efdffaac, fb015408, 0, efdff9c8)
        0xfb005da0(f2c28c48, b6, efdffb38, fb015408, 0, efdffa50)
        0xfb005da0(f2c28c48, b6, 10, fb015408, f6fc4f98, efdffad0)
        0xfb005da0(efdffbc8, 0, 0, fb0155d4, 2f2b80, efdffb68)
        0xfb000438(efdffc50, efdffe98, a, f6fc5c60, fb00bc8c, efdffde0)
        0xfecfd8c8(efdffe90, efdffd18, efdffdd8, 2339f8, 2339f8, efdffd2c)
        0xfed0f560(fefe2000, 233f48, efdffdcc, efdffdc8, efdffdd8, 2339f8)
        0xfed0f3c0(efdffe90, efdffe8c, efdffe80, efdffe78, efdffe70, 2339f8)
        0xfed0f348(2339f8, 2339f8, 342818, 233f48, 2d2eb8, fed0f030)
        0xfed0f058(2339f8, 0, 0, 0, 0, 0)
        0xfecfc1a0(2339f8, 0, 0, 0, 0, 0)
        libthread.so.1`_lwp_start(0, 0, 0, 0, 0, 0)



        I had enclosed the hs*log file and core file for further exmination. I will try other machines with CD0 and sysidtool and boot multiple times to see what happens.



        ###@###.### 2002-01-15

        Here is the step to reproduce the bug on sparc:

        1. On sparc, addclient from the s81_54 CD0 image or use a CDROM

        2. After you boot the CDROM or s81_54 CD0 net image, I choose English as my install language. I also use the default swap partition.

        3. After CD0 finish copying to the swap partition, the system will reboot and ran sysidtool. I will run sysidtooland choose the following:

        Default route: Pick one
        Time zone: US/Pacific
        Time: accept default
        Power Mangement: off and don't ask at reboot
        Kiosk question: use crowroad.eng port 8080

        Answer all the question until you get to the confirm screen. Then hit confirm. sysid should complain that there is problem with default routing and you hit accept. Then the Solaris installer will come up.

        If sysidtool went away before you get to the confirm screen, chances are that java had core dump. You can check for core file under /webstart/wizards/apps.

        Even if you were able to get to the Solaris installer screen, you should still check to see there is no core files under /webstart/wizards/apps

        I did the above tests on different sparc systems 5 times in a row. The following machines core dumps under sysid:

        line1-u2: Ultra 2 with 128 MB of memory

        out of 5 attempts, the machine coredump once with java

        line1-u5: Ultra 5 with 128 MB of memory

        out of 5 attempts, the machine coredump twice with java

        line1-sme2: Ultra-IIi with 128 MB of memory

        out of 5 attempts, the machine coredump once with java

        I had attached the core files and hot spot error files for further evaulation.

        Even though the problem is intermittent, but once it happens, the network configuration parameter might not be set up correctly. The only workarond is to reboot from swap area and try again. This is unacceptable for FCS and definitely a regression from Beta Refresh.

        You can find the sysid java class under:

        /export/s9/combined.s9s_wos/latest/Solaris_9/Tools/Boot/webstart/wizards/apps/sysid.class

        If other groups runs into this during their CD0 or DVD testing, please update the bugid with machine configuration and attached core files and hs error logs. Thanks !!!!



        ###@###.### 2002-01-18

        I am wondering whether this fix will be integrated into S10 also. I will try to do the following:

        1. Testing Sparc with s81_54 with the latest Java class
        2. Test intel with s81_54 to see whether there is problem
        3. Testing Sparc with s10_01 to see whether similar problem exists


        ###@###.### 2002-01-21

        I spend sometime today to check out the fix on sparc as follow:

        1. Testing sparcs with the latest S9 nightly build with the latest S9 CD0 nightly build with the latest Java class. So far all machines works fine and I tried 5 times in a row.

        2. I also tested intel with the latest s9 nightly build with the latest S9 CD0 nightly build. sysid works fine and there were no core dump.

        I still haven't gotten a chance to try S10 yet.

              naoto Naoto Sato
              mmding Mary Ding (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: