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
Re: [Caml-list] 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 (07:07)
From: David Thomas <david_hd@y...>
Subject: Re: [Caml-list] Crashing X.Org with lablgl
--- Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>
> You should at least say which front-end you use for
> lablGL (Tcl/Tk, Glut or LablGTK). This may be 
> relevant.

Ah, yes.  I'm using Glut.

> > 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 practice?
> Well, if there is a bug in the X server, a program
> may trigger it. 

Yeah, that's my best guess for what's happening
here, too.

> Personally I've never seen that for lablGL though.
> And the reports I've seen were about the program
> itself segfaulting, not the server.


> > 2) Any thoughts as to how I can pinpoint the
> > problem a bit better?
> Sending me the complete source to try to reproduce
> the problem?


> You could also look at the features you are using:
> does turning double-buffering off change anything,
> are you using lots of display lists...

An interesting thought.  I'll try shuffling those a
bit, see if it does me any good.

Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.