[Webkit-unassigned] [Bug 133118] New: [GTK] MiniBrowser crashing after r168628

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 20 05:09:08 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=133118

           Summary: [GTK] MiniBrowser crashing after r168628
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tpopela at redhat.com


After http://trac.webkit.org/changeset/168628 the MiniBrowser is crasing because we are passing empty localStorageDirectory when creating new WebContext.

$ ./MiniBrowser
ASSERTION FAILED: !m_localStorageDirectory.isEmpty()
../../Source/WebKit2/UIProcess/Storage/LocalStorageDatabaseTracker.cpp(50) : WebKit::LocalStorageDatabaseTracker::LocalStorageDatabaseTracker(WTF::PassRefPtr<WorkQueue>, const WTF::String&)
1   0x7fb148665f32 /home/tpopela/dev/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-3.0.so.25(WTFCrash+0x1e) [0x7fb148665f32]
2   0x7fb14841aab0 /home/tpopela/dev/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-3.0.so.25(_ZN6WebKit27LocalStorageDatabaseTrackerC1EN3WTF10PassRefPtrI9WorkQueueEERKNS1_6StringE+0xa8) [0x7fb14841aab0]
3   0x7fb14841a97d /home/tpopela/dev/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-3.0.so.25(_ZN6WebKit27LocalStorageDatabaseTracker6createEN3WTF10PassRefPtrI9WorkQueueEERKNS1_6StringE+0x4d) [0x7fb14841a97d]
4   0x7fb1485b3e7e /home/tpopela/dev/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-3.0.so.25(_ZN6WebKit14StorageManagerC2ERKN3WTF6StringE+0x92) [0x7fb1485b3e7e]
5   0x7fb1485b3dd1 /home/tpopela/dev/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-3.0.so.25(_ZN6WebKit14StorageManager6createERKN3WTF6StringE+0x2d) [0x7fb1485b3dd1]
6   0x7fb14831d278 /home/tpopela/dev/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-3.0.so.25(_ZN6WebKit10WebContextC1ENS_23WebContextConfigurationE+0x320) [0x7fb14831d278]
7   0x7fb14831ced6 /home/tpopela/dev/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-3.0.so.25(_ZN6WebKit10WebContext6createENS_23WebContextConfigurationE+0x52) [0x7fb14831ced6]
8   0x7fb148584edf /home/tpopela/dev/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-3.0.so.25(+0x4035edf) [0x7fb148584edf]
9   0x306d66fa18 /lib64/libglib-2.0.so.0(g_once_impl+0x58) [0x306d66fa18]
10  0x7fb148585083 /home/tpopela/dev/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-3.0.so.25(webkit_web_context_get_default+0x3d) [0x7fb148585083]
11  0x40f986 ./MiniBrowser(main+0x1aa) [0x40f986]
12  0x37db621d65 /lib64/libc.so.6(__libc_start_main+0xf5) [0x37db621d65]
13  0x408369 ./MiniBrowser() [0x408369]
Segmentation fault (core dumped)

(gdb) bt full
#0  0x00007fb148665f37 in WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:333
No locals.
#1  0x00007fb14841aab0 in WebKit::LocalStorageDatabaseTracker::LocalStorageDatabaseTracker (this=0xa37040, queue=..., localStorageDirectory="(null)") at ../../Source/WebKit2/UIProcess/Storage/LocalStorageDatabaseTracker.cpp:50
        localStorageDatabaseTracker = {m_ptr = 0x7fff65b93518}
#2  0x00007fb14841a97d in WebKit::LocalStorageDatabaseTracker::create (queue=..., localStorageDirectory="(null)") at ../../Source/WebKit2/UIProcess/Storage/LocalStorageDatabaseTracker.cpp:43
No locals.
#3  0x00007fb1485b3e7e in WebKit::StorageManager::StorageManager (this=0xa36c10, localStorageDirectory="(null)") at ../../Source/WebKit2/UIProcess/Storage/StorageManager.cpp:378
No locals.
#4  0x00007fb1485b3dd1 in WebKit::StorageManager::create (localStorageDirectory="(null)") at ../../Source/WebKit2/UIProcess/Storage/StorageManager.cpp:373
No locals.
#5  0x00007fb14831d278 in WebKit::WebContext::WebContext (this=0xb83c00, configuration=...) at ../../Source/WebKit2/UIProcess/WebContext.cpp:183
No locals.
#6  0x00007fb14831ced6 in WebKit::WebContext::create (configuration=...) at ../../Source/WebKit2/UIProcess/WebContext.cpp:138
No locals.
#7  0x00007fb148584edf in createDefaultWebContext () at ../../Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.cpp:258
        webContext = {m_ptr = 0x98f210 [WebKitWebContext]}
        priv = 0x98f130
        webContextConfiguration = {injectedBundlePath = "(null)", localStorageDirectory = "(null)", webSQLDatabaseDirectory = "(null)", indexedDBDatabaseDirectory = "(null)"}
#8  0x000000306d66fa18 in g_once_impl (once=0x7fb14d3f8e30 <webkit_web_context_get_default::onceInit>, func=0x7fb148584d92 <createDefaultWebContext(gpointer)>, arg=0x0) at gthread.c:590
No locals.
#9  0x00007fb148585083 in webkit_web_context_get_default () at ../../Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.cpp:290
        onceInit = {status = G_ONCE_STATUS_PROGRESS, retval = 0x0}
#10 0x000000000040f986 in main (argc=1, argv=0x7fff65b937b8) at ../../Tools/MiniBrowser/gtk/main.c:272
        multiprocess = 0x0
        context = 0xa2e400
        webkitSettings = 0xb26af0 [WebKitSettings]
        error = 0x0

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list