Steps to reproduce:
- Load and enable this copy of MoarInserters I was working on
- Start new sandbox game
- Get the starting chest and all techs
- Mine the starting chest and notice the segfault right before the mining bar fills up.
GDB says
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe9447700 (LWP 5926)]
0x0000000000559030 in ?? ()
(gdb) thread apply all backtrace
Thread 14 (Thread 0x7fffe8c46700 (LWP 5988)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00000000009fbab3 in ?? ()
#2 0x00000000009ba886 in ?? ()
#3 0x0000000000a1a13e in ?? ()
#4 0x0000000000a19ebe in ?? ()
#5 0x00007ffff7bc4182 in start_thread (arg=0x7fffe8c46700) at pthread_create.c:312
#6 0x00007ffff5f6ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 13 (Thread 0x7fffadaea700 (LWP 5987)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x0000000000670dbb in ?? ()
#2 0x0000000000671f98 in ?? ()
#3 0x0000000000b97d8a in ?? ()
#4 0x00007ffff7bc4182 in start_thread (arg=0x7fffadaea700) at pthread_create.c:312
#5 0x00007ffff5f6ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 8 (Thread 0x7fffe9447700 (LWP 5926)):
#0 0x0000000000559030 in ?? ()
#1 0x0000000000762eac in ?? ()
#2 0x00000000007642fd in ?? ()
#3 0x000000000041c473 in ?? ()
#4 0x000000000065a362 in ?? ()
#5 0x00000000005fa853 in ?? ()
#6 0x000000000072bcb4 in ?? ()
#7 0x0000000000860ae0 in ?? ()
#8 0x00000000008ce8ba in ?? ()
#9 0x00000000008d4f8a in ?? ()
#10 0x0000000000672118 in ?? ()
#11 0x0000000000b97d8a in ?? ()
#12 0x00007ffff7bc4182 in start_thread (arg=0x7fffe9447700) at pthread_create.c:312
#13 0x00007ffff5f6ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 7 (Thread 0x7fffea26c700 (LWP 5925)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x0000000000670dbb in ?? ()
#2 0x00000000006720fd in ?? ()
#3 0x0000000000b97d8a in ?? ()
#4 0x00007ffff7bc4182 in start_thread (arg=0x7fffea26c700) at pthread_create.c:312
#5 0x00007ffff5f6ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 6 (Thread 0x7fffeb3fe700 (LWP 5924)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x0000000000670dbb in ?? ()
#2 0x00000000006720fd in ?? ()
#3 0x0000000000b97d8a in ?? ()
#4 0x00007ffff7bc4182 in start_thread (arg=0x7fffeb3fe700) at pthread_create.c:312
#5 0x00007ffff5f6ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 5 (Thread 0x7fffebbff700 (LWP 5923)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x0000000000670dbb in ?? ()
#2 0x00000000006720fd in ?? ()
#3 0x0000000000b97d8a in ?? ()
#4 0x00007ffff7bc4182 in start_thread (arg=0x7fffebbff700) at pthread_create.c:312
#5 0x00007ffff5f6ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 4 (Thread 0x7ffff11d4700 (LWP 5922)):
#0 0x00007ffff7bcbb9d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1 0x0000000000a19de2 in ?? ()
#2 0x0000000000a1a6d8 in ?? ()
#3 0x0000000000a19ebe in ?? ()
#4 0x00007ffff7bc4182 in start_thread (arg=0x7ffff11d4700) at pthread_create.c:312
#5 0x00007ffff5f6ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 3 (Thread 0x7ffff19d5700 (LWP 5921)):
#0 0x00007ffff7bcbb9d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1 0x0000000000a19de2 in ?? ()
#2 0x0000000000a50ccd in ?? ()
#3 0x0000000000a1a13e in ?? ()
#4 0x0000000000a19ebe in ?? ()
#5 0x00007ffff7bc4182 in start_thread (arg=0x7ffff19d5700) at pthread_create.c:312
#6 0x00007ffff5f6ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 2 (Thread 0x7ffff276e700 (LWP 5920)):
#0 0x00007ffff5f678e3 in select () at ../sysdeps/unix/syscall-template.S:81
#1 0x0000000000a674e5 in ?? ()
#2 0x0000000000a19ebe in ?? ()
#3 0x00007ffff7bc4182 in start_thread (arg=0x7ffff276e700) at pthread_create.c:312
#4 0x00007ffff5f6ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 1 (Thread 0x7ffff7fb08c0 (LWP 5919)):
#0 0x00007ffff3eeb8a1 in ?? () from /usr/lib/nvidia-304/libnvidia-glcore.so.304.117
#1 0x0000000000a15919 in ?? ()
#2 0x00000000009f7557 in ?? ()
#3 0x00000000008399d6 in ?? ()
#4 0x00000000008ec0aa in ?? ()
#5 0x00000000009164e7 in ?? ()
#6 0x00007ffff5e96ec5 in __libc_start_main (main=0x913730, argc=1, argv=0x7fffffffdb28, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdb18) at libc-start.c:287
#7 0x000000000040f9e9 in ?? ()
[Switching to Thread 0x7fffe9447700 (LWP 5926)]
0x0000000000559030 in ?? ()
(gdb) thread apply all backtrace
Thread 14 (Thread 0x7fffe8c46700 (LWP 5988)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00000000009fbab3 in ?? ()
#2 0x00000000009ba886 in ?? ()
#3 0x0000000000a1a13e in ?? ()
#4 0x0000000000a19ebe in ?? ()
#5 0x00007ffff7bc4182 in start_thread (arg=0x7fffe8c46700) at pthread_create.c:312
#6 0x00007ffff5f6ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 13 (Thread 0x7fffadaea700 (LWP 5987)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x0000000000670dbb in ?? ()
#2 0x0000000000671f98 in ?? ()
#3 0x0000000000b97d8a in ?? ()
#4 0x00007ffff7bc4182 in start_thread (arg=0x7fffadaea700) at pthread_create.c:312
#5 0x00007ffff5f6ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 8 (Thread 0x7fffe9447700 (LWP 5926)):
#0 0x0000000000559030 in ?? ()
#1 0x0000000000762eac in ?? ()
#2 0x00000000007642fd in ?? ()
#3 0x000000000041c473 in ?? ()
#4 0x000000000065a362 in ?? ()
#5 0x00000000005fa853 in ?? ()
#6 0x000000000072bcb4 in ?? ()
#7 0x0000000000860ae0 in ?? ()
#8 0x00000000008ce8ba in ?? ()
#9 0x00000000008d4f8a in ?? ()
#10 0x0000000000672118 in ?? ()
#11 0x0000000000b97d8a in ?? ()
#12 0x00007ffff7bc4182 in start_thread (arg=0x7fffe9447700) at pthread_create.c:312
#13 0x00007ffff5f6ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 7 (Thread 0x7fffea26c700 (LWP 5925)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x0000000000670dbb in ?? ()
#2 0x00000000006720fd in ?? ()
#3 0x0000000000b97d8a in ?? ()
#4 0x00007ffff7bc4182 in start_thread (arg=0x7fffea26c700) at pthread_create.c:312
#5 0x00007ffff5f6ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 6 (Thread 0x7fffeb3fe700 (LWP 5924)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x0000000000670dbb in ?? ()
#2 0x00000000006720fd in ?? ()
#3 0x0000000000b97d8a in ?? ()
#4 0x00007ffff7bc4182 in start_thread (arg=0x7fffeb3fe700) at pthread_create.c:312
#5 0x00007ffff5f6ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 5 (Thread 0x7fffebbff700 (LWP 5923)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x0000000000670dbb in ?? ()
#2 0x00000000006720fd in ?? ()
#3 0x0000000000b97d8a in ?? ()
#4 0x00007ffff7bc4182 in start_thread (arg=0x7fffebbff700) at pthread_create.c:312
#5 0x00007ffff5f6ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 4 (Thread 0x7ffff11d4700 (LWP 5922)):
#0 0x00007ffff7bcbb9d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1 0x0000000000a19de2 in ?? ()
#2 0x0000000000a1a6d8 in ?? ()
#3 0x0000000000a19ebe in ?? ()
#4 0x00007ffff7bc4182 in start_thread (arg=0x7ffff11d4700) at pthread_create.c:312
#5 0x00007ffff5f6ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 3 (Thread 0x7ffff19d5700 (LWP 5921)):
#0 0x00007ffff7bcbb9d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1 0x0000000000a19de2 in ?? ()
#2 0x0000000000a50ccd in ?? ()
#3 0x0000000000a1a13e in ?? ()
#4 0x0000000000a19ebe in ?? ()
#5 0x00007ffff7bc4182 in start_thread (arg=0x7ffff19d5700) at pthread_create.c:312
#6 0x00007ffff5f6ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 2 (Thread 0x7ffff276e700 (LWP 5920)):
#0 0x00007ffff5f678e3 in select () at ../sysdeps/unix/syscall-template.S:81
#1 0x0000000000a674e5 in ?? ()
#2 0x0000000000a19ebe in ?? ()
#3 0x00007ffff7bc4182 in start_thread (arg=0x7ffff276e700) at pthread_create.c:312
#4 0x00007ffff5f6ffbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 1 (Thread 0x7ffff7fb08c0 (LWP 5919)):
#0 0x00007ffff3eeb8a1 in ?? () from /usr/lib/nvidia-304/libnvidia-glcore.so.304.117
#1 0x0000000000a15919 in ?? ()
#2 0x00000000009f7557 in ?? ()
#3 0x00000000008399d6 in ?? ()
#4 0x00000000008ec0aa in ?? ()
#5 0x00000000009164e7 in ?? ()
#6 0x00007ffff5e96ec5 in __libc_start_main (main=0x913730, argc=1, argv=0x7fffffffdb28, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdb18) at libc-start.c:287
#7 0x000000000040f9e9 in ?? ()