Open yyny opened 3 weeks ago
More detailed backtrace (via lldb)
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BREAKPOINT (code=1, subcode=0x102ecb118)
* frame #0: 0x0000000102ecb118 liblagom-ak.0.0.0.dylib`::ak_verification_failed() at Assertions.cpp:102:5 [opt]
frame #1: 0x0000000104e8c310 liblagom-web.0.0.0.dylib`::static_position() [inlined] value at Optional.h:314:9 [opt]
frame #2: 0x0000000104e8c304 liblagom-web.0.0.0.dylib`::static_position() [inlined] operator-> at Optional.h:137:89 [opt]
frame #3: 0x0000000104e8c304 liblagom-web.0.0.0.dylib`::static_position() at LayoutState.h:180:20 [opt]
frame #4: 0x0000000104e8b888 liblagom-web.0.0.0.dylib`::operator()() at FormattingContext.cpp:785:53 [opt]
frame #5: 0x0000000104e87534 liblagom-web.0.0.0.dylib`::compute_width_for_absolutely_positioned_non_replaced_element() at FormattingContext.cpp:818:23 [opt]
frame #6: 0x0000000104e864cc liblagom-web.0.0.0.dylib`::compute_width_for_absolutely_positioned_element() at FormattingContext.cpp:542:9 [opt]
frame #7: 0x0000000104e8cbfc liblagom-web.0.0.0.dylib`::layout_absolutely_positioned_element() at FormattingContext.cpp:1211:5 [opt]
frame #8: 0x0000000104e6e618 liblagom-web.0.0.0.dylib`::parent_context_did_dimension_child_root_box() at BlockFormattingContext.cpp:118:13 [opt]
frame #9: 0x0000000104e747b8 liblagom-web.0.0.0.dylib`::layout_block_level_box() at BlockFormattingContext.cpp:806:41 [opt]
frame #10: 0x0000000104e6e024 liblagom-web.0.0.0.dylib`::layout_block_level_children() [inlined] operator() at BlockFormattingContext.cpp:817:9 [opt]
frame #11: 0x0000000104e6e00c liblagom-web.0.0.0.dylib`::layout_block_level_children() [inlined] for_each_child_of_type<Web::Layout::Box, (lambda at /Users/pavel/Develop/ladybird/Userland/Libraries/LibWeb/Layout/BlockFormattingContext.cpp:816:49)> at TreeNode.h:239:21 [opt]
frame #12: 0x0000000104e6dfdc liblagom-web.0.0.0.dylib`::layout_block_level_children() [inlined] for_each_child_of_type<Web::Layout::Box, (lambda at /Users/pavel/Develop/ladybird/Userland/Libraries/LibWeb/Layout/BlockFormattingContext.cpp:816:49)> at TreeNode.h:248:54 [opt]
frame #13: 0x0000000104e6dfdc liblagom-web.0.0.0.dylib`::layout_block_level_children() at BlockFormattingContext.cpp:816:21 [opt]
frame #14: 0x0000000104c41880 liblagom-web.0.0.0.dylib`::update_layout() at Document.cpp:1213:33 [opt]
frame #15: 0x0000000104c68054 liblagom-web.0.0.0.dylib`::set_scroll_top() at Element.cpp:1402:37 [opt]
frame #16: 0x0000000105130cb4 liblagom-web.0.0.0.dylib`::scroll_top_setter() [inlined] operator() at ElementPrototype.cpp:907:5 [opt]
frame #17: 0x0000000105130cac liblagom-web.0.0.0.dylib`::scroll_top_setter() [inlined] throw_dom_exception_if_needed<(lambda at /Users/pavel/Develop/ladybird/Build/ladybird/Lagom/Userland/Libraries/LibWeb/Bindings/ElementPrototype.cpp:907:5), void, JS::Value> at ExceptionOrUtils.h:107:9 [opt]
frame #18: 0x0000000105130cac liblagom-web.0.0.0.dylib`::scroll_top_setter() at ElementPrototype.cpp:907:5 [opt]
frame #19: 0x00000001033db854 liblagom-js.0.0.0.dylib`::operator()() at Function.h:120:25 [opt]
frame #20: 0x000000010358a2bc liblagom-js.0.0.0.dylib`::internal_call() at NativeFunction.cpp:166:19 [opt]
frame #21: 0x0000000103593368 liblagom-js.0.0.0.dylib`::ordinary_set_with_own_descriptor() [inlined] call<JS::Value &> at AbstractOperations.h:117:16 [opt]
frame #22: 0x000000010359334c liblagom-js.0.0.0.dylib`::ordinary_set_with_own_descriptor() at Object.cpp:1060:11 [opt]
frame #23: 0x0000000103593018 liblagom-js.0.0.0.dylib`::internal_set() at Object.cpp:968:12 [opt]
frame #24: 0x00000001035933b4 liblagom-js.0.0.0.dylib`::ordinary_set_with_own_descriptor() at Object.cpp:988:20 [opt]
frame #25: 0x0000000103593018 liblagom-js.0.0.0.dylib`::internal_set() at Object.cpp:968:12 [opt]
frame #26: 0x00000001035933b4 liblagom-js.0.0.0.dylib`::ordinary_set_with_own_descriptor() at Object.cpp:988:20 [opt]
frame #27: 0x0000000103593018 liblagom-js.0.0.0.dylib`::internal_set() at Object.cpp:968:12 [opt]
frame #28: 0x00000001035933b4 liblagom-js.0.0.0.dylib`::ordinary_set_with_own_descriptor() at Object.cpp:988:20 [opt]
frame #29: 0x0000000103593018 liblagom-js.0.0.0.dylib`::internal_set() at Object.cpp:968:12 [opt]
frame #30: 0x0000000104ae2884 liblagom-web.0.0.0.dylib`::internal_set() at PlatformObject.cpp:221:22 [opt]
frame #31: 0x00000001034458c0 liblagom-js.0.0.0.dylib`::put_by_property_key() at Interpreter.cpp:1192:26 [opt]
frame #32: 0x000000010342a258 liblagom-js.0.0.0.dylib`::run_bytecode() [inlined] execute_impl at Interpreter.cpp:2421:5 [opt]
frame #33: 0x000000010342a140 liblagom-js.0.0.0.dylib`::run_bytecode() at Interpreter.cpp:643:13 [opt]
frame #34: 0x0000000103421f10 liblagom-js.0.0.0.dylib`::run_executable() at Interpreter.cpp:731:5 [opt]
frame #35: 0x0000000103513ecc liblagom-js.0.0.0.dylib`::ordinary_call_evaluate_body() at ECMAScriptFunctionObject.cpp:835:55 [opt]
frame #36: 0x00000001035137ac liblagom-js.0.0.0.dylib`::internal_call() at ECMAScriptFunctionObject.cpp:421:19 [opt]
frame #37: 0x0000000103446300 liblagom-js.0.0.0.dylib`::perform_call() [inlined] call at AbstractOperations.h:103:12 [opt]
frame #38: 0x00000001034462e8 liblagom-js.0.0.0.dylib`::perform_call() at Interpreter.cpp:1232:24 [opt]
frame #39: 0x00000001034243ac liblagom-js.0.0.0.dylib`::run_bytecode() [inlined] execute_impl at Interpreter.cpp:2552:28 [opt]
frame #40: 0x000000010342423c liblagom-js.0.0.0.dylib`::run_bytecode() at Interpreter.cpp:571:13 [opt]
frame #41: 0x0000000103421f10 liblagom-js.0.0.0.dylib`::run_executable() at Interpreter.cpp:731:5 [opt]
frame #42: 0x0000000103513ecc liblagom-js.0.0.0.dylib`::ordinary_call_evaluate_body() at ECMAScriptFunctionObject.cpp:835:55 [opt]
frame #43: 0x00000001035137ac liblagom-js.0.0.0.dylib`::internal_call() at ECMAScriptFunctionObject.cpp:421:19 [opt]
frame #44: 0x0000000103446300 liblagom-js.0.0.0.dylib`::perform_call() [inlined] call at AbstractOperations.h:103:12 [opt]
frame #45: 0x00000001034462e8 liblagom-js.0.0.0.dylib`::perform_call() at Interpreter.cpp:1232:24 [opt]
frame #46: 0x00000001034243ac liblagom-js.0.0.0.dylib`::run_bytecode() [inlined] execute_impl at Interpreter.cpp:2552:28 [opt]
frame #47: 0x000000010342423c liblagom-js.0.0.0.dylib`::run_bytecode() at Interpreter.cpp:571:13 [opt]
frame #48: 0x0000000103421f10 liblagom-js.0.0.0.dylib`::run_executable() at Interpreter.cpp:731:5 [opt]
frame #49: 0x0000000103513ecc liblagom-js.0.0.0.dylib`::ordinary_call_evaluate_body() at ECMAScriptFunctionObject.cpp:835:55 [opt]
frame #50: 0x00000001035137ac liblagom-js.0.0.0.dylib`::internal_call() at ECMAScriptFunctionObject.cpp:421:19 [opt]
frame #51: 0x0000000103446300 liblagom-js.0.0.0.dylib`::perform_call() [inlined] call at AbstractOperations.h:103:12 [opt]
frame #52: 0x00000001034462e8 liblagom-js.0.0.0.dylib`::perform_call() at Interpreter.cpp:1232:24 [opt]
frame #53: 0x00000001034243ac liblagom-js.0.0.0.dylib`::run_bytecode() [inlined] execute_impl at Interpreter.cpp:2552:28 [opt]
frame #54: 0x000000010342423c liblagom-js.0.0.0.dylib`::run_bytecode() at Interpreter.cpp:571:13 [opt]
frame #55: 0x0000000103421f10 liblagom-js.0.0.0.dylib`::run_executable() at Interpreter.cpp:731:5 [opt]
frame #56: 0x0000000103513ecc liblagom-js.0.0.0.dylib`::ordinary_call_evaluate_body() at ECMAScriptFunctionObject.cpp:835:55 [opt]
frame #57: 0x00000001035137ac liblagom-js.0.0.0.dylib`::internal_call() at ECMAScriptFunctionObject.cpp:421:19 [opt]
frame #58: 0x0000000103446300 liblagom-js.0.0.0.dylib`::perform_call() [inlined] call at AbstractOperations.h:103:12 [opt]
frame #59: 0x00000001034462e8 liblagom-js.0.0.0.dylib`::perform_call() at Interpreter.cpp:1232:24 [opt]
frame #60: 0x00000001034243ac liblagom-js.0.0.0.dylib`::run_bytecode() [inlined] execute_impl at Interpreter.cpp:2552:28 [opt]
frame #61: 0x000000010342423c liblagom-js.0.0.0.dylib`::run_bytecode() at Interpreter.cpp:571:13 [opt]
frame #62: 0x0000000103421f10 liblagom-js.0.0.0.dylib`::run_executable() at Interpreter.cpp:731:5 [opt]
frame #63: 0x0000000103513ecc liblagom-js.0.0.0.dylib`::ordinary_call_evaluate_body() at ECMAScriptFunctionObject.cpp:835:55 [opt]
frame #64: 0x00000001035137ac liblagom-js.0.0.0.dylib`::internal_call() at ECMAScriptFunctionObject.cpp:421:19 [opt]
frame #65: 0x00000001035261fc liblagom-js.0.0.0.dylib`::apply() [inlined] call at AbstractOperations.h:108:12 [opt]
frame #66: 0x00000001035261ec liblagom-js.0.0.0.dylib`::apply() at FunctionPrototype.cpp:79:12 [opt]
frame #67: 0x00000001033db854 liblagom-js.0.0.0.dylib`::operator()() at Function.h:120:25 [opt]
frame #68: 0x000000010358a2bc liblagom-js.0.0.0.dylib`::internal_call() at NativeFunction.cpp:166:19 [opt]
frame #69: 0x000000010352679c liblagom-js.0.0.0.dylib`::call() [inlined] call at AbstractOperations.h:103:12 [opt]
frame #70: 0x0000000103526794 liblagom-js.0.0.0.dylib`::call() at FunctionPrototype.cpp:135:12 [opt]
frame #71: 0x00000001033db854 liblagom-js.0.0.0.dylib`::operator()() at Function.h:120:25 [opt]
frame #72: 0x000000010358a2bc liblagom-js.0.0.0.dylib`::internal_call() at NativeFunction.cpp:166:19 [opt]
frame #73: 0x0000000103446300 liblagom-js.0.0.0.dylib`::perform_call() [inlined] call at AbstractOperations.h:103:12 [opt]
frame #74: 0x00000001034462e8 liblagom-js.0.0.0.dylib`::perform_call() at Interpreter.cpp:1232:24 [opt]
frame #75: 0x00000001034243ac liblagom-js.0.0.0.dylib`::run_bytecode() [inlined] execute_impl at Interpreter.cpp:2552:28 [opt]
frame #76: 0x000000010342423c liblagom-js.0.0.0.dylib`::run_bytecode() at Interpreter.cpp:571:13 [opt]
frame #77: 0x0000000103421f10 liblagom-js.0.0.0.dylib`::run_executable() at Interpreter.cpp:731:5 [opt]
frame #78: 0x0000000103513ecc liblagom-js.0.0.0.dylib`::ordinary_call_evaluate_body() at ECMAScriptFunctionObject.cpp:835:55 [opt]
frame #79: 0x00000001035137ac liblagom-js.0.0.0.dylib`::internal_call() at ECMAScriptFunctionObject.cpp:421:19 [opt]
frame #80: 0x0000000103446300 liblagom-js.0.0.0.dylib`::perform_call() [inlined] call at AbstractOperations.h:103:12 [opt]
frame #81: 0x00000001034462e8 liblagom-js.0.0.0.dylib`::perform_call() at Interpreter.cpp:1232:24 [opt]
frame #82: 0x00000001034243ac liblagom-js.0.0.0.dylib`::run_bytecode() [inlined] execute_impl at Interpreter.cpp:2552:28 [opt]
frame #83: 0x000000010342423c liblagom-js.0.0.0.dylib`::run_bytecode() at Interpreter.cpp:571:13 [opt]
frame #84: 0x0000000103421f10 liblagom-js.0.0.0.dylib`::run_executable() at Interpreter.cpp:731:5 [opt]
frame #85: 0x0000000103513ecc liblagom-js.0.0.0.dylib`::ordinary_call_evaluate_body() at ECMAScriptFunctionObject.cpp:835:55 [opt]
frame #86: 0x00000001035137ac liblagom-js.0.0.0.dylib`::internal_call() at ECMAScriptFunctionObject.cpp:421:19 [opt]
frame #87: 0x0000000104fc5a40 liblagom-web.0.0.0.dylib`::invoke_callback() [inlined] call at AbstractOperations.h:108:12 [opt]
frame #88: 0x0000000104fc5a34 liblagom-web.0.0.0.dylib`::invoke_callback() at AbstractOperations.cpp:249:24 [opt]
frame #89: 0x0000000104e58da0 liblagom-web.0.0.0.dylib`::call() [inlined] operator() at WindowOrWorkerGlobalScope.cpp:357:35 [opt]
frame #90: 0x0000000104e58d40 liblagom-web.0.0.0.dylib`::call() [inlined] visit<const AK::Variant<JS::NonnullGCPtr<Web::WebIDL::CallbackType>, AK::String>, AK::Variant<JS::NonnullGCPtr<Web::WebIDL::CallbackType>, AK::String>::Visitor<(lambda at /Users/pavel/Develop/ladybird/Userland/Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.cpp:356:13), (lambda at /Users/pavel/Develop/ladybird/Userland/Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.cpp:361:13)>, (unsigned char)'\x00'> at Variant.h:113:24 [opt]
frame #91: 0x0000000104e58cf8 liblagom-web.0.0.0.dylib`::call() [inlined] visit<(lambda at /Users/pavel/Develop/ladybird/Userland/Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.cpp:356:13), (lambda at /Users/pavel/Develop/ladybird/Userland/Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.cpp:361:13)> at Variant.h:410:16 [opt]
frame #92: 0x0000000104e58cf4 liblagom-web.0.0.0.dylib`::call() [inlined] operator() at WindowOrWorkerGlobalScope.cpp:354:17 [opt]
frame #93: 0x0000000104e58c60 liblagom-web.0.0.0.dylib`::call() at Function.h:187:20 [opt]
frame #94: 0x0000000104ab90c0 liblagom-web.0.0.0.dylib`::operator()() at Function.h:120:25 [opt]
frame #95: 0x0000000104e59508 liblagom-web.0.0.0.dylib`::call() [inlined] operator() at WindowOrWorkerGlobalScope.cpp:420:13 [opt]
frame #96: 0x0000000104e594dc liblagom-web.0.0.0.dylib`::call() at Function.h:187:20 [opt]
frame #97: 0x0000000104ab90c0 liblagom-web.0.0.0.dylib`::operator()() at Function.h:120:25 [opt]
frame #98: 0x0000000104d3796c liblagom-web.0.0.0.dylib`::process() at EventLoop.cpp:177:22 [opt]
frame #99: 0x0000000104ab90c0 liblagom-web.0.0.0.dylib`::operator()() at Function.h:120:25 [opt]
frame #100: 0x0000000102aea708 liblagom-core.0.0.0.dylib`::operator()() at Function.h:120:25 [opt]
frame #101: 0x0000000102aef7d0 liblagom-core.0.0.0.dylib`::dispatch_event() at EventReceiver.cpp:162:17 [opt]
frame #102: 0x0000000102afe2bc liblagom-core.0.0.0.dylib`::process() at ThreadEventQueue.cpp:121:23 [opt]
frame #103: 0x0000000102ae962c liblagom-core.0.0.0.dylib`::exec() [inlined] pump at EventLoopImplementationUnix.cpp:324:40 [opt]
frame #104: 0x0000000102ae9618 liblagom-core.0.0.0.dylib`::exec() at EventLoopImplementationUnix.cpp:316:9 [opt]
frame #105: 0x0000000102ae7e7c liblagom-core.0.0.0.dylib`::exec() at EventLoop.cpp:88:20 [opt]
frame #106: 0x000000010273e400 WebContent`::serenity_main() at main.cpp:208:23 [opt]
frame #107: 0x00000001027d4a88 WebContent`main at Main.cpp:39:19 [opt]
frame #108: 0x0000000194090274 dyld`start + 2840
Summary
When I try to open https://facebook.com in ladybird, and click
Decline optional cookies
, the website crashes.Operating system
Linux
Steps to reproduce
Open https://facebook.com and click
Decline optional cookies
.Expected behavior
The website continues to function.
Actual behavior
The website crashes.
URL for a reduced test case
https://facebook.com
HTML/SVG/etc. source for a reduced test case
Log output and (if possible) backtrace
Screenshots or screen recordings
No response
Build flags or config settings
No response
Contribute a patch?