[strongSwan] Charon crashing/core dump

Krishna G, Suhas (NSN - IN/Bangalore) suhas.krishna_g at nsn.com
Mon Nov 17 05:31:23 CET 2014


Hi,

I am encountering a problem when the charon is shutting down. Apparently when I am deleting all the rules, the charon instead of shutting down gracefully, is core dumping. Initially single tunnel is established and traffic is flowing. Then when I try to delete the last rule while traffic is still incoming, the crash occurs. Apparently a phase1 request from the other end while the charon is going down is making it to core dump. When I took a back trace of the core file, it is showing no stack available. The syslog is as shown below:

Nov 10 08:14:25.773402 info CFPU-0 named[5782]: received control channel command 'reconfig'
Nov 10 08:14:25.773693 info CFPU-0 named[5782]: loading configuration from '/etc/ClusterDNS.conf'
Nov 10 08:14:25.798416 info CFPU-0 named[5782]: set up managed keys zone for view _default, file '/var/named/dynamic/managed-keys.bind'
Nov 10 08:14:25.807784 info CFPU-0 named[5782]: reloading configuration succeeded
Nov 10 08:14:25.810473 info CFPU-0 named[5782]: any newly configured zones are now loaded
Nov 10 08:14:25.930874 info CFPU-0 charon: 00[DMN] signal of type SIGINT received. Shutting down
Nov 10 08:14:25.931203 info CFPU-0 charon: 00[IKE] deleting IKE_SA r2~v2[1] between 169.254.0.4[(vr*)169.254.0.4]...169.254.0.6[(vr*)169.254.0.
6]
Nov 10 08:14:25.931470 info CFPU-0 charon: 00[IKE] sending DELETE for IKE_SA r2~v2[1]
Nov 10 08:14:25.932287 info CFPU-0 FPM[637]: fpm_ipsec_sa_delete:
Nov 10 08:14:25.932287 info CFPU-0 FPM[637]: del SA success
Nov 10 08:14:25.932287 info CFPU-0 FPM[637]: fpm_ipsec_sa_delete:
Nov 10 08:14:25.932287 info CFPU-0 FPM[637]: del SA success
Nov 10 08:14:25.934908 info CFPU-0 FPM[637]: fpm_ipsec_sp_delete:
Nov 10 08:14:25.934908 info CFPU-0 FPM[637]: del SP success
Nov 10 08:14:25.934908 info CFPU-0 FPM[637]: fpm_ipsec_sp_delete:
Nov 10 08:14:25.934908 info CFPU-0 FPM[637]: del SP success
Nov 10 08:14:25.961906 info CFPU-0 charon: 06[DMN] thread 6 received 11
Nov 10 08:14:25.962171 info CFPU-0 charon: 06[DMN] killing ourself, received critical signal
Nov 10 08:14:25.970005 info CFPU-0 IPSec: Starter: stop
Nov 10 08:14:26.002496 info CFPU-0 coredumper: Generating core file CFPU-0-29666-546057c1-charon-ABRT.core

What might be the problem here? Can anyone suggest a fix please.



Regards
Suhas Krishna

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20141117/c9292021/attachment-0001.html>


More information about the Users mailing list