felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FELIX-2598) Hang in Felix: thread owing a bundle lock waits for ever to lock it again
Date Wed, 15 Sep 2010 20:17:34 GMT

     [ https://issues.apache.org/jira/browse/FELIX-2598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Richard S. Hall updated FELIX-2598:
-----------------------------------

    Fix Version/s: framework-3.0.3
                       (was: framework-3.2.0)

> Hang in Felix: thread owing a bundle lock waits for ever to lock it again
> -------------------------------------------------------------------------
>
>                 Key: FELIX-2598
>                 URL: https://issues.apache.org/jira/browse/FELIX-2598
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-3.0.2
>            Reporter: Sahoo
>            Assignee: Richard S. Hall
>             Fix For: framework-3.0.3
>
>         Attachments: hang.txt
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message