Topic
4 replies Latest Post - ‏2013-02-24T17:56:28Z by SystemAdmin
SystemAdmin
SystemAdmin
2736 Posts
ACCEPTED ANSWER

Pinned topic Unhandled Exception

‏2013-02-21T12:24:00Z |
I get following error in one of my socket application running on AIX version 6.1 and java 6. I have applied latest fixed patch as well. The log file produced at the time of crash is atatched. Please advise.

Unhandled exception
Type=Segmentation error vmState=0x00020002
J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000032
Handler1=09001000A0911A88 Handler2=09001000A09092F0
R0=0700000000000000 R1=0000010012921650 R2=09001000A09A4C28 R3=000001001287A080
R4=00000000000001D0 R5=0000010011EDACF0 R6=0000000252041100 R7=0000000800000000
R8=0000000000000063 R9=00000000121400FD R10=0024442CBE3E69E2 R11=0000000000000000
R12=090000000759C48C R13=0000010012931800 R14=00000100131DC738 R15=0000000000000034
R16=0000000001111222 R17=0000010011EA2470 R18=FFFFFFFFFFFFFFFF R19=0000000000000001
R20=09000000075CEA58 R21=09001000A0994E68 R22=09001000A0994CC0 R23=0000000000000007
R24=000001001287A4D0 R25=0000010263F1BFC0 R26=0000010263F1BE00 R27=000001001287A038
R28=0000000000000000 R29=00000100122BE468 R30=0000010011EDAB80 R31=000001001022BA78
IAR=09000000075720F8 LR=0900000007572068 MSR=A00000000000D032 CTR=0900000007574A5C
CR=2400822B60000000 FPSCR=8202400000000000 XER=6000000082024000
FPR0 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR1 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR2 0000000082008000 (f: 2181070848.000000, d: 1.077592e-314)
FPR3 4330000000400000 (f: 4194304.000000, d: 4.503600e+15)
FPR4 4530000000000000 (f: 0.000000, d: 1.934281e+25)
FPR5 3febc234f72c234f (f: 4146864896.000000, d: 8.674569e-01)
FPR6 4330080000000007 (f: 7.000000, d: 4.512396e+15)
FPR7 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR8 0073002e00700061 (f: 7340129.000000, d: 1.691119e-306)
FPR9 0072007300650072 (f: 6619250.000000, d: 1.602209e-306)
FPR10 0073002e0058004d (f: 5767245.000000, d: 1.691119e-306)
FPR11 4026000000000000 (f: 0.000000, d: 1.100000e+01)
FPR12 3fe8000000000000 (f: 0.000000, d: 7.500000e-01)
FPR13 4020800000000000 (f: 0.000000, d: 8.250000e+00)
FPR14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR16 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR17 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR18 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR19 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR20 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR21 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR22 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR23 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR24 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR25 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR26 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR27 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR28 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR29 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR30 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR31 0000000000000000 (f: 0.000000, d: 0.000000e+00)
Module=/usr/java6_64/jre/lib/ppc64/default/libj9gc24.so
Module_base_address=090000000753E000
Target=2_40_20121024_126067 (AIX 6.1)
CPU=ppc64 (4 logical CPUs) (0x600000000 RAM)

Stack Backtrace
(0x0900000007571F28 http://libj9gc24.so+0x33f28)
(0x090000000759C48C http://libj9gc24.so+0x5e48c)
(0x090000000759E368 http://libj9gc24.so+0x60368)
(0x0900000007574600 http://libj9gc24.so+0x36600)
(0x0900000007574794 http://libj9gc24.so+0x36794)
(0x09000000075A8198 http://libj9gc24.so+0x6a198)
(0x0900000007567D0C http://libj9gc24.so+0x29d0c)
(0x09000000075856B8 http://libj9gc24.so+0x476b8)
(0x09000000075862D8 http://libj9gc24.so+0x482d8)
(0x0900000007557BB8 http://libj9gc24.so+0x19bb8)
(0x09000000075B4A14 http://libj9gc24.so+0x76a14)
(0x09000000075B2838 http://libj9gc24.so+0x74838)
(0x0900000007543B08 http://libj9gc24.so+0x5b08)
(0x09000000075696C8 http://libj9gc24.so+0x2b6c8)
(0x0900000006D49770 http://libj9vm24.so+0x4e770)
(0x0900000007625D40 http://libj9dyn24.so+0x26d40)
(0x0900000006D03D58 http://libj9vm24.so+0x8d58)
(0x0900000006D04024 http://libj9vm24.so+0x9024)
(0x0900000006D03350 http://libj9vm24.so+0x8350)
(0x0900000006D03658 http://libj9vm24.so+0x8658)
(0x09000000076BBFD4 http://libjclscar_24.so+0xbfd4)
(0x0900000006D046D8 http://libj9vm24.so+0x96d8)
(0x0900000006D04598 http://libj9vm24.so+0x9598)
(0x0900000006D04034 http://libj9vm24.so+0x9034)
(0x0900000006D03350 http://libj9vm24.so+0x8350)
(0x0900000006D0584C http://libj9vm24.so+0xa84c)
(0x0900000006D4953C http://libj9vm24.so+0x4e53c)
(0x0900000007625D40 http://libj9dyn24.so+0x26d40)
(0x0900000006D03D58 http://libj9vm24.so+0x8d58)
(0x0900000006D04024 http://libj9vm24.so+0x9024)
(0x0900000006D03350 http://libj9vm24.so+0x8350)
(0x0900000006D03658 http://libj9vm24.so+0x8658)
(0x09000000076BBFD4 http://libjclscar_24.so+0xbfd4)
(0x0900000006D046D8 http://libj9vm24.so+0x96d8)
(0x0900000006D04598 http://libj9vm24.so+0x9598)
(0x0900000006D04034 http://libj9vm24.so+0x9034)
(0x0900000006D03350 http://libj9vm24.so+0x8350)
(0x0900000006D0584C http://libj9vm24.so+0xa84c)
(0x0900000006D4953C http://libj9vm24.so+0x4e53c)
(0x0900000007625D40 http://libj9dyn24.so+0x26d40)
(0x0900000006D03D58 http://libj9vm24.so+0x8d58)
(0x0900000006D04024 http://libj9vm24.so+0x9024)
(0x0900000006D03350 http://libj9vm24.so+0x8350)
(0x0900000006D03658 http://libj9vm24.so+0x8658)
(0x09000000076BBFD4 http://libjclscar_24.so+0xbfd4)
(0x0900000006D046D8 http://libj9vm24.so+0x96d8)
(0x0900000006D04598 http://libj9vm24.so+0x9598)
(0x0900000006D04034 http://libj9vm24.so+0x9034)
(0x0900000006D03350 http://libj9vm24.so+0x8350)
(0x0900000006D0584C http://libj9vm24.so+0xa84c)
(0x0900000006D3AA6C http://libj9vm24.so+0x3fa6c)
(0x0900000006D3A228 http://libj9vm24.so+0x3f228)
(0x09000000076C1860 http://libjclscar_24.so+0x11860)
(0x0900000006D08FC8 http://libj9vm24.so+0xdfc8)
(0x0900000006D9BF94 http://libj9prt24.so+0x1f94)
(0x0900000006D08EE8 http://libj9vm24.so+0xdee8)
(0x0900000006D87C70 http://libj9thr24.so+0x1c70)
_pthread_body+0xf0 (0x0900000000474D54 http://libpthreads.a+0x3d54)

JVMDUMP039I Processing dump event "gpf", detail "" at 2013/02/19 11:06:57 - please wait.
JVMDUMP032I JVM requested System dump using '/MMDBservices/home/zygondb/core.20130219.110657.12583058.0001.dmp' in response to an event
Note: "Enable full CORE dump" in smit is set to FALSE and as a result there will be limited threading information in core file.
JVMDUMP012E Error in System dump: cannot find core file: "No such file or directory". check "ulimit -Hc" is set high enough
JVMDUMP032I JVM requested Java dump using '/MMDBservices/home/zygondb/javacore.20130219.110657.12583058.0002.txt' in response to an event
JVMDUMP010I Java dump written to /MMDBservices/home/zygondb/javacore.20130219.110657.12583058.0002.txt
JVMDUMP032I JVM requested Snap dump using '/MMDBservices/home/zygondb/Snap.20130219.110657.12583058.0003.trc' in response to an event
JVMDUMP010I Snap dump written to /MMDBservices/home/zygondb/Snap.20130219.110657.12583058.0003.trc
JVMDUMP013I Processed dump event "gpf", detail "".
Updated on 2013-02-24T17:56:28Z at 2013-02-24T17:56:28Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    2736 Posts
    ACCEPTED ANSWER

    Re: Unhandled Exception

    ‏2013-02-21T16:16:46Z  in response to SystemAdmin
    Someone on the IBM Support team would've definitely had a go at this , had the stack trace had the library offsets resolved to readable function names.
    But, now it is a wee bit difficult.

    My advise would be to open a ticket with IBM about this - but before that , try the following

    1) Enable full core dumps
    2) Recreate this issue
    3) Run the core through DBX, get the crash stack ("where" command)
    4) Search for the stack trace in the IBM Support website.

    Chances are the crash could be a known issue and there's already a fix for it.
    If its not, then it would help IBM Support if you could open an SR and provide the testcase that recreates this issue.

    Hope this helps.
    _
    Sada.

    PS: Please Attach the following two files to this thread. Maybe there's some vital crash related info in there.

    /MMDBservices/home/zygondb/javacore.20130219.110657.12583058.0002.txt
    /MMDBservices/home/zygondb/Snap.20130219.110657.12583058.0003.trc
    • SystemAdmin
      SystemAdmin
      2736 Posts
      ACCEPTED ANSWER

      Re: Unhandled Exception

      ‏2013-02-21T16:45:14Z  in response to SystemAdmin
      Thanks for response.

      I will enable the core dump and try to reproduce the case.

      The Java core and Snap-In are attached!

      Thanks,
      NYKhan
    • SystemAdmin
      SystemAdmin
      2736 Posts
      ACCEPTED ANSWER

      Re: Unhandled Exception

      ‏2013-02-22T11:50:05Z  in response to SystemAdmin
      I have a core dump. How to run this through DBX?

      Thanks,
      • SystemAdmin
        SystemAdmin
        2736 Posts
        ACCEPTED ANSWER

        Re: Unhandled Exception

        ‏2013-02-24T17:56:28Z  in response to SystemAdmin
        Hi
        This should get you started..
        http://pic.dhe.ibm.com/infocenter/aix/v7r1/index.jsp?topic=%2Fcom.ibm.aix.cmds%2Fdoc%2Faixcmds2%2Fdbx.htm
        http://stackoverflow.com/questions/4971699/how-do-you-examine-core-files-in-dbx

        In brief,
        dbx </path/to/java_executable> <path/to/core_dump>

        and then issue "where" command to get the stack.

        _
        Sada.