Bug 186382

Summary: [GTK] Crash running run-webkit-tests
Product: WebKit Reporter: Carlos Bentzen <cadubentzen>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: cgarcia, lforschler, mcatanzaro, Ms2ger, zan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Carlos Bentzen
Reported 2018-06-06 22:00:58 PDT
All tests are crashing when running `run-webkit-tests --debug --gtk --no-new-test-results --no-retry-failures`. My platform: - GCC 8.1 - Arch Linux - Gnome-shell on Wayland It ultimately is calling getenv(nullptr) which leads to SIGSEGV. Truncated backtrace: Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `/home/cadubentzen/git/github/webkit/WebKitBuild/Debug/bin/WebKitTestRunner -'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fc23fd54621 in getenv () from /usr/lib/libc.so.6 [Current thread is 1 (Thread 0x7fc2603c6400 (LWP 11038))] (gdb) bt #0 0x00007fc23fd54621 in getenv () from /usr/lib/libc.so.6 #1 0x00007fc257aac4eb in WebKit::ChildProcessProxy::getLaunchOptions (this=0x7fc2366af000, launchOptions=...) at ../../Source/WebKit/UIProcess/ChildProcessProxy.cpp:79 #2 0x00007fc257cf8f95 in WebKit::PluginProcessProxy::getLaunchOptions (this=0x7fc2366af000, launchOptions=...) at ../../Source/WebKit/UIProcess/Plugins/PluginProcessProxy.cpp:91 #3 0x00007fc257aac5da in WebKit::ChildProcessProxy::connect (this=0x7fc2366af000) at ../../Source/WebKit/UIProcess/ChildProcessProxy.cpp:89 #4 0x00007fc257cf8d32 in WebKit::PluginProcessProxy::PluginProcessProxy (this=0x7fc2366af000, PluginProcessManager=0x7fc2601db100 <WebKit::PluginProcessManager::singleton()::pluginProcessManager>, pluginProcessAttributes=..., pluginProcessToken=2825539701238488505) at ../../Source/WebKit/UIProcess/Plugins/PluginProcessProxy.cpp:75 #5 0x00007fc257cf8bd4 in WebKit::PluginProcessProxy::create (PluginProcessManager=0x7fc2601db100 <WebKit::PluginProcessManager::singleton()::pluginProcessManager>, pluginProcessAttributes=..., pluginProcessToken=2825539701238488505) at ../../Source/WebKit/UIProcess/Plugins/PluginProcessProxy.cpp:61 #6 0x00007fc257cf6c07 in WebKit::PluginProcessManager::getOrCreatePluginProcess (this=0x7fc2601db100 <WebKit::PluginProcessManager::singleton()::pluginProcessManager>, pluginProcessToken=2825539701238488505) at ../../Source/WebKit/UIProcess/Plugins/PluginProcessManager.cpp:149 #7 0x00007fc257cf68b6 in WebKit::PluginProcessManager::fetchWebsiteData(WebKit::PluginModuleInfo const&, WTF::OptionSet<WebKit::WebsiteDataFetchOption>, WTF::Function<void (WTF::Vector<WTF::String, 0ul, WTF::CrashOnOverflow, 16ul>)>&&) (this=0x7fc2601db100 <WebKit::PluginProcessManager::singleton()::pluginProcessManager>, plugin=..., fetchOptions=..., completionHandler=...) at ../../Source/WebKit/UIProcess/Plugins/PluginProcessManager.cpp:103 #8 0x00007fc257d1e0f3 in WebKit::WebsiteDataStore::State::fetchWebsiteDataForNextPlugin (this=0x5556b7ccfa90) at ../../Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp:551
Attachments
Patch (1.90 KB, patch)
2018-06-06 22:11 PDT, Carlos Bentzen
no flags
Carlos Bentzen
Comment 1 2018-06-06 22:11:47 PDT
Ms2ger (he/him; ⌚ UTC+1/+2)
Comment 2 2018-06-07 00:19:08 PDT
Looks like a dupe of bug 185611.
Carlos Garcia Campos
Comment 3 2018-06-07 00:21:23 PDT
*** This bug has been marked as a duplicate of bug 185611 ***
Note You need to log in before you can comment on or make changes to this bug.