1 Reply Latest reply: Dec 21, 2011 6:14 PM by EJP RSS

    Unhandled Exception - Segmentation error

    906851
      Hi all...
      I'm not sure this is the correct place to post this, so feel free to move it if it's not.
      I'm running RSA75(Java 6) on a Windows 7 64 bit machine and I have an application
      that was built mostly in AWT, some Swing. I've been seeing this error for a while now,
      but only intermittently. I got a new machine the other day and now it's happening all the
      time. Here is the output I get.

      Unhandled exception
      Type=Segmentation error vmState=0x00040000
      J9Generic_Signal_Number=00000004 ExceptionCode=c0000005 ExceptionAddress=77132A7F ContextFlags=0001003f
      Handler1=003AA0C0 Handler2=0035C000 InaccessibleAddress=0063006D
      EDI=00560000 ESI=450B6248 EAX=450B6250 EBX=450B6168
      ECX=00630069 EDX=006C0061
      EIP=77132A7F ESP=023FF9BC EBP=023FF9E4 EFLAGS=00010246
      GS=002B FS=0053 ES=002B DS=002B
      Module=C:\Windows\SysWOW64\ntdll.dll
      Module_base_address=77100000 Offset_in_DLL=00032a7f
      Target=2_40_20110324_078506 (Windows 7 6.1 build 7600)
      CPU=x86 (4 logical CPUs) (0xf8762000 RAM)
      ----------- Stack Backtrace -----------
      RtlInterlockedFlushSList+0x2ea (0x77132A7F [ntdll+0x32a7f])
      RtlInterlockedFlushSList+0x572 (0x77132D07 [ntdll+0x32d07])
      RtlInterlockedFlushSList+0x45d (0x77132BF2 [ntdll+0x32bf2])
      free+0x39 (0x750F98CD [msvcrt+0x98cd])
      Java_ca_beq_util_win32_registry_RegistryKey_setValue+0x21f (0x62382EDF [jRegistryKey+0x2edf])
      VMprJavaSendNative+0x421 (jnisend.asm:432, 0x003BB321 [j9vm24+0x1b321])
      gpProtectedRunCallInMethod+0x1c (jnicsup.c:313, 0x003B748C [j9vm24+0x1748c])
      signalProtectAndRunGlue+0xa (jnicsup.c:1840, 0x003B7F2A [j9vm24+0x17f2a])
      j9sig_protect+0x41 (j9signal.c:144, 0x0035C161 [J9PRT24+0xc161])
      gpProtectAndRun+0x38 (jnicsup.c:410, 0x003B8788 [j9vm24+0x18788])
      gpCheckCallin+0x3a (jnicsup.c:558, 0x003B883A [j9vm24+0x1883a])
      callStaticVoidMethod+0x44 (jnicgen.c:303, 0x003B6E84 [j9vm24+0x16e84])
      (0x00403771 [javaw+0x3771])
      (0x00409A6E [javaw+0x9a6e])
      BaseThreadInitThunk+0x12 (0x76AB3677 [kernel32+0x13677])
      RtlInitializeExceptionChain+0x63 (0x77139F02 [ntdll+0x39f02])
      RtlInitializeExceptionChain+0x36 (0x77139ED5 [ntdll+0x39ed5])
      ---------------------------------------
      JVMDUMP006I Processing dump event "gpf", detail "" - please wait.
      JVMDUMP032I JVM requested System dump using 'D:\[WORKSPACE]\run\core.20111221.134229.4664.0001.dmp' in response to an event


      I've downloaded IBM's support assistant and have been able to analyze it to a degree, but nothing jumps out at me as being problematic.
      I'm at a loss. I know segmentation error means physical memory is a problem, but I've bumped up virtual memory on the Win system.
      Not sure what else to do. Does anyone have any advice?
      Thanks in advance!

      Edited by: 903848 on Dec 21, 2011 12:14 PM
        • 1. Re: Unhandled Exception - Segmentation error
          EJP
          I know segmentation error means physical memory is a problem
          No it doesn't. It is a virtual memory problem. It means the application has used an address that isn't mapped into the process's address space, i.e. a wild pointer value or a major array index out of bounds issue. It is a VM bug. Report it to the Bug Parade or as shown in the dump.