After commenting out code that sets SIGINT handler in the charon.c file the
charon daemon does not exit early any more. I bet that charon somehow
consumes SIGINT signal that was actually addressed to GDB (this is how gdb
interrupts inferior process).



On 29 October 2013 14:04, Ansis Atteka <[email protected]> wrote:

> I tried to attach to charon with following gdb command (as recommended in
> one of the older threads in this mailing list):
> gdb /usr/lib/strongswan/charon <pid>
>
> but charon is immediately killed after I try to interrupt it second time
> (ctrl+c). I am suspicious that signal handlers somehow get into way.
>
> Has anyone had any success with debugging charon with GDB? Am I missing
> some preparation steps?
>
> Both ubuntu 13.04 and 13.10 are affected by this.
>
> Thanks,
> Ansis
>
_______________________________________________
Dev mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/dev

Reply via email to