Skip to content

Fix fatal error #1830

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fix fatal error #1830

wants to merge 3 commits into from

Conversation

dnicolson
Copy link

Fixes #1646.

Recreated from #1693 after the branch was changed.

@kewde
Copy link
Collaborator

kewde commented May 30, 2025

@dnicolson could you perhaps add a test case for this issue?

@dnicolson
Copy link
Author

@dnicolson could you perhaps add a test case for this issue?

I’m not entirely sure. The error only occurs when there’s a slash in the path, so that part might be worth testing. However, I’m not familiar with that section of the code.

The fix is only at the C++ level like this, to test this I think you would need to use an additional process to capture the exit signal.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Node-API crash with unhandled promise after SQLITE_CANTOPEN
3 participants