[Webkit-unassigned] [Bug 239544] New: ASSERTION FAILED: m_customLocalStoragePath.isEmpty() == m_rootPath.isEmpty() crash webinspector network process (debug)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 20 08:00:59 PDT 2022


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

            Bug ID: 239544
           Summary: ASSERTION FAILED: m_customLocalStoragePath.isEmpty()
                    == m_rootPath.isEmpty() crash webinspector network
                    process (debug)
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: csaavedra at igalia.com
                CC: inspector-bugzilla-changes at group.apple.com

Network process crash when opening the web inspector in debug builds for the GTK port:

m_customLocalStoragePath: /home/claudio/.local/share/webkitgtk-4.1/WebInspector/localstorage/resource__0.localstorage
m_rootPath.isEmpty() -> true
-> assertion fails.

#0  WTFCrash() () at /app/webkit/Source/WTF/wtf/Assertions.cpp:322
#1  0x00007f870fb6c796 in WTFCrashWithInfo(int, char const*, char const*, int) () at /app/webkit/WebKitBuild/Debug/WTF/Headers/wtf/Assertions.h:748
#2  0x00007f87107969a3 in WebKit::OriginStorageManager::StorageBucket::resolvedLocalStoragePath() (this=0x7f86fd49e060) at /app/webkit/Source/WebKit/NetworkProcess/storage/OriginStorageManager.cpp:371
#3  0x00007f8710795ab5 in WebKit::OriginStorageManager::StorageBucket::localStorageManager(WebKit::StorageAreaRegistry&) (this=0x7f86fd49e060, registry=...)
    at /app/webkit/Source/WebKit/NetworkProcess/storage/OriginStorageManager.cpp:180
#4  0x00007f8710797796 in WebKit::OriginStorageManager::localStorageManager(WebKit::StorageAreaRegistry&) (this=0x7f86fd4d1090, registry=...)
    at /app/webkit/Source/WebKit/NetworkProcess/storage/OriginStorageManager.cpp:499
#5  0x00007f8710793582 in WebKit::NetworkStorageManager::connectToStorageArea(IPC::Connection&, WebCore::StorageType, WTF::ObjectIdentifier<WebKit::StorageAreaMapIdentifierType>, WTF::ObjectIdentifier<WebKit::StorageNamespaceIdentifierType>, WebCore::ClientOrigin const&, WTF::CompletionHandler<void (WTF::ObjectIdentifier<WebKit::StorageAreaIdentifierType>, WTF::HashMap<WTF::String, WTF::String, WTF::DefaultHash<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTableTraits>, unsigned long)>&&)
    (this=0x7f86fd4db000, connection=..., type=WebCore::StorageType::Local, sourceIdentifier=..., namespaceIdentifier=..., origin=..., completionHandler=...)
    at /app/webkit/Source/WebKit/NetworkProcess/storage/NetworkStorageManager.cpp:777
#6  0x00007f87107937d0 in WebKit::NetworkStorageManager::connectToStorageAreaSync(IPC::Connection&, WebCore::StorageType, WTF::ObjectIdentifier<WebKit::StorageAreaMapIdentifierType>, WTF::ObjectIdentifier<WebKit::StorageNamespaceIdentifierType>, WebCore::ClientOrigin const&, WTF::CompletionHandler<void (WTF::ObjectIdentifier<WebKit::StorageAreaIdentifierType>, WTF::HashMap<WTF::String, WTF::String, WTF::DefaultHash<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTableTraits>, unsigned long)>&&)
    (this=0x7f86fd4db000, connection=..., type=WebCore::StorageType::Local, sourceIdentifier=..., namespaceIdentifier=..., origin=..., completionHandler=...)
    at /app/webkit/Source/WebKit/NetworkProcess/storage/NetworkStorageManager.cpp:794
#7  0x00007f870fe4d85f in IPC::callMemberFunctionImpl<WebKit::NetworkStorageManager, void (WebKit::NetworkStorageManager::*)(IPC::Connection&, WebCore::StorageType, WTF::ObjectIdentifier<WebKit::StorageAreaMapIdentifierType>, WTF::ObjectIdentifier<WebKit::StorageNamespaceIdentifierType>, WebCore::ClientOrigin const&, WTF::CompletionHandler<void (WTF::ObjectIdentifier<WebKit::StorageAreaIdentifierType>, WTF::HashMap<WTF::String, WTF::String, WTF::DefaultHash<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTableTraits>, unsigned long)>&&), void (WTF::ObjectIdentifier<WebKit::StorageAreaIdentifierType>, WTF::HashMap<WTF::String, WTF::String, WTF::DefaultHash<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTableTraits>, unsigned long), std::tuple<WebCore::StorageType, WTF::ObjectIdentifier<WebKit::StorageAreaMapIdentifierType>, WTF::ObjectIdentifier<WebKit::StorageNamespaceIdentifierType>, WebCore::ClientOrigin>, 0ul, 1ul, 2ul, 3ul>(IPC::Connection&, WebKit::NetworkStorageManager*, void (WebKit::NetworkStorageManager::*)(IPC::Connection&, WebCore::StorageType, WTF::ObjectIdentifier<WebKit::StorageAreaMapIdentifierType>, WTF::ObjectIdentifier<WebKit::StorageNamespaceIdentifierType>, WebCore::ClientOrigin const&, WTF::CompletionHandler<void (WTF::ObjectIdentifier<WebKit::StorageAreaIdentifierType>, WTF::HashMap<WTF::String, WTF::String, WTF::DefaultHash<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTableTraits>, unsigned long)>&&), WTF::CompletionHandler<void (WTF::ObjectIdentifier<WebKit::StorageAreaIdentifierType>, WTF::HashMap<WTF::String, WTF::String, WTF::DefaultHash<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTableTraits>, unsigned long)>&&, std::tuple<WebCore::StorageType, WTF::ObjectIdentifier<WebKit::StorageAreaMapIdentifierType>, WTF::ObjectIdentifier<WebKit::StorageNamespaceIdentifierType>, WebCore::ClientOrigin>&&, std::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul>) (connection=..., object=0x7f86fd4db000, function=
    (void (WebKit::NetworkStorageManager::*)(WebKit::NetworkStorageManager * const, IPC::Connection &, WebCore::StorageType, WTF::ObjectIdentifier<WebKit::StorageAreaMapIdentifierType>, WTF::ObjectIdentifier<WebKit::StorageNamespaceIdentifierType>, const WebCore::ClientOrigin &, WTF::CompletionHandler<void(WTF::ObjectIdentifier<WebKit::StorageAreaIdentifierType>, WTF::HashMap<WTF::String, WTF::String, WTF::DefaultHash<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTableTraits>, long unsigned int)> &&)) 0x7f871079377e <WebKit::NetworkStorageManager::connectToStorageAreaSync(IPC::Connection&, WebCore::StorageType, WTF::ObjectIdentifier<WebKit::StorageAreaMapIdentifierType>, WTF::ObjectIdentifier<WebKit::StorageNamespaceIdentifierType>, WebCore::ClientOrigin const&, WTF::CompletionHandler<void (WTF::ObjectIdentifier<WebKit::StorageAreaIdentifierType>, WTF::HashMap<WTF::String, WTF::String, WTF::DefaultHash<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTableTraits>, unsigned long)>&&)>, completionHandler=..., args=...) at /app/webkit/Source/WebKit/Platform/IPC/HandleMessage.h:153
#8  0x00007f870fe4421e in IPC::callMemberFunction<WebKit::NetworkStorageManager, void (WebKit::NetworkStorageManager::*)(IPC::Connection&, WebCore::StorageType, WTF::ObjectIdentifier<WebKit::StorageAreaMapIdentifierType>, WTF::ObjectIdentifier<WebKit::StorageNamespaceIdentifierType>, WebCore::ClientOrigin const&, WTF::CompletionHandler<void (WTF::ObjectIdentifier<WebKit::StorageAreaIdentifierType>, WTF::HashMap<WTF::String, WTF::String, WTF::DefaultHash<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTableTraits>, unsigned long)>&&), void (WTF::ObjectIdentifier<WebKit::StorageAreaIdentifierType>, WTF::HashMap<WTF::String, WTF::String, WTF::DefaultHash<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTableTraits>, unsigned long), std::tuple<WebCore::StorageType, WTF::ObjectIdentifier<WebKit::StorageAreaMapIdentifierType>, WTF::ObjectIdentifier<WebKit::StorageNamespaceIdentifierType>, WebCore::ClientOrigin>, std::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul> >(IPC::Connection&, std::tuple<WebCore::StorageType, WTF::ObjectIdentifier<WebKit::StorageAreaMapIdentifierType>, WTF::ObjectIdentifier<WebKit::StorageNamespaceIdentifierType>, WebCore::ClientOrigin>&&, WTF::CompletionHandler<void (WTF::ObjectIdentifier<WebKit::StorageAreaIdentifierType>, WTF::HashMap<WTF::String, WTF::String, WTF::DefaultHash<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTableTraits>, unsigned long)>&&, WebKit::NetworkStorageManager*, void (WebKit::NetworkStorageManager::*)(IPC::Connection&, WebCore::StorageType, WTF::ObjectIdentifier<WebKit::StorageAreaMapIdentifierType>, WTF::ObjectIdentifier<WebKit::StorageNamespaceIdentifierType>, WebCore::ClientOrigin const&, WTF::CompletionHandler<void (WTF::ObjectIdentifier<WebKit::StorageAreaIdentifierType>, WTF::HashMap<WTF::String, WTF::String, WTF::DefaultHash<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTableTraits>, unsigned long)>&&))
    (connection=..., args=..., completionHandler=..., object=0x7f86fd4db000, function=
    (void (WebKit::NetworkStorageManager::*)(WebKit::NetworkStorageManager * const, IPC::Connection &, WebCore::StorageType, WTF::ObjectIdentifier<WebKit::StorageAreaMapIdentifierType>, WTF::ObjectIdentifier<WebKit::StorageNamespaceIdentifierType>, const WebCore::ClientOrigin &, WTF::CompletionHandler<void(WTF::ObjectIdentifier<WebKit::StorageAreaIdentifierType>, WTF::HashMap<WTF::String, WTF::String, WTF::DefaultHash<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTableTraits>, long unsigned int)> &&)) 0x7f871079377e <WebKit::NetworkStorageManager::connectToStorageAreaSync(IPC::Connection&, WebCore::StorageType, WTF::ObjectIdentifier<WebKit::StorageAreaMapIdentifierType>, WTF::ObjectIdentifier<WebKit::StorageNamespaceIdentifierType>, WebCore::ClientOrigin const&, WTF::CompletionHandler<void (WTF::ObjectIdentifier<WebKit::StorageAreaIdentifierType>, WTF::HashMap<WTF::String, WTF::String, WTF::DefaultHash<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTableTraits>, unsigned long)>&&)>) at /app/webkit/Source/WebKit/Platform/IPC/HandleMessage.h:159
#9  0x00007f870fe3fdb2 in IPC::handleMessageSynchronousWantsConnection<Messages::NetworkStorageManager::ConnectToStorageAreaSync, WebKit::NetworkStorageManager, void (WebKit::NetworkStorageManager::*)(IPC::Connection&, WebCore::StorageType, WTF::ObjectIdentifier<WebKit::StorageAreaMapIdentifierType>, WTF::ObjectIdentifier<WebKit::StorageNamespaceIdentifierType>, WebCore::ClientOrigin const&, WTF::CompletionHandler<void--Type <RET> for more, q to quit, c to continue without paging--
 (WTF::ObjectIdentifier<WebKit::StorageAreaIdentifierType>, WTF::HashMap<WTF::String, WTF::String, WTF::DefaultHash<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTableTraits>, unsigned long)>&&)>(IPC::Connection&, IPC::Decoder&, WTF::UniqueRef<IPC::Encoder>&, WebKit::NetworkStorageManager*, void (WebKit::NetworkStorageManager::*)(IPC::Connection&, WebCore::StorageType, WTF::ObjectIdentifier<WebKit::StorageAreaMapIdentifierType>, WTF::ObjectIdentifier<WebKit::StorageNamespaceIdentifierType>, WebCore::ClientOrigin const&, WTF::CompletionHandler<void (WTF::ObjectIdentifier<WebKit::StorageAreaIdentifierType>, WTF::HashMap<WTF::String, WTF::String, WTF::DefaultHash<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTableTraits>, unsigned long)>&&))
    (connection=..., decoder=..., replyEncoder=..., object=0x7f86fd4db000, function=
    (void (WebKit::NetworkStorageManager::*)(WebKit::NetworkStorageManager * const, IPC::Connection &, WebCore::StorageType, WTF::ObjectIdentifier<WebKit::StorageAreaMapIdentifierType>, WTF::ObjectIdentifier<WebKit::StorageNamespaceIdentifierType>, const WebCore::ClientOrigin &, WTF::CompletionHandler<void(WTF::ObjectIdentifier<WebKit::StorageAreaIdentifierType>, WTF::HashMap<WTF::String, WTF::String, WTF::DefaultHash<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTableTraits>, long unsigned int)> &&)) 0x7f871079377e <WebKit::NetworkStorageManager::connectToStorageAreaSync(IPC::Connection&, WebCore::StorageType, WTF::ObjectIdentifier<WebKit::StorageAreaMapIdentifierType>, WTF::ObjectIdentifier<WebKit::StorageNamespaceIdentifierType>, WebCore::ClientOrigin const&, WTF::CompletionHandler<void (WTF::ObjectIdentifier<WebKit::StorageAreaIdentifierType>, WTF::HashMap<WTF::String, WTF::String, WTF::DefaultHash<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String>, WTF::HashTableTraits>, unsigned long)>&&)>) at /app/webkit/Source/WebKit/Platform/IPC/HandleMessage.h:299
#10 0x00007f870fe386f6 in WebKit::NetworkStorageManager::didReceiveSyncMessage(IPC::Connection&, IPC::Decoder&, WTF::UniqueRef<IPC::Encoder>&)
    (this=0x7f86fd4db000, connection=..., decoder=..., replyEncoder=...) at /app/webkit/WebKitBuild/Debug/DerivedSources/WebKit/NetworkStorageManagerMessageReceiver.cpp:495
#11 0x00007f87107dca9a in IPC::Connection::dispatchMessageReceiverMessage(IPC::MessageReceiver&, std::unique_ptr<IPC::Decoder, std::default_delete<IPC::Decoder> >&&)
    (this=0x7f86fd4ef1c8, messageReceiver=..., decoder=...) at /app/webkit/Source/WebKit/Platform/IPC/Connection.cpp:418
#12 0x00007f87107e8e77 in IPC::WorkQueueMessageReceiverQueue::enqueueMessage(IPC::Connection&, std::unique_ptr<IPC::Decoder, std::default_delete<IPC::Decoder> >&&)::{lambda()#1}::operator()()
    (__closure=0x7f86fd4a9028) at /app/webkit/Source/WebKit/Platform/IPC/MessageReceiveQueues.h:86
#13 0x00007f8710805b4c in WTF::Detail::CallableWrapper<IPC::WorkQueueMessageReceiverQueue::enqueueMessage(IPC::Connection&, std::unique_ptr<IPC::Decoder, std::default_delete<IPC::Decoder> >&&)::{lambda()#1}, void>::call() (this=0x7f86fd4a9020) at /app/webkit/WebKitBuild/Debug/WTF/Headers/wtf/Function.h:53
#14 0x00007f8705c4a413 in WTF::Function<void ()>::operator()() const (this=0x7f86fd4aa040) at /app/webkit/WebKitBuild/Debug/WTF/Headers/wtf/Function.h:82
#15 0x00007f8706f032b7 in operator()() const (__closure=0x7f86fd4aa038) at /app/webkit/Source/WTF/wtf/SuspendableWorkQueue.cpp:77
#16 0x00007f8706f0553a in WTF::Detail::CallableWrapper<WTF::SuspendableWorkQueue::dispatch(WTF::Function<void()>&&)::<lambda()>, void>::call(void) (this=0x7f86fd4aa030)
    at /app/webkit/Source/WTF/wtf/Function.h:53
#17 0x00007f8705c4a413 in WTF::Function<void ()>::operator()() const (this=0x7f86fd4aa058) at /app/webkit/WebKitBuild/Debug/WTF/Headers/wtf/Function.h:82
#18 0x00007f8706fa9812 in operator()() const (__closure=0x7f86fd4aa050) at /app/webkit/Source/WTF/wtf/generic/WorkQueueGeneric.cpp:70
#19 0x00007f8706fab7c2 in WTF::Detail::CallableWrapper<WTF::WorkQueueBase::dispatch(WTF::Function<void()>&&)::<lambda()>, void>::call(void) (this=0x7f86fd4aa048) at /app/webkit/Source/WTF/wtf/Function.h:53
#20 0x00007f8705c4a413 in WTF::Function<void ()>::operator()() const (this=0x7f86b77fd8a0) at /app/webkit/WebKitBuild/Debug/WTF/Headers/wtf/Function.h:82
#21 0x00007f8706efc76f in WTF::RunLoop::performWork() (this=0x7f86fd4d8000) at /app/webkit/Source/WTF/wtf/RunLoop.cpp:133
#22 0x00007f8706faf01e in operator()(gpointer) const (__closure=0x0, userData=0x7f86fd4d8000) at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:80
#23 0x00007f8706faf042 in _FUN(gpointer) () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:82
#24 0x00007f8706faefb1 in operator()(GSource*, GSourceFunc, gpointer) const (__closure=0x0, source=0x7f86ac003a50, callback=0x7f8706faf025 <_FUN(gpointer)>, userData=0x7f86fd4d8000)
    at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:53
#25 0x00007f8706faefff in _FUN(GSource*, GSourceFunc, gpointer) () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:56
#26 0x00007f8700db6294 in g_main_dispatch (context=0x7f86ac000b60) at ../glib/gmain.c:3381
#27 g_main_context_dispatch (context=0x7f86ac000b60) at ../glib/gmain.c:4099
#28 0x00007f8700db6638 in g_main_context_iterate (context=0x7f86ac000b60, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#29 0x00007f8700db6943 in g_main_loop_run (loop=0x7f86ac003a30) at ../glib/gmain.c:4373
#30 0x00007f8706faf66a in WTF::RunLoop::run() () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:108
#31 0x00007f8706fa9656 in operator()() const (__closure=0x7f86fd4f6218) at /app/webkit/Source/WTF/wtf/generic/WorkQueueGeneric.cpp:51
#32 0x00007f8706fab802 in WTF::Detail::CallableWrapper<WTF::WorkQueueBase::platformInitialize(char const*, WTF::WorkQueueBase::Type, WTF::WorkQueueBase::QOS)::<lambda()>, void>::call(void) (this=0x7f86fd4f6210)
    at /app/webkit/Source/WTF/wtf/Function.h:53
#33 0x00007f8705c4a413 in WTF::Function<void ()>::operator()() const (this=0x7f86b77fdb80) at /app/webkit/WebKitBuild/Debug/WTF/Headers/wtf/Function.h:82
#34 0x00007f8706f076fb in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) (newThreadContext=0x7f86fd4ee230) at /app/webkit/Source/WTF/wtf/Threading.cpp:235
#35 0x00007f8706fbbfaf in WTF::wtfThreadEntryPoint(void*) (context=0x7f86fd4ee230) at /app/webkit/Source/WTF/wtf/posix/ThreadingPOSIX.cpp:242
#36 0x00007f8700d453ba in start_thread (arg=0x7f86b77fe640) at pthread_create.c:481
#37 0x00007f87007d2b03 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220420/1806f7d0/attachment-0001.htm>


More information about the webkit-unassigned mailing list