[sr-dev] rtpengine crashes

Richard Fuchs rfuchs at sipwise.com
Wed Jul 2 19:15:17 CEST 2014


On 07/02/14 13:07, Alex Balashov wrote:
> Interestingly enough, the polling loop of rtpengine seems to be intact:
> 
> [root at sd-rtp01 log]# strace -p 30323
> Process 30323 attached - interrupt to quit
> restart_syscall(<... resuming interrupted call ...>) = 0
> nanosleep({0, 100000000}, NULL)         = 0
> nanosleep({0, 100000000}, NULL)         = 0
> nanosleep({0, 100000000}, NULL)         = 0

Strace only hooks into the main thread of a process, others don't show
up. If you use "ps -efL" to show the process list, you get to see all
threads of a process including their LWP IDs. Use those IDs to see
what's going on in them with strace (you can specify multiple at the
same time, strace -p $X -p $Y -p $Z ...)

> Re: the current thread state with attached GDB:

Would you happen to know the git commit ID of your build, so I can
correlate the line numbers.

cheers



More information about the sr-dev mailing list