[Openswan dev] Bugreport: ipsec eroute fails / Addendum for http://bugs.xelerance.com/view.php?id=1018

Carsten Schlote c.schlote at konzeptpark.de
Thu Feb 5 15:13:25 EST 2009


Hi,

unfortunately the Bugtracker account sign-on page is down, so I can't
create reports there. So just in short some error report related to
http://bugs.xelerance.com/view.php?id=1018. 

Problem: Same as described on tracker. No segfault, but a GLIBC
assertion on free(). mast0 and ipsec0 interfaces are available and the
isakmp phase worked successfully. Anyway, a problem with 'ipsec eroute
--clear' prevents completion of tunnel setup. If you ignore the error
and try to --up a connection something else is failing (see below).

I upgraded to openswan 2.6.20rc2+Harald Jennys NAT-T patch - no
difference.

If anyone knows more about this problem and can point to the right
places I might be able to trackdown and fix the problem. Any help
apreciated.

Otherwise an account on the bugtracker could help. Paul please fix your
tracker and GIT repo :-)

Carsten

------8x----------------------

Logs:
-------------------------
:~ uname -a
Linux konzeptbox-MCB2 2.6.28.3-konzeptpark-MCB2 #5 PREEMPT Thu Feb 5
15:59:51 CET 2009 ppc unknown
:~ ipsec --version
Linux Openswan 2.6.19 (klips) (+ Harald Jennys NAT-T patch)
See `ipsec --copyright' for copyright information.
:~ ipsec setup --start
ipsec_setup: Starting Openswan IPsec 2.6.19...
*** glibc detected *** /usr/local/libexec/ipsec/eroute: free(): invalid
next size (fast): 0x1002c040 ***
======= Backtrace: =========
/lib/libc.so.6[0xfeaa4ec]
/lib/libc.so.6(cfree+0xbc)[0xfeac258]
/usr/local/libexec/ipsec/eroute[0x10008e24]
/usr/local/libexec/ipsec/eroute[0x1000480c]
/lib/libc.so.6[0xfe4f8f4]
/lib/libc.so.6[0xfe4fa90]
======= Memory map: ========
00100000-00103000 r-xp 00100000 00:00 0          [vdso]
0fe31000-0ff79000 r-xp 00000000 00:0d 1180263    /lib/libc-2.8.so
0ff79000-0ff88000 ---p 00148000 00:0d 1180263    /lib/libc-2.8.so
0ff88000-0ff8a000 r--p 00147000 00:0d 1180263    /lib/libc-2.8.so
0ff8a000-0ff8d000 rwxp 00149000 00:0d 1180263    /lib/libc-2.8.so
0ff8d000-0ff90000 rwxp 0ff8d000 00:00 0 
0ffa0000-0ffdf000 r-xp 00000000 00:0d 1180441
/usr/lib/libgmp.so.3.4.4
0ffdf000-0ffee000 ---p 0003f000 00:0d 1180441
/usr/lib/libgmp.so.3.4.4
0ffee000-0ffef000 rwxp 0003e000 00:0d 1180441
/usr/lib/libgmp.so.3.4.4
0ffef000-0fff0000 rwxp 0ffef000 00:00 0 
10000000-1001b000 r-xp 00000000 00:0d 1393868
/usr/local/libexec/ipsec/eroute
1002b000-1002c000 rwxp 0001b000 00:0d 1393868
/usr/local/libexec/ipsec/eroute
1002c000-1004d000 rwxp 1002c000 00:00 0          [heap]
48000000-4801e000 r-xp 00000000 00:0d 1180261    /lib/ld-2.8.so
4801e000-48020000 rw-p 4801e000 00:00 0 
4802d000-4802e000 r--p 0001d000 00:0d 1180261    /lib/ld-2.8.so
4802e000-4802f000 rwxp 0001e000 00:0d 1180261    /lib/ld-2.8.so
bfaa1000-bfab6000 rw-p bffeb000 00:00 0          [stack]
ipsec_setup: /usr/local/lib/ipsec/_startklips: line 337:   923 Aborted
ipsec eroute --clear
------------
Feb  5 19:00:36 konzeptbox-MCB2 daemon.err ipsec_setup: Starting
Openswan IPsec 2.6.19...
Feb  5 19:00:36 konzeptbox-MCB2 daemon.err ipsec_setup: Using
KLIPS/legacy stack
[  142.555699] 
Feb  5 19:00:37 konzeptbox-MCB2 daemon.err ipsec_setup: KLIPS debug
`none'
Feb  5 19:00:38 konzeptbox-MCB2 daemon.err ipsec_setup:
/usr/local/lib/ipsec/_startklips: line 337:   923 Aborted
ipsec eroute --clear

-------------

Feb  5 19:31:26 konzeptbox-MCB2 authpriv.warn pluto[952]: "rw" #3:
up-client output: sh: PLUTO_PEipsec: command not found
Feb  5 19:31:26 konzeptbox-MCB2 authpriv.warn pluto[952]: "rw" #3:
up-client command exited with status 127

-------------
ipsec setup --start
ipsec_setup: Starting Openswan IPsec 2.6.20rc2...
*** glibc detected *** /usr/local/libexec/ipsec/eroute: free(): invalid
next size (fast): 0x1002c040 ***
======= Backtrace: =========
/lib/libc.so.6[0xfeaa4ec]
/lib/libc.so.6(cfree+0xbc)[0xfeac258]
/usr/local/libexec/ipsec/eroute[0x10008e24]
/usr/local/libexec/ipsec/eroute[0x1000480c]
/lib/libc.so.6[0xfe4f8f4]
/lib/libc.so.6[0xfe4fa90]
======= Memory map: ========
00100000-00103000 r-xp 00100000 00:00 0          [vdso]
0fe31000-0ff79000 r-xp 00000000 00:0d 8307406    /lib/libc-2.8.so
0ff79000-0ff88000 ---p 00148000 00:0d 8307406    /lib/libc-2.8.so
0ff88000-0ff8a000 r--p 00147000 00:0d 8307406    /lib/libc-2.8.so
0ff8a000-0ff8d000 rwxp 00149000 00:0d 8307406    /lib/libc-2.8.so
0ff8d000-0ff90000 rwxp 0ff8d000 00:00 0 
0ffa0000-0ffdf000 r-xp 00000000 00:0d 320708
/usr/lib/libgmp.so.3.4.4
0ffdf000-0ffee000 ---p 0003f000 00:0d 320708
/usr/lib/libgmp.so.3.4.4
0ffee000-0ffef000 rwxp 0003e000 00:0d 320708
/usr/lib/libgmp.so.3.4.4
0ffef000-0fff0000 rwxp 0ffef000 00:00 0 
10000000-1001b000 r-xp 00000000 00:0d 319851
/usr/local/libexec/ipsec/eroute
1002b000-1002c000 rwxp 0001b000 00:0d 319851
/usr/local/libexec/ipsec/eroute
1002c000-1004d000 rwxp 1002c000 00:00 0          [heap]
48000000-4801e000 r-xp 00000000 00:0d 8307404    /lib/ld-2.8.so
4801e000-48020000 rw-p 4801e000 00:00 0 
4802d000-4802e000 r--p 0001d000 00:0d 8307404    /lib/ld-2.8.so
4802e000-4802f000 rwxp 0001e000 00:0d 8307404    /lib/ld-2.8.so
bfee8000-bfefd000 rw-p bffeb000 00:00 0          [stack]
ipsec_setup: /usr/local/lib/ipsec/_startklips: line 337:   921 Aborted
ipsec eroute --clear


More information about the Dev mailing list