Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: paddym@mailstop9.com
To: paddym@mailstop9.com
Cc: caml-list@inria.fr, paddym@mailstop9.com
Subject: [Caml-list] Re: help. possible lablgl problem
Date: Sun, 13 Jan 2002 14:16:01 -0700 (MST)	[thread overview]
Message-ID: <1010956561.3c41f911ddc1b@www1.mailstop9.com> (raw)
In-Reply-To: <1010877178.3c40c2fa3071a@www1.mailstop9.com>

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


  reply	other threads:[~2002-01-14 10:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-12 23:12 [Caml-list] " paddym
2002-01-13 21:16 ` paddym [this message]
2002-01-14 19:58 ` David MENTRE
2002-01-16  5:35   ` paddym

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1010956561.3c41f911ddc1b@www1.mailstop9.com \
    --to=paddym@mailstop9.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox