[Webkit-unassigned] [Bug 257226] New: [SOUP] Crash in NetworkDataTaskSoup::dispatchDidCompleteWithError

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 23 14:35:57 PDT 2023


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

            Bug ID: 257226
           Summary: [SOUP] Crash in
                    NetworkDataTaskSoup::dispatchDidCompleteWithError
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at redhat.com
                CC: bugs-noreply at webkitgtk.org

Created attachment 466468

  --> https://bugs.webkit.org/attachment.cgi?id=466468&action=review

Full backtrace

I think this network process crash occurred when I closed the browser or tab with the HTTP auth dialog still open. However, as usual I've been unable to reproduce the crash after trying again.

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fed7402fc9f in WebKit::NetworkDataTaskSoup::dispatchDidCompleteWithError (this=<optimized out>, error=...) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/NetworkProcess/soup/NetworkDataTaskSoup.cpp:538
538     /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/NetworkProcess/soup/NetworkDataTaskSoup.cpp: No such file or directory.
[Current thread is 1 (Thread 0x7fed6bea6a00 (LWP 16))]
(gdb) bt
#0  0x00007fed7402fc9f in WebKit::NetworkDataTaskSoup::dispatchDidCompleteWithError(WebCore::ResourceError const&)
    (this=<optimized out>, error=...)
    at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/NetworkProcess/soup/NetworkDataTaskSoup.cpp:538
#1  WebKit::NetworkDataTaskSoup::didFail(WebCore::ResourceError const&) (this=0x7fed622aeec0, error=...)
    at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/NetworkProcess/soup/NetworkDataTaskSoup.cpp:1508
#2  0x00007fed7403d0e3 in WebKit::NetworkDataTaskSoup::continueAuthenticate(WebCore::AuthenticationChallenge&&)::$_3::operator()(WebKit::AuthenticationChallengeDisposition, WebCore::Credential const&) const
    (this=<optimized out>, disposition=<optimized out>, credential=<optimized out>)
    at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/NetworkProcess/soup/NetworkDataTaskSoup.cpp:796
#3  WTF::Detail::CallableWrapper<WebKit::NetworkDataTaskSoup::continueAuthenticate(WebCore::AuthenticationChallenge&&)::$_3, void, WebKit::AuthenticationChallengeDisposition, WebCore::Credential const&>::call(WebKit::AuthenticationChallengeDisposition, WebCore::Credential const&) (this=<optimized out>, in=<optimized out>, in=<optimized out>)
    at WTF/Headers/wtf/Function.h:53
#4  0x00007fed740f008b in WTF::Function<void (WebKit::AuthenticationChallengeDisposition, WebCore::Credential const&)>::operator()(WebKit::AuthenticationChallengeDisposition, WebCore::Credential const&) const
    (in=..., this=<optimized out>, in=<optimized out>) at WTF/Headers/wtf/Function.h:82
#5  WTF::CompletionHandler<void (WebKit::AuthenticationChallengeDisposition, WebCore::Credential const&)>::operator()(WebKit::AuthenticationChallengeDisposition, WebCore::Credential const&)
    (this=<optimized out>, in=..., in=<optimized out>) at WTF/Headers/wtf/CompletionHandler.h:75
#6  WebKit::AuthenticationManager::completeAuthenticationChallenge(WTF::ObjectIdentifierGeneric<WebKit::AuthenticationChallengeIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WebKit::AuthenticationChallengeDisposition, WebCore::Credential&&) (this=<optimized out>, challengeID=..., disposition=<optimized out>, credential=...)
    at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/Shared/Authentication/AuthenticationManager.cpp:142
#7  0x00007fed73daed6e in _ZZN3IPC18callMemberFunctionIN6WebKit21AuthenticationManagerES2_FvN3WTF23ObjectIdentifierGenericINS1_37AuthenticationChallengeIdentifierTypeENS3_38ObjectIdentifierMainThreadAccessTraitsEEENS1_34AuthenticationChallengeDispositionEON7WebCore10CredentialEESt5tupleIJS7_S8_SA_EEEEvPT_MT0_T1_OT2_ENKUlDpOT_E_clIJS7_S8_SA_EEEDaSO_
    (args=..., args=@0x7fed1a020200: 6, args=..., this=<optimized out>)
    at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/Platform/IPC/HandleMessage.h:136
#8  _ZSt13__invoke_implIvZN3IPC18callMemberFunctionIN6WebKit21AuthenticationManagerES3_FvN3WTF23ObjectIdentifierGenericINS2_37AuthenticationChallengeIdentifierTypeENS4_38ObjectIdentifierMainThreadAccessTraitsEEENS2_34AuthenticationChallengeDispositionEON7WebCore10CredentialEESt5tupleIJS8_S9_SB_EEEEvPT_MT0_T1_OT2_EUlDpOT_E_JS8_S9_SB_EESG_St14__invoke_otherOSI_DpOT1_ (__args=..., __args=@0x7fed1a020200: 6, __args=..., __f=<optimized out>)
    at /usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/invoke.h:61
#9  _ZSt8__invokeIZN3IPC18callMemberFunctionIN6WebKit21AuthenticationManagerES3_FvN3WTF23ObjectIdentifierGenericINS2_37AuthenticationChallengeIdentifierTypeENS4_38ObjectIdentifierMainThreadAccessTraitsEEENS2_34AuthenticationChallengeDispositionEON7WebCore10CredentialEESt5tupleIJS8_S9_SB_EEEEvPT_MT0_T1_OT2_EUlDpOT_E_JS8_S9_SB_EENSt15__invoke_resultISG_JDpT0_EE4typeEOSG_DpOSS_ (__args=..., __args=@0x7fed1a020200: 6, __args=..., __fn=<optimized out>)
    at /usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/invoke.h:96
#10 _ZSt12__apply_implIZN3IPC18callMemberFunctionIN6WebKit21AuthenticationManagerES3_FvN3WTF23ObjectIdentifierGenericINS2_37AuthenticationChallengeIdentifierTypeENS4_38ObjectIdentifierMainThreadAccessTraitsEEENS2_34AuthenticationChallengeDispositionEON7WebCore10CredentialEESt5tupleIJS8_S9_SB_EEEEvPT_MT0_T1_OT2_EUlDpOT_E_SF_JLm0ELm1ELm2EEEDcOSG_OSI_St16integer_sequenceImJXspT1_EEE (__t=..., __f=<optimized out>)
    at /usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/12.2.0/../../../../include/c++/12.2.0/tuple:1852
#11 _ZSt5applyIZN3IPC18callMemberFunctionIN6WebKit21AuthenticationManagerES3_FvN3WTF23ObjectIdentifierGenericINS2_37AuthenticationChallengeIdentifierTypeENS4_38ObjectIdentifierMainThreadAccessTraitsEEENS2_34AuthenticationChallengeDispositionEON7WebCore10CredentialEESt5tupleIJS8_S9_SB_EEEEvPT_MT0_T1_OT2_EUlDpOT_E_SF_EDcOSG_OSI_
    (__t=..., __f=<optimized out>)
    at /usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/12.2.0/../../../../include/c++/12.2.0/tuple:1863
#12 IPC::callMemberFunction<WebKit::AuthenticationManager, WebKit::AuthenticationManager, void (WTF::ObjectIdentifierGeneric<WebKit::AuthenticationChallengeIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WebKit::AuthenticationChallengeDisposition, WebCore::Credential&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::AuthenticationChallengeIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WebKit::AuthenticationChallengeDisposition, WebCore::--Type <RET> for more, q to quit, c to continue without paging--c
Credential> >(WebKit::AuthenticationManager*, void (WebKit::AuthenticationManager::*)(WTF::ObjectIdentifierGeneric<WebKit::AuthenticationChallengeIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WebKit::AuthenticationChallengeDisposition, WebCore::Credential&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::AuthenticationChallengeIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WebKit::AuthenticationChallengeDisposition, WebCore::Credential>&&) (object=0x7fed620240f0, function=<optimized out>, tuple=...) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/Platform/IPC/HandleMessage.h:134
#13 IPC::handleMessage<Messages::AuthenticationManager::CompleteAuthenticationChallenge, WebKit::AuthenticationManager, WebKit::AuthenticationManager, void (WTF::ObjectIdentifierGeneric<WebKit::AuthenticationChallengeIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WebKit::AuthenticationChallengeDisposition, WebCore::Credential&&)>(IPC::Connection&, IPC::Decoder&, WebKit::AuthenticationManager*, void (WebKit::AuthenticationManager::*)(WTF::ObjectIdentifierGeneric<WebKit::AuthenticationChallengeIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WebKit::AuthenticationChallengeDisposition, WebCore::Credential&&)) (decoder=<optimized out>, object=0x7fed620240f0, function=<optimized out>, connection=<optimized out>) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/Platform/IPC/HandleMessage.h:236
#14 WebKit::AuthenticationManager::didReceiveMessage(IPC::Connection&, IPC::Decoder&) (this=0x7fed620240f0, connection=<optimized out>, decoder=<optimized out>) at DerivedSources/WebKit/AuthenticationManagerMessageReceiver.cpp:45
#15 0x00007fed740aa779 in IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) (this=0x7fed6202c0e8, connection=..., decoder=...) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/Platform/IPC/MessageReceiverMap.cpp:124
#16 0x00007fed73f09409 in WebKit::NetworkProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&) (this=0x7fed6202c0c0, connection=..., decoder=...) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/NetworkProcess/NetworkProcess.cpp:211
#17 0x00007fed740a2a81 in IPC::Connection::dispatchMessage(IPC::Decoder&) (this=0x7fed62028340, decoder=...) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/Platform/IPC/Connection.cpp:1222
#18 0x00007fed740a2c58 in IPC::Connection::dispatchMessage(std::unique_ptr<IPC::Decoder, std::default_delete<IPC::Decoder> >) (this=0x7fed62028340, message=std::unique_ptr<IPC::Decoder> = {...}) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/Platform/IPC/Connection.cpp:1270
#19 0x00007fed740a2eb8 in IPC::Connection::dispatchOneIncomingMessage() (this=0x7fed62028340) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/Platform/IPC/Connection.cpp:1335
#20 0x00007fed72ca801b in WTF::Function<void ()>::operator()() const (this=<optimized out>) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WTF/wtf/Function.h:82
#21 WTF::RunLoop::performWork() (this=0x7fed620100e0) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WTF/wtf/RunLoop.cpp:147
#22 0x00007fed72d0bcbd in WTF::RunLoop::RunLoop()::$_1::operator()(void*) const (userData=0x0, userData at entry=0x7fed620100e0, this=<optimized out>) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WTF/wtf/glib/RunLoopGLib.cpp:80
#23 WTF::RunLoop::RunLoop()::$_1::__invoke(void*) (userData=0x0) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WTF/wtf/glib/RunLoopGLib.cpp:79
#24 0x00007fed72d0b0a1 in WTF::RunLoop::$_0::operator()(_GSource*, int (*)(void*), void*) const (source=0x55c394c5da80, callback=0x7fed72d0bcb0 <WTF::RunLoop::RunLoop()::$_1::__invoke(void*)>, userData=0x7fed620100e0, this=<optimized out>) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WTF/wtf/glib/RunLoopGLib.cpp:53
#25 WTF::RunLoop::$_0::__invoke(_GSource*, int (*)(void*), void*) (source=0x55c394c5da80, callback=0x7fed72d0bcb0 <WTF::RunLoop::RunLoop()::$_1::__invoke(void*)>, userData=0x7fed620100e0) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WTF/wtf/glib/RunLoopGLib.cpp:45
#26 0x00007fed6f848cd4 in g_main_dispatch (context=context at entry=0x55c394c5d920) at ../glib/gmain.c:3474
#27 0x00007fed6f84add7 in g_main_context_dispatch_unlocked (context=0x55c394c5d920) at ../glib/gmain.c:4287
#28 g_main_context_iterate_unlocked (context=0x55c394c5d920, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../glib/gmain.c:4352
#29 0x00007fed6f84b6ff in g_main_loop_run (loop=0x55c394c5da60) at ../glib/gmain.c:4554
#30 0x00007fed72d0b686 in WTF::RunLoop::run() () at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WTF/wtf/glib/RunLoopGLib.cpp:108
#31 0x00007fed74043978 in WebKit::AuxiliaryProcessMainBase<WebKit::NetworkProcess, false>::run(int, char**) (this=0x7fff1d4c5980, argc=<optimized out>, argv=0x7fff1d4c5b18) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/Shared/AuxiliaryProcessMain.h:72
#32 WebKit::AuxiliaryProcessMain<WebKit::NetworkProcessMainSoup>(int, char**) (argc=<optimized out>, argv=0x7fff1d4c5b18) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/Shared/AuxiliaryProcessMain.h:98
#33 0x00007fed7322954a in __libc_start_call_main (main=main at entry=0x55c3948d7150 <main>, argc=argc at entry=3, argv=argv at entry=0x7fff1d4c5b18) at ../sysdeps/nptl/libc_start_call_main.h:58
#34 0x00007fed7322960b in __libc_start_main_impl (main=0x55c3948d7150 <main>, argc=3, argv=0x7fff1d4c5b18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=<optimized out>) at ../csu/libc-start.c:389
#35 0x000055c3948d7085 in _start ()

-- 
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/20230523/9443cd2e/attachment-0001.htm>


More information about the webkit-unassigned mailing list