[Webkit-unassigned] [Bug 190242] New: [WPE][GTK] Crash loading youtube.com with service workers enabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 3 02:49:10 PDT 2018


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

            Bug ID: 190242
           Summary: [WPE][GTK] Crash loading youtube.com with service
                    workers enabled
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com
                CC: beidson at apple.com, bugs-noreply at webkitgtk.org,
                    fred.wang at free.fr, youennf at gmail.com

Crash loading youtube.com with service workers enabled:

ASSERTION FAILED: m_ptr
DerivedSources/ForwardingHeaders/wtf/Ref.h(120) : T* WTF::Ref<T, <template-parameter-1-2> >::operator->() const [with T = WebCore::ServiceWorkerThread; PtrTraits = WTF::DumbPtrTraits<WebCore::ServiceWorkerThread>]

#0  WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:255
No locals.
#1  0x00007f52bd123668 in WTF::Ref<WebCore::ServiceWorkerThread, WTF::DumbPtrTraits<WebCore::ServiceWorkerThread> >::operator-> (this=0x7f5238ca15a8)
    at DerivedSources/ForwardingHeaders/wtf/Ref.h:120
        __PRETTY_FUNCTION__ = "T* WTF::Ref<T, <template-parameter-1-2> >::operator->() const [with T = WebCore::ServiceWorkerThread; PtrTraits = WTF::DumbPtrTraits<WebCore::ServiceWorkerThread>]"
#2  0x00007f52bd11bd20 in WebCore::ServiceWorkerGlobalScope::<lambda()>::operator()(void) (__closure=0x7f5238ca15a8)
    at ../../Source/WebCore/workers/service/ServiceWorkerGlobalScope.cpp:65
        connection = 0xf580e0
        requestIdentifier = 1
        workerThread = {static isRef = <optimized out>, m_ptr = 0x0}
#3  0x00007f52bd123364 in WTF::Function<void()>::CallableWrapper<WebCore::ServiceWorkerGlobalScope::skipWaiting(WTF::Ref<WebCore::DeferredPromise>&&)::<lambda()> >::call(void) (this=0x7f5238ca15a0)
    at DerivedSources/ForwardingHeaders/wtf/Function.h:101
No locals.
#4  0x00007f52ba37c53a in WTF::Function<void ()>::operator()() const (
    this=0x7fff7491ebd8) at DerivedSources/ForwardingHeaders/wtf/Function.h:56
        __PRETTY_FUNCTION__ = "Out WTF::Function<Out(In ...)>::operator()(In ...) const [with Out = void; In = {}]"
#5  0x00007f52afe098bd in WTF::dispatchFunctionsFromMainThread ()
    at ../../Source/WTF/wtf/MainThread.cpp:115
        __PRETTY_FUNCTION__ = "void WTF::dispatchFunctionsFromMainThread()"
        startTime = {static clockType = WTF::ClockType::Monotonic, 
          m_value = 7353.3415489999998}
        function = {
          m_callableWrapper = std::unique_ptr<WTF::Function<void()>::CallableWrapperBase> = {get() = 0x7f5238ca15a0}}
#6  0x00007f52afe667b3 in WTF::MainThreadDispatcher::fired (
    this=0x7f52b0fa6c80 <WTF::scheduleDispatchFunctionsOnMainThread()::dispatcher>) at ../../Source/WTF/wtf/generic/MainThreadGeneric.cpp:67
No locals.
#7  0x00007f52afe668fa in WTF::RunLoop::Timer<WTF::MainThreadDispatcher>::fired
    (
    this=0x7f52b0fa6c80 <WTF::scheduleDispatchFunctionsOnMainThread()::dispatcher>) at ../../Source/WTF/wtf/RunLoop.h:149
No locals.
#8  0x00007f52afe69641 in WTF::RunLoop::TimerBase::<lambda(gpointer)>::operator()(gpointer) const (__closure=0x0, 
    userData=0x7f52b0fa6c80 <WTF::scheduleDispatchFunctionsOnMainThread()::dispatcher>) at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:170
        timer = 0x7f52b0fa6c80 <WTF::scheduleDispatchFunctionsOnMainThread()::dispatcher>
        source = 0x7f5224002df0
#9  0x00007f52afe69699 in WTF::RunLoop::TimerBase::<lambda(gpointer)>::_FUN(gpointer) () at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:176
No locals.
#10 0x00007f52afe68dbe in WTF::<lambda(GSource*, GSourceFunc, gpointer)>::operator()(GSource *, GSourceFunc, gpointer) const (__closure=0x0, 
    source=0x7f5224002df0, 
    callback=0x7f52afe6967c <WTF::RunLoop::TimerBase::<lambda(gpointer)>::_FUN(gpointer)>, 
    userData=0x7f52b0fa6c80 <WTF::scheduleDispatchFunctionsOnMainThread()::dispatcher>) at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:45
No locals.
#11 0x00007f52afe68dee in WTF::<lambda(GSource*, GSourceFunc, gpointer)>::_FUN(GSource *, GSourceFunc, gpointer) ()
    at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:46
No locals.
#12 0x00007f52a5cf3868 in g_main_dispatch ()
    at /home/mcatanzaro/Projects/WebKit/WebKitBuild/DependenciesGTK/Source/glib-2.54.2/glib/gmain.c:3148
No locals.
#13 g_main_context_dispatch ()
    at /home/mcatanzaro/Projects/WebKit/WebKitBuild/DependenciesGTK/Source/glib-2.54.2/glib/gmain.c:3813
No locals.
#14 0x00007f52a5cf3c28 in g_main_context_iterate ()
    at /home/mcatanzaro/Projects/WebKit/WebKitBuild/DependenciesGTK/Source/glib-2.54.2/glib/gmain.c:3886
No locals.
#15 0x00007f52a5cf3f12 in g_main_loop_run ()
    at /home/mcatanzaro/Projects/WebKit/WebKitBuild/DependenciesGTK/Source/glib-2.54.2/glib/gmain.c:4082
No locals.
#16 0x00007f52afe692fc in WTF::RunLoop::run ()
    at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:96
        runLoop = 
    @0x7f5299af9000: {<WTF::FunctionDispatcher> = {<WTF::ThreadSafeRefCounted<WTF::FunctionDispatcher, (WTF::DestructionThread)0>> = {<WTF::ThreadSafeRefCountedBase> = {m_refCount = {<std::__atomic_base<unsigned int>> = {
                    static _S_alignment = 4, 
                    _M_i = 12}, <No data fields>}}, <No data fields>}, 
            _vptr.FunctionDispatcher = 0x7f52b0e86b18 <vtable for WTF::RunLoop+16>}, m_functionQueueLock = {static isHeldBit = 1 '\001', 
            static hasParkedBit = 2 '\002', m_byte = {
              value = {<std::__atomic_base<unsigned char>> = {
                  static _S_alignment = 1, 
                  _M_i = 0 '\000'}, <No data fields>}}}, m_functionQueue = {
            m_start = 11, m_end = 11, 
            m_buffer = {<WTF::VectorBufferBase<WTF::Function<void()> >> = {
                m_buffer = 0x7f5299ae3100, m_capacity = 16, 
                m_size = 0}, <No data fields>}, m_iterators = 0x0}, 
          m_mainContext = {m_ptr = 0xf43ca0}, 
          m_mainLoops = {<WTF::VectorBuffer<WTF::GRefPtr<_GMainLoop>, 0>> = {<WTF::VectorBufferBase<WTF::GRefPtr<_GMainLoop> >> = {m_buffer = 0x7f5299afc100, 
                m_capacity = 16, 
                m_size = 1}, <No data fields>}, <No data fields>}, m_source = {
            m_ptr = 0xfb80e0}}
        mainContext = 0xf43ca0
        __PRETTY_FUNCTION__ = "static void WTF::RunLoop::run()"
        innermostLoop = 0xfb80c0
        nestedMainLoop = 0x0
#17 0x00007f52bad4740d in WebKit::ChildProcessMain<WebKit::WebProcess, WebKit::WebProcessMain> (argc=3, argv=0x7fff7491f018)
    at ../../Source/WebKit/Shared/unix/ChildProcessMain.h:61
        childMain = {<WebKit::ChildProcessMainBase> = {
            _vptr.ChildProcessMainBase = 0x7f52c2624048 <vtable for WebKit::WebProcessMain+16>, m_parameters = {uiProcessName = {m_impl = {
                  static isRefPtr = <optimized out>, m_ptr = 0x0}}, 
              clientIdentifier = {m_impl = {static isRefPtr = <optimized out>, 
                  m_ptr = 0x0}}, 
              processIdentifier = Python Exception <class 'gdb.error'> There is no member or method named _M_payload.: 
{<std::constexpr_optional_base<WTF::ObjectIdentifier<WebCore::ProcessIdentifierType> >> = {init_ = true, storage_ = {dummy_ = 4 '\004', value_ = {
                      m_identifier = 4}}}, <No data fields>}, 
              connectionIdentifier = 31, extraInitializationData = {m_impl = {
                  static m_maxLoad = <optimized out>, 
                  static m_minLoad = <optimized out>, m_table = 0x0, 
                  m_tableSize = 0, m_tableSizeMask = 0, m_keyCount = 0, 
                  m_deletedCount = 0, m_iterators = 0x0, 
                  m_mutex = std::unique_ptr<WTF::Lock> = {
                    get() = 0x7f5299aff000}}}, 
              processType = WebKit::ChildProcess::ProcessType::WebContent}}, <No data fields>}
#18 0x00007f52bad45b19 in WebKit::WebProcessMainUnix (argc=3, 
    argv=0x7fff7491f018)
    at ../../Source/WebKit/WebProcess/gtk/WebProcessMainGtk.cpp:67
No locals.
#19 0x0000000000400d31 in main (argc=3, argv=0x7fff7491f018)
    at ../../Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp:52
No locals.

-- 
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/20181003/55c559e2/attachment.html>


More information about the webkit-unassigned mailing list