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

Canva.com crashes with an invalid CSS shorthand #3030

Open
1 task
ADKaster opened this issue Dec 24, 2024 · 0 comments
Open
1 task

Canva.com crashes with an invalid CSS shorthand #3030

ADKaster opened this issue Dec 24, 2024 · 0 comments
Labels
bug Something isn't working css

Comments

@ADKaster
Copy link
Member

Summary

Loading canva.com tries to load a cloudflare check, then crashes

Operating system

Linux

Steps to reproduce

./Meta/ladybird.sh run ladybird canva.com

Expected behavior

Loads site

Actual behavior

Ze crash

URL for a reduced test case

N/A

HTML/SVG/etc. source for a reduced test case

N/A

Log output and (if possible) backtrace

VERIFICATION FAILED: is_shorthand() at /home/andrew/ladybird-org/ladybird-browser/Libraries/LibWeb/CSS/CSSStyleValue.cpp:319
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-ak.so.0(ak_trap+0x35) [0x7acf741e1aa5]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-ak.so.0(+0x2adbf) [0x7acf741e1dbf]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-web.so.0(+0xa03377) [0x7acf75403377]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-web.so.0 Web::CSS::ShorthandStyleValue::to_string(Web::CSS::CSSStyleValue::SerializationMode) const 0x2b30) [0x7acf75515ef0]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-web.so.0 Web::CSS::PropertyOwningCSSStyleDeclaration::serialized() const 0x1fe) [0x7acf753f8cce]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-web.so.0 Web::CSS::CSSStyleRule::serialized() const 0xb9) [0x7acf753fcda9]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-web.so.0 Web::CSS::CSSRule::css_text() const 0xd) [0x7acf753f546d]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-web.so.0 Web::Bindings::CSSRulePrototype::css_text_getter(JS::VM&) 0x67) [0x7acf75ac0ad7]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0(+0x3b598b) [0x7acf747b598b]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::NativeFunction::internal_call(JS::Value, AK::Span<JS::Value const>) 0x1a7) [0x7acf747b55b7]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::call_impl(JS::VM&, JS::Value, JS::Value, AK::Span<JS::Value const>) 0x58) [0x7acf746a6878]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0(+0x21d05f) [0x7acf7461d05f]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::Bytecode::Interpreter::run_bytecode(unsigned long) 0x62a3) [0x7acf745f8413]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::Bytecode::Interpreter::run_executable(JS::Bytecode::Executable&, AK::Optional<unsigned long>, JS::Value) 0x1ec) [0x7acf745f1e7c]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::ECMAScriptFunctionObject::ordinary_call_evaluate_body() 0x1e6) [0x7acf7471f636]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::ECMAScriptFunctionObject::internal_call(JS::Value, AK::Span<JS::Value const>) 0x24d) [0x7acf7471ed4d]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::Bytecode::Interpreter::run_bytecode(unsigned long) 0x2d5f) [0x7acf745f4ecf]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::Bytecode::Interpreter::run_executable(JS::Bytecode::Executable&, AK::Optional<unsigned long>, JS::Value) 0x1ec) [0x7acf745f1e7c]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::ECMAScriptFunctionObject::ordinary_call_evaluate_body() 0x1e6) [0x7acf7471f636]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::ECMAScriptFunctionObject::internal_call(JS::Value, AK::Span<JS::Value const>) 0x24d) [0x7acf7471ed4d]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::Bytecode::Interpreter::run_bytecode(unsigned long) 0x2d5f) [0x7acf745f4ecf]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::Bytecode::Interpreter::run_executable(JS::Bytecode::Executable&, AK::Optional<unsigned long>, JS::Value) 0x1ec) [0x7acf745f1e7c]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::ECMAScriptFunctionObject::ordinary_call_evaluate_body() 0x1e6) [0x7acf7471f636]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::ECMAScriptFunctionObject::internal_call(JS::Value, AK::Span<JS::Value const>) 0x24d) [0x7acf7471ed4d]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::Bytecode::Interpreter::run_bytecode(unsigned long) 0x2d5f) [0x7acf745f4ecf]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::Bytecode::Interpreter::run_executable(JS::Bytecode::Executable&, AK::Optional<unsigned long>, JS::Value) 0x1ec) [0x7acf745f1e7c]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::ECMAScriptFunctionObject::ordinary_call_evaluate_body() 0x1e6) [0x7acf7471f636]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::ECMAScriptFunctionObject::internal_call(JS::Value, AK::Span<JS::Value const>) 0x24d) [0x7acf7471ed4d]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::Bytecode::Interpreter::run_bytecode(unsigned long) 0x2d5f) [0x7acf745f4ecf]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::Bytecode::Interpreter::run_executable(JS::Bytecode::Executable&, AK::Optional<unsigned long>, JS::Value) 0x1ec) [0x7acf745f1e7c]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::ECMAScriptFunctionObject::ordinary_call_evaluate_body() 0x1e6) [0x7acf7471f636]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-js.so.0 JS::ECMAScriptFunctionObject::internal_call(JS::Value, AK::Span<JS::Value const>) 0x24d) [0x7acf7471ed4d]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-web.so.0 Web::WebIDL::call_user_object_operation(Web::WebIDL::CallbackType&, AK::String const&, AK::Optional<JS::Value>, GC::MarkedVector<JS::Value, 0ul>) 0xf3) [0x7acf759c3ee3]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-web.so.0 JS::Completion Web::WebIDL::call_user_object_operation<Web::DOM::Event*&>(Web::WebIDL::CallbackType&, AK::String const&, AK::Optional<JS::Value>, Web::DOM::Event*&) 0x136) [0x7acf7558c8b6]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-web.so.0 Web::DOM::EventDispatcher::inner_invoke(Web::DOM::Event&, AK::Vector<GC::Root<Web::DOM::DOMEventListener>, 0ul>&, Web::DOM::Event::Phase, bool, bool&) 0x232) [0x7acf7558b7a2]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-web.so.0 Web::DOM::EventDispatcher::invoke(Web::DOM::Event::PathEntry&, Web::DOM::Event&, Web::DOM::Event::Phase, bool&) 0x1d9) [0x7acf7558ba59]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-web.so.0 Web::DOM::EventDispatcher::dispatch(GC::Ref<Web::DOM::EventTarget>, Web::DOM::Event&, bool, bool&) 0x97a) [0x7acf7558c59a]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-web.so.0 Web::DOM::EventDispatcher::dispatch(GC::Ref<Web::DOM::EventTarget>, Web::DOM::Event&, bool) 0x1c) [0x7acf7558bbfc]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-web.so.0(+0xcc9b2e) [0x7acf756c9b2e]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-web.so.0(+0x8ff16f) [0x7acf752ff16f]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-web.so.0(+0xccb10d) [0x7acf756cb10d]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-core.so.0(+0x2d66f) [0x7acf7664d66f]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-core.so.0 Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) 0x75) [0x7acf7664ca25]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-webview.so.0(+0x10ad50) [0x7acf767f0d50]
/lib/x86_64-linux-gnu/libQt6Core.so.6(+0x183d9b) [0x7acf76983d9b]
/lib/x86_64-linux-gnu/libQt6Core.so.6 QTimer::timeout(QTimer::QPrivateSignal) 0x3d) [0x7acf7698ed6d]
/lib/x86_64-linux-gnu/libQt6Core.so.6 QObject::event(QEvent*) 0x1c6) [0x7acf76976576]
/lib/x86_64-linux-gnu/libQt6Core.so.6 QCoreApplication::notifyInternal2(QObject*, QEvent*) 0xf6) [0x7acf76938416]
/lib/x86_64-linux-gnu/libQt6Core.so.6 QTimerInfoList::activateTimers() 0x36b) [0x7acf76a7b7ab]
/lib/x86_64-linux-gnu/libQt6Core.so.6(+0x333a29) [0x7acf76b33a29]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5d5b5) [0x7acf73d145b5]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0xbc717) [0x7acf73d73717]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33) [0x7acf73d13a53]
/lib/x86_64-linux-gnu/libQt6Core.so.6 QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) 0x6f) [0x7acf76b315ef]
/lib/x86_64-linux-gnu/libQt6Core.so.6 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) 0x2e3) [0x7acf769429a3]
/home/andrew/ladybird-org/ladybird-browser/Build/release/lib/liblagom-core.so.0 Core::EventLoop::exec() 0x37) [0x7acf7664aa67]
/home/andrew/ladybird-org/ladybird-browser/Build/release/libexec/WebContent(+0x889b1) [0x60e8644479b1]
/home/andrew/ladybird-org/ladybird-browser/Build/release/libexec/WebContent(+0x14df2f) [0x60e86450cf2f]
/lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca) [0x7acf73a2a1ca]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b) [0x7acf73a2a28b]
/home/andrew/ladybird-org/ladybird-browser/Build/release/libexec/WebContent(+0x87165) [0x60e864446165]
352281.077 Ladybird(1118820): WebContent process crashed! Last page loaded: https://www.canva.com/

Screenshots or screen recordings

No response

Build flags or config settings

No response

Contribute a patch?

  • I’ll contribute a patch for this myself.
@ADKaster ADKaster added bug Something isn't working css labels Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working css
Projects
None yet
Development

No branches or pull requests

1 participant