Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] suggestion for record pattern matching and construction
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christophe Raffalli <Christophe.Raffalli@u...>
Subject: Re: [Caml-list] FreeBSD + lablglut + thread: bug or not bug

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:
> 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
IMPORTANT: this mail is signed using PGP/MIME
At least Enigmail/Mozilla, mutt or evolution
can check this signature

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: