Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Debugging npm failure on Alpine Linux on EC2 C5 instance
Program terminated with signal SIGSEGV, Segmentation fault.
warning: Unexpected size of section `.reg-xstate/26' in core file.
#0 __cp_end () at src/thread/x86_64/syscall_cp.s:29
29 src/thread/x86_64/syscall_cp.s: No such file or directory.
[Current thread is 1 (LWP 26)]
(gdb) bt
#0 __cp_end () at src/thread/x86_64/syscall_cp.s:29
#1 0x00007fd6161eecd8 in __syscall_cp_c (nr=202, u=<optimized out>, v=<optimized out>, w=<optimized out>, x=<optimized out>, y=<optimized out>,
z=0) at src/thread/pthread_cancel.c:35
#2 0x00007fd6161ee2f5 in __timedwait_cp (addr=addr@entry=0x5612e9ebf820, val=val@entry=-1, clk=clk@entry=0, at=at@entry=0x0,
priv=<optimized out>) at src/thread/__timedwait.c:31
#3 0x00007fd6161f0e2c in sem_timedwait (sem=0x5612e9ebf820, at=0x0) at src/thread/sem_timedwait.c:23
#4 0x00007fd615d7a5a4 in uv_sem_wait () from /usr/lib/
#5 0x00005612e94dc00c in node::DebugSignalThreadMain(void*) ()
#6 0x00007fd6161ef665 in start (p=0x7fd616424ab0) at src/thread/pthread_create.c:145
#7 0x00007fd6161f13e4 in __clone () at src/thread/x86_64/clone.s:21
Backtrace stopped: frame did not save the PC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.