Closed JorisPalings closed 1 year ago
Can you check what find . -name \*.node
prints from your project's top-level directory?
find . -name \*.node
prints the following:
./node_modules/@suldashi/lame/build/Release/bindings.node
./node_modules/naudiodon/build/Release/naudiodon.node
./node_modules/segfault-handler/build/Release/segfault-handler.node
Thanks. I expect the issue is in one of those add-ons. Turning on core dumps with ulimit -c unlimited
and inspecting the stack trace (bt
command) afterwards in lldb might give some clues.
I'm moving this to nodejs/help because it's unlikely that it's an issue with Node.js itself but I can move it back if it turns out to be one after all.
any updates on this. Exact error while running a node 12.13.1 on macOS for a different use case.
PID 32068 received SIGSEGV for address: 0x0
0 segfault-handler.node 0x00000001028ddfe0 _ZL16segfault_handleriP9__siginfoPv + 304
1 libsystem_platform.dylib 0x00007fff69ef85fd _sigtramp + 29
2 ??? 0x0000000000000000 0x0 + 0
3 node 0x00000001002c1653 _ZN2v88internal13GlobalHandles40InvokeSecondPassPhantomCallbacksFromTaskEv + 419
4 node 0x00000001000d2bd6 _ZN4node22PerIsolatePlatformData17RunForegroundTaskENSt3__110unique_ptrIN2v84TaskENS1_14default_deleteIS4_EEEE + 176
5 node 0x00000001000d2123 _ZN4node22PerIsolatePlatformData28FlushForegroundTasksInternalEv + 603
6 node 0x00000001000d2d4b _ZN4node12NodePlatform10DrainTasksEPN2v87IsolateE + 53
7 node 0x00000001000b4c61 _ZN4node16NodeMainInstance3RunEv + 751
8 node 0x000000010005b817 _ZN4node5StartEiPPc + 294
9 libdyld.dylib 0x00007fff69cfbcc9 start + 1
❯ find . -name \*.node
./sivi-vision-node/node_modules/fsevents/fsevents.node
./node_modules/sivi-vision-node/build/default/SiviVision.node
./node_modules/sharp/build/Release/sharp.node
./node_modules/segfault-handler/build/Release/segfault-handler.node
There has been no activity on this issue for 3 years and it may no longer be relevant. It will be closed 1 month after the last non-automated comment.
There has been no activity on this issue and it is being closed. If you feel closing this issue is not the right thing to do, please leave a comment.
What steps will reproduce the bug?
naudiodon
(PortAudio), where n is ayargs
argv.lame
.fs
.node-fetch
.express
.setInterval()
.How often does it reproduce? Is there a required condition?
After a random number of cycles (steps 1-6) the process crashes.
What is the expected behavior?
The process should keep running, recording an .mp3 file every n seconds, and updating and serving the modified analysis of this .mp3 file as a REST endpoint.
What do you see instead?
After a random number of cycles, the process exits and the following is displayed in the console:
Using the
segfault-handler
package gives the following crash log:Additional information