RESOLVED INVALID 18621
GtkLauncher calls g_object_unref() on NULL pointers
https://bugs.webkit.org/show_bug.cgi?id=18621
Summary GtkLauncher calls g_object_unref() on NULL pointers
Sebastian Dröge (slomo)
Reported 2008-04-19 06:41:36 PDT
Hi, when changing the currently displayed page to another one by entering a new URL one gets assertions like: GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed Backtrace is: Program received signal SIGABRT, Aborted. [Switching to Thread 0xb5a6a740 (LWP 11791)] 0xffffe410 in __kernel_vsyscall () (gdb) bt #0 0xffffe410 in __kernel_vsyscall () #1 0xb762def5 in raise () from /lib/i686/cmov/libc.so.6 #2 0xb762f871 in abort () from /lib/i686/cmov/libc.so.6 #3 0xb71e1ab9 in IA__g_logv (log_domain=0xb728306b "GLib-GObject", log_level=G_LOG_LEVEL_CRITICAL, format=0xb7216f08 "%s: assertion `%s' failed", args1=0xbfdfa21c "�H(��;(�P at /build/buildd/glib2.0-2.16.3/glib/gmessages.c:497 #4 0xb71e1ae9 in IA__g_log (log_domain=0xb728306b "GLib-GObject", log_level=G_LOG_LEVEL_CRITICAL, format=0xb7216f08 "%s: assertion `%s' failed") at /build/buildd/glib2.0-2.16.3/glib/gmessages.c:517 #5 0xb71e1d2b in IA__g_return_if_fail_warning (log_domain=0xb728306b "GLib-GObject", pretty_function=0xb72848ca "g_object_unref", expression=0xb7283bd1 "G_IS_OBJECT (object)") at /build/buildd/glib2.0-2.16.3/glib/gmessages.c:532 #6 0xb725d7ca in IA__g_object_unref (_object=0x0) at /build/buildd/glib2.0-2.16.3/gobject/gobject.c:1742 #7 0xb7841575 in WebKit::FrameLoaderClient::detachedFromParent4 (this=0xb5768438) at ../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:461 #8 0xb7b342bf in WebCore::FrameLoader::detachFromParent (this=0xb51e4c80) at ../WebCore/loader/FrameLoader.cpp:3302 #9 0xb7acaddc in WebCore::HTMLFrameOwnerElement::willRemove (this=0xb55b2750) at ../WebCore/html/HTMLFrameOwnerElement.cpp:46 #10 0xb79f3d4b in WebCore::ContainerNode::willRemove (this=0xb51e15e8) at ../WebCore/dom/ContainerNode.cpp:347 #11 0xb79f3d4b in WebCore::ContainerNode::willRemove (this=0xb53a7990) at ../WebCore/dom/ContainerNode.cpp:347 #12 0xb79f3d4b in WebCore::ContainerNode::willRemove (this=0xb577d5e8) at ../WebCore/dom/ContainerNode.cpp:347 #13 0xb79f3d4b in WebCore::ContainerNode::willRemove (this=0xb5783700) at ../WebCore/dom/ContainerNode.cpp:347 #14 0xb7b2446a in WebCore::FrameLoader::clear (this=0xb5769a00, clearWindowProperties=true, clearScriptObjects=true) at ../WebCore/loader/FrameLoader.cpp:816 #15 0xb7b2457e in WebCore::FrameLoader::begin (this=0xb5769a00, url=@0xb5769b28, dispatch=false, origin=0x0) at ../WebCore/loader/FrameLoader.cpp:911 #16 0xb7b31e5c in WebCore::FrameLoader::receivedFirstData (this=0xb5769a00) at ../WebCore/loader/FrameLoader.cpp:861 #17 0xb7b3226d in WebCore::FrameLoader::setEncoding (this=0xb5769a00, name=@0xbfdfa578, userChosen=false) at ../WebCore/loader/FrameLoader.cpp:1831 ---Type <return> to continue, or q <return> to quit--- #18 0xb78428b6 in WebKit::FrameLoaderClient::finishedLoading (this=0xb5768e88, documentLoader=0xb5269000) at ../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:609 #19 0xb7b353f3 in WebCore::FrameLoader::finishedLoadingDocument (this=0xb5769a00, loader=0xb5269000) at ../WebCore/loader/FrameLoader.cpp:2939 #20 0xb7b174c6 in WebCore::DocumentLoader::finishedLoading (this=0xb5269000) at ../WebCore/loader/DocumentLoader.cpp:317 #21 0xb7b2b3f4 in WebCore::FrameLoader::finishedLoading (this=0xb5769a00) at ../WebCore/loader/FrameLoader.cpp:2874 #22 0xb7b46df2 in WebCore::MainResourceLoader::didFinishLoading (this=0xb5251000) at ../WebCore/loader/MainResourceLoader.cpp:307 #23 0xb7b4d091 in WebCore::ResourceLoader::didFinishLoading (this=0xb5251000) at ../WebCore/loader/ResourceLoader.cpp:370 #24 0xb7c7428a in WebCore::ResourceHandleManager::downloadTimerCallback (this=0xb579bc60, timer=0xb579bc60) at ../WebCore/platform/network/curl/ResourceHandleManager.cpp:340 #25 0xb7c749eb in WebCore::Timer<WebCore::ResourceHandleManager>::fired (this=0xb579bc60) at ../WebCore/platform/Timer.h:99 #26 0xb7bc9a4b in WebCore::TimerBase::fireTimers (fireTime=1208612341.6659219, firingTimers=@0xbfdfa8d4) at ../WebCore/platform/Timer.cpp:347 #27 0xb7bc9b47 in WebCore::TimerBase::sharedTimerFired () at ../WebCore/platform/Timer.cpp:368 #28 0xb785effe in timeout_cb () at ../WebCore/platform/gtk/SharedTimerGtk.cpp:48 #29 0xb71d6e01 in g_idle_dispatch (source=0x8215a58, callback=0, user_data=0x0) at /build/buildd/glib2.0-2.16.3/glib/gmain.c:4087 #30 0xb71d8978 in IA__g_main_context_dispatch (context=0x806aa38) at /build/buildd/glib2.0-2.16.3/glib/gmain.c:2009 #31 0xb71dbbce in g_main_context_iterate (context=0x806aa38, block=1, dispatch=1, self=0x805ba00) at /build/buildd/glib2.0-2.16.3/glib/gmain.c:2642 #32 0xb71dbf57 in IA__g_main_loop_run (loop=0x81f2810) at /build/buildd/glib2.0-2.16.3/glib/gmain.c:2850 #33 0xb73d3d04 in IA__gtk_main () at /tmp/buildd/gtk+2.0-2.12.9/gtk/gtkmain.c:1163 #34 0x08049a68 in main (argc=Cannot access memory at address 0x6 ) at ../WebKitTools/GtkLauncher/main.c:200
Attachments
Alp Toker
Comment 1 2008-04-23 06:00:03 PDT
Which revision are you seeing this with? Any pages in particular, or any unusual configuration?
Alp Toker
Comment 2 2008-04-23 06:12:23 PDT
This was fixed a couple of weeks ago in r31841. It'd be useful to mention the SVN revision next in future. Cheers
Note You need to log in before you can comment on or make changes to this bug.