Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2598

Hang in Felix: thread owing a bundle lock waits for ever to lock it again

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • framework-3.0.2
    • framework-3.0.3
    • Framework
    • None

    Description

      In GlassFish, I detected a hang. PFA jstack output. The scenario happens like this:

      a) I updated a bundle using telnet console. This thread is holding the bundle lock.
      b) Upon receiving the UPDATED event, one of our extenders bundle enhances the bundle and calls PackageAdmin.refreshPackages(bundle).
      c) PackageAdmin thread holds the global lock and tries to hold the bundle lock, which is currently held by telnetconsole thread.
      d) telnetconsole thread is waiting indefinitely to obtain the bundle lock.

      Attachments

        1. hang.txt
          32 kB
          Sanjeeb Kumar Sahoo

        Activity

          People

            rickhall Richard S. Hall
            sahoo Sanjeeb Kumar Sahoo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: