Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

headless-browser crashes running just Tests/LibWeb/Text/input/usvstring-url-reflection.html #25489

Open
nico opened this issue Nov 27, 2024 · 0 comments

Comments

@nico
Copy link
Contributor

nico commented Nov 27, 2024

% out/gn/Ladybird.app/Contents/MacOS/headless-browser --resources $PWD/out/gn/Ladybird.app/Contents/Resources --dump-failed-ref-tests --run-tests $PWD/Tests/LibWeb -f Tests/LibWeb/Text/input/usvstring-url-reflection.html
ProcessManager::add_process(SQLServer, 84656)
ProcessManager::add_process(RequestServer, 84657)
1100223.277 RequestServer(84657): Loaded 145 of 145 (100%) provided CA Certificates
Running 1 tests...
1/1: Text/input/usvstring-url-reflection.htmlProcessManager::add_process(WebContent, 84658)
1100223.345 WebContent(84658): ResourceLoader: Failed load of: "file:///Users/thakis/src/serenity/Tests/LibWeb/Text/input/%EF%BF%BDa%EF%BF%BDb%EF%BF%BD", Error: No such file or directory (errno=2), Duration: 1ms
1100223.345 WebContent(84658): ResourceLoader: Failed load of: "file:///Users/thakis/src/serenity/Tests/LibWeb/Text/input/%EF%BF%BDa%EF%BF%BDb%EF%BF%BD", Error: No such file or directory (errno=2), Duration: 1ms
1100223.345 WebContent(84658): ResourceLoader: Failed load of: "file:///Users/thakis/src/serenity/Tests/LibWeb/Text/input/%EF%BF%BDa%EF%BF%BDb%EF%BF%BD", Error: No such file or directory (errno=2), Duration: 1ms
Done!
==================================================
Pass: 1, Fail: 0, Skipped: 0, Timeout: 0
==================================================
VERIFICATION FAILED: m_ptr at ../../AK/NonnullOwnPtr.h:98
0   liblagom-ak.dylib                   0x000000010013d778 ak_verification_failed + 216
1   headless-browser                    0x000000010008a804 AK::Function<AK::String (URL::URL const&, Web::Cookie::Source)>::CallableWrapper<HeadlessWebContentView::HeadlessWebContentView(AK::NonnullRefPtr<WebView::Database>, AK::NonnullOwnPtr<WebView::CookieJar>, AK::RefPtr<Protocol::RequestClient>)::'lambda'(auto const&, auto)>::destroy() + 0
2   liblagom-webview.dylib              0x000000010074bd68 AK::Function<AK::String (URL::URL const&, Web::Cookie::Source)>::operator()(URL::URL const&, Web::Cookie::Source) const + 76
3   liblagom-webview.dylib              0x000000010074bc2c WebView::WebContentClient::did_request_cookie(unsigned long long, URL::URL const&, Web::Cookie::Source) + 116
4   liblagom-webview.dylib              0x000000010074fa20 WebContentClientStub::handle(IPC::Message const&) + 1256
5   liblagom-ipc.dylib                  0x00000001002547d8 IPC::ConnectionBase::handle_messages() + 224
6   liblagom-core.dylib                 0x0000000100285cb4 AK::Function<void ()>::operator()() const + 76
7   liblagom-core.dylib                 0x000000010029d3bc Core::ThreadEventQueue::process() + 376
8   liblagom-webview.dylib              0x000000010071d614 void WebView::Database::execute_statement<AK::UnixDateTime&>(unsigned long long, AK::Function<void (AK::Span<SQL::Value const>)>, AK::Function<void ()>, AK::Function<void (AK::StringView)>, AK::UnixDateTime&) + 1312
9   liblagom-webview.dylib              0x000000010071ce54 AK::Function<void ()>::CallableWrapper<WebView::CookieJar::CookieJar(AK::Optional<WebView::CookieJar::PersistedStorage>)::$_0>::call() + 128
10  liblagom-webview.dylib              0x00000001007181ac AK::Function<void ()>::operator()() const + 76
11  liblagom-webview.dylib              0x00000001007180d8 WebView::CookieJar::~CookieJar() + 60
12  headless-browser                    0x000000010008ab50 HeadlessWebContentView::~HeadlessWebContentView() + 76
13  headless-browser                    0x0000000100087cd0 serenity_main(Main::Arguments) + 8132
14  headless-browser                    0x000000010009c04c main + 216
15  dyld                                0x000000019e458274 start + 2840
1100223.346 WebContent(84658): WebContent client disconnected during DidRequestCookie. Exiting peacefully.

Passes if run together with other tests. Has been failing when running isolated since this test was added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant