RESOLVED FIXED 267132
[GTK][WPE][Debug] imported/w3c/web-platform-tests/notifications/instance.https.html is a constant crash
https://bugs.webkit.org/show_bug.cgi?id=267132
Summary [GTK][WPE][Debug] imported/w3c/web-platform-tests/notifications/instance.http...
Vitaly Dyackhov
Reported 2024-01-05 09:43:35 PST
#0 0x00007f56cb54269b in std::__atomic_base<unsigned char>::compare_exchange_weak(unsigned char&, unsigned char, std::memory_order, std::memory_order) (__m2=std::memory_order::acquire, __m1=std::memory_order::acquire, __i2=1 '\001', __i1=@0x7ffd322f6191: 0 '\000', this=0x0) at /usr/include/c++/13.2.0/bits/atomic_base.h:540 #1 std::__atomic_base<unsigned char>::compare_exchange_weak(unsigned char&, unsigned char, std::memory_order) (__m=std::memory_order::acquire, __i2=1 '\001', __i1=<optimized out>, this=0x0) at /usr/include/c++/13.2.0/bits/atomic_base.h:559 #2 WTF::Atomic<unsigned char>::compareExchangeWeak(unsigned char, unsigned char, std::memory_order) (this=0x0, expected=0 '\000', desired=1 '\001', order=std::memory_order::acquire) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Atomics.h:89 #3 0x00007f56cb5415a8 in WTF::LockAlgorithm<unsigned char, (unsigned char)1, (unsigned char)2, WTF::EmptyLockHooks<unsigned char> >::lockFastAssumingZero(WTF::Atomic<unsigned char>&) (lock=...) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/LockAlgorithm.h:53 #4 0x00007f56cb540c7c in WTF::Lock::lock() (this=0x0) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Lock.h:65 #5 0x00007f56cb540d12 in WTF::Locker<WTF::Lock>::Locker(WTF::Lock&) (this=0x7ffd322f6250, lock=...) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Lock.h:158 #6 0x00007f56d175d79f in WTF::invalidateIterators<WTF::HashTable<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> >, std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> >, WTF::IdentityExtractor, WTF::DefaultHash<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> > >, WTF::HashTraits<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> > >, WTF::HashTraits<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> > > > >(WTF::HashTable<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> >, std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> >, WTF::IdentityExtractor, WTF::DefaultHash<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> > >, WTF::HashTraits<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> > >, WTF::HashTraits<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> > > > const*) (table=0x7f56af64c158) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/HashTable.h:1441 #7 0x00007f56d1763143 in WTF::HashTable<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> >, std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> >, WTF::IdentityExtractor, WTF::DefaultHash<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> > >, WTF::HashTraits<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> > >, WTF::HashTraits<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> > > >::add<WTF::IdentityHashTranslator<WTF::HashTraits<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> > >, WTF::DefaultHash<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> > > >, std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> > const&, std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> > >(std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> > const&, std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> >&&) (this=0x7f56af64c158, key=std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader> = {...}, extra=...) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/HashTable.h:871 #8 0x00007f56d1762371 in WTF::HashTable<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> >, std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> >, WTF::IdentityExtractor, WTF::DefaultHash<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> > >, WTF::HashTraits<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> > >, WTF::HashTraits<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> > > >::add(std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> >&&) (this=0x7f56af64c158, value=...) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/HashTable.h:479 #9 0x00007f56d17619ee in WTF::HashSet<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> >, WTF::DefaultHash<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> > >, WTF::HashTraits<std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> > >, WTF::HashTableTraits>::add(std::unique_ptr<WebCore::NotificationResourcesLoader::ResourceLoader, std::default_delete<WebCore::NotificationResourcesLoader::ResourceLoader> >&&) (this=0x7f56af64c158, value=...) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/HashSet.h:314 #10 0x00007f56d176037e in WebCore::NotificationResourcesLoader::start(WTF::CompletionHandler<void (WTF::RefPtr<WebCore::NotificationResources, WTF::RawPtrTraits<WebCore::NotificationResources>, WTF::DefaultRefDerefTraits<WebCore::NotificationResources> >&&)>&&) (this=0x7f56af64c140, completionHandler=...) at /app/webkit/Source/WebCore/Modules/notifications/NotificationResourcesLoader.cpp:78 #11 0x00007f56d1754966 in WebCore::Notification::show(WTF::CompletionHandler<void ()>&&) (this=0x7f56151f3650, callback=...) at /app/webkit/Source/WebCore/Modules/notifications/Notification.cpp:264 #12 0x00007f56d175443f in operator()() const (__closure=0x7f56af492178) at /app/webkit/Source/WebCore/Modules/notifications/Notification.cpp:222 #13 0x00007f56d175989c in WTF::Detail::CallableWrapper<WebCore::Notification::showSoon()::<lambda()>, void>::call(void) (this=0x7f56af492170) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:53 #14 0x00007f56cbf49653 in WTF::Function<void ()>::operator()() const (this=0x7f56af918a98) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:82 #15 0x00007f56d175a652 in WebCore::ActiveDOMObject::queueTaskKeepingObjectAlive<WebCore::Notification>(WebCore::Notification&, WebCore::TaskSource, WTF::Function<void ()>&&)::{lambda()#1}::operator()() const (__closure=0x7f56af918a88) at /app/webkit/Source/WebCore/dom/ActiveDOMObject.h:112 #16 0x00007f56d175fb6c in WTF::Detail::CallableWrapper<WebCore::ActiveDOMObject::queueTaskKeepingObjectAlive<WebCore::Notification>(WebCore::Notification&, WebCore::TaskSource, WTF::Function<void ()>&&)::{lambda()#1}, void>::call() (this=0x7f56af918a80) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:53 #17 0x00007f56cbf49653 in WTF::Function<void ()>::operator()() const (this=0x7f56af6583b0) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:82 #18 0x00007f56d2681bee in WebCore::EventLoopFunctionDispatchTask::execute() (this=0x7f56af658390) at /app/webkit/Source/WebCore/dom/EventLoop.cpp:469 #19 0x00007f56d267d635 in WebCore::EventLoop::run(std::optional<WTF::ApproximateTime>) (this=0x7f53c6a15290, deadline=std::optional<WTF::ApproximateTime> = {...}) at /app/webkit/Source/WebCore/dom/EventLoop.cpp:327 #20 0x00007f56d2859b73 in WebCore::WindowEventLoop::didReachTimeToRun() (this=0x7f53c6a15290) at /app/webkit/Source/WebCore/dom/WindowEventLoop.cpp:193 #21 0x00007f56d287342a in std::__invoke_impl<void, void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*&>(std::__invoke_memfun_deref, void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*&) (__f=@0x7f5402a63368: (void (WebCore::WindowEventLoop::*)(WebCore::WindowEventLoop * const)) 0x7f56d2859ada <WebCore::WindowEventLoop::didReachTimeToRun()>, __t=@0x7f5402a63378: 0x7f53c6a15290) at /usr/include/c++/13.2.0/bits/invoke.h:74 #22 0x00007f56d2873395 in std::__invoke<void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*&>(void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*&) (__fn=@0x7f5402a63368: (void (WebCore::WindowEventLoop::*)(WebCore::WindowEventLoop * const)) 0x7f56d2859ada <WebCore::WindowEventLoop::didReachTimeToRun()>) at /usr/include/c++/13.2.0/bits/invoke.h:96 #23 0x00007f56d287330b in std::_Bind<void (WebCore::WindowEventLoop::*(WebCore::WindowEventLoop*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0x7f5402a63368, __args=...) at /usr/include/c++/13.2.0/functional:506 #24 0x00007f56d287329d in std::_Bind<void (WebCore::WindowEventLoop::*(WebCore::WindowEventLoop*))()>::operator()<, void>() (this=0x7f5402a63368) at /usr/include/c++/13.2.0/functional:591 #25 0x00007f56d2873266 in WTF::Detail::CallableWrapper<std::_Bind<void (WebCore::WindowEventLoop::*(WebCore::WindowEventLoop*))()>, void>::call() (this=0x7f5402a63360) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:53 #26 0x00007f56cbf49653 in WTF::Function<void ()>::operator()() const (this=0x7f53c6a153b8) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:82 #27 0x00007f56cc0593d2 in WebCore::Timer::fired() (this=0x7f53c6a15378) at /app/webkit/WebKitBuild/WPE/Debug/WebCore/PrivateHeaders/WebCore/Timer.h:150 #28 0x00007f56d37e1dae in WebCore::ThreadTimers::sharedTimerFiredInternal() (this=0x7f56af0f4c00) at /app/webkit/Source/WebCore/platform/ThreadTimers.cpp:125 #29 0x00007f56d37e168b in operator()() const (__closure=0x7f56af001e58) at /app/webkit/Source/WebCore/platform/ThreadTimers.cpp:65 #30 0x00007f56d37e3eb8 in WTF::Detail::CallableWrapper<WebCore::ThreadTimers::setSharedTimer(WebCore::SharedTimer*)::<lambda()>, void>::call(void) (this=0x7f56af001e50) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:53 #31 0x00007f56cbf49653 in WTF::Function<void ()>::operator()() const (this=0x7f56d5e049e8 <WebCore::MainThreadSharedTimer::singleton()::instance+8>) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:82 #32 0x00007f56d378f0d2 in WebCore::MainThreadSharedTimer::fired() (this=0x7f56d5e049e0 <WebCore::MainThreadSharedTimer::singleton()::instance>) at /app/webkit/Source/WebCore/platform/MainThreadSharedTimer.cpp:83 #33 0x00007f56d3798e4a in std::__invoke_impl<void, void (WebCore::MainThreadSharedTimer::*&)(), WebCore::MainThreadSharedTimer*&>(std::__invoke_memfun_deref, void (WebCore::MainThreadSharedTimer::*&)(), WebCore::MainThreadSharedTimer*&) (__f=@0x7f56af0f1d88: (void (WebCore::MainThreadSharedTimer::*)(WebCore::MainThreadSharedTimer * const)) 0x7f56d378f04a <WebCore::MainThreadSharedTimer::fired()>, __t=@0x7f56af0f1d98: 0x7f56d5e049e0 <WebCore::MainThreadSharedTimer::singleton()::instance>) at /usr/include/c++/13.2.0/bits/invoke.h:74 #34 0x00007f56d3798dc3 in std::__invoke<void (WebCore::MainThreadSharedTimer::*&)(), WebCore::MainThreadSharedTimer*&>(void (WebCore::MainThreadSharedTimer::*&)(), WebCore::MainThreadSharedTimer*&) (__fn=@0x7f56af0f1d88: (void (WebCore::MainThreadSharedTimer::*)(WebCore::MainThreadSharedTimer * const)) 0x7f56d378f04a <WebCore::MainThreadSharedTimer::fired()>) at /usr/include/c++/13.2.0/bits/invoke.h:96 #35 0x00007f56d3798d39 in std::_Bind<void (WebCore::MainThreadSharedTimer::*(WebCore::MainThreadSharedTimer*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0x7f56af0f1d88, __args=...) at /usr/include/c++/13.2.0/functional:506 #36 0x00007f56d3798ccb in std::_Bind<void (WebCore::MainThreadSharedTimer::*(WebCore::MainThreadSharedTimer*))()>::operator()<, void>() (this=0x7f56af0f1d88) at /usr/include/c++/13.2.0/functional:591 #37 0x00007f56d3798c94 in WTF::Detail::CallableWrapper<std::_Bind<void (WebCore::MainThreadSharedTimer::*(WebCore::MainThreadSharedTimer*))()>, void>::call() (this=0x7f56af0f1d80) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:53 #38 0x00007f56cbf49653 in WTF::Function<void ()>::operator()() const (this=0x7f56d5e04a18 <WebCore::MainThreadSharedTimer::singleton()::instance+56>) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:82 #39 0x00007f56cc0594e0 in WTF::RunLoop::Timer::fired() (this=0x7f56d5e049f0 <WebCore::MainThreadSharedTimer::singleton()::instance+16>) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/RunLoop.h:193 #40 0x00007f56cf483323 in operator()(gpointer) const (__closure=0x0, userData=0x7f56d5e049f0 <WebCore::MainThreadSharedTimer::singleton()::instance+16>) at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:177 #41 0x00007f56cf483363 in _FUN(gpointer) () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:181 #42 0x00007f56cf48286d in operator()(GSource*, GSourceFunc, gpointer) const (__closure=0x0, source=0x556003211af0, callback=0x7f56cf483346 <_FUN(gpointer)>, userData=0x7f56d5e049f0 <WebCore::MainThreadSharedTimer::singleton()::instance+16>) at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:53 #43 0x00007f56cf4828bb in _FUN(GSource*, GSourceFunc, gpointer) () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:56 #44 0x00007f56c0991d36 in g_main_dispatch (context=0x556002eae120) at ../glib/gmain.c:3460 #45 g_main_context_dispatch (context=0x556002eae120) at ../glib/gmain.c:4200 #46 0x00007f56c09ef2b8 in g_main_context_iterate.isra.0 (context=0x556002eae120, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4276 #47 0x00007f56c09913ff in g_main_loop_run (loop=0x556002eae260) at ../glib/gmain.c:4479 #48 0x00007f56cf482f2e in WTF::RunLoop::run() () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:108 #49 0x00007f56ccf235d1 in WebKit::AuxiliaryProcessMainBase<WebKit::WebProcess, true>::run(int, char**) (this=0x7ffd322f6d20, argc=4, argv=0x7ffd322f6ee8) at /app/webkit/Source/WebKit/Shared/AuxiliaryProcessMain.h:72 #50 0x00007f56ccf1f077 in WebKit::AuxiliaryProcessMain<WebKit::WebProcessMainWPE>(int, char**) (argc=4, argv=0x7ffd322f6ee8) at /app/webkit/Source/WebKit/Shared/AuxiliaryProcessMain.h:98 #51 0x00007f56ccf154e1 in WebKit::WebProcessMain(int, char**) (argc=4, argv=0x7ffd322f6ee8) at /app/webkit/Source/WebKit/WebProcess/wpe/WebProcessMainWPE.cpp:75 #52 0x00005560020708e9 in main(int, char**) (argc=4, argv=0x7ffd322f6ee8) at /app/webkit/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp:31
Attachments
Vitaly Dyackhov
Comment 1 2024-01-11 03:43:01 PST
EWS
Comment 2 2024-01-12 05:54:00 PST
Committed 272970@main (21c1140b536c): <https://commits.webkit.org/272970@main> Reviewed commits have been landed. Closing PR #22652 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.