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

Crash when opening weather.gov (previously worked) #3511

Closed
rmg-x opened this issue Feb 8, 2025 · 0 comments · Fixed by #3516
Closed

Crash when opening weather.gov (previously worked) #3511

rmg-x opened this issue Feb 8, 2025 · 0 comments · Fixed by #3516

Comments

@rmg-x
Copy link
Contributor

rmg-x commented Feb 8, 2025

Opening https://weather.gov results in a crash.
Traced regression to 39abd75 (cc: @kalenikaliaksandr @awesomekling)

Logs:

VERIFICATION FAILED: false at Libraries/LibWeb/DOM/Element.cpp:1202
release/lib/liblagom-ak.so.0(ak_trap+0x35) [0x7f99fd7681c5]
release/lib/liblagom-ak.so.0(+0x2b4df) [0x7f99fd7684df]
release/lib/liblagom-web.so.0(+0xc4ebaf) [0x7f99fed0bbaf]
release/lib/liblagom-web.so.0(+0xae33f4) [0x7f99feba03f4]
release/lib/liblagom-web.so.0 Web::CSS::InvalidationSet::for_each_property(AK::Function<AK::IterationDecision (Web::CSS::InvalidationSet::Property const&)> const&) const 0x11f) [0x7f99feb9fc5f]
release/lib/liblagom-web.so.0 Web::DOM::Element::includes_properties_from_invalidation_set(Web::CSS::InvalidationSet const&) const 0x88) [0x7f99fed032e8]
release/lib/liblagom-web.so.0(+0xc8027a) [0x7f99fed3d27a]
release/lib/liblagom-web.so.0 Web::DOM::Node::invalidate_style(Web::DOM::StyleInvalidationReason, AK::Vector<Web::CSS::InvalidationSet::Property, 0ul> const&, Web::DOM::Node::StyleInvalidationOptions) 0x119) [0x7f99fed30ce9]
release/lib/liblagom-web.so.0 Web::DOM::Element::invalidate_style_after_attribute_change(AK::FlyString const&, AK::Optional<AK::String> const&, AK::Optional<AK::String> const&) 0xdf6) [0x7f99fecff846]
release/lib/liblagom-web.so.0 Web::DOM::Element::run_attribute_change_steps(AK::FlyString const&, AK::Optional<AK::String> const&, AK::Optional<AK::String> const&, AK::Optional<AK::FlyString> const&) 0x63) [0x7f99fecfea23]
release/lib/liblagom-web.so.0 Web::DOM::Attr::handle_attribute_changes(Web::DOM::Element&, AK::Optional<AK::String> const&, AK::Optional<AK::String> const&) 0x83a) [0x7f99fecba7da]
release/lib/liblagom-web.so.0 Web::DOM::NamedNodeMap::append_attribute(Web::DOM::Attr&) 0x19f) [0x7f99fed2d2af]
release/lib/liblagom-web.so.0(+0xe72c24) [0x7f99fef2fc24]
release/lib/liblagom-web.so.0(+0xe74154) [0x7f99fef31154]
release/lib/liblagom-web.so.0 Web::HTML::HTMLParser::create_element_for(Web::HTML::HTMLToken const&, AK::Optional<AK::FlyString> const&, Web::DOM::Node&) 0x318) [0x7f99fef23f48]
release/lib/liblagom-web.so.0 Web::HTML::HTMLParser::insert_html_element(Web::HTML::HTMLToken const&) 0x4a) [0x7f99fef2490a]
release/lib/liblagom-web.so.0 Web::HTML::HTMLParser::handle_in_body(Web::HTML::HTMLToken&) 0xcfc) [0x7f99fef1e09c]
release/lib/liblagom-web.so.0 Web::HTML::HTMLParser::run(Web::HTML::HTMLTokenizer::StopAtInsertionPoint) 0xde) [0x7f99fef19c5e]
release/lib/liblagom-web.so.0 Web::HTML::HTMLParser::run(URL::URL const&, Web::HTML::HTMLTokenizer::StopAtInsertionPoint) 0x100) [0x7f99fef1ae10]
release/lib/liblagom-web.so.0(+0xc380c3) [0x7f99fecf50c3]
release/lib/liblagom-web.so.0(+0x9b7b0f) [0x7f99fea74b0f]
release/lib/liblagom-core.so.0(+0x2e11f) [0x7f99fd94a11f]
release/lib/liblagom-core.so.0 Core::ThreadEventQueue::process() 0x16e) [0x7f99fd95c9ae]
release/lib/liblagom-webview.so.0 WebView::EventLoopManagerQt::event_target_received_event(AK::Badge<WebView::EventLoopImplementationQtEventTarget>, QEvent*) 0x2f) [0x7f99fffa127f]
release/lib/liblagom-webview.so.0 WebView::EventLoopImplementationQtEventTarget::event(QEvent*) 0x1c) [0x7f99fffa393c]
/lib/x86_64-linux-gnu/libQt6Core.so.6 QCoreApplication::notifyInternal2(QObject*, QEvent*) 0xfd) [0x7f9a00121a2d]
/lib/x86_64-linux-gnu/libQt6Core.so.6 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) 0x19a) [0x7f9a0012536a]
/lib/x86_64-linux-gnu/libQt6Core.so.6(+0x37c637) [0x7f9a0034a637]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x26b) [0x7f99fd006d3b]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0xab2b8) [0x7f99fd05c2b8]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33) [0x7f99fd0043e3]
/lib/x86_64-linux-gnu/libQt6Core.so.6 QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) 0x6e) [0x7f9a00349eae]
/lib/x86_64-linux-gnu/libQt6Core.so.6 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) 0x17b) [0x7f9a0012eadb]
release/lib/liblagom-core.so.0 Core::EventLoop::exec() 0x37) [0x7f99fd9474c7]
release/libexec/WebContent(+0x8e52d) [0x556f8582152d]
release/libexec/WebContent(+0x158c9f) [0x556f858ebc9f]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7f99fd20ad90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7f99fd20ae40]
release/libexec/WebContent(+0x8c745) [0x556f8581f745]

Somewhat reduced sample:

<!DOCTYPE html>
<html>
  <head>
    <style>
      ul#mylist a:link {
      }
    </style>

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
    <script>
      (function (e) {
        var t,
          i,
          s,
          a,
          n,
          r = document.getElementsByTagName("body")[0],
          o = document.createElement("div");
        t = document.createElement(r ? "div" : "body");
        t.appendChild(o),
          (i = r || document.documentElement),
          i.insertBefore(t, i.firstChild),
          (a = e(o).offset().left),
          i.removeChild(t);
      })(jQuery);
    </script>
<body><ul id="mylist">
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

Successfully merging a pull request may close this issue.

1 participant