[Openswan Users] Pluto core/openswan 2.3.0/debug=all

Andy Wilcox andy at integratus.com
Fri Feb 4 13:55:35 CET 2005

Howdy.  We've got openswan 2.3.0 patched into kernel 2.4.29,
and are using certs in a "roadwarrior" style config.

We get this core only when we turn on debugging (klipsdebug,

I'd be happy to supply any more info as needed.

[root at zombie tmp]# gdb /usr/local/libexec/ipsec/pluto /tmp/core.5782
GNU gdb Red Hat Linux (5.1.90CVS-5)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `/usr/local/libexec/ipsec/pluto --nofork 
--secretsfile /etc/ipsec.secrets --ipse'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libgmp.so.3...done.
Loaded symbols for /usr/lib/libgmp.so.3
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x42080b1b in strlen () from /lib/i686/libc.so.6
(gdb) where
#0  0x42080b1b in strlen () from /lib/i686/libc.so.6
#1  0x42051e4d in vfprintf () from /lib/i686/libc.so.6
#2  0x42072e84 in vsnprintf () from /lib/i686/libc.so.6
#3  0x4205a21b in snprintf () from /lib/i686/libc.so.6
#4  0x0805ab44 in fmt_state (st=0x80ff130, n=1107539149,
    state_buf=0xbffff0a0 "#2: \"roadwarrior-l2tp\"[2] 
68.ZZZ.YYY.XXX:50535 (null) ({0,0,0} attrs={0,0,0} ", state_buf_len=1024,
    state_buf2=0xbfffeca0 "\203\n\020\b?\037", state_buf2_len=1024)
    at state.c:871
#5  0x0805b202 in show_states_status () at state.c:1014
#6  0x08058c00 in show_status () at log.c:754
#7  0x08058799 in passert_fail (
    pred_str=0x80c2220 "STATE_IKE_FLOOR <= from_state && from_state <= 
STATE_IKE_ROOF", file_str=0x80c1234 "demux.c", line_no=1799) at log.c:596
#8  0x0807b36a in process_packet (mdp=0x80e4978) at demux.c:1799
#9  0x0807a0ac in comm_handle (ifp=0x80fc908) at demux.c:1173
#10 0x0805f5f3 in call_server () at server.c:1076
#11 0x0805c1b0 in main (argc=11, argv=0xbffff824) at plutomain.c:731
#12 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6

More information about the Users mailing list