[strongSwan] what could cause strongswan 4.3.2 to freeze up

Simon Chan simon.chan3 at yahoo.ca
Tue Nov 8 08:38:24 CET 2011

Hi Martin,

Thank you for the response. Hope I can reproduce the condition in my test 
network here and put the bt command to good use.

At the mean time, management think that waiting for the bug to happen is not 
good enough. I need to dive into the code and look for possible ways to 
induce the bug to happen here. If you can point out where in the code charon 
acquires lock or mutex etc that will be a great help.
Can you also shed some light on how the threads are organized? I mean does 
each thread has a dedicated function or are they all the same.
Can't find out where those threads get created.

Best Regards,

----- Original Message ----- 
From: "Martin Willi" <martin at strongswan.org>
To: "Simon Chan" <simon.chan3 at yahoo.ca>
Cc: <users at lists.strongswan.org>
Sent: Saturday, November 05, 2011 2:01 AM
Subject: Re: [strongSwan] what could cause strongswan 4.3.2 to freeze up

> Hi,
>> - Tunnels already established remained operational but no new
>> connection accepted. We verified with tcpdump that connection requests
>> arrive at the box (a Vyatta VM) but /var/log/messages showed no charon
>> activity.
> Maybe all the threads are blocked somewhere and therefore the daemon is
> unable to handle new requests. A good way to see what's going on is to
> attach gdb to charon and invoke:
>> thread apply all bt
> This should tell you what all the threads are doing.
> Regards
> Martin

More information about the Users mailing list