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

[drlvm][thread] assertion fails when interrupting a number of threads waiting on the same monitor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • DRLVM
    • None
    • Windows x86

    Description

      assert (thread->state & TM_THREAD_STATE_INTERRUPTED);
      in hythread_monitor_interrupt_wait()
      in thread_native_fat_monitor.c
      fails on attempt to interrupt several thread waiting on the same monitor.

      This bug causes regression of the following TPTP tests in debug mode:
      org.eclipse.tptp.scenario.thread.ThreadGroupTest\standalone_agg_filter\agg_threadThreadGroupTest_F.xml
      org.eclipse.tptp.scenario.thread.ThreadGroupTest\standalone_agg_full\agg_threadThreadGroupTest.xml
      org.eclipse.tptp.scenario.thread.ThreadGroupTest\standalone_cg_filter\threadThreadGroupTest_F.xml
      org.eclipse.tptp.scenario.thread.ThreadGroupTest\standalone_cg_full\threadThreadGroupTest.xml

      Attachments

        1. H4706-Regression-test.patch
          5 kB
          Eugene S. Ostrovsky
        2. H4706-Workaround-fix.patch
          1 kB
          Eugene S. Ostrovsky

        Issue Links

          Activity

            People

              gshimansky Gregory Shimansky
              eugene.s.ostrovsky@gmail.com Eugene S. Ostrovsky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: