Skip to content

FATAL ERROR: v8::FromJust Maybe value is Nothing. #2175

@OmgImAlexis

Description

@OmgImAlexis

Describe the bug

Similar issue as #1191

When hitting this I'm redirected to that issue but yet can't add a comment as it's "This conversation has been locked as resolved and limited to collaborators.".

FATAL ERROR: v8::FromJust Maybe value is Nothing.
 1: 0xb652e0 node::Abort() [node]
 2: 0xa761b5 node::FatalError(char const*, char const*) [node]
 3: 0xd5595a v8::Utils::ReportApiFailure(char const*, char const*) [node]
 4: 0xb6974d node::fs::FileHandle::CloseReq::Resolve() [node]
 5: 0xb698d0  [node]
 6: 0x16552fd  [node]
 7: 0x1659ad6  [node]
 8: 0x166c214  [node]
 9: 0x165a428 uv_run [node]
10: 0xaa1e45 node::SpinEventLoop(node::Environment*) [node]
11: 0xc33d32 node::worker::Worker::Run() [node]
12: 0xc342f8  [node]
13: 0x7f5d64a16ea7  [/lib/x86_64-linux-gnu/libpthread.so.0]
14: 0x7f5d64946def clone [/lib/x86_64-linux-gnu/libc.so.6]

While hitting this I also noticed sometimes my tests just stop without a crash. There's no summary, error, etc. they just stop.

root@eae0f519711d:/app# npm run test

> @unraid/api@2.52.1 test
> vitest run --segfault-retry=3


 RUN  v0.23.4 /app

 ✓ src/__test__/test_name_here.test.ts (17) 593ms
 ✓ src/__test__/another_test_name_here.test.ts (1) 5036ms

Reproduction

I've yet to find what's causing this, it seems to happen randomly in my tests. If someone could point me to how to debug this I'm happy to try and get a repro going.

System Info

System:
    OS: Linux 5.10 Debian GNU/Linux 11 (bullseye) 11 (bullseye)
    CPU: (12) x64 Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
    Memory: 6.41 GB / 7.72 GB
    Container: Yes
    Shell: 5.1.4 - /bin/bash
  Binaries:
    Node: 18.5.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.12.1 - /usr/local/bin/npm
  npmPackages:
    vitest: ^0.24.3 => 0.24.3

Used Package Manager

npm

Validations

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