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

Ladybird: crash in blit_corner_clipping #23470

Closed
warpdesign opened this issue Mar 5, 2024 · 1 comment
Closed

Ladybird: crash in blit_corner_clipping #23470

warpdesign opened this issue Mar 5, 2024 · 1 comment

Comments

@warpdesign
Copy link
Contributor

Opening https://amigaimpact.com and scrolling makes Ladybird crash with the following stack trace:

0   liblagom-ak.0.0.0.dylib             0x000000010575da48 ak_verification_failed + 216
1   liblagom-web.0.0.0.dylib            0x0000000106cfde6c Web::Painting::CommandExecutorCPU::blit_corner_clipping(unsigned int) + 164
2   liblagom-web.0.0.0.dylib            0x0000000106cffb88 Web::Painting::CommandList::execute(Web::Painting::CommandExecutor&) + 3016
3   WebContent                          0x0000000104cb8e38 WebContent::PageClient::paint(Gfx::Rect<AK::DistinctNumeric<int, Web::__DevicePixels_tag, AK::DistinctNumericFeature::Arithmetic, AK::DistinctNumericFeature::CastToUnderlying, AK::DistinctNumericFeature::Comparison, AK::DistinctNumericFeature::Increment>> const&, Gfx::Bitmap&, Web::PaintOptions) + 252
4   WebContent                          0x0000000104cbeb80 JS::SafeFunction<void ()>::CallableWrapper<WebContent::PageClient::PageClient(WebContent::PageHost&, unsigned long long)::$_0>::call() + 116
5   liblagom-web.0.0.0.dylib            0x0000000106d378dc AK::Function<void ()>::CallableWrapper<Web::Platform::TimerSerenity::TimerSerenity()::$_0>::call() + 88
6   liblagom-core.0.0.0.dylib           0x00000001056e6800 AK::Function<void ()>::operator()() const + 84
7   liblagom-core.0.0.0.dylib           0x00000001056e5ccc Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) + 112
8   liblagom-core.0.0.0.dylib           0x0000000105700c7c Core::ThreadEventQueue::process() + 452
9   liblagom-core.0.0.0.dylib           0x00000001056df49c Core::EventLoop::spin_until(AK::Function<bool ()>) + 124
10  liblagom-web.0.0.0.dylib            0x0000000106d369c0 Web::Platform::EventLoopPluginSerenity::spin_until(JS::SafeFunction<bool ()>) + 184
11  liblagom-web.0.0.0.dylib            0x0000000106b471b8 Web::HTML::EventLoop::spin_until(JS::SafeFunction<bool ()>) + 216
12  liblagom-web.0.0.0.dylib            0x0000000106beb680 Web::HTML::HTMLParser::the_end(JS::NonnullGCPtr<Web::DOM::Document>, JS::GCPtr<Web::HTML::HTMLParser>) + 808
13  liblagom-web.0.0.0.dylib            0x0000000106beb2bc Web::HTML::HTMLParser::run(AK::URL const&, Web::HTML::HTMLTokenizer::StopAtInsertionPoint) + 252
14  liblagom-web.0.0.0.dylib            0x0000000106a71d74 JS::SafeFunction<void (AK::Detail::ByteBuffer<32ul>)>::CallableWrapper<Web::load_html_document(Web::HTML::NavigationParams&)::$_1>::call(AK::Detail::ByteBuffer<32ul>) + 128
15  liblagom-web.0.0.0.dylib            0x0000000106af50c4 JS::SafeFunction<void (AK::Detail::ByteBuffer<32ul>)>::operator()(AK::Detail::ByteBuffer<32ul>) const + 184
16  liblagom-web.0.0.0.dylib            0x0000000106af4eac JS::SafeFunction<void ()>::CallableWrapper<Web::Fetch::Infrastructure::Body::fully_read(JS::Realm&, JS::SafeFunction<void (AK::Detail::ByteBuffer<32ul>)>, JS::SafeFunction<void (JS::GCPtr<Web::WebIDL::DOMException>)>, AK::Variant<AK::Empty, JS::NonnullGCPtr<JS::Object>>) const::$_0::operator()(AK::Detail::ByteBuffer<32ul> const&)::'lambda'()>::call() + 60
17  liblagom-web.0.0.0.dylib            0x0000000106b490f8 Web::HTML::Task::execute() + 92
18  liblagom-web.0.0.0.dylib            0x0000000106b47344 Web::HTML::EventLoop::process() + 80
19  liblagom-web.0.0.0.dylib            0x0000000106d378dc AK::Function<void ()>::CallableWrapper<Web::Platform::TimerSerenity::TimerSerenity()::$_0>::call() + 88
20  liblagom-core.0.0.0.dylib           0x00000001056e6800 AK::Function<void ()>::operator()() const + 84
21  liblagom-core.0.0.0.dylib           0x00000001056e5ccc Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) + 112
22  liblagom-core.0.0.0.dylib           0x0000000105700c7c Core::ThreadEventQueue::process() + 452
23  liblagom-core.0.0.0.dylib           0x00000001056df49c Core::EventLoop::spin_until(AK::Function<bool ()>) + 124
24  liblagom-web.0.0.0.dylib            0x0000000106d369c0 Web::Platform::EventLoopPluginSerenity::spin_until(JS::SafeFunction<bool ()>) + 184
25  liblagom-web.0.0.0.dylib            0x0000000106c44bc8 Web::HTML::TraversableNavigable::apply_the_history_step(int, bool, AK::Optional<Web::HTML::SourceSnapshotParams>, JS::GCPtr<Web::HTML::Navigable>, AK::Optional<Web::HTML::UserNavigationInvolvement>) + 3356
26  liblagom-web.0.0.0.dylib            0x0000000106c45bc0 Web::HTML::TraversableNavigable::apply_the_push_or_replace_history_step(int) + 64
27  liblagom-web.0.0.0.dylib            0x0000000106bd2844 Web::HTML::finalize_a_cross_document_navigation(JS::NonnullGCPtr<Web::HTML::Navigable>, Web::HTML::HistoryHandlingBehavior, JS::NonnullGCPtr<Web::HTML::SessionHistoryEntry>) + 1136
28  liblagom-web.0.0.0.dylib            0x0000000106bd7f40 JS::SafeFunction<void ()>::CallableWrapper<Web::HTML::Navigable::navigate(Web::HTML::Navigable::NavigateParams)::$_11::operator()() const::'lambda0'()::operator()() const::'lambda'()>::call() + 208
29  liblagom-web.0.0.0.dylib            0x0000000106c46624 AK::Function<void ()>::CallableWrapper<Web::HTML::SessionHistoryTraversalQueue::SessionHistoryTraversalQueue()::'lambda'()>::call() + 156
30  liblagom-core.0.0.0.dylib           0x00000001056e6800 AK::Function<void ()>::operator()() const + 84
31  liblagom-core.0.0.0.dylib           0x00000001056e5ccc Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) + 112
32  liblagom-core.0.0.0.dylib           0x0000000105700c7c Core::ThreadEventQueue::process() + 452
33  liblagom-core.0.0.0.dylib           0x00000001056df49c Core::EventLoop::spin_until(AK::Function<bool ()>) + 124
34  liblagom-web.0.0.0.dylib            0x0000000106d369c0 Web::Platform::EventLoopPluginSerenity::spin_until(JS::SafeFunction<bool ()>) + 184
35  liblagom-web.0.0.0.dylib            0x0000000106b471b8 Web::HTML::EventLoop::spin_until(JS::SafeFunction<bool ()>) + 216
36  liblagom-web.0.0.0.dylib            0x0000000106beb680 Web::HTML::HTMLParser::the_end(JS::NonnullGCPtr<Web::DOM::Document>, JS::GCPtr<Web::HTML::HTMLParser>) + 808
37  liblagom-web.0.0.0.dylib            0x0000000106beb2bc Web::HTML::HTMLParser::run(AK::URL const&, Web::HTML::HTMLTokenizer::StopAtInsertionPoint) + 252
38  liblagom-web.0.0.0.dylib            0x0000000106a71d74 JS::SafeFunction<void (AK::Detail::ByteBuffer<32ul>)>::CallableWrapper<Web::load_html_document(Web::HTML::NavigationParams&)::$_1>::call(AK::Detail::ByteBuffer<32ul>) + 128
39  liblagom-web.0.0.0.dylib            0x0000000106af50c4 JS::SafeFunction<void (AK::Detail::ByteBuffer<32ul>)>::operator()(AK::Detail::ByteBuffer<32ul>) const + 184
40  liblagom-web.0.0.0.dylib            0x0000000106af4eac JS::SafeFunction<void ()>::CallableWrapper<Web::Fetch::Infrastructure::Body::fully_read(JS::Realm&, JS::SafeFunction<void (AK::Detail::ByteBuffer<32ul>)>, JS::SafeFunction<void (JS::GCPtr<Web::WebIDL::DOMException>)>, AK::Variant<AK::Empty, JS::NonnullGCPtr<JS::Object>>) const::$_0::operator()(AK::Detail::ByteBuffer<32ul> const&)::'lambda'()>::call() + 60
41  liblagom-web.0.0.0.dylib            0x0000000106b490f8 Web::HTML::Task::execute() + 92
42  liblagom-web.0.0.0.dylib            0x0000000106b47344 Web::HTML::EventLoop::process() + 80
43  liblagom-web.0.0.0.dylib            0x0000000106d378dc AK::Function<void ()>::CallableWrapper<Web::Platform::TimerSerenity::TimerSerenity()::$_0>::call() + 88
44  liblagom-core.0.0.0.dylib           0x00000001056e6800 AK::Function<void ()>::operator()() const + 84
45  liblagom-core.0.0.0.dylib           0x00000001056e5ccc Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) + 112
46  liblagom-core.0.0.0.dylib           0x0000000105700c7c Core::ThreadEventQueue::process() + 452
47  liblagom-core.0.0.0.dylib           0x00000001056df49c Core::EventLoop::spin_until(AK::Function<bool ()>) + 124
48  liblagom-web.0.0.0.dylib            0x0000000106d369c0 Web::Platform::EventLoopPluginSerenity::spin_until(JS::SafeFunction<bool ()>) + 184
49  liblagom-web.0.0.0.dylib            0x0000000106c44bc8 Web::HTML::TraversableNavigable::apply_the_history_step(int, bool, AK::Optional<Web::HTML::SourceSnapshotParams>, JS::GCPtr<Web::HTML::Navigable>, AK::Optional<Web::HTML::UserNavigationInvolvement>) + 3356
50  liblagom-web.0.0.0.dylib            0x0000000106c45aec Web::HTML::TraversableNavigable::update_for_navigable_creation_or_destruction() + 68
51  liblagom-web.0.0.0.dylib            0x0000000106c46624 AK::Function<void ()>::CallableWrapper<Web::HTML::SessionHistoryTraversalQueue::SessionHistoryTraversalQueue()::'lambda'()>::call() + 156
52  liblagom-core.0.0.0.dylib           0x00000001056e6800 AK::Function<void ()>::operator()() const + 84
53  liblagom-core.0.0.0.dylib           0x00000001056e5ccc Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) + 112
54  liblagom-core.0.0.0.dylib           0x0000000105700c7c Core::ThreadEventQueue::process() + 452
55  liblagom-core.0.0.0.dylib           0x00000001056e0660 Core::EventLoopImplementationUnix::exec() + 44
56  liblagom-core.0.0.0.dylib           0x00000001056df3a0 Core::EventLoop::exec() + 80
57  WebContent                          0x0000000104c6db54 serenity_main(Main::Arguments) + 3280
58  WebContent                          0x0000000104cff904 main + 216
59  dyld                                0x000000018c2690e0 start + 2360
SIGPIPE
1637786.369 WebSocket(89769): Loaded 145 of 145 (100%) provided CA Certificates
1637786.370 RequestServer(89768): Loaded 145 of 145 (100%) provided CA Certificates
FAILED: Ladybird/CMakeFiles/run-ladybird /Users/nico/Documents/Dev/serenity/Build/lagom/Ladybird/CMakeFiles/run-ladybird
cd /Users/nico/Documents/Dev/serenity/Build/lagom/Ladybird && /opt/homebrew/Cellar/cmake/3.26.4/bin/cmake -E env SERENITY_SOURCE_DIR=/Users/nico/Documents/Dev/serenity /Users/nico/Documents/Dev/serenity/Build/lagom/bin/Ladybird.app/Contents/MacOS/Ladybird
ninja: build stopped: subcommand failed.
@trflynn89
Copy link
Member

Fixed by 842caf5

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

2 participants