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 LAA11235; Mon, 14 Jan 2002 11:16:15 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA11121 for caml-list@pauillac.inria.fr; Mon, 14 Jan 2002 11:16:15 +0100 (MET) 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 WAA32702 for ; Sun, 13 Jan 2002 22:16:16 +0100 (MET) Received: from mx1.mailstop9.com (www1.mailstop9.com [204.209.9.2]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g0DLGBP07298 for ; Sun, 13 Jan 2002 22:16:15 +0100 (MET) Received: by mx1.mailstop9.com (Postfix, from userid 65534) id 0EAEF5EF0A; Sun, 13 Jan 2002 14:16:01 -0700 (MST) To: paddym@mailstop9.com Subject: [Caml-list] Re: help. possible lablgl problem Message-ID: <1010956561.3c41f911ddc1b@www1.mailstop9.com> Date: Sun, 13 Jan 2002 14:16:01 -0700 (MST) From: paddym@mailstop9.com Cc: caml-list@inria.fr, paddym@mailstop9.com References: <1010877178.3c40c2fa3071a@www1.mailstop9.com> In-Reply-To: <1010877178.3c40c2fa3071a@www1.mailstop9.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.3 X-Originating-IP: 141.156.251.173 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Quoting paddym@mailstop9.com: > Hi, > I was trying to install lablgl and I attempted to run the demos but > all I got > was a segmentation fault. I am running Mandrake 8.0 with ocaml-3.04. > First I > just used the default installation of GL that came with mandrake, which > is > admittedly confusing. libGL.la was came from Mesa-common-devel-3.4.1 > but > libGL.so came from XFree86-devel and the actual library libGL.so.1.2 > came from > XFree86-libs. Thinking that GL was most likely my problem, I > installed > Mesa-4.0.1 in a different install directory and then rebuilt lablGL. > After that > didn't work, I tried inputting the lines of the ml directly into the > interpreter. I discovered that: > open Tk;; > let top = openTk ();; > caused a segmentation fault (without leaving a core file), yet these > same lines > worked fine in labltk. Now it could still be a problem with my GL, I > guess, but > I don't know how to figure out what is wrong. Any suggestions would > be > appreciated. Thanks. > > Patrick > > ----------------------------------------------------------------- > Get your own free mailbox at MailStop9! http://www.mailstop9.com/ > I tried also installing ocaml from the mandrake rpm. I then stripped out the #!/usr/bin/ocamlrun from the lablgltop and ran gdb ocamlrun. Then I passed the file name finallablgltop (which was my edited version) and basically ran the same stuff in gdb. This is what I got: --------------------------- /recentfiles/lablGL-0.97 gdb ocamlrun GNU gdb 5.0mdk-11mdk Linux-Mandrake 8.0 Copyright 2001 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-mandrake-linux"... (gdb) run finallablgltop -I /usr/lib/ocaml/lablGL -I /usr/lib/ocaml/labltk Starting program: /usr/bin/ocamlrun finallablgltop -I /usr/lib/ocaml/lablGL -I /usr/lib/ocaml/labltk [New Thread 1024 (LWP 11447)] Objective Caml version 3.04 # open Tk;; # let top = openTk ();; Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 11447)] __pthread_unlock (lock=0xbfffe650) at spinlock.c:179 179 spinlock.c: No such file or directory. in spinlock.c (gdb) --------------------------- Not sure if the spinlock error is gdb or what, but I thought I'd update the problem. Patrick ----------------------------------------------------------------- Get your own free mailbox at MailStop9! http://www.mailstop9.com/ ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr