English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
More re GC hanging
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Vincent Hanquez <tab@s...>
Subject: Re: [Caml-list] Re: Fwd: More re GC hanging
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.