gdb:<br><br>GNU gdb Red Hat Linux (6.5-15.fc6rh)<br>Copyright (C) 2006 Free Software Foundation, Inc.<br>GDB is free software, covered by the GNU General Public License, and you are<br>welcome to change it and/or distribute copies of it under certain conditions.
<br>Type "show copying" to see the conditions.<br>There is absolutely no warranty for GDB. Type "show warranty" for details.<br>This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".
<br><br>Failed to read a valid object file image from memory.<br>Core was generated by `/usr/libexec/ipsec/pluto --nofork --secretsfile /etc/ipsec.secrets --ipsecdir /'.<br>Program terminated with signal 11, Segmentation fault.
<br>#0 0x0806ebc8 in route_and_eroute (c=0xa0d5118, sr=0xa0d515c, st=0xa0d6878) at kernel.c:2532<br>2532 if (esr->eroute_owner == SOS_NOBODY)<br>#0 0x0806ebc8 in route_and_eroute (c=0xa0d5118, sr=0xa0d515c, st=0xa0d6878) at
kernel.c:2532<br>#1 0x0806efad in install_ipsec_sa (st=0xa0d6878, inbound_also=0) at kernel.c:2613<br>#2 0x08067de1 in quick_inI2 (md=0xa0d2ed0) at ikev1_quick.c:2132<br>#3 0x0807807c in process_packet (mdp=0x80ea068) at
demux.c:2352<br>#4 0x080788cf in comm_handle (ifp=0xa0d0cf8) at demux.c:1223<br>#5 0x0805c2d8 in call_server () at server.c:1166<br>#6 0x0805a4db in main (argc=1549747535, argv=0x7d6a6750) at plutomain.c:787<br><br><br>
<br><br><br><br>/var/log/secure:<br><br>Mar 13 05:40:46 vpn1 pluto[16901]: ERROR: pfkey write() of SADB_X_DELFLOW message 14 for flow <a href="mailto:int.0@0.0.0.0">int.0@0.0.0.0</a> failed. Errno 14: Bad address<br>Mar 13 05:40:46 vpn1 pluto[16901]: | 02 0f 00 0b 0e 00 00 00 0e 00 00 00 05 42 00 00
<br>Mar 13 05:40:46 vpn1 pluto[16901]: | 03 00 15 00 00 00 00 00 02 00 06 a5 48 37 92 95<br>Mar 13 05:40:46 vpn1 pluto[16901]: | 00 00 00 00 00 00 00 00 03 00 16 00 00 00 00 00 <br>Mar 13 05:40:46 vpn1 pluto[16901]: | 02 00 06 a5 c3 42 a4 bd 00 00 00 00 00 00 00 00
<br>Mar 13 05:40:46 vpn1 pluto[16901]: | 03 00 17 00 00 00 00 00 02 00 ff ff ff ff ff ff<br>Mar 13 05:40:46 vpn1 pluto[16901]: | 38 1a 90 bf ca 1a 90 bf 03 00 18 00 00 00 00 00<br>Mar 13 05:40:46 vpn1 pluto[16901]: | 02 00 ff ff ff ff ff ff 00 00 00 00 00 00 00 00
<br>Mar 13 05:40:55 vpn1 pluto[16901]: packet from xxx.xxx.xxx.xxx:44: ignoring Vendor ID payload [MS NT5 ISAKMPOAKLEY 00000004]<br>Mar 13 05:40:55 vpn1 pluto[16901]: packet from xxx.xxx.xxx.xxx:44: ignoring Vendor ID payload [FRAGMENTATION]
<br>Mar 13 05:40:55 vpn1 pluto[16901]: packet from xxx.xxx.xxx.xxx:44: received Vendor ID payload [draft-ietf-ipsec-nat-t-ike-02_n] method set to=106<br>Mar 13 05:40:55 vpn1 pluto[16901]: packet from xxx.xxx.xxx.xxx:44: ignoring Vendor ID payload [Vid-Initial-Contact]
<br>Mar 13 05:40:55 vpn1 pluto[16901]: "l2tp-transport"[2] xxx.xxx.xxx.xxx #5: responding to Main Mode from unknown peer xxx.xxx.xxx.xxx<br>Mar 13 05:40:55 vpn1 pluto[16901]: "l2tp-transport"[2] xxx.xxx.xxx.xxx
#5: transition from state STATE_MAIN_R0 to state STATE_MAIN_R1<br>Mar 13 05:40:55 vpn1 pluto[16901]: "l2tp-transport"[2] xxx.xxx.xxx.xxx #5: STATE_MAIN_R1: sent MR1, expecting MI2<br>Mar 13 05:40:55 vpn1 pluto[16901]: "l2tp-transport"[2]
xxx.xxx.xxx.xxx #5: NAT-Traversal: Result using draft-ietf-ipsec-nat-t-ike-02/03: peer is NATed<br>Mar 13 05:40:55 vpn1 pluto[16901]: "l2tp-transport"[2] xxx.xxx.xxx.xxx #5: transition from state STATE_MAIN_R1 to state STATE_MAIN_R2
<br>Mar 13 05:40:55 vpn1 pluto[16901]: "l2tp-transport"[2] xxx.xxx.xxx.xxx #5: STATE_MAIN_R2: sent MR2, expecting MI3<br>Mar 13 05:40:56 vpn1 pluto[16901]: "l2tp-transport"[2] xxx.xxx.xxx.xxx #5: Main mode peer ID is ID_DER_ASN1_DN: '*******'
<br>Mar 13 05:40:56 vpn1 pluto[16901]: "l2tp-transport"[2] xxx.xxx.xxx.xxx #5: I am sending my cert<br>Mar 13 05:40:56 vpn1 pluto[16901]: "l2tp-transport"[2] xxx.xxx.xxx.xxx #5: transition from state STATE_MAIN_R2 to state STATE_MAIN_R3
<br>Mar 13 05:40:56 vpn1 pluto[16901]: | NAT-T: new mapping xxx.xxx.xxx.xxx/1558)<br>Mar 13 05:40:56 vpn1 pluto[16901]: "l2tp-transport"[2] xxx.xxx.xxx.xxx #5: STATE_MAIN_R3: sent MR3, ISAKMP SA established {auth=OAKLEY_RSA_SIG cipher=oakley_3des_cbc_192 prf=oakley_sha group=modp2048}
<br>Mar 13 05:40:56 vpn1 pluto[16901]: "l2tp-transport"[2] xxx.xxx.xxx.xxx #6: responding to Quick Mode {msgid:c366edd3}<br>Mar 13 05:40:56 vpn1 pluto[16901]: "l2tp-transport"[2] xxx.xxx.xxx.xxx #6: transition from state STATE_QUICK_R0 to state STATE_QUICK_R1
<br>Mar 13 05:40:56 vpn1 pluto[16901]: "l2tp-transport"[2] xxx.xxx.xxx.xxx #6: STATE_QUICK_R1: sent QR1, inbound IPsec SA installed, expecting QI2<br>Mar 13 05:41:07 vpn1 ipsec__plutorun: Restarting Pluto subsystem...
<br><br><br><br><br>/var/log/messages:<br><br>Mar 13 02:45:51 vpn1 ipsec_setup: Restarting Openswan IPsec 2.4.8rc1...<br>Mar 13 05:40:56 vpn1 ipsec__plutorun: /usr/lib/ipsec/_plutorun: line 237: 16901 Segmentation fault (core dumped) /usr/libexec/ipsec/pluto --nofork --secretsfile /etc/ipsec.secrets --ipsecdir /etc/ipsec
<br>Mar 13 05:40:56 vpn1 ipsec__plutorun: !pluto failure!: exited with error status 139 (signal 11)<br>Mar 13 05:40:56 vpn1 ipsec__plutorun: restarting IPsec after pause...<br><br><br><div><span class="gmail_quote">On 3/13/07,
<b class="gmail_sendername">Paul Wouters</b> <<a href="mailto:paul@xelerance.com">paul@xelerance.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, 13 Mar 2007, Djordje Zekovic wrote:<br><br>> I have also pluto segmentation fault with 2.4.7 version.<br>> Bug segm.fault still there using 2.4.8rc1 version.<br>><br>> I can repeat bug any time: I am connected using Windows XP IPSEC/l2tp
<br>> Client, then I disable local area network, after enabling it again I<br>> re-connect to VPN server, and wholaaa - segm. fault. I should receive<br>> message "Cannot eroute"<br>><br>> Here is dump:
<br><br>> GNU gdb Red Hat Linux (6.5-15.fc6rh)<br><br>> warning: Can't read pathname for load map: Input/output error.<br>> Reading symbols from /usr/lib/sse2/libgmp.so.3...done.<br>> Loaded symbols for /usr/lib/sse2/libgmp.so.3
<br>> Reading symbols from /lib/libresolv.so.2...done.<br>> Loaded symbols for /lib/libresolv.so.2<br>> Reading symbols from /lib/libc.so.6...done.<br>> Loaded symbols for /lib/libc.so.6<br>> Reading symbols from /lib/ld-
linux.so.2...done.<br>> Loaded symbols for /lib/ld-linux.so.2<br>> Failed to read a valid object file image from memory.<br>> Core was generated by `/usr/libexec/ipsec/pluto --nofork --secretsfile<br>> /etc/ipsec.secrets --ipsecdir /'.
<br>> Program terminated with signal 11, Segmentation fault.<br>> #0 0x0806ebc8 in route_and_eroute (c=0x8145108, sr=0x814514c, st=0x8145b40)<br>> at kernel.c:2532<br>> 2532 kernel.c: No such file or directory.
<br>> in kernel.c<br>> (gdb)<br><br>Please run it so that gdb has access to the source, then give us a backtrace<br>and a dump of the variables involved.<br><br>Thanks,<br><br>Paul<br></blockquote></div><br>