Delivered-To: lablgtk at yquem.inria.fr Date: Mon, 26 Nov 2007 14:45:22 -0600 From: Brian de Alwis To: lablgtk at yquem.inria.fr Message-ID: <20071126204522.GA8290 at monolith.gateway.2wire.net> MIME-Version: 1.0 Content-Disposition: inline Subject: [Lablgtk] SIGSEGV with lablgtk for GTK+ 2 Reply-To: bsd at cs.ubc.ca, lablgtk at yquem.inria.fr Content-Type: text/plain; charset=us-ascii Content-Length: 2339 Hello everybody. I'm not an ocaml or lablgtk user, but rather a happy user of unison. I'm not cc'd to this list, so I've redirected replies to both myself and the list. I recently did a big recompile including ocaml, lablgtk, and unison. I use pkgsrc.org. unison now cores with a SIGSEGV when trying to use its lablgtk-based UI ('graphics' mode): (gdb) where #0 0xbb5516b2 in g_type_fundamental () from /usr/pkg/lib/libgobject-2.0.so.0 #1 0x08172e85 in ml_G_TYPE_FUNDAMENTAL () #2 0x080ce208 in camlGobject__objtype_from_name_256 () #3 0x762cb901 in ?? () #4 0x0818aad4 in camlUigtk2__187 () #5 0x762cb901 in ?? () #6 0x081f8fbc in camlGtkBaseProps__150 () #7 0x081f2640 in camlGobject__114 () #8 0x080ce405 in camlGobject__unsafe_create_290 () [...] Unison works fine in text mode. Poking into this problem a bit further, almost all of lablgtk's example programs crash in the same way *except* for about.ml. The crash traces generally look like: (gdb) run -I ../src -w s tree.ml Starting program: /tmp/obj/x11/lablgtk/work/lablgtk-2.10.0/src/lablgtktop -I ../src -w s tree.ml Program received signal SIGSEGV, Segmentation fault. 0xbb48c6b2 in g_type_fundamental () from /usr/pkg/lib/libgobject-2.0.so.0 (gdb) bt #0 0xbb48c6b2 in g_type_fundamental () from /usr/pkg/lib/libgobject-2.0.so.0 #1 0x080a8aff in ml_G_TYPE_FUNDAMENTAL (arg1=1967197825) at ml_gobject.c:87 #2 0x080c9a0f in caml_interprete () #3 0x080baae5 in caml_main () #4 0x080bace1 in main () I found one reference to a similar problem on a debian installation, but there were no solutions. Does this trigger any ideas for anybody? My package versions installed: lablgtk-2.10.0 (with default options) ocaml-3.10.0 gtk2+-2.12.1 glib2-2.14.3 Many thanks. Brian. -- Brian de Alwis | Software Practices Lab | UBC | http://www.cs.ubc.ca/~bsd/ "Amusement to an observing mind is study." - Benjamin Disraeli ----- End forwarded message ----- -- Brian de Alwis | Software Practices Lab | UBC | http://www.cs.ubc.ca/~bsd/ "Amusement to an observing mind is study." - Benjamin Disraeli _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk