From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 5936DBC57 for ; Sun, 15 Aug 2010 13:32:42 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAJBtZ0zUVZsV/2dsb2JhbACgS3G3fIU7BIli X-IronPort-AV: E=Sophos;i="4.55,371,1278280800"; d="scan'208";a="65423764" Received: from cerberus.snarc.org ([212.85.155.21]) by mail1-smtp-roc.national.inria.fr with ESMTP; 15 Aug 2010 13:32:42 +0200 Received: by cerberus.snarc.org (Postfix, from userid 1000) id 80B2A129F6; Sun, 15 Aug 2010 12:32:41 +0100 (BST) Date: Sun, 15 Aug 2010 12:32:40 +0100 From: Vincent Hanquez To: Sylvain Le Gall Cc: caml-list@inria.fr Subject: Re: [Caml-list] Re: Fwd: More re GC hanging Message-ID: <20100815113240.GA10862@snarc.org> References: <1281855821.2115.4.camel@glinka> <1281863810.2115.11.camel@glinka> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Warning: Email may contain unsmilyfied humor and/or satire. User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam: no; 0.00; bugreport:01 bug:01 bug:01 ocaml:01 bindings:01 wrote:01 caml-list:01 caml:02 caml:02 seems:03 bugs:03 bugs:03 debian:04 blocking:04 blocking:04 On Sun, Aug 15, 2010 at 10:41:44AM +0000, Sylvain Le Gall wrote: > Maybe it has nothing todo, but you talked about ocaml-ssl possibly and > your application hanging, it reminds me: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591891 > > ocaml-ssl and ocaml-dbus are involved, so maybe the guilty party is > ocaml-ssl -- this is just a guess, not sure about anything. As i said to the bug reporter, ocaml-dbus is not thread friendly at all; it never drop the ocaml lock through the caml_enter_blocking_section / caml_leave_blocking_section, so if any calls block they would block the whole application using it. This thread doesn't seems to involves ocaml-dbus here though, so there could be bugs in ocaml-ssl bindings too. -- Vincent