Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1270AE8A9 for ; Mon, 7 Jan 2013 13:11:12 +0000 (UTC) Received: (qmail 68841 invoked by uid 500); 7 Jan 2013 13:11:11 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 68722 invoked by uid 500); 7 Jan 2013 13:11:11 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 67118 invoked by uid 99); 7 Jan 2013 13:11:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jan 2013 13:11:09 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.223.173] (HELO mail-ie0-f173.google.com) (209.85.223.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jan 2013 13:11:03 +0000 Received: by mail-ie0-f173.google.com with SMTP id e13so23518063iej.32 for ; Mon, 07 Jan 2013 05:10:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=tl7kMb8ob2CZ+nU7IlTXgBPNIA/k2vrk+Hx7gQApo0Y=; b=Y68OhZsgoTDdB72mDaTgXNFAfuNPob0+K/AFcvmVTcXDCEgD6DnLCKwGqsDdmyaKj8 k1DsmwjYVdfK37ibINJ2SRBmTv2gvc/5vtrKaA9hTPatOKYB7DILv3EPv6Ps9eznSGhE suLiAyVnKYdkZwbuZEfJR63jXc3v9Qwzz2/mRIpcoSwOU4+ZEy6QRnT/KH8zYA2FW+um X9BtPuOtSm7ljby14jp2a0MgrYzUD/jj+PzwDjExbX8cVGA6HsHGAWjFQYeu2pJOtKyN NY13se7ihqTghYkKpsJPGXsmEgJXP+kQkd5wPVgJQLrQ6HRTfA/GYbbrQj4qUmG+zyw0 RSSA== MIME-Version: 1.0 Received: by 10.50.179.33 with SMTP id dd1mr5494665igc.31.1357564242191; Mon, 07 Jan 2013 05:10:42 -0800 (PST) Received: by 10.50.216.232 with HTTP; Mon, 7 Jan 2013 05:10:42 -0800 (PST) In-Reply-To: References: <50D39DCA.60007@ungoverned.org> <50D476FD.1020309@ungoverned.org> <50D66EDA.4080608@ungoverned.org> Date: Mon, 7 Jan 2013 05:10:42 -0800 Message-ID: Subject: Re: IPOJO initialization + refresh deadlock From: Jad Naous To: dev@felix.apache.org Content-Type: multipart/alternative; boundary=f46d0447a10f6a672e04d2b28eb5 X-Gm-Message-State: ALoCoQlZ9gmUuONaby7L2nhMrTLViCXlfCjeDOxLFW05VLX0VVCaB5ARE6BJMHtjXqi7MBS08Yrq X-Virus-Checked: Checked by ClamAV on apache.org --f46d0447a10f6a672e04d2b28eb5 Content-Type: text/plain; charset=ISO-8859-1 To close the loop on this thread, I've created FELIX-3839 On Thu, Jan 3, 2013 at 2:26 AM, Bertrand Delacretaz wrote: > On Thu, Jan 3, 2013 at 10:19 AM, Jad Naous wrote: > > On Thu, Jan 3, 2013 at 12:55 AM, Bertrand Delacretaz < > bdelacretaz@apache.org > >>... I haven't studied your case in detail but you might want to compare > >> with FELIX-3067... > > > Seems related. I'm guessing you are running into the deadlock because the > > classloader tries to acquire the global lock while holding some > application > > lock? > > I cannot say for sure, haven't looked at that issue in a while. The > SCR subsystem might have its own locks that contribute to exposing the > deadlocks. > > > > > I'm not familiar with the Sling Launchpad. Is this a maven repo somewhere > > where I can get your patches?... > > You can build Sling and use its launchpad as described in FELIX-3067 > if you want, but the key part in reproducing the deadlocks is the > stress tests [1] - I used Sling only as a provider of several bundles > which use SCR services, as that helps expose the problem. > > -Bertrand > > [1] https://github.com/bdelacretaz/osgi-stresser > --f46d0447a10f6a672e04d2b28eb5--