| Summary: | REGRESSION(r168625): [GTK] Assertion failure in LocalStorageDatabaseTracker | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tomas Popela <tpopela> | ||||
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | berto, cgarcia, commit-queue, gustavo, mrobinson, rego | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Tomas Popela
2014-05-20 05:09:27 PDT
I've reverted r168628 and it's still crashing to me: ASSERTION FAILED: !localStorageDirectory.isNull() ../../Source/WebKit2/UIProcess/Storage/StorageManager.cpp(390) : void WebKit::StorageManager::setLocalStorageDirectory(const WTF::String&) 1 0x7fa5ae7f498e /home/rego/checkout/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-3.0.so.25(WTFCrash+0x1e) [0x7fa5ae7f498e] 2 0x7fa5ae74304e /home/rego/checkout/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-3.0.so.25(_ZN6WebKit14StorageManager24setLocalStorageDirectoryERKN3WTF6StringE+0x44) [0x7fa5ae74304e] 3 0x7fa5ae4af28a /home/rego/checkout/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-3.0.so.25(_ZN6WebKit10WebContextC1ENS_23WebContextConfigurationE+0x61a) [0x7fa5ae4af28a] 4 0x7fa5ae4aebee /home/rego/checkout/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-3.0.so.25(_ZN6WebKit10WebContext6createENS_23WebContextConfigurationE+0x52) [0x7fa5ae4aebee] 5 0x7fa5ae714350 /home/rego/checkout/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-3.0.so.25(+0x420c350) [0x7fa5ae714350] 6 0x7fa5a9869be8 /home/rego/checkout/WebKit/WebKitBuild/Dependencies/Root/lib64/libglib-2.0.so.0(g_once_impl+0x58) [0x7fa5a9869be8] 7 0x7fa5ae7144f4 /home/rego/checkout/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-3.0.so.25(webkit_web_context_get_default+0x3d) [0x7fa5ae7144f4] 8 0x40f9ae WebKitBuild/Debug/bin/MiniBrowser(main+0x1aa) [0x40f9ae] 9 0x7fa5a9475b45 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fa5a9475b45] 10 0x408399 WebKitBuild/Debug/bin/MiniBrowser() [0x408399] Segmentation fault Backtrace: #0 0x00007ffff3217993 in WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:333 No locals. #1 0x00007ffff316604e in WebKit::StorageManager::setLocalStorageDirectory (this=0x5655c0, localStorageDirectory=...) at ../../Source/WebKit2/UIProcess/Storage/StorageManager.cpp:390 __PRETTY_FUNCTION__ = "void WebKit::StorageManager::setLocalStorageDirectory(const WTF::String&)" #2 0x00007ffff2ed228a in WebKit::WebContext::WebContext (this=0x487310, configuration=...) at ../../Source/WebKit2/UIProcess/WebContext.cpp:234 No locals. #3 0x00007ffff2ed1bee in WebKit::WebContext::create (configuration=...) at ../../Source/WebKit2/UIProcess/WebContext.cpp:138 No locals. #4 0x00007ffff3137350 in createDefaultWebContext () at ../../Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.cpp:258 webContext = {m_ptr = 0x564150} priv = 0x564070 webContextConfiguration = {injectedBundlePath = {m_impl = {m_ptr = 0x0}}, localStorageDirectory = {m_impl = {m_ptr = 0x0}}, webSQLDatabaseDirectory = {m_impl = {m_ptr = 0x0}}, indexedDBDatabaseDirectory = {m_impl = {m_ptr = 0x0}}} #5 0x00007fffee28cbe8 in g_once_impl (once=0x7ffff7dc9d50 <webkit_web_context_get_default::onceInit>, func=0x7ffff3137203 <createDefaultWebContext(gpointer)>, arg=0x0) at gthread.c:624 No locals. #6 0x00007ffff31374f4 in webkit_web_context_get_default () at ../../Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.cpp:290 onceInit = {status = G_ONCE_STATUS_PROGRESS, retval = 0x0} #7 0x000000000040f9ae in main (argc=1, argv=0x7fffffffd898) at ../../Tools/MiniBrowser/gtk/main.c:272 multiprocess = 0x0 context = 0x55be30 webkitSettings = 0x485200 error = 0x0 Maybe it was introduced in: http://trac.webkit.org/changeset/168625 Created attachment 231831 [details]
Patch
Temptative fix, I haven't had time to try it out.
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API Comment on attachment 231831 [details]
Patch
Looks legit!
(In reply to comment #3) > Created an attachment (id=231831) [details] > Patch > > Temptative fix, I haven't had time to try it out. Thanks for the patch, it fixes the issue here. Committed r169163: <http://trac.webkit.org/changeset/169163> |