title: When using a coredump in gdb how do I know exactly which thread caused SIGSEGV?
body: <p>My application uses more than 8 threads. When I run <code>info threads</code> in gdb I see the threads and the last function they were executing. It does not seem obvious to me exactly which thread caused the SIGSEGV. Is it possible to tell it? Is it thread 1? How are the threads numbered?</p>