I'm currently encountering an issue where Ladybird will crash with the following error message
VERIFICATION FAILED: !is_error() at /Users/ivy/Documents/ladybird/AK/Error.h:180
0 liblagom-ak.0.0.0.dylib 0x00000001013557e4 ak_verification_failed + 216
1 Ladybird 0x0000000100df0158 _ZN2AK8FunctionIFNS_13NonnullRefPtrIN7WebView16WebContentClientEEEvEE15CallableWrapperIZ38-[LadybirdWebView setWebViewCallbacks]E3$_4E4callEv + 228
2 Ladybird 0x0000000100df9158 AK::Function<AK::NonnullRefPtr<WebView::WebContentClient> ()>::operator()() const + 76
3 Ladybird 0x0000000100df8c34 Ladybird::WebViewBridge::initialize_client(WebView::ViewImplementation::CreateNewClient) + 152
4 Ladybird 0x0000000100de8470 -[LadybirdWebView init:] + 740
5 Ladybird 0x0000000100dfc914 -[Tab init] + 256
6 Ladybird 0x0000000100e020f8 -[TabController showWindow:] + 44
7 Ladybird 0x0000000100dddf88 -[ApplicationDelegate createNewTab:fromTab:] + 64
8 Ladybird 0x0000000100dddb3c -[ApplicationDelegate createNewTab:fromTab:activateTab:] + 52
9 Ladybird 0x0000000100dfee1c -[TabController createNewTab:] + 148
10 AppKit 0x000000019ea2ff58 -[NSApplication(NSResponder) sendAction:to:from:] + 460
11 AppKit 0x000000019eaf7910 -[NSMenuItem _corePerformAction] + 372
12 AppKit 0x000000019f1bebac _NSMenuPerformActionWithHighlighting + 152
13 AppKit 0x000000019f021ba0 -[NSMenu _performKeyEquivalentForItemAtIndex:] + 172
14 AppKit 0x000000019eaf6964 -[NSMenu performKeyEquivalent:] + 356
15 AppKit 0x000000019f19408c routeKeyEquivalent + 444
16 AppKit 0x000000019f191f34 -[NSApplication(NSEventRouting) sendEvent:] + 648
17 Ladybird 0x0000000100ddbf18 -[Application sendEvent:] + 88
18 Ladybird 0x0000000100df0e5c _ZN2AK8FunctionIFvRKN3Web8KeyEventEEE15CallableWrapperIZ38-[LadybirdWebView setWebViewCallbacks]E4$_14E4callES4_ + 88
19 liblagom-webview.0.0.0.dylib 0x00000001010f55a0 AK::Function<void (AK::Vector<AK::ByteString, 0ul> const&)>::operator()(AK::Vector<AK::ByteString, 0ul> const&) const + 76
20 liblagom-webview.0.0.0.dylib 0x00000001011113b8 WebView::ViewImplementation::did_finish_handling_input_event(AK::Badge<WebView::WebContentClient>, bool) + 108
21 liblagom-webview.0.0.0.dylib 0x0000000101123b04 non-virtual thunk to WebView::WebContentClient::did_finish_handling_input_event(unsigned long long, bool) + 56
22 liblagom-webview.0.0.0.dylib 0x000000010112567c WebContentClientStub::handle(IPC::Message const&) + 2240
23 liblagom-ipc.0.0.0.dylib 0x0000000100f6c508 IPC::ConnectionBase::handle_messages() + 224
24 liblagom-ipc.0.0.0.dylib 0x0000000100f6ddd4 AK::Function<void ()>::CallableWrapper<IPC::ConnectionBase::ConnectionBase(IPC::Stub&, AK::NonnullOwnPtr<Core::LocalSocket>, unsigned int)::$_1>::call() + 92
25 liblagom-core.0.0.0.dylib 0x0000000101008470 AK::Function<void ()>::operator()() const + 76
26 liblagom-core.0.0.0.dylib 0x0000000101008470 AK::Function<void ()>::operator()() const + 76
27 liblagom-core.0.0.0.dylib 0x000000010100d2f4 Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) + 112
28 Ladybird 0x0000000100de25e8 Ladybird::socket_notifier(__CFSocket*, unsigned long, __CFData const*, void const*, void*) + 284
29 CoreFoundation 0x000000019ad91284 __CFSocketPerformV0 + 944
30 CoreFoundation 0x000000019ad686b8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
31 CoreFoundation 0x000000019ad6864c __CFRunLoopDoSource0 + 176
32 CoreFoundation 0x000000019ad683b0 __CFRunLoopDoSources0 + 244
33 CoreFoundation 0x000000019ad66fa4 __CFRunLoopRun + 856
34 CoreFoundation 0x000000019ad665dc CFRunLoopRunSpecific + 608
35 HIToolbox 0x00000001a664e8b8 RunCurrentEventLoopInMode + 292
36 HIToolbox 0x00000001a66546a8 ReceiveNextEventCommon + 636
37 HIToolbox 0x00000001a665480c _BlockUntilNextEventMatchingListInModeWithFilter + 76
38 AppKit 0x000000019e88f6f0 _DPSNextEvent + 660
39 AppKit 0x000000019f193530 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
40 AppKit 0x000000019e8827fc -[NSApplication run] + 480
41 Ladybird 0x0000000100de2e38 Ladybird::CFEventLoopImplementation::exec() + 32
42 liblagom-core.0.0.0.dylib 0x0000000101005d2c Core::EventLoop::exec() + 56
43 liblagom-webview.0.0.0.dylib 0x00000001010f51c0 WebView::Application::exec() + 24
44 Ladybird 0x0000000100dd9a30 serenity_main(Main::Arguments) + 1884
45 Ladybird 0x0000000100e04f90 main + 216
46 dyld 0x000000019a8ff274 start + 2840
I am on macOS 14.2 on ARM.
youtube.com
wikipedia.org
The app does not crash when opening a new tab during step 4
The app crashes
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