When right-clicking on the page and choosing Inspect Element
Ladybird crashes with the following error:
[TypeError] null cannot be converted to an object
<unknown> at https://www.google.com/xjs/_/js/k=xjs.hp.en.2yb9DC1muAI.O/am=AAAAAAAAAACAAAAAAAAAAAAgAKATAKAAgAU/d=1/ed=1/rs=ACT90oGU6QuWJE2lgHHmTTfMHVwrOVMEdw/m=sb_he,d,cEt90b,SNUn3,qddgKe,sTsDMc,dtl0hd,eHDfl:216:234
hp_Ak at https://www.google.com/xjs/_/js/k=xjs.hp.en.2yb9DC1muAI.O/am=AAAAAAAAAACAAAAAAAAAAAAgAKATAKAAgAU/d=1/ed=1/rs=ACT90oGU6QuWJE2lgHHmTTfMHVwrOVMEdw/m=sb_he,d,cEt90b,SNUn3,qddgKe,sTsDMc,dtl0hd,eHDfl:223:201
hp_md at https://www.google.com/xjs/_/js/k=xjs.hp.en.2yb9DC1muAI.O/am=AAAAAAAAAACAAAAAAAAAAAAgAKATAKAAgAU/d=1/ed=1/rs=ACT90oGU6QuWJE2lgHHmTTfMHVwrOVMEdw/m=sb_he,d,cEt90b,SNUn3,qddgKe,sTsDMc,dtl0hd,eHDfl:219:320
hp_u at https://www.google.com/xjs/_/js/k=xjs.hp.en.2yb9DC1muAI.O/am=AAAAAAAAAACAAAAAAAAAAAAgAKATAKAAgAU/d=1/ed=1/rs=ACT90oGU6QuWJE2lgHHmTTfMHVwrOVMEdw/m=sb_he,d,cEt90b,SNUn3,qddgKe,sTsDMc,dtl0hd,eHDfl:54:74
<unknown> at https://www.google.com/xjs/_/js/k=xjs.hp.en.2yb9DC1muAI.O/am=AAAAAAAAAACAAAAAAAAAAAAgAKATAKAAgAU/d=1/ed=1/rs=ACT90oGU6QuWJE2lgHHmTTfMHVwrOVMEdw/m=sb_he,d,cEt90b,SNUn3,qddgKe,sTsDMc,dtl0hd,eHDfl:544:5
<unknown> at :0:0
2023-07-10 10:55:11.114 ladybird[89097:5475741] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndexedSubscript:]: index 12 beyond bounds for empty array'
*** First throw call stack:
(
0 CoreFoundation 0x000000018ca5719c __exceptionPreprocess + 176
1 libobjc.A.dylib 0x000000018c5764d4 objc_exception_throw + 60
2 CoreFoundation 0x000000018cb419d4 -[__NSCFString characterAtIndex:].cold.1 + 0
3 CoreFoundation 0x000000018c9cac8c -[__NSArrayM objectAtIndexedSubscript:] + 188
4 libqcocoa.dylib 0x0000000105e03aa4 -[QMacAccessibilityElement initWithId:role:] + 296
5 libqcocoa.dylib 0x0000000105e03b28 +[QMacAccessibilityElement elementWithId:] + 68
6 libqcocoa.dylib 0x0000000105e02100 _ZN19QCocoaAccessibility25notifyAccessibilityUpdateEP16QAccessibleEvent + 104
7 QtWidgets 0x0000000101ce3d64 _ZN9QTreeView16selectionChangedERK14QItemSelectionS2_ + 220
8 QtCore 0x000000010214dd60 _Z10doActivateILb0EEvP7QObjectiPPv + 1228
9 QtCore 0x00000001022af848 _ZN19QItemSelectionModel20emitSelectionChangedERK14QItemSelectionS2_ + 788
10 QtCore 0x00000001022af3d0 _ZN19QItemSelectionModel6selectERK14QItemSelection6QFlagsINS_13SelectionFlagEE + 368
11 QtCore 0x00000001022af234 _ZN19QItemSelectionModel6selectERK11QModelIndex6QFlagsINS_13SelectionFlagEE + 60
12 QtCore 0x00000001022afc30 _ZN19QItemSelectionModel15setCurrentIndexERK11QModelIndex6QFlagsINS_13SelectionFlagEE + 208
13 QtWidgets 0x0000000101c7a824 _ZN17QAbstractItemView15setCurrentIndexERK11QModelIndex + 160
14 ladybird 0x0000000100979234 _ZN8Ladybird15InspectorWidget13set_selectionENS0_9SelectionE + 236
15 ladybird 0x0000000100978f9c _ZN8Ladybird15InspectorWidget12set_dom_jsonEN2AK10StringViewE + 216
16 ladybird 0x0000000100982f14 _ZN2AK8FunctionIFvRKNS_16DeprecatedStringEEE15CallableWrapperIZN3TabC1EP13BrowserWindowNS_10StringViewEN7WebView24EnableCallgrindProfilingENSB_21UseJavaScriptBytecodeEE4$_22E4callES3_ + 48
17 liblagom-webview.0.0.0.dylib 0x0000000100c7c4ac _ZThn280_N7WebView16WebContentClient16did_get_dom_treeERKN2AK16DeprecatedStringE + 80
18 liblagom-webview.0.0.0.dylib 0x0000000100c7e8cc _ZN20WebContentClientStub6handleERKN3IPC7MessageE + 1256
19 liblagom-ipc.0.0.0.dylib 0x0000000100bffa10 _ZN3IPC14ConnectionBase15handle_messagesEv + 208
20 liblagom-webview.0.0.0.dylib 0x0000000100c80c04 _ZN2AK8FunctionIFvvEE15CallableWrapperIZN3IPC10ConnectionI24WebContentClientEndpoint24WebContentServerEndpointEC1ERNS4_4StubENS_13NonnullOwnPtrIN4Core11LocalSocketEEEEUlvE_E4callEv + 84
21 liblagom-core.0.0.0.dylib 0x0000000101645494 _ZN2AK8FunctionIFvvEE15CallableWrapperIZN4Core11LocalSocket14setup_notifierEvEUlvE_E4callEv + 88
22 liblagom-core.0.0.0.dylib 0x000000010163a990 _ZN4Core8Notifier5eventERNS_5EventE + 120
23 liblagom-core.0.0.0.dylib 0x000000010163c174 _ZN4Core6Object14dispatch_eventERNS_5EventEPS0_ + 108
24 ladybird 0x00000001009777b0 _ZN9QtPrivate18QFunctorSlotObjectIZN8Ladybird18EventLoopManagerQt17register_notifierERN4Core8NotifierEE3$_1Li0ENS_4ListIJEEEvE4implEiPNS_15QSlotObjectBaseEP7QObjectPPvPb + 92
25 QtCore 0x000000010214db68 _Z10doActivateILb0EEvP7QObjectiPPv + 724
26 QtCore 0x000000010215ccfc _ZN15QSocketNotifier5eventEP6QEvent + 248
27 QtWidgets 0x0000000101a56628 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 272
28 QtWidgets 0x0000000101a574c8 _ZN12QApplication6notifyEP7QObjectP6QEvent + 560
29 QtCore 0x00000001021126e4 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 208
30 QtCore 0x00000001022227cc _Z22qt_mac_socket_callbackP10__CFSocketmPK8__CFDataPKvPv + 192
31 CoreFoundation 0x000000018ca0a0dc __CFSocketPerformV0 + 928
32 CoreFoundation 0x000000018c9de710 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
33 CoreFoundation 0x000000018c9de6a4 __CFRunLoopDoSource0 + 176
34 CoreFoundation 0x000000018c9de474 __CFRunLoopDoSources0 + 340
35 CoreFoundation 0x000000018c9dd01c __CFRunLoopRun + 828
36 CoreFoundation 0x000000018c9dc58c CFRunLoopRunSpecific + 612
37 HIToolbox 0x0000000196211df4 RunCurrentEventLoopInMode + 292
38 HIToolbox 0x0000000196211c30 ReceiveNextEventCommon + 648
39 HIToolbox 0x0000000196211988 _BlockUntilNextEventMatchingListInModeWithFilter + 76
40 AppKit 0x000000018fbfbf58 _DPSNextEvent + 636
41 AppKit 0x000000018fbfb0f4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
42 AppKit 0x000000018fbef558 -[NSApplication run] + 464
43 libqcocoa.dylib 0x0000000105dac1c4 _ZN21QCocoaEventDispatcher13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 1568
44 QtCore 0x0000000102119b24 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 440
45 QtCore 0x0000000102112be4 _ZN16QCoreApplication4execEv + 112
46 liblagom-core.0.0.0.dylib 0x000000010162fe08 _ZN4Core9EventLoop4execEv + 144
47 ladybird 0x000000010098d038 _Z13serenity_mainN4Main9ArgumentsE + 1760
48 ladybird 0x000000010098daac main + 204
49 dyld 0x000000018c5a7f28 start + 2236
)
libc++abi: terminating due to uncaught exception of type NSException
Subprocess aborted
Note that process doesn't exit and seems to be entering into an infinite loop using lots of cpu.
More information:
AppleClang 14.0.3.14030022
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too