LadybirdBrowser / ladybird

Truly independent web browser
https://ladybird.org
BSD 2-Clause "Simplified" License
19.49k stars 789 forks source link

WebContent process crashed for https://www.iana.org/domains/example #1217

Open michaelficarra opened 2 weeks ago

michaelficarra commented 2 weeks ago

Reproduction: visit https://example.org and click on "More information...".

3548154.597 WebContent(97299): MixedContent: Blocked 'https://www.iana.org/domains/example' (response to request)
VERIFICATION FAILED: m_pointer at /Users/m.ficarra/projects/ladybird/AK/Optional.h:428
0   liblagom-ak.0.0.0.dylib             0x000000010329c9f1 ak_verification_failed + 225
1   liblagom-web.0.0.0.dylib            0x00000001053c9e8c Web::HTML::create_navigation_params_by_fetching(JS::GCPtr<Web::HTML::SessionHistoryEntry>, JS::GCPtr<Web::HTML::Navigable>, Web::HTML::SourceSnapshotParams const&, Web::HTML::TargetSnapshotParams const&, Web::HTML::CSPNavigationType, AK::Optional<AK::String>) + 10940
2   liblagom-web.0.0.0.dylib            0x00000001053c6574 Web::HTML::Navigable::populate_session_history_entry_document(JS::GCPtr<Web::HTML::SessionHistoryEntry>, Web::HTML::SourceSnapshotParams const&, Web::HTML::TargetSnapshotParams const&, AK::Optional<AK::String>, AK::Variant<AK::Empty, AK::StringView, JS::NonnullGCPtr<Web::HTML::NavigationParams>, JS::NonnullGCPtr<Web::HTML::NonFetchSchemeNavigationParams>>, Web::HTML::CSPNavigationType, bool, JS::GCPtr<JS::HeapFunction<void ()>>) + 2612
3   liblagom-web.0.0.0.dylib            0x00000001053d2601 JS::SafeFunction<void ()>::CallableWrapper<Web::HTML::Navigable::navigate(Web::HTML::Navigable::NavigateParams)::$_6>::call() + 2641
4   liblagom-web.0.0.0.dylib            0x000000010557568a AK::Function<void ()>::CallableWrapper<JS::SafeFunction<void ()>>::call() + 58
5   liblagom-core.0.0.0.dylib           0x0000000102e0a90e AK::Function<void ()>::operator()() const + 62
6   liblagom-core.0.0.0.dylib           0x0000000102e22236 Core::ThreadEventQueue::process() + 438
7   liblagom-core.0.0.0.dylib           0x0000000102e0383c Core::EventLoopImplementationUnix::exec() + 44
8   liblagom-core.0.0.0.dylib           0x0000000102e02294 Core::EventLoop::exec() + 68
9   WebContent                          0x000000010258c4e2 serenity_main(Main::Arguments) + 5058
10  WebContent                          0x00000001026338c1 main + 289
11  dyld                                0x00007ff803bd5366 start + 1942
3548154.605 Ladybird(97219): WebContent process crashed!
3548154.606 Ladybird(97219): Consider raising an issue at https://github.com/LadybirdBrowser/ladybird/issues
tcl3 commented 2 weeks ago

This appears to be a regression.

Bisected to: e6a668ad913f0755840954c188c255fc5fc66606

CC: @bbb651