[Webkit-unassigned] [Bug 281298] New: [WPE] REGRESSION(284269 at main): Inspector crashes due to missing GRefPtr specialization for GResource
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 11 05:54:22 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=281298
Bug ID: 281298
Summary: [WPE] REGRESSION(284269 at main): Inspector crashes due
to missing GRefPtr specialization for GResource
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: aperez at igalia.com
Relevant backtrace:
#0 g_type_check_instance_is_fundamentally_a (type_instance=0x64b244c602e0, fundamental_type=0x50) at ../glib/gobject/gtype.c:4153
#1 0x00007aadfe8fdf20 in g_object_unref (_object=0x64b244c602e0) at ../glib/gobject/gobject.c:4327
#2 0x00007aadfb18507d in WTF::derefGPtr<_GResource> (ptr=0x64b244c602e0) at WTF/Headers/wtf/glib/GRefPtr.h:272
#3 WTF::GRefPtr<_GResource>::~GRefPtr (this=<optimized out>) at WTF/Headers/wtf/glib/GRefPtr.h:82
#4 Inspector::backendCommands()::$_0::operator()() const (this=<optimized out>) at ../Source/JavaScriptCore/inspector/remote/glib/RemoteInspectorUtils.cpp:58
#5 std::__invoke_impl<void, Inspector::backendCommands()::$_0>(std::__invoke_other, Inspector::backendCommands()::$_0&&) (__f=<optimized out>) at '/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/invoke.h:61
#6 std::__invoke<Inspector::backendCommands()::$_0>(Inspector::backendCommands()::$_0&&) (__fn=<optimized out>) at /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/invoke.h:96
#7 std::call_once<Inspector::backendCommands()::$_0>(std::once_flag&, Inspector::backendCommands()::$_0&&)::{lambda()#1}::operator()() const (this=<optimized out>)
at /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/mutex:909
Notice how in frame #1 there's a g_object_unref() call, and an internal type check
fails. Opening a core dump in a debugger shows that the pointer in question is that
of the GResource instance for the inspector resource files.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241011/1ddff856/attachment.htm>
More information about the webkit-unassigned
mailing list