On Thu, Feb 21, 2019 at 02:01:45PM +0200, Alberto Garcia wrote:
> If would also be nice if you can get a backtrace.

Attached is a backtrace

Berto
Core was generated by `/usr/lib/i386-linux-gnu/webkit2gtk-4.0/WebKitWebProcess 
7 23'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xb2e6fbba in jscValueCallFunction () at 
./Source/JavaScriptCore/API/glib/JSCValue.cpp:886
886             G_VALUE_COLLECT_INIT(&parameter, parameterType, args, 
G_VALUE_NOCOPY_CONTENTS, &error.outPtr());
[Current thread is 1 (Thread 0xaf3c5200 (LWP 1640))]
(gdb) bt
#0  0xb2e6fbba in jscValueCallFunction () at 
./Source/JavaScriptCore/API/glib/JSCValue.cpp:886
#1  0xb2e7097a in jsc_value_constructor_call () at 
./Source/JavaScriptCore/API/glib/JSCValue.cpp:1348
#2  0xae717a29 in window_object_cleared_cb (extension=0x17122c0, 
frame=0x1847028, page=0x1848750, world=0x1751a68) at 
../embed/web-extension/ephy-web-extension.c:748
#3  window_object_cleared_cb (world=0x1751a68, page=0x1848750, frame=0x1847028, 
extension=0x17122c0) at ../embed/web-extension/ephy-web-extension.c:671
#4  0xb153f10e in ffi_call_SYSV () from /lib/i386-linux-gnu/libffi.so.6
#5  0xb153ed9c in ffi_call () from /lib/i386-linux-gnu/libffi.so.6
#6  0xb401d919 in g_cclosure_marshal_generic (closure=<optimized out>, 
return_gvalue=<optimized out>, n_param_values=<optimized out>, 
param_values=<optimized out>, invocation_hint=<optimized out>, 
    marshal_data=<optimized out>) at ../../../gobject/gclosure.c:1496
#7  0xb401d118 in g_closure_invoke (closure=0x1749410, return_value=0x0, 
n_param_values=3, param_values=0xbf8e9d80, invocation_hint=0xbf8e9d24) at 
../../../gobject/gclosure.c:810
#8  0xb4030ba2 in signal_emit_unlocked_R (node=node@entry=0x174a4e0, 
detail=detail@entry=0, instance=instance@entry=0x1751a68, emission_return=0x0, 
instance_and_params=0xbf8e9d80)
    at ../../../gobject/gsignal.c:3635
#9  0xb4039e00 in g_signal_emit_valist (instance=<optimized out>, 
signal_id=<optimized out>, detail=<optimized out>, var_args=0xbf8e9f14 
"\266M\200\265\271\fn\265") at ../../../gobject/gsignal.c:3391
#10 0xb403a3f5 in g_signal_emit (instance=0x1751a68, signal_id=178, detail=0) 
at ../../../gobject/gsignal.c:3447
#11 0xb56d0188 in webkitScriptWorldWindowObjectCleared () at 
./Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitScriptWorld.cpp:99
#12 0xb56d510d in PageLoaderClient::didClearWindowObjectForFrame () at 
./Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebPage.cpp:212
#13 0xb57d998b in 
WebKit::WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld () at 
./Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:1683
#14 0xb64b4b0a in WebCore::FrameLoader::dispatchDidClearWindowObjectInWorld () 
at ./Source/WebCore/loader/FrameLoader.cpp:3794
#15 WebCore::FrameLoader::dispatchDidClearWindowObjectInWorld () at 
./Source/WebCore/loader/FrameLoader.cpp:3789
#16 0xb5f330f9 in WebCore::ScriptController::initScriptForWindowProxy () at 
./Source/WebCore/bindings/js/ScriptController.cpp:259
#17 0xb5f4af07 in 
WebCore::WindowProxy::createJSWindowProxyWithInitializedScript () at 
./Source/WebCore/bindings/js/WindowProxy.cpp:123
#18 0xb5f266f1 in WebCore::WindowProxy::jsWindowProxy () at 
./Source/WebCore/bindings/js/WindowProxy.h:70
#19 WebCore::ScriptController::jsWindowProxy () at 
./Source/WebCore/bindings/js/ScriptController.cpp:331
#20 0xb5820edc in WebCore::ScriptController::globalObject () at 
./Source/WebCore/bindings/js/ScriptController.h:86
#21 WebKit::WebFrame::jsContextForWorld () at 
./Source/WebKit/WebProcess/WebPage/WebFrame.cpp:527
#22 0xb56cf9fb in webkit_frame_get_js_context_for_script_world () at 
./Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitFrame.cpp:176
#23 0xae7175d8 in ephy_web_extension_page_created_cb (extension=0x17122c0, 
web_page=0x1848750) at ../embed/web-extension/ephy-web-extension.c:378
#24 0xb401d118 in g_closure_invoke (closure=0x17e9ea0, return_value=0x0, 
n_param_values=2, param_values=0xbf8ea2d0, invocation_hint=0xbf8ea274) at 
../../../gobject/gclosure.c:810
#25 0xb4030ba2 in signal_emit_unlocked_R (node=node@entry=0x1734a60, 
detail=detail@entry=0, instance=instance@entry=0x17db7a8, emission_return=0x0, 
instance_and_params=0xbf8ea2d0)
    at ../../../gobject/gsignal.c:3635
#26 0xb4039e00 in g_signal_emit_valist (instance=<optimized out>, 
signal_id=<optimized out>, detail=<optimized out>, var_args=0xbf8ea450 "") at 
../../../gobject/gsignal.c:3391
#27 0xb403a3f5 in g_signal_emit (instance=0x17db7a8, signal_id=177, detail=0) 
at ../../../gobject/gsignal.c:3447
#28 0xb56d19a5 in WebExtensionInjectedBundleClient::didCreatePage () at 
./Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebExtension.cpp:163
#29 0xb56bebcb in WebKit::InjectedBundle::didCreatePage () at 
./Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.cpp:534
#30 0xb58195b0 in WebKit::WebPage::create () at 
./Source/WebKit/WebProcess/WebPage/WebPage.cpp:341
#31 0xb56a5ea2 in WebKit::WebProcess::createWebPage () at 
./Source/WebKit/WebProcess/WebProcess.cpp:583
#32 0xb5376b5a in IPC::callMemberFunctionImpl<WebKit::WebProcess, void 
(WebKit::WebProcess::*)(unsigned long long, 
WebKit::WebPageCreationParameters&&), std::tuple<unsigned long long, 
WebKit::WebPageCreationParameters>, 0u, 1u> () at 
./Source/WebKit/Platform/IPC/HandleMessage.h:41
#33 IPC::callMemberFunction<WebKit::WebProcess, void 
(WebKit::WebProcess::*)(unsigned long long, 
WebKit::WebPageCreationParameters&&), std::tuple<unsigned long long, 
WebKit::WebPageCreationParameters>, std::integer_sequence<unsigned int, 0u, 1u> 
> () at ./Source/WebKit/Platform/IPC/HandleMessage.h:47
#34 IPC::handleMessage<Messages::WebProcess::CreateWebPage, WebKit::WebProcess, 
void (WebKit::WebProcess::*)(unsigned long long, 
WebKit::WebPageCreationParameters&&)> ()
    at ./Source/WebKit/Platform/IPC/HandleMessage.h:127
#35 0xb5371118 in WebKit::WebProcess::didReceiveWebProcessMessage () at 
./obj-i686-linux-gnu/DerivedSources/WebKit/WebProcessMessageReceiver.cpp:77
#36 0xb56b0fd4 in WebKit::WebProcess::didReceiveMessage () at 
./Source/WebKit/WebProcess/WebProcess.cpp:648
#37 WebKit::WebProcess::didReceiveMessage () at 
./Source/WebKit/WebProcess/WebProcess.cpp:642
#38 0xb543bc0c in IPC::Connection::dispatchMessage () at 
./Source/WebKit/Platform/IPC/Connection.cpp:957
#39 0xb5440691 in IPC::Connection::dispatchMessage () at 
./Source/WebKit/Platform/IPC/Connection.cpp:984
#40 0xb544111a in IPC::Connection::dispatchOneIncomingMessage () at 
./Source/WebKit/Platform/IPC/Connection.cpp:1053
#41 0xb54414e9 in operator() () at 
./Source/WebKit/Platform/IPC/Connection.cpp:950
#42 call () at 
./obj-i686-linux-gnu/DerivedSources/ForwardingHeaders/wtf/Function.h:101
#43 0xb37762e6 in WTF::Function<void ()>::operator()() const () at 
./Source/WTF/wtf/Function.h:56
#44 WTF::RunLoop::performWork () at ./Source/WTF/wtf/RunLoop.cpp:123
#45 0xb37a2d78 in operator() () at ./Source/WTF/wtf/glib/RunLoopGLib.cpp:68
#46 _FUN () at ./Source/WTF/wtf/glib/RunLoopGLib.cpp:70
#47 0xb3f1fe35 in g_main_dispatch (context=0x171a490) at 
../../../glib/gmain.c:3182
#48 g_main_context_dispatch (context=0x171a490) at ../../../glib/gmain.c:3847
#49 0xb3f20239 in g_main_context_iterate (context=0x171a490, 
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at 
../../../glib/gmain.c:3920
#50 0xb3f205d9 in g_main_loop_run (loop=0x1737430) at ../../../glib/gmain.c:4116
#51 0xb37a3a01 in WTF::RunLoop::run () at 
./Source/WTF/wtf/glib/RunLoopGLib.cpp:96
#52 0xb5842a92 in WebKit::ChildProcessMain<WebKit::WebProcess, 
WebKit::WebProcessMain> () at ./Source/WebKit/Shared/unix/ChildProcessMain.h:61
#53 0xb583ebcc in WebProcessMainUnix () at 
./Source/WebKit/WebProcess/gtk/WebProcessMainGtk.cpp:67
#54 0x004ee6ea in main () at 
./Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp:52

Reply via email to