# gdb --args s6-rc-init $FOLDER GNU gdb (GDB) 7.11.1 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-buildroot-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from s6-rc-init...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/s6-rc-init /tmp/s6/services warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. Program received signal SIGFPE, Arithmetic exception. 0xb7fb4224 in gensetdyn_ready () from /lib/libskarnet.so.2.5 (gdb) bt #0 0xb7fb4224 in gensetdyn_ready () from /lib/libskarnet.so.2.5 #1 0xb7fe9c7b in _dl_fixup () from /lib/ld-linux.so.2 #2 0xb7ff0160 in _dl_runtime_resolve () from /lib/ld-linux.so.2 #3 0xb7fb3b32 in gensetdyn_new () from /lib/libskarnet.so.2.5 #4 0x0000002a in ?? () #5 0xb7fb3ae4 in gensetdyn_new () from /lib/libskarnet.so.2.5 #6 0xbfffe1f8 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb)