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

[drlvm][port][signals] Crash handler crashes on SIGSEGV processing in native thread

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0M6
    • DRLVM
    • None
    • Linux
    • Patch Available
    • Novice

    Description

      While processing PORT_SIGNAL_GPF on Linux, VM callback crashes in check_stack_overflow() function when TLS pointer is NULL (i.e. for native threads not attached to the VM).
      Suggested simple patch fixes this issue by checking TLS value before calling check_stack_overflow().

      Attachments

        1. H-5624.patch
          0.9 kB
          Ilya Berezhniuk

        Activity

          People

            gshimansky Gregory Shimansky
            iberezhn Ilya Berezhniuk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: