Bug 266337 - REGRESSION(254015@main): ASSERTION FAILED: line <= it->position.line
Summary: REGRESSION(254015@main): ASSERTION FAILED: line <= it->position.line
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-12-13 07:35 PST by Vitaly Dyackhov
Modified: 2023-12-15 09:41 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Dyackhov 2023-12-13 07:35:23 PST
#0  WTFCrash() () at /app/webkit/Source/WTF/wtf/Assertions.cpp:333
#1  0x00007f740c72d4ea in WTFCrashWithInfo(int, char const*, char const*, int) () at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Assertions.h:778
#2  0x00007f740cfc1724 in JSC::DebuggerPausePositions::breakpointLocationForLineColumn(int, int, JSC::DebuggerPausePosition*) (this=0x7f73f9056e78, line=234, column=0, it=0x7f73b10aa570) at /app/webkit/Source/JavaScriptCore/debugger/DebuggerParseData.cpp:78
#3  0x00007f740cfc168b in JSC::DebuggerPausePositions::breakpointLocationForLineColumn(int, int) (this=0x7f73f9056e78, line=234, column=0) at /app/webkit/Source/JavaScriptCore/debugger/DebuggerParseData.cpp:73
#4  0x00007f740cfbbffe in JSC::Debugger::resolveBreakpoint(JSC::Breakpoint&, JSC::SourceProvider*) (this=0x7f73f90304e0, breakpoint=..., sourceProvider=0x7f73f9084d80) at /app/webkit/Source/JavaScriptCore/debugger/Debugger.cpp:534
#5  0x00007f740dc151d0 in Inspector::InspectorDebuggerAgent::resolveBreakpoint(JSC::Debugger::Script const&, JSC::Breakpoint&) (this=0x7f73f91a23a0, script=..., debuggerBreakpoint=...) at /app/webkit/Source/JavaScriptCore/inspector/agents/InspectorDebuggerAgent.cpp:649
#6  0x00007f740dc14e8d in Inspector::InspectorDebuggerAgent::setBreakpoint(WTF::Ref<WTF::JSONImpl::Object, WTF::RawPtrTraits<WTF::JSONImpl::Object> >&&, WTF::RefPtr<WTF::JSONImpl::Object, WTF::RawPtrTraits<WTF::JSONImpl::Object>, WTF::DefaultRefDerefTraits<WTF::JSONImpl::Object> >&&) (this=0x7f73f91a23a0, location=..., options=...) at /app/webkit/Source/JavaScriptCore/inspector/agents/InspectorDebuggerAgent.cpp:624
#7  0x00007f740db62037 in Inspector::DebuggerBackendDispatcher::setBreakpoint(long, WTF::RefPtr<WTF::JSONImpl::Object, WTF::RawPtrTraits<WTF::JSONImpl::Object>, WTF::DefaultRefDerefTraits<WTF::JSONImpl::Object> >&&) (this=0x7f73f925de60, protocol_requestId=1949, protocol_parameters=...) at /app/webkit/WebKitBuild/GTK/Debug/JavaScriptCore/DerivedSources/inspector/InspectorBackendDispatchers.cpp:4129
#8  0x00007f740db60f59 in Inspector::DebuggerBackendDispatcher::dispatch(long, WTF::String const&, WTF::Ref<WTF::JSONImpl::Object, WTF::RawPtrTraits<WTF::JSONImpl::Object> >&&) (this=0x7f73f925de60, protocol_requestId=1949, protocol_method=..., protocol_message=...) at /app/webkit/WebKitBuild/GTK/Debug/JavaScriptCore/DerivedSources/inspector/InspectorBackendDispatchers.cpp:3984
#9  0x00007f740db42d66 in Inspector::BackendDispatcher::dispatch(WTF::String const&) (this=0x7f73f9038950, message=...) at /app/webkit/Source/JavaScriptCore/inspector/InspectorBackendDispatcher.cpp:183
#10 0x00007f741e82720c in WebCore::InspectorController::dispatchMessageFromFrontend(WTF::String const&) (this=0x7f73f90e2f20, message=...) at /app/webkit/Source/WebCore/inspector/InspectorController.cpp:417
#11 0x00007f741aacf77c in WebKit::WebPageInspectorTarget::sendMessageToTargetBackend(WTF::String const&) (this=0x7f73f900d928, message=...) at /app/webkit/Source/WebKit/WebProcess/Inspector/WebPageInspectorTarget.cpp:69
#12 0x00007f741aacfd70 in WebKit::WebPageInspectorTargetController::sendMessageToTargetBackend(WTF::String const&, WTF::String const&) (this=0x7f73f900d920, targetId=..., message=...) at /app/webkit/Source/WebKit/WebProcess/Inspector/WebPageInspectorTargetController.cpp:89
#13 0x00007f741ad1d2be in WebKit::WebPage::sendMessageToTargetBackend(WTF::String const&, WTF::String const&) (this=0x7f73f90bc100, targetId=..., message=...) at /app/webkit/Source/WebKit/WebProcess/WebPage/WebPage.cpp:3784
#14 0x00007f74197bd09c in _ZZN3IPC18callMemberFunctionIN6WebKit7WebPageES2_FvRKN3WTF6StringES6_ESt5tupleIJS4_S4_EEEEvPT_MT0_T1_OT2_ENKUlDpOT_E_clIJS4_S4_EEEDaSJ_ (__closure=0x7fff6a6cd9a0) at /app/webkit/Source/WebKit/Platform/IPC/HandleMessage.h:136
#15 0x00007f74197f3066 in _ZSt13__invoke_implIvZN3IPC18callMemberFunctionIN6WebKit7WebPageES3_FvRKN3WTF6StringES7_ESt5tupleIJS5_S5_EEEEvPT_MT0_T1_OT2_EUlDpOT_E_JS5_S5_EESB_St14__invoke_otherOSD_DpOT1_ (__f=...) at /usr/include/c++/13.2.0/bits/invoke.h:61
#16 0x00007f74197d7444 in _ZSt8__invokeIZN3IPC18callMemberFunctionIN6WebKit7WebPageES3_FvRKN3WTF6StringES7_ESt5tupleIJS5_S5_EEEEvPT_MT0_T1_OT2_EUlDpOT_E_JS5_S5_EENSt15__invoke_resultISB_JDpT0_EE4typeEOSB_DpOSN_ (__fn=...) at /usr/include/c++/13.2.0/bits/invoke.h:96
#17 0x00007f74197bd103 in _ZSt12__apply_implIZN3IPC18callMemberFunctionIN6WebKit7WebPageES3_FvRKN3WTF6StringES7_ESt5tupleIJS5_S5_EEEEvPT_MT0_T1_OT2_EUlDpOT_E_SA_JLm0ELm1EEEDcOSB_OSD_St16integer_sequenceImJXspT1_EEE (__f=..., __t=...) at /usr/include/c++/13.2.0/tuple:2288
#18 0x00007f74197bd144 in _ZSt5applyIZN3IPC18callMemberFunctionIN6WebKit7WebPageES3_FvRKN3WTF6StringES7_ESt5tupleIJS5_S5_EEEEvPT_MT0_T1_OT2_EUlDpOT_E_SA_EDcOSB_OSD_ (__f=..., __t=...) at /usr/include/c++/13.2.0/tuple:2299
#19 0x00007f74197bd1a9 in IPC::callMemberFunction<WebKit::WebPage, WebKit::WebPage, void (WTF::String const&, WTF::String const&), std::tuple<WTF::String, WTF::String> >(WebKit::WebPage*, void (WebKit::WebPage::*)(WTF::String const&, WTF::String const&), std::tuple<WTF::String, WTF::String>&&) (object=0x7f73f90bc100, function=(void (WebKit::WebPage::*)(WebKit::WebPage * const, const WTF::String &, const WTF::String &)) 0x7f741ad1d282 <WebKit::WebPage::sendMessageToTargetBackend(WTF::String const&, WTF::String const&)>, tuple=...) at /app/webkit/Source/WebKit/Platform/IPC/HandleMessage.h:134
#20 0x00007f74197a6ced in IPC::handleMessage<Messages::WebPage::SendMessageToTargetBackend, WebKit::WebPage, WebKit::WebPage, void (WTF::String const&, WTF::String const&)>(IPC::Connection&, IPC::Decoder&, WebKit::WebPage*, void (WebKit::WebPage::*)(WTF::String const&, WTF::String const&)) (connection=..., decoder=..., object=0x7f73f90bc100, function=(void (WebKit::WebPage::*)(WebKit::WebPage * const, const WTF::String &, const WTF::String &)) 0x7f741ad1d282 <WebKit::WebPage::sendMessageToTargetBackend(WTF::String const&, WTF::String const&)>) at /app/webkit/Source/WebKit/Platform/IPC/HandleMessage.h:236
#21 0x00007f741979cec3 in WebKit::WebPage::didReceiveWebPageMessage(IPC::Connection&, IPC::Decoder&) (this=0x7f73f90bc100, connection=..., decoder=...) at /app/webkit/WebKitBuild/GTK/Debug/DerivedSources/WebKit/WebPageMessageReceiver.cpp:517
#22 0x00007f741ad2492d in WebKit::WebPage::didReceiveMessage(IPC::Connection&, IPC::Decoder&) (this=0x7f73f90bc100, connection=..., decoder=...) at /app/webkit/Source/WebKit/WebProcess/WebPage/WebPage.cpp:5809
#23 0x00007f741a159cc6 in IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) (this=0x7f73f9034168, connection=..., decoder=...) at /app/webkit/Source/WebKit/Platform/IPC/MessageReceiverMap.cpp:129
#24 0x00007f741a900a43 in WebKit::WebProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&) (this=0x7f73f9034130, connection=..., decoder=...) at /app/webkit/Source/WebKit/WebProcess/WebProcess.cpp:923
#25 0x00007f741a12eb57 in IPC::Connection::dispatchMessage(IPC::Decoder&) (this=0x7f73f90601e0, decoder=...) at /app/webkit/Source/WebKit/Platform/IPC/Connection.cpp:1232
#26 0x00007f741a12eda2 in IPC::Connection::dispatchMessage(std::unique_ptr<IPC::Decoder, std::default_delete<IPC::Decoder> >) (this=0x7f73f90601e0, message=std::unique_ptr<IPC::Decoder> = {...}) at /app/webkit/Source/WebKit/Platform/IPC/Connection.cpp:1280
#27 0x00007f741a12f160 in IPC::Connection::dispatchOneIncomingMessage() (this=0x7f73f90601e0) at /app/webkit/Source/WebKit/Platform/IPC/Connection.cpp:1345
#28 0x00007f741a12e79a in operator()() const (__closure=0x7f73f9281778) at /app/webkit/Source/WebKit/Platform/IPC/Connection.cpp:1194
#29 0x00007f741a135f14 in WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(std::unique_ptr<IPC::Decoder>)::<lambda()>, void>::call(void) (this=0x7f73f9281770) at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:53
#30 0x00007f740d55bcab in WTF::Function<void ()>::operator()() const (this=0x7fff6a6cedd0) at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:82
#31 0x00007f740ec02307 in WTF::RunLoop::performWork() (this=0x7f73f90180c0) at /app/webkit/Source/WTF/wtf/RunLoop.cpp:147
#32 0x00007f740ecbd3fa in operator()(gpointer) const (__closure=0x0, userData=0x7f73f90180c0) at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:80
#33 0x00007f740ecbd41e in _FUN(gpointer) () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:82
#34 0x00007f740ecbd38d in operator()(GSource*, GSourceFunc, gpointer) const (__closure=0x0, source=0x55fdbe471870, callback=0x7f740ecbd401 <_FUN(gpointer)>, userData=0x7f73f90180c0) at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:53
#35 0x00007f740ecbd3db in _FUN(GSource*, GSourceFunc, gpointer) () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:56
#36 0x00007f740a517d36 in g_main_dispatch (context=0x55fdbe447a60) at ../glib/gmain.c:3460
#37 g_main_context_dispatch (context=0x55fdbe447a60) at ../glib/gmain.c:4200
#38 0x00007f740a5752b8 in g_main_context_iterate.isra.0 (context=0x55fdbe447a60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4276
#39 0x00007f740a5173ff in g_main_loop_run (loop=0x55fdbe471850) at ../glib/gmain.c:4479
#40 0x00007f740ecbda4e in WTF::RunLoop::run() () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:108
#41 0x00007f741addb0ff in WebKit::AuxiliaryProcessMainBase<WebKit::WebProcess, true>::run(int, char**) (this=0x7fff6a6cf0a0, argc=4, argv=0x7fff6a6cf268) at /app/webkit/Source/WebKit/Shared/AuxiliaryProcessMain.h:72
#42 0x00007f741add7c80 in WebKit::AuxiliaryProcessMain<WebKit::WebProcessMainGtk>(int, char**) (argc=4, argv=0x7fff6a6cf268) at /app/webkit/Source/WebKit/Shared/AuxiliaryProcessMain.h:98
#43 0x00007f741adcfa86 in WebKit::WebProcessMain(int, char**) (argc=4, argv=0x7fff6a6cf268) at /app/webkit/Source/WebKit/WebProcess/gtk/WebProcessMainGtk.cpp:90
#44 0x000055fdbd29f969 in main(int, char**) (argc=4, argv=0x7fff6a6cf268) at /app/webkit/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp:31
Comment 1 Vitaly Dyackhov 2023-12-13 07:43:18 PST
Pull request: https://github.com/WebKit/WebKit/pull/21733
Comment 2 Vitaly Dyackhov 2023-12-15 03:09:35 PST
Pull request: https://github.com/WebKit/WebKit/pull/21857
Comment 3 EWS 2023-12-15 03:43:31 PST
Test gardening commit 272107@main (90bdf54aad08): <https://commits.webkit.org/272107@main>

Reviewed commits have been landed. Closing PR #21857 and removing active labels.
Comment 4 EWS 2023-12-15 09:40:55 PST
Committed 272122@main (45c454419d24): <https://commits.webkit.org/272122@main>

Reviewed commits have been landed. Closing PR #21733 and removing active labels.
Comment 5 Radar WebKit Bug Importer 2023-12-15 09:41:15 PST
<rdar://problem/119725448>