Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

segmentation fault occurring immediately #395

Open
grkblood13 opened this issue Jan 28, 2022 · 1 comment
Open

segmentation fault occurring immediately #395

grkblood13 opened this issue Jan 28, 2022 · 1 comment

Comments

@grkblood13
Copy link

drivelist is segfaulting as soon as it's declared. I have no clue why this is happening as it used to work. Maybe a system update did something? I tried to reinstall drivelist but the segfault didn't go away.

system: ubuntu 21.10
node: 16.4.0

test code:
const SegfaultHandler = require('segfault-handler');
SegfaultHandler.registerHandler('crash.log');
const drivelist = require('drivelist');

output:
PID 25836 received SIGSEGV for address: 0x4367f00
~/PROJECT/node_modules/segfault-handler/build/Release/segfault-handler.node(+0x370d)[0x7f92fa90770d]
/lib/x86_64-linux-gnu/libc.so.6(+0x46520)[0x7f92fa3fa520]
/lib/x86_64-linux-gnu/libnode.so.72(+0x760175)[0x7f92e9bc3175]
/lib64/ld-linux-x86-64.so.2(+0x11b1e)[0x7f92fa925b1e]
/lib64/ld-linux-x86-64.so.2(+0x11c08)[0x7f92fa925c08]
/lib/x86_64-linux-gnu/libc.so.6(_dl_catch_exception+0xe5)[0x7f92fa52c415]
/lib64/ld-linux-x86-64.so.2(+0x165ca)[0x7f92fa92a5ca]
/lib/x86_64-linux-gnu/libc.so.6(_dl_catch_exception+0x88)[0x7f92fa52c3b8]
/lib64/ld-linux-x86-64.so.2(+0x15b90)[0x7f92fa929b90]
/lib/x86_64-linux-gnu/libc.so.6(+0x9452c)[0x7f92fa44852c]
/lib/x86_64-linux-gnu/libc.so.6(_dl_catch_exception+0x88)[0x7f92fa52c3b8]
/lib/x86_64-linux-gnu/libc.so.6(_dl_catch_error+0x33)[0x7f92fa52c483]
/lib/x86_64-linux-gnu/libc.so.6(+0x9402e)[0x7f92fa44802e]
/lib/x86_64-linux-gnu/libc.so.6(dlopen+0x48)[0x7f92fa4485b8]
node[0xaef4bf]
node(_ZN4node7binding6DLOpenERKN2v820FunctionCallbackInfoINS1_5ValueEEE+0x299)[0xaefc39]
node[0xd6fc5b]
node[0xd7110c]
node(_ZN2v88internal21Builtin_HandleApiCallEiPmPNS0_7IsolateE+0x16)[0xd71786]
node[0x1640939]
Segmentation fault (core dumped)

@grkblood13
Copy link
Author

running npm uninstall drivelist before npm install drivelist resolved the issue. I'm going to keep this open since there's definitely still an issue somewhere and maybe the info above can be used to resolve it.

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

No branches or pull requests

1 participant