[Java-gnome-developer] segmentation fault in g_object_set_data_full
Brought to you by:
afcowie
From: Disruptor <ksi...@cs...> - 2004-12-26 14:34:26
|
Hello everybody, I am having a small problem running the second example provided by the java-gnome tutorial. It sigsegvs inside `g_object_set_data_full'. > gcj -classpath /usr/share/java/gtk2.4.jar:/usr/share/java/gnome2.8.jar -lgtkjar2.4 -lgnomejar2.8 --main="Second" -o "Second.out" Second.java > > gdb ./Second.out (gdb) run [...] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1212368672 (LWP 3062)] 0x00c0ffee in g_object_set_data_full () from /usr/lib/libgobject-2.0.so.0 (gdb) This happens independently of the compiler/interpreter used. Any ideas appreciated. Thanks in advanced. Yoko Choko, Dominique P.S.: I fixed the typo in the source code of the second example like this: new LifeCycleListener() { public void lifeCycleEvent(LifeCycleEvent event) {} public boolean lifeCycleQuery(LifeCycleEvent event) { Gtk.mainQuit(); return false; } } Is this correct? ------------- live strong |