Skip to content

Segmentation fault when run inside Docker image #713

@timtraversy

Description

@timtraversy

I built the image in this repo (after patching a fix for #711) and changed the entrypoint to the hello world example:

CMD ["/bin/lightpanda", "fetch", "--dump", "https://lightpanda.io"]

This fails when run:

$ docker run lightpanda
$time=1748402605748 $scope=telemetry $level=info $msg="telemetry status" disabled=false
Segmentation fault at address 0x7ff9fbe00010
???:?:?: 0x28df73d in ??? (???)
???:?:?: 0x2360c20 in ??? (???)
???:?:?: 0x23604f7 in ??? (???)
???:?:?: 0x23609f8 in ??? (???)
???:?:?: 0x2e03469 in ??? (???)
???:?:?: 0x234e08f in ??? (???)
???:?:?: 0x234e1e2 in ??? (???)
/root/.cache/zig/p/v8-0.0.0-xddH6_GzAwCaz83JWuw3sepOGq0I7C_CmfOwA1Gb9q3y/src/v8.zig:280:41: 0x208d7e1 in init (lightpanda)
/browser/src/browser/browser.zig:48:33: 0x20a0fcf in init (lightpanda)
/browser/src/main.zig:96:43: 0x20c481d in run (lightpanda)
/browser/src/main.zig:43:8: 0x20cbb49 in main (lightpanda)
???:?:?: 0x7ffa2582a1c9 in ??? (libc.so.6)
Unwind information for `libc.so.6:0x7ffa2582a1c9` was not available, trace may be incomplete

???:?:?: 0x7ffa2582a28a in ??? (libc.so.6)
???:?:?: 0x2052024 in ??? (???)

My docker version:

Docker version 28.1.1, build 4eba377

Running on MacOS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions