Crash when opening website
Affected version
- Nightly flatpak: Yes
Steps to reproduce
- Open Builder
- Open existing Project
- Press Ctrl+Shift+B to open a browser tab
- Load https://bugs.webkit.org/show_bug.cgi?id=166648 from the tab
Builder crashes while loading the tab.
Backtrace
ide-webkit-page:ERROR:../src/libide/webkit/ide-webkit-page.c:93:transform_cairo_surface_to_gicon: assertion failed: (G_VALUE_HOLDS_POINTER (from_value))
Bail out! ide-webkit-page:ERROR:../src/libide/webkit/ide-webkit-page.c:93:transform_cairo_surface_to_gicon: assertion failed: (G_VALUE_HOLDS_POINTER (from_value))
Thread 1 "gnome-builder" received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x00007ffff20911f3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2 0x00007ffff203f00e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007ffff20287fc in __GI_abort () at abort.c:79
#4 0x00007ffff7a4fe3e in g_assertion_message (domain=<optimized out>, file=0x555555a72bd8 "../src/libide/webkit/ide-webkit-page.c", line=<optimized out>, func=<optimized out>, message=<optimized out>) at ../glib/gtestutils.c:3444
#5 0x00007ffff7ab9e47 in g_assertion_message_expr (domain=0x555555a72b01 "ide-webkit-page", file=0x555555a72bd8 "../src/libide/webkit/ide-webkit-page.c", line=93, func=0x555555a73060 "transform_cairo_surface_to_gicon", expr=<optimized out>) at ../glib/gtestutils.c:3470
#6 0x0000555555982542 in ()
#7 0x00007ffff7b8c233 in on_source_notify (source=0x555557fc7d90 [WebKitWebView], pspec=<optimized out>, context=<optimized out>) at ../gobject/gbinding.c:544
#11 0x00007ffff7bad873 in <emit signal notify:favicon on instance 0x555557fc7d90 [WebKitWebView]> (instance=instance@entry=0x555557fc7d90, signal_id=<optimized out>, detail=<optimized out>) at ../gobject/gsignal.c:3612
#8 0x00007ffff7b92442 in g_closure_invoke (closure=0x55555a13dfb0, return_value=return_value@entry=0x0, n_param_values=2, param_values=param_values@entry=0x7fffffffda20, invocation_hint=invocation_hint@entry=0x7fffffffd9a0) at ../gobject/gclosure.c:832
#9 0x00007ffff7ba66f8 in signal_emit_unlocked_R (node=node@entry=0x555556483b60, detail=detail@entry=4643, instance=instance@entry=0x555557fc7d90, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffda20) at ../gobject/gsignal.c:3802
#10 0x00007ffff7bad6a5 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffdbc0) at ../gobject/gsignal.c:3555
#12 0x00007ffff7b96a34 in g_object_dispatch_properties_changed (object=0x555557fc7d90 [WebKitWebView], n_pspecs=<optimized out>, pspecs=<optimized out>) at ../gobject/gobject.c:1428
#13 0x00007ffff7b99bd8 in g_object_notify_by_spec_internal (pspec=<optimized out>, object=0x555557fc7d90 [WebKitWebView]) at ../gobject/gobject.c:1552
#14 g_object_notify_by_pspec (object=0x555557fc7d90 [WebKitWebView], pspec=<optimized out>) at ../gobject/gobject.c:1658
#15 0x00007ffff33fc833 in webkitWebViewUpdateFavicon(_WebKitWebView*, _GdkTexture*) (webView=0x555557fc7d90 [WebKitWebView], favicon=0x55555a5d12c0 [GdkMemoryTexture]) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:635
#16 gotFaviconCallback(_GObject*, _GAsyncResult*, void*) (object=<optimized out>, result=<optimized out>, userData=0x555557fc7d90) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:659
#17 0x00007ffff7ca01cb in g_task_return_now (task=task@entry=0x555556652000 [GTask]) at ../gio/gtask.c:1309
#18 0x00007ffff7ca0fcb in g_task_return (type=<optimized out>, task=0x555556652000 [GTask]) at ../gio/gtask.c:1378
#19 g_task_return (task=0x555556652000 [GTask], type=<optimized out>) at ../gio/gtask.c:1335
#20 0x00007ffff33b3b40 in WTF::Function<void (WTF::RefPtr<_cairo_surface, WTF::RawPtrTraits<_cairo_surface>, WTF::DefaultRefDerefTraits<_cairo_surface> >&&)>::operator()(WTF::RefPtr<_cairo_surface, WTF::RawPtrTraits<_cairo_surface>, WTF::DefaultRefDerefTraits<_cairo_surface> >&&) const (in=..., this=<optimized out>)
at WTF/Headers/wtf/Function.h:82
#21 WTF::CompletionHandler<void (WTF::RefPtr<_cairo_surface, WTF::RawPtrTraits<_cairo_surface>, WTF::DefaultRefDerefTraits<_cairo_surface> >&&)>::operator()(WTF::RefPtr<_cairo_surface, WTF::RawPtrTraits<_cairo_surface>, WTF::DefaultRefDerefTraits<_cairo_surface> >&&) (this=0x7fffca0c0130, in=...)
at WTF/Headers/wtf/CompletionHandler.h:75
#22 WebKit::IconDatabase::loadIconForPageURL(WTF::String const&, WebKit::IconDatabase::AllowDatabaseWrite, WTF::CompletionHandler<void (WTF::RefPtr<_cairo_surface, WTF::RawPtrTraits<_cairo_surface>, WTF::DefaultRefDerefTraits<_cairo_surface> >&&)>&&)::$_3::operator()()::{lambda()#1}::operator()()
(this=0x7fffca0c0108) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/UIProcess/API/glib/IconDatabase.cpp:596
#23 WTF::Detail::CallableWrapper<WebKit::IconDatabase::loadIconForPageURL(WTF::String const&, WebKit::IconDatabase::AllowDatabaseWrite, WTF::CompletionHandler<void (WTF::RefPtr<_cairo_surface, WTF::RawPtrTraits<_cairo_surface>, WTF::DefaultRefDerefTraits<_cairo_surface> >&&)>&&)::$_3::operator()()::{lambda()#1}, void>::call() (this=0x7fffca0c0100) at WTF/Headers/wtf/Function.h:53
#24 0x00007fffee918d9b in WTF::Function<void ()>::operator()() const (this=<optimized out>) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WTF/wtf/Function.h:82
#25 WTF::RunLoop::performWork() (this=0x7fffca0100e0) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WTF/wtf/RunLoop.cpp:147
#26 0x00007fffee97d94d in WTF::RunLoop::RunLoop()::$_1::operator()(void*) const (userData=0x11, userData@entry=0x7fffca0100e0, this=<optimized out>) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WTF/wtf/glib/RunLoopGLib.cpp:80
#27 WTF::RunLoop::RunLoop()::$_1::__invoke(void*) (userData=0x11) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WTF/wtf/glib/RunLoopGLib.cpp:79
#28 0x00007fffee97cd31 in WTF::RunLoop::$_0::operator()(_GSource*, int (*)(void*), void*) const (source=0x55555cb65960, callback=0x7fffee97d940 <WTF::RunLoop::RunLoop()::$_1::__invoke(void*)>, userData=0x7fffca0100e0, this=<optimized out>)
at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WTF/wtf/glib/RunLoopGLib.cpp:53
#29 WTF::RunLoop::$_0::__invoke(_GSource*, int (*)(void*), void*) (source=0x55555cb65960, callback=0x7fffee97d940 <WTF::RunLoop::RunLoop()::$_1::__invoke(void*)>, userData=0x7fffca0100e0) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WTF/wtf/glib/RunLoopGLib.cpp:45
#30 0x00007ffff7a8cd99 in g_main_dispatch (context=<optimized out>) at ../glib/gmain.c:3460
#31 g_main_context_dispatch (context=<optimized out>) at ../glib/gmain.c:4200
#32 0x00007ffff7a8d2f8 in g_main_context_iterate (context=context@entry=0x5555564d6000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4276
#33 0x00007ffff7a8d393 in g_main_context_iteration (context=context@entry=0x5555564d6000, may_block=may_block@entry=1) at ../glib/gmain.c:4343
#34 0x00007ffff7cd172d in g_application_run (application=0x5555564eab80 [IdeApplication], argc=<optimized out>, argv=<optimized out>) at ../gio/gapplication.c:2573
#35 0x000055555563310a in ()
#36 0x00007ffff202954a in __libc_start_call_main (main=main@entry=0x555555632d90, argc=argc@entry=1, argv=argv@entry=0x7fffffffe2f8) at ../sysdeps/nptl/libc_start_call_main.h:58
#37 0x00007ffff202960b in __libc_start_main_impl (main=0x555555632d90, argc=1, argv=0x7fffffffe2f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=<optimized out>) at ../csu/libc-start.c:389
#38 0x0000555555633e55 in _start ()
(gdb)