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
Crashing X.Org with lablgl
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-02-26 (05:01)
From: David Thomas <david_hd@y...>
Subject: Crashing X.Org with lablgl
Working on a 3d plotting program in ocaml, using
lablgl.  I got it working on my laptop, which is
running Debian 3.1, with XFree86.  All seemed to run

Moved it over to another box, it runs fine for about a
minute before the X server segfaults.  Duplicated the
result on three computers at work, all running X.Org
under Debian. Works fine on another computer running

Unfortunately, others on the project (with more clout)
are unwilling to move these systems back to XFree86.
While there *is* a 100% correlation between
X.Org/XFree86 and crashing/not, it's doubtful that
this is the only thing that's different between the

I guess I've a few questions.  

1) I'm sure that there *shouldn't* be any sequence of
calls to lablgl that should outright crash the X
server... does anyone know how true this proves in

2) Any thoughts as to how I can pinpoint the problem a
bit better?

3) Any suggestions for working around it?  Considering
writing a simple library implementing the parts of
lablgl that I need (which is relatively limited, as
it's ultimately line-drawing), but that's not

Would definately prefer not to have to ditch ocaml on
this one, so any suggestions will be greatly

Thanks in advance!

8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.