gdb /usr/local/bin/nxagentd /tmp/core-nxagentd-11-0-0-20385-1398766299 GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 Copyright (C) 2012 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 "x86_64-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/local/bin/nxagentd...done. [New LWP 20388] [New LWP 20386] [New LWP 20385] [New LWP 20387] warning: Can't read pathname for load map: Input/output error. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `nxagentd -d'. Program terminated with signal 11, Segmentation fault. #0 ParseDrbdStatus () at drbd.cpp:94 94 device.protocol = line[pmatch[8].rm_so]; (gdb) bt #0 ParseDrbdStatus () at drbd.cpp:94 #1 0x00007f60f68b2e77 in CollectorThread (arg=) at drbd.cpp:140 #2 0x00007f60f890be9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #3 0x00007f60f83383fd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #4 0x0000000000000000 in ?? ()