You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2015/10/07 09:15:26 UTC

[jira] [Resolved] (SLING-4061) Deadlock involving discovery services at startup with Oak

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

Bertrand Delacretaz resolved SLING-4061.
----------------------------------------
    Resolution: Cannot Reproduce

Haven't seen this in a long time, setting "cannot reproduce" for now.

> Deadlock involving discovery services at startup with Oak
> ---------------------------------------------------------
>
>                 Key: SLING-4061
>                 URL: https://issues.apache.org/jira/browse/SLING-4061
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Bertrand Delacretaz
>         Attachments: discovery-deadlock.txt
>
>
> I just got a deadlock at startup when starting the launchpad integration tests instance on sling trunk revision 1632058 (so starting with Oak):
> {code}
> export DBG="-Xmx1G  -XX:MaxPermSize=256m -agentlib:jdwp=transport=dt_socket,address=30303,server=y,suspend=n"
> export MAVEN_OPTS="-Xmx1G  -XX:MaxPermSize=256m $DBG -Dsling.run.modes=oak"
> cd launchpad/testing
> mvn launchpad:run
> {code}
> I'll attach the stack trace. The discovery HeartbeatHandler, and DiscoveryServiceImpl classes are involved.
> The deadlock happens often on my box (macosx 10.9.5, java version "1.7.0_45"), with the same deadlock pattern AFAICS.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)