Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-3010

[drlvm][thread] VM crashes with seg fault on the recursive call of a synchronized method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • None
    • None
    • DRLVM
    • None

    Description

      The attached test crashes with the following message on Linux SUSE9 ia32:

      SIGSEGV in VM code.
      Stack trace:
      1: locktable_get_fat_monitor (/nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_thin_monitor.c:655)
      2: hythread_thin_monitor_try_enter (/nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_thin_monitor.c:310)
      3: IP is 0x416A05BD <native code>
      4: ?? (??:-1)
      <end of stack trace>
      Segmentation fault

      If to remove the "synchronized" modifier from the "test()" method declaration, the test passes.

      On SUSE9 Linux em64t the crash does not depend on the "synchronized" modifier: it just crashes with the wording:
      Segmentation fault
      (see HARMONY-2972)

      The attached test is the slightly modified smoke test stress.Stack.

      Attachments

        1. MyStack.java
          0.9 kB
          Elena Litani
        2. MyStack2.java
          1.0 kB
          Elena Litani

        Issue Links

          Activity

            People

              gshimansky Gregory Shimansky
              elena Elena Litani
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: