I've got some code giving a seg fault intermitently, so I want to get it to core dump.
Problem is that the seg fault occurs within a linux pthread, and its doesn't core dump. It core dumps in the main thread if I force a seg fault, but not the child.
I just use the ulimit -c unlimited command and compile with -g.
Any ideas? Is this possible?