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 RAA15091; Thu, 11 Sep 2003 17:10:49 +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 RAA31136 for ; Thu, 11 Sep 2003 17:10:48 +0200 (MET DST) Received: from post.bourget.univ-savoie.fr (post.bourget.univ-savoie.fr [193.48.120.73]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h8BFAlf19726 for ; Thu, 11 Sep 2003 17:10:47 +0200 (MET DST) Received: from univ-savoie.fr (d85.lama.univ-savoie.fr [193.48.123.85]) by post.bourget.univ-savoie.fr (8.12.3/jtpda-5.4) with ESMTP id h8BFBUno027554 ; Thu, 11 Sep 2003 17:11:30 +0200 Message-ID: <3F6090B7.2090801@univ-savoie.fr> Date: Thu, 11 Sep 2003 17:11:51 +0200 From: Christophe Raffalli User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030324 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gerd Stolpmann CC: caml-list@inria.fr Subject: Re: [Caml-list] FreeBSD + lablglut + thread: bug or not bug References: <20030910185255.GF25815@ecooper.com> <3F607D6F.4010405@univ-savoie.fr> <1063290613.18964.3.camel@ares> In-Reply-To: <1063290613.18964.3.camel@ares> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) X-Loop: caml-list@inria.fr X-Spam: no; 0.00; raffalli:01 raffalli:01 univ-savoie:01 caml-list:01 lablglut:01 bug:01 bug:01 glsurf:01 glsurf:01 crashes:01 gerd:01 stolpmann:01 segv:01 3.07:01 segv:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Complement: GlSurf 2.0 that uses no thread works on my BSD Box (so it is not a problem with the NVidia driver for FreeBSD) GlSurf 2.1 also crashes with vmthread ... but a bit later and this is more difficult to reproduce . (I can send the source if you want, but it is not ready for distribution) I know that NVidia driver are not thread safe, but only yhe main thread does openGL call and it works for Linux. Gerd Stolpmann wrote: > 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 -- Christophe Raffalli Université de Savoie Batiment Le Chablais, bureau 21 73376 Le Bourget-du-Lac Cedex tél: (33) 4 79 75 81 03 fax: (33) 4 79 75 87 42 mail: Christophe.Raffalli@univ-savoie.fr www: http://www.lama.univ-savoie.fr/~RAFFALLI --------------------------------------------- IMPORTANT: this mail is signed using PGP/MIME At least Enigmail/Mozilla, mutt or evolution can check this signature --------------------------------------------- ------------------- 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