Bug#327736: lablgl: FTBFS on m68k, ocamlmktop crashes at exit
On Sun, Sep 11, 2005 at 09:36:40PM +0200, Samuel Mimram wrote:
> Package: lablgl
> Severity: serious
> Tags: help
> Justification: no longer builds from source
>
> Hi,
>
> The last buildd failed on m68k ending on:
>
> ocamlmktop -I . -I +labltk -I ../../src -o lablgltop \
> labltk.cma lablgl.cma togl.cma
> make[2]: *** [lablgltop] Segmentation fault
> make[2]: *** Deleting file `lablgltop'
> make[2]: Leaving directory `/build/buildd/lablgl-1.01/Togl/src'
>
> Thanks to Ingo Juergensmann I've been able to get an account on an m68k
> box. I first ran gdb to know were was the problem:
>
> arrakis:~/lablgl/lablgl-1.01/Togl/src% gdb ocamlrun
> (gdb) r /usr/bin/ocamlc -linkall toplevellib.cma -o test -I . -I
> +labltk -I ../../src labltk.cma topstart.cmo
> [...]
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 1801)]
> 0x1d3c0000 in ?? ()
> (gdb) where
> #0 0x1d3c0000 in ?? ()
> #1 0xc04d9002 in ?? () from /usr/lib/libtk8.4.so.0
> #2 0xc057c5e8 in ?? () from /usr/lib/libtk8.4.so.0
> #3 0x0000000b in ?? ()
> #4 0x8004b7b0 in ?? ()
> #5 0xc001271c in ?? () from /lib/ld.so.1
> #6 0xeffff73e in ?? ()
> #7 0xc056ca72 in _fini () from /usr/lib/libtk8.4.so.0
> #8 0xc056ca72 in _fini () from /usr/lib/libtk8.4.so.0
> #9 0xc0009686 in _dl_rtld_di_serinfo () from /lib/ld.so.1
> #10 0xc00ffc04 in exit () from /lib/libc.so.6
> #11 0x8000fc10 in caml_sys_exit ()
> #12 0x8001653e in caml_interprete ()
> #13 0x80017872 in caml_main ()
> #14 0x80007d7e in main ()
>
> I then recompiled tk8.4 with debugging symbols and the segmentation
> fault became a bus error:
Do you know if other tk8.4 program worked fine or not ? Maybe we could disable
lablgl+togl on m68k for now ?
Friendly,
Sven Luther
Reply to: