Hi,
How to debug a daemon code? I have a code running as a daemon, and it will crash if I send some data to it. It is a multithread code.
I tried to compile it with debug option -ggdb, but after coredump, I could only get:
Program terminated with signal 11, Segmentation fault.
#0 0x0000002a95c6acf0 in ?? ()
which is not useful. any idea how to track it down?
Thanks