4 Replies Latest reply: Nov 7, 2008 10:00 AM by 843810 RSS

    SetEventNotificationMode ( Unhandled exception )

    843810
      if i call following API, with the parameters as below, my program got crashed.

      SetEventNotificationMode( jvmti, JVMTI_ENABLE , JVMTI_EVENT_VM_INIT, jthread (NULL));

      i checked jvmti is Not Null. and i am calling this method on valid pointer.

      is it the bug with the API?

      Error is Like::


      Unhandled exception
      Type=Segmentation error vmState=0x00000000
      J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000032
      Handler1=09001000A12A2D58 Handler2=09001000A129AE38
      R0=0000000000000004 R1=0000000112C31F10 R2=09001000A12CAD58 R3=000000011051D330
      R4=0000000112A01F70 R5=0000000112BEF060 R6=0000000112C320E8 R7=0000000112C320D8
      R8=0000000112C320F8 R9=0000000010000607 R10=09001000A12D8E60 R11=0000000000000000
      R12=090000000569C9A4 R13=0000000112C3A800 R14=0000000000000000 R15=0000000000000000
      R16=0000000000000000 R17=0000000000000000 R18=0000000000000000 R19=0000000000000000
      R20=0000000000000000 R21=0000000000000000 R22=000000011240F1F0 R23=2E666F6E74733D00
      R24=0000000000000000 R25=00000001121B4510 R26=000000000000000B R27=0000000112C320F8
      R28=0000000112C320D8 R29=0000000112C320E8 R30=0000000112C320A8 R31=09001000A12C78F0
      IAR=090000000569C9EC LR=090000000569C9C0 MSR=A00000000000D032 CTR=090000000552F348
      CR=53000345E000FF7F FPSCR=8202000000000000 XER=E000FF7F82020000
      FPR0 0000000000000000 (f: 0.000000, d: 0.000000e+00)
      FPR1 0000000000000000 (f: 0.000000, d: 0.000000e+00)
      FPR2 0000000000000000 (f: 0.000000, d: 0.000000e+00)
      FPR3 0000000000000000 (f: 0.000000, d: 0.000000e+00)
      FPR4 0000000000000000 (f: 0.000000, d: 0.000000e+00)
      FPR5 0000000000000000 (f: 0.000000, d: 0.000000e+00)
      FPR6 0000000000000000 (f: 0.000000, d: 0.000000e+00)
      FPR7 0000000000000000 (f: 0.000000, d: 0.000000e+00)
      FPR8 0000000000000000 (f: 0.000000, d: 0.000000e+00)
      FPR9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
      FPR10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
      FPR11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
      FPR12 0000000000000000 (f: 0.000000, d: 0.000000e+00)
      FPR13 0000000000000000 (f: 0.000000, d: 0.000000e+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)