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 QAA27888; Thu, 11 Sep 2003 16:30:22 +0200 (MET DST) 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 QAA28323 for ; Thu, 11 Sep 2003 16:30:21 +0200 (MET DST) Received: from mail.npc.de (fw.npc.de [62.225.140.214]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h8BEUKf16123 for ; Thu, 11 Sep 2003 16:30:20 +0200 (MET DST) Received: from styx.ffm.npc.de (lion.npc.de [192.168.129.1]) by mail.npc.de (Postfix) with ESMTP id 926FA15B7; Thu, 11 Sep 2003 16:30:15 +0200 (CEST) Received: from hera.ffm.npc.de (hera.ffm.npc.de [192.168.130.8]) by styx.ffm.npc.de (Postfix STYX NPC GmbH) with ESMTP id DBB5E78E0; Thu, 11 Sep 2003 16:30:13 +0200 (CEST) Received: from ares.ffm.npc.de (ares.ffm.npc.de [192.168.130.32]) by hera.ffm.npc.de (Postfix HERA NPC GmbH) with ESMTP id 515F9159C3; Thu, 11 Sep 2003 16:30:13 +0200 (CEST) Received: from ares.ffm.npc.de (ares.ffm.npc.de [192.168.130.32]) by ares.ffm.npc.de (Postfix ARES NPC GmbH) with ESMTP id 22D15183C; Thu, 11 Sep 2003 16:30:13 +0200 (CEST) Subject: Re: [Caml-list] FreeBSD + lablglut + thread: bug or not bug From: Gerd Stolpmann To: Christophe Raffalli Cc: caml-list@inria.fr In-Reply-To: <3F607D6F.4010405@univ-savoie.fr> References: <20030910185255.GF25815@ecooper.com> <3F607D6F.4010405@univ-savoie.fr> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 11 Sep 2003 16:30:12 +0200 Message-Id: <1063290613.18964.3.camel@ares> Mime-Version: 1.0 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 lablglut:01 bug:01 bug:01 gerd:01 stolpmann:01 raffalli:01 glsurf:01 segv:01 3.07:01 segv:01 mainloop:01 lablglut:01 glsurf:01 lablgl:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Am Don, 2003-09-11 um 15.49 schrieb Christophe Raffalli: > Her is a small file (simplified from GlSurf) > that SEGV on FreeBSD 4.3 (with NVidia driver ...) and ocaml-3.07beta2 > If you remove the line with thread.yeld it does not SEGV. note: > thread.yeld is not called since Glut.mainLoop is not started, so I am > puzzled. > > Note: all the examples in lablglut distributions appear to work on my > FreeBSD box and the same program (GlSurf) works on Linux, windows and OSX. > > So there is a problem when you use FreeBSD+lablGL/GLUT+thread (you need > the three of them) Maybe another incarnation of this (non-)bug: http://caml.inria.fr/bin/caml-bugs/not%20a%20bug?id=1820;page=47;user=guest It seems that FreeBSD's libc_r is not stable enough. Gerd -- ------------------------------------------------------------ Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany gerd@gerd-stolpmann.de http://www.gerd-stolpmann.de ------------------------------------------------------------ ------------------- 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