RESOLVED WONTFIX 104930
[GTK] Invalid GObject cast in DRT's dumpFrameScrollPosition
https://bugs.webkit.org/show_bug.cgi?id=104930
Summary [GTK] Invalid GObject cast in DRT's dumpFrameScrollPosition
Martin Robinson
Reported 2012-12-13 10:16:33 PST
After the institution of GObject casts I see this stderr message when running editing/deleting/delete-3800834-fix.html invalid cast from `WebKitDOMNode' to `WebKitDOMDocument' WebKitDOMDOMWindow* webkit_dom_document_get_default_view(WebKitDOMDocument*): assertion `WEBKIT_DOM_IS_DOCUMENT(self)' failed http://build.webkit.org/results/GTK%20Linux%2032-bit%20Release/r137602%20(29734)/editing/deleting/delete-3800834-fix-stderr.txt
Attachments
Xan Lopez
Comment 1 2012-12-13 10:29:55 PST
The Document is a Node, so I assume this means the value is NULL (unless we broke something really badly).
Xan Lopez
Comment 2 2012-12-13 10:31:20 PST
OK, nevermind, I was intepreting this backwards (I need to sleep). So I guess the issue is that before we only had a NULL check, now we do a full type check, and it turns out we are dealing with a Node but not a Document. Can we get a backtrace here?
Carlos Garcia Campos
Comment 3 2012-12-13 10:33:20 PST
Or it's a Node but not a Document.
Martin Robinson
Comment 4 2012-12-13 10:34:53 PST
Sure: #0 g_logv (log_domain=0x7ffff7fdfc24 "GLib-GObject", log_level=G_LOG_LEVEL_WARNING, format=<optimized out>, args=args@entry=0x7fffffffc8c8) at gmessages.c:974 #1 0x00007ffff7ecf9b2 in g_log (log_domain=log_domain@entry=0x7ffff7fdfc24 "GLib-GObject", log_level=log_level@entry=G_LOG_LEVEL_WARNING, format=format@entry=0x7ffff7fe7b20 "invalid cast from `%s' to `%s'") at gmessages.c:1003 #2 0x00007ffff7fd89e1 in g_type_check_instance_cast (type_instance=0x4b5410, iface_type=<optimized out>) at gtype.c:4004 #3 0x000000000043974b in dumpFrameScrollPosition(_WebKitWebFrame*) () #4 0x000000000043a5a9 in dump() () #5 0x00007ffff7fb5a40 in g_closure_invoke (closure=0x632ea0, return_value=0x0, n_param_values=2, param_values=0x7fffffffcbe0, invocation_hint=0x7fffffffcb80) at gclosure.c:777 #6 0x00007ffff7fc7d50 in signal_emit_unlocked_R (node=node@entry=0x495050, detail=detail@entry=1088, instance=instance@entry=0x625b00, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffcbe0) at gsignal.c:3567 #7 0x00007ffff7fd0091 in g_signal_emit_valist (instance=0x625b00, signal_id=<optimized out>, detail=1088, var_args=var_args@entry=0x7fffffffce38) at gsignal.c:3315 #8 0x00007ffff7fd02e2 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at gsignal.c:3371 #9 0x00007ffff7fba575 in g_object_dispatch_properties_changed (object=0x625b00, n_pspecs=57, pspecs=0x7ffff4da5ac0 <_IO_stdfile_2_lock>) at gobject.c:1041 #10 0x00007ffff7fbc02b in g_object_notify_by_spec_internal (pspec=0x6259e0, object=0x625b00) at gobject.c:1135 #11 g_object_notify (object=0x625b00, property_name=<optimized out>) at gobject.c:1177 #12 0x00007ffff618fb69 in WebKit::notifyStatus(_WebKitWebFrame*, WebKitLoadStatus) () from /home/martin/WebKit/WebKitBuild/Release/.libs/libwebkitgtk-3.0.so.0 #13 0x00007ffff6767c0e in WebCore::FrameLoader::checkLoadCompleteForThisFrame() () from /home/martin/WebKit/WebKitBuild/Release/.libs/libwebkitgtk-3.0.so.0 #14 0x00007ffff6766b86 in WebCore::FrameLoader::checkLoadComplete() () from /home/martin/WebKit/WebKitBuild/Release/.libs/libwebkitgtk-3.0.so.0 #15 0x00007ffff6766d94 in WebCore::FrameLoader::checkCompleted() () from /home/martin/WebKit/WebKitBuild/Release/.libs/libwebkitgtk-3.0.so.0 #16 0x00007ffff6743378 in WebCore::CachedResourceLoader::loadDone(WebCore::CachedResource*) () from /home/martin/WebKit/WebKitBuild/Release/.libs/libwebkitgtk-3.0.so.0 #17 0x00007ffff67a8056 in WebCore::SubresourceLoader::releaseResources() () from /home/martin/WebKit/WebKitBuild/Release/.libs/libwebkitgtk-3.0.so.0 #18 0x00007ffff67a78f4 in WebCore::SubresourceLoader::didFinishLoading(double) () from /home/martin/WebKit/WebKitBuild/Release/.libs/libwebkitgtk-3.0.so.0 #19 0x00007ffff6ed8412 in WebCore::readCallback(_GObject*, _GAsyncResult*, void*) () from /home/martin/WebKit/WebKitBuild/Release/.libs/libwebkitgtk-3.0.so.0 #20 0x00007ffff542b234 in async_ready_callback_wrapper (source_object=0xc9ba40, res=0xc9bf50, user_data=0x7fffe8667690) at ginputstream.c:529 #21 0x00007ffff544001e in g_simple_async_result_complete (simple=0xc9bf50) at gsimpleasyncresult.c:777 #22 0x00007ffff54400b8 in complete_in_idle_cb_for_thread (_data=0xc96930) at gsimpleasyncresult.c:845 #23 0x00007ffff7ec8575 in g_main_dispatch (context=0x4d50a0) at gmain.c:2784 #24 g_main_context_dispatch (context=context@entry=0x4d50a0) at gmain.c:3288 #25 0x00007ffff7ec88b8 in g_main_context_iterate (context=0x4d50a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3359 #26 0x00007ffff7ec8d22 in g_main_loop_run (loop=0x5ad640) at gmain.c:3553 #27 0x00007ffff5a2e9a5 in gtk_main () at gtkmain.c:1161 #28 0x000000000043a075 in runTest(std::string const&) () #29 0x000000000043ab99 in main ()
Martin Robinson
Comment 5 2015-05-07 19:21:00 PDT
DRT is long gone.
Note You need to log in before you can comment on or make changes to this bug.