GTK is not correctly initialized
| Newsgroups | gmane.comp.mozilla.devel.java |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <1181571865.166588.280810__19302.1524385133$1181571928$gmane$org@p77g2000hsh.googlegroups.com> |
Hi devs, I'm currently experiencing some difficulties to manage to make gecko working with javaxpcom with a linux system. I've browsed internet, read approximately everything that I could, and I finally understood the history of embedded gecko in applications. But the problem is that many newbies like me, have the initialization problem of gtk. Here is the stack that I've got: (process:27935): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function (process:27935): Gdk-CRITICAL **: gdk_screen_get_rgb_visual: assertion `GDK_IS_SCREEN (screen)' failed # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0xa8c53727, pid=27935, tid=3085039296 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode) # Problematic frame: # C [libxul.so+0xcb9727] _ZN9nsToolkit14CreateSharedGCEv+0x23 # # An error report file with more information is saved as hs_err_pid27935.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # So I tried to change the version of the xpcom lib and used the one compiled for gtk, no way iit doesn't work. So is anyone knows what I have to do? Do I have to configure something on my system, or add a library.