[Webkit-unassigned] [Bug 33474] New: GLib-GObject-CRITICAL error while webkit start

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 11 10:01:42 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=33474

           Summary: GLib-GObject-CRITICAL error while webkit start
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jaroslav.klaus at gmail.com


I can compile WebKitGTK 1.1.18, 1.1.17, 1.1.15.4 without any problem in Debian.
But when I start GtkLauncher I always get:
# Programs/GtkLauncher 

GtkLauncher:16452): GLib-GObject-CRITICAL **: g_param_spec_object: assertion
`g_type_is_a (object_type, G_TYPE_OBJECT)' failed
(GtkLauncher:16452): GLib-GObject-CRITICAL **: g_object_class_install_property:
assertion `G_IS_PARAM_SPEC (pspec)' failed
(GtkLauncher:16452): GLib-GObject-CRITICAL **: g_object_new: assertion
`G_TYPE_IS_OBJECT (object_type)' failed
Segmentation fault

Output from # env G_DEBUG=fatal_criticals libtool --mode=execute gdb --args
./Programs/GtkLauncher:
Starting program: /usr/src/webkit-1.1.18/build/Programs/GtkLauncher 
[Thread debugging using libthread_db enabled]
[New Thread 0xf49e1b70 (LWP 6834)]
[New Thread 0xf40b8b70 (LWP 6835)]

GLib-GObject-CRITICAL **: g_param_spec_object: assertion `g_type_is_a
(object_type, G_TYPE_OBJECT)' failed
aborting...

Program received signal SIGABRT, Aborted.
0xf7fdf430 in ?? ()
(gdb) bt full
#0  0xf7fdf430 in ?? ()
No symbol table info available.
#1  0x00000006 in ?? ()
No symbol table info available.
#2  0xf682ee15 in abort () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#3  0xf69a3bbe in g_logv () from /lib/libglib-2.0.so.0
No symbol table info available.
#4  0xf69a3be6 in g_log () from /lib/libglib-2.0.so.0
No symbol table info available.
#5  0xf69a3e1b in g_return_if_fail_warning () from /lib/libglib-2.0.so.0
No symbol table info available.
#6  0xf6a3b68a in g_param_spec_object () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#7  0xf72968e8 in webkit_web_view_class_intern_init(void*) () from
/usr/src/webkit-1.1.18/build/.libs/libwebkit-1.0.so.2
No symbol table info available.
#8  0xf6a50515 in g_type_class_ref () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#9  0xf6a37026 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#10 0xf6a3748a in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#11 0xf6a3760e in g_object_new () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#12 0xf7294ff3 in webkit_web_view_new () from
/usr/src/webkit-1.1.18/build/.libs/libwebkit-1.0.so.2
No symbol table info available.
#13 0x08049baf in main ()
No symbol table info available.
(gdb)  

The program behaves in different way after it was compiled with --enable-debug:
# Programs/GtkLauncher 

(GtkLauncher:7014): GLib-GObject-WARNING **: attempt to retrieve private data
for invalid type '<unknown>'
Segmentation fault

Output from # env G_DEBUG=fatal_criticals libtool --mode=execute gdb --args
./Programs/GtkLauncher:

Starting program: /usr/src/webkit-1.1.18/build.debug/Programs/GtkLauncher 
[Thread debugging using libthread_db enabled]
[New Thread 0xf3876b70 (LWP 7037)]
[New Thread 0xf2effb70 (LWP 7038)]

(GtkLauncher:7034): GLib-GObject-WARNING **: attempt to retrieve private data
for invalid type '<unknown>'
[Thread 0xf2effb70 (LWP 7038) exited]

Program received signal SIGSEGV, Segmentation fault.
0xf616498f in webkit_web_view_init (webView=0x80cf830) at
../WebKit/gtk/webkit/webkitwebview.cpp:2658
2658        priv->imContext = gtk_im_multicontext_new();
Current language:  auto
The current source language is "auto; currently c++".
(gdb) bt full
#0  0xf616498f in webkit_web_view_init (webView=0x80cf830) at
../WebKit/gtk/webkit/webkitwebview.cpp:2658
        priv = 0x0
        inspectorClient = 0xf5836dc6
#1  0xf58e577f in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#2  0xf58ca648 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#3  0xf58cb608 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#4  0xf58cc48a in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#5  0xf58cc60e in g_object_new () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#6  0xf6164cbe in webkit_web_view_new () at
../WebKit/gtk/webkit/webkitwebview.cpp:2694
        webView = 0xf6164c8f
#7  0x080498bb in create_browser () at ../WebKitTools/GtkLauncher/main.c:118
        scrolled_window = 0x80c2c18
#8  0x08049dec in main (argc=1, argv=0xffffd814) at
../WebKitTools/GtkLauncher/main.c:198
        vbox = 0x807a818
        uri = 0x8049f39
"\215\273x\376\377\377\215\203x\376\377\377)\307\301\377\002\205\377t$1\366\213E\020\211D$\b\213E\f\211D$\004\213E\b\211\004$\377\224\263x\376\377\377\203\306\001\071\376rރ\304\f[^_]Ë\034$Ð\220U\211\345S\203\354\004\241\344\260\004\b\203\370\377t\023\273\344\260\004\bf\220\203\353\004\377Ћ\003\203\370\377u\364\203\304\004[]Ð\220U\211\345S\203\354\004",
<incomplete sequence \350>

I can't explain why priv is 0x0. Thanks for help.

Jaroslav

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list