Skip to content

v8 panic: Check failed: has_pending_exception() #648

@Bornlex

Description

@Bornlex

When using the following command: ./zig-out/bin/lightpanda fetch https://techcrunch.com/category/startups/ on the latest built browser, it crashed with the following stack trace:

info(telemetry): telemetry enabled
info(browser): GET https://techcrunch.com/category/startups/ 200
info(browser): fetch https://techcrunch.com/_static/??/wp-content/themes/tc-24/dist/js/frontend-head.js,/wp-content/client-mu-plugins/tc-analytics/dist/js/comscore.js?m=1747149603j: 200
info(browser): fetch https://techcrunch.com/wp-content/client-mu-plugins/tc-editor/dist/blocks/techcrunch/mega-menu/view-module.js?ver=995fcb08926d5af3be1c: 200
info(browser): fetch https://techcrunch.com/wp-content/client-mu-plugins/tc-editor/dist/blocks/techcrunch/mega-menu/@wordpress/interactivity: 404
error(js): fetchModuleSource for '@wordpress/interactivity' fetch error: error.BadStatusCode


#
# Fatal error in , line 0
# Check failed: has_pending_exception().
#
#
#
#FailureMessage Object: 0x16f3e1178
==== C stack trace ===============================

    0   lightpanda                          0x0000000100a9f8d8 v8::base::debug::StackTrace::StackTrace() + 24
    1   lightpanda                          0x0000000100aa3eb4 v8::platform::(anonymous namespace)::PrintStackTrace() + 24
    2   lightpanda                          0x0000000100a950a8 V8_Fatal(char const*, ...) + 284
    3   lightpanda                          0x0000000100c86804 v8::internal::Isolate::PushPromise(v8::internal::Handle<v8::internal::JSObject>) + 0
    4   lightpanda                          0x0000000100af7c30 v8::Module::InstantiateModule(v8::Local<v8::Context>, v8::MaybeLocal<v8::Module> (*)(v8::Local<v8::Context>, v8::Local<v8::String>, v8::Local<v8::FixedArray>, v8::Local<v8::Module>)) + 284
    5   lightpanda                          0x0000000100a8c3e4 v8__Module__InstantiateModule + 20
    6   lightpanda                          0x0000000101a82c8c browser.browser.Page.Script.eval + 728
    7   lightpanda                          0x0000000101a84e74 browser.browser.Page.evalScript + 108
    8   lightpanda                          0x0000000101a87518 browser.browser.Page.navigate + 8408
    9   lightpanda                          0x0000000101a8b174 main + 5032
    10  dyld                                0x00000001915a6b4c start + 6000
zsh: trace trap  ./zig-out/bin/lightpanda fetch https://techcrunch.com/category/startups/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions