Skip to content

fix: snapshot validation error #187

@robertsLando

Description

@robertsLando

I'm facing a super strange issue, after running well for around 1 day the binary always exit with the following error:

#
# Fatal error in , line 0
# Check failed: VerifyChecksum(blob).
#
#
#
#FailureMessage Object: 0x7fff5d6ccb20
----- Native stack trace -----

 1: 0xb3e4f1  [./myApp]
 2: 0x10a6910 V8_Fatal(char const*, ...) [./myApp]
 3: 0x1c1e1b9  [./myApp]
 4: 0x15a575c v8::Isolate::Initialize(v8::Isolate*, v8::Isolate::CreateParams const&) [./myApp]
 5: 0x9f6deb node::NewIsolate(v8::Isolate::CreateParams*, uv_loop_s*, node::MultiIsolatePlatform*, node::SnapshotData const*, node::IsolateSettings const&) [./myApp]
 6: 0xb1444c node::NodeMainInstance::NodeMainInstance(node::SnapshotData const*, uv_loop_s*, node::MultiIsolatePlatform*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) [./myApp]
 7: 0xa808be node::Start(int, char**) [./myApp]
 8: 0x7f3285b5c083 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
 9: 0x9e3f4e _start [./myApp]
 (core dump created)

Only rebooting the machine allows to run again the binary, seems like it get corrupted but then after reboot it works again. I tried to compile also with --public and tested with node 20/22 latest binaries and the result is always the same.

@faulpeltz could this be a machine issue? Something gets corrupted on disk maybe? I have lot of this applications running without any issue and this is the only one facing this issue

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