From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id JAA10747; Wed, 20 Mar 2002 09:11:50 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA09726 for ; Wed, 20 Mar 2002 09:11:50 +0100 (MET) Received: from mel-rto6.wanadoo.fr (smtp-out-6.wanadoo.fr [193.252.19.25]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g2K8Bn915788 for ; Wed, 20 Mar 2002 09:11:49 +0100 (MET) Received: from mel-rta9.wanadoo.fr (193.252.19.69) by mel-rto6.wanadoo.fr; 20 Mar 2002 09:11:49 +0100 Received: from debian (80.8.75.96) by mel-rta9.wanadoo.fr; 20 Mar 2002 09:11:38 +0100 Received: from moi by debian with local (Exim 3.35 #1 (Debian)) id 16nbCD-0000pJ-00 for ; Wed, 20 Mar 2002 09:11:45 +0100 To: caml-list@inria.fr Subject: Re: [Caml-list] threads References: <000001c1cfbb$460b3c60$ca01a8c0@homebox> From: Remi VANICAT Date: 20 Mar 2002 09:11:45 +0100 In-Reply-To: <000001c1cfbb$460b3c60$ca01a8c0@homebox> Message-ID: <87r8mfejzy.dlv@wanadoo.fr> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk "Francois Rouaix" writes: > Is anyone using native threads in Ocaml 3.04 intensively on Linux these > days ? > I'm playing with a Gnutella servent, and I'm experimenting crashes > (bytecode and native). > I'm using the unix library heavily. So far, I'm aware that the DNS calls > are not reentrant, > but the rest of the library calls should be okay. > > My "crashes" are weird... There is no core (ulimit -c unlimited, before > you ask). > The program "hangs", ps looks like this. Looks like a thread is stuck. > Are you using lock ? (you should). This look like a deadlock, you should log all you locking to see if the problem is there. > 18964 pts/3 S 0:00 ./camella.opt > 18965 pts/3 Z 0:00 [camella.opt ] mmm, there is a dead thread. May be it has lock something before dying with out releasing it... -- Rémi Vanicat vanicat@labri.u-bordeaux.fr http://dept-info.labri.u-bordeaux.fr/~vanicat ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners