[Openswan Users] pluto 2.4.15 crash

Marco Berizzi pupilla at hotmail.com
Sat Jun 12 07:25:31 EDT 2010


paul at xelerance.com wrote:
> On Fri, 11 Jun 2010, Marco Berizzi wrote:
> 
> > Today openswan 2.4.15 is crashing. No change ipsec.conf or to the linux
> > OS.
> > Here is the trace:
> >
> > /tmp/ipsec# gdb /tmp/OSW/openswan-2.4.15/programs/pluto/pluto --core=core                                                                               
> > GNU gdb 5.3                                                                       
> > 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 conditions.
> > 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-slackware-linux"...
> >
> > warning: exec file is newer than core file.
> > 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/libc.so.6...done.
> > Loaded symbols for /lib/libc.so.6
> > Reading symbols from /lib/ld-linux.so.2...done.
> > Loaded symbols for /lib/ld-linux.so.2
> > #0  0x08074057 in process_packet (mdp=0x80f480c) at demux.c:2069
> > 2069            if (smc->flags & SMF_INPUT_ENCRYPTED)
> > (gdb) where
> > #0  0x08074057 in process_packet (mdp=0x80f480c) at demux.c:2069
> > #1  0x080760fd in comm_handle (ifp=0x810bdd0) at demux.c:1231
> > #2  0x0805bda1 in call_server () at server.c:1185
> > #3  0x08059fa3 in main (argc=14, argv=0xbfadf9f4) at plutomain.c:787
> > #4  0xb7e67d06 in __libc_start_main () from /lib/libc.so.6
> > (gdb)
> 
> Do a: bt full
> 
> Paul

here is:

gdb /tmp/OSW/openswan-2.4.15/programs/pluto/pluto --core=core                                                                                                                         
GNU gdb 5.3                                                                                                                                                                                                    
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 conditions.                                                                                                                                  
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-slackware-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/libc.so.6...done.                                                                                                                                                                    
Loaded symbols for /lib/libc.so.6                                                                                                                                                                              
Reading symbols from /lib/ld-linux.so.2...done.                                                                                                                                                                
Loaded symbols for /lib/ld-linux.so.2                                                                                                                                                                          
#0  0x08074057 in process_packet (mdp=0x80f480c) at demux.c:2069                                                                                                                                               
2069            if (smc->flags & SMF_INPUT_ENCRYPTED)                                                                                                                                                          
(gdb) bt full                                                                                                                                                                                                  
#0  0x08074057 in process_packet (mdp=0x80f480c) at demux.c:2069                                                                                                                                               
        md = (struct msg_digest *) 0x81152a8                                                                                                                                                                   
        smc = (const struct state_microcode *) 0x0                                                                                                                                                             
        new_iv_set = 0                                                                                                                                                                                         
        st = (struct state *) 0x0                                                                                                                                                                              
        from_state = STATE_AGGR_R0                                                                                                                                                                             
#1  0x080760fd in comm_handle (ifp=0x810bdd0) at demux.c:1231                                                                                                                                                  
        md = (struct msg_digest *) 0x81152a8                                                                                                                                                                   
#2  0x0805bda1 in call_server () at server.c:1185                                                                                                                                                              
        readfds = {__fds_bits = {32768, 0 <repeats 31 times>}}                                                                                                                                                 
        writefds = {__fds_bits = {0 <repeats 32 times>}}                                                                                                                                                       
        ndes = 1                                                                                                                                                                                               
        ifp = (struct iface_port *) 0x810bdd0                                                                                                                                                                  
#3  0x08059fa3 in main (argc=14, argv=0xbfc18b24) at plutomain.c:787                                                                                                                                           
        fork_desired = 0                                                                                                                                                                                       
        log_to_stderr_desired = 0                                                                                                                                                                              
        lockfd = 0                                                                                                                                                                                             
        ocspuri = 0x0                                                                                                                                                                                          
        nhelpers = 0
        coredir = 0x8108140 "/etc/ipsec.d/ocspcerts"
        nat_traversal = 1
        nat_t_spf = 1
        keep_alive = 0
        force_keepalive = 0
        virtual_private = 0xbfc19955 "%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12,%v4:23.225.38.0/24"
#4  0xb7da0d06 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
(gdb)

 		 	   		  
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20100612/f49d8fdd/attachment-0001.html 


More information about the Users mailing list