[strongSwan] Segmentation fault in dhcp plugin

Bjarke Istrup Pedersen gurli at gurlinet.dk
Tue Jan 18 20:45:29 CET 2011


I'm have a problem with the DHCP plugin.
When it is there (I'm not using it, but having it on the filesystem
makes it load and segfault) it fails.

Here is the output from ipsec running with the --attach-gdb parameter
(it's strongswan 4.5.0) :

15[IKE] scheduling reauthentication in 3246s
15[IKE] maximum IKE_SA lifetime 3426s
15[IKE] CHILD_SA net-net{1} established with SPIs c2902f0e_i
c50574f5_o and TS ===
15[IKE] received AUTH_LIFETIME of 3259s, scheduling reauthentication in 3079s
[New LWP 2686]

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 2686]
0xb7a8b009 in handle_offer (this=0xb8017fc0) at dhcp_socket.c:523
523     dhcp_socket.c: No such file or directory.
        in dhcp_socket.c
(gdb) bt
#0  0xb7a8b009 in handle_offer (this=0xb8017fc0) at dhcp_socket.c:523
#1  receive_dhcp (this=0xb8017fc0) at dhcp_socket.c:595
#2  0xb7fc8226 in ?? () from /usr/lib/libstrongswan.so.0
#3  0xb7fc879d in ?? () from /usr/lib/libstrongswan.so.0
#4  0xb7fca87d in ?? () from /usr/lib/libstrongswan.so.0
#5  0xb7f5d9d3 in ?? () from /lib/libpthread.so.0
#6  0xb7ee255e in clone () from /lib/libc.so.6

Is there a way to fix this without deleting the plugin .so file?

Best regards,
Bjarke I. Pedersen

More information about the Users mailing list