pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SIGSEGV with x11/lablgtk (net/unison won't work)



On Nov 26, 2007 4:52 PM, Brian de Alwis <bsd%cs.ubc.ca@localhost> wrote:
> On 2007.11.25 23:15:35 +0000, Chavdar Ivanov wrote:
> > lablgtk explicitly supports gtk2+ 2.0-2.6 only, at least that is what
> > DESCR says.
>
> The LablGTK web page says the same thing, but the README in the
> distribution says:
>
>     Needed:
>         ocaml-3.07 or more
>         gtk+-2.x (gtk+-2.10.x for full functionality)

True, didn't check in the work directory. Still, the above comment
*may* mean that it hasn't been tested with anything beyond 2.10...
just wonder.


I am also running 4.99.37 with the same versions of the relevant packages.

The trace is as follows:

....
Core was generated by `ocamlrun'.
Program terminated with signal 11, Segmentation fault.
#0  0xbb1bdcf1 in g_type_fundamental () from /usr/pkg/lib/libgobject-2.0.so.0
(gdb) bt
#0  0xbb1bdcf1 in g_type_fundamental () from /usr/pkg/lib/libgobject-2.0.so.0
#1  0xbba81ce8 in ml_G_TYPE_FUNDAMENTAL () from
/usr/pkg/lib/ocaml/stublibs/dlllablgtk2.so
#2  0xbb96fc5c in ?? ()
#3  0xbb9887d8 in ?? ()
#4  0x080638e5 in caml_interprete ()
#5  0x0806c018 in caml_external_raise ()
#6  0x00000008 in ?? ()
#7  0xbfbfea08 in ?? ()
#8  0xbbb2577c in malloc () from /usr/lib/libc.so.12
Previous frame inner to this frame (corrupt stack?)
....

It is identical for all examples, with the exception of about.ml,
which works for me.

I recently (18/11/2007) did some 'make replace' to include gtk2+ and
glib2; all else using them seems to be working fine, but one never
knows the consequences of this...

Mind you, since approx. 4.99.33 (not quite sure) clisp stopped working
for me (tested OK with 4.99.31, 4.99.34 definitely does not work). I
might try ocaml on an earlier system.

>
>
> Brian.
>
> --
>   Brian de Alwis | Software Practices Lab | UBC | http://www.cs.ubc.ca/~bsd/
>       "Amusement to an observing mind is study." - Benjamin Disraeli
>



-- 
/dev/random says:
        Don't ask me. The cats are in charge around here.
----------------------------------------------------------------
Chavdar Ivanov   | Talbot Way, Small Heath Business Park
Delcam UK        | Birmingham B10 0HJ, United Kingdom
Customer Support | (+44)121-6831014
----------------------------------------------------------------



Home | Main Index | Thread Index | Old Index