Bug 173654 - [WPE] Irregular segmentation fault in HeadlessViewBackend on several tests
Summary: [WPE] Irregular segmentation fault in HeadlessViewBackend on several tests
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WPE WebKit (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-21 09:05 PDT by Claudio Saavedra
Modified: 2020-05-19 00:31 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Claudio Saavedra 2017-06-21 09:05:46 PDT
Several tests are crashing irregularly with this stacktrace:

Thread 1 (Thread 0x7f396ce1d9c0 (LWP 26957)):
#0  0x000055d867df7090 in HeadlessViewBackend::{lambda(void*, wpe_mesa_view_backend_exportable_dma_buf_data*)#1}::_FUN(void*, wpe_mesa_view_backend_exportable_dma_buf_data*) ()
#1  0x00007f39680ae14f in ExportableDmaBuf::ViewBackend::handleMessage(char*, unsigned long) () from /home/claudio/git/metrological/WebKit/WebKitBuild/DependenciesWPE/Root/lib/libWPEBackend-mesa.so.0
#2  0x00007f396809b105 in IPC::Host::socketCallback(_GSocket*, GIOCondition, void*) () from /home/claudio/git/metrological/WebKit/WebKitBuild/DependenciesWPE/Root/lib/libWPEBackend-mesa.so.0
#3  0x00007f3961d461f1 in socket_source_dispatch (source=0x55d86aa25de0, callback=0x7f396809aed6 <IPC::Host::socketCallback(_GSocket*, GIOCondition, void*)>, user_data=0x55d86a9a8138) at /home/claudio/git/metrological/WebKit/WebKitBuild/DependenciesWPE/Source/glib-2.44.1/gio/gsocket.c:3276
#4  0x00007f396851563a in g_main_dispatch (context=0x55d86a902e70) at /home/claudio/git/metrological/WebKit/WebKitBuild/DependenciesWPE/Source/glib-2.44.1/glib/gmain.c:3122
#5  g_main_context_dispatch (context=context@entry=0x55d86a902e70) at /home/claudio/git/metrological/WebKit/WebKitBuild/DependenciesWPE/Source/glib-2.44.1/glib/gmain.c:3737
#6  0x00007f39685159b8 in g_main_context_iterate (context=0x55d86a902e70, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /home/claudio/git/metrological/WebKit/WebKitBuild/DependenciesWPE/Source/glib-2.44.1/glib/gmain.c:3808
#7  0x00007f3968515cd2 in g_main_loop_run (loop=0x55d86a8e60f0) at /home/claudio/git/metrological/WebKit/WebKitBuild/DependenciesWPE/Source/glib-2.44.1/glib/gmain.c:4002
#8  0x00007f396c23bc40 in WTF::RunLoop::run() () from /home/claudio/git/metrological/WebKit/WebKitBuild/Release/lib/libWPEWebKit.so.0
#9  0x000055d867df7940 in WTR::TestController::platformRunUntil(bool&, double) ()
#10 0x000055d867ddc052 in WTR::TestController::resetStateToConsistentValues(WTR::TestOptions const&) ()
#11 0x000055d867dddb40 in WTR::TestController::ensureViewSupportsOptionsForTest(WTR::TestInvocation const&) ()
#12 0x000055d867dddd31 in WTR::TestController::configureViewForTest(WTR::TestInvocation const&) ()
#13 0x000055d867de6341 in WTR::TestInvocation::invoke() ()
#14 0x000055d867dd8fac in WTR::TestController::runTest(char const*) ()
#15 0x000055d867dd917b in WTR::TestController::runTestingServerLoop() ()
#16 0x000055d867ddb948 in WTR::TestController::TestController(int, char const**) ()
#17 0x000055d867dd28e5 in main ()

Some of the crashing tests are:

security/set-form-autocomplete-attribute.html
js/dom/regress-157246.html
http/tests/appcache/insert-html-element-with-manifest-2.html
Comment 1 Zan Dobersek 2020-05-19 00:31:52 PDT
No longer crashing.