[vpn-help] Shrew Soft VPN Client ver 2.2.0 on CentOS 5.6 x32 -- glibc detected *** ikec: double free or corruption (out): 0x08903558

cmlitguy at gmail.com cmlitguy at gmail.com
Tue Mar 27 07:38:50 CDT 2012


Hello,Alexis.
As you advised, I triedversion from SVN:
Cent OS: Linux 2.6.32-220.el6.*x86_64*

svn co svn://svn.shrew.net/ike/head ike

cd /usr/local/src/ike

cmake -DDEBUG=YES -DQTGUI=NO -DNATT=YES -DLDAP=YES

make

make install

# ls -la /usr/local/lib | grep "so" | awk '{print "ln -s 
/usr/local/lib/" $9 " /usr/lib64/" $9 }'
ln -s /usr/local/lib/libss_idb.so /usr/lib64/libss_idb.so
ln -s /usr/local/lib/libss_idb.so.2.2.0 /usr/lib64/libss_idb.so.2.2.0
ln -s /usr/local/lib/libss_ike.so /usr/lib64/libss_ike.so
ln -s /usr/local/lib/libss_ike.so.2.2.0 /usr/lib64/libss_ike.so.2.2.0
ln -s /usr/local/lib/libss_ip.so /usr/lib64/libss_ip.so
ln -s /usr/local/lib/libss_ip.so.2.2.0 /usr/lib64/libss_ip.so.2.2.0
ln -s /usr/local/lib/libss_ith.so /usr/lib64/libss_ith.so
ln -s /usr/local/lib/libss_ith.so.2.2.0 /usr/lib64/libss_ith.so.2.2.0
ln -s /usr/local/lib/libss_log.so /usr/lib64/libss_log.so
ln -s /usr/local/lib/libss_log.so.2.2.0 /usr/lib64/libss_log.so.2.2.0
ln -s /usr/local/lib/libss_pfk.so /usr/lib64/libss_pfk.so
ln -s /usr/local/lib/libss_pfk.so.2.2.0 /usr/lib64/libss_pfk.so.2.2.0

And I received the same error:
ikec -r qw

ii : ## : VPN Connect, ver 2.2.0
## : Copyright 2009 Shrew Soft Inc.
## : press the <h> key for help
*** glibc detected *** ikec: double free or corruption (out): 
0x0000000001732640 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x75296)[0x7fb9623e5296]
/usr/lib64/libss_idb.so.2.2.0(_ZN6_BDATA4growEm+0xa3)[0x7fb963c96239]
/usr/lib64/libss_idb.so.2.2.0(_ZN6_BDATA3insEPvmm+0x5e)[0x7fb963c96b16]
/usr/lib64/libss_idb.so.2.2.0(_ZN6_BDATA3insEPcmm+0x34)[0x7fb963c96bf6]
/usr/lib64/libss_ike.so.2.2.0(_ZN15_CONFIG_MANAGER13file_vpn_loadER7_CONFIG+0xdf)[0x7fb963ea4e31]
/usr/lib64/libss_ike.so.2.2.0(_ZN7_CLIENT11config_loadEv+0xc3)[0x7fb963ea2963]
ikec(main+0xbe)[0x401702]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7fb96238ecdd]
ikec[0x401589]
======= Memory map: ========
00400000-00403000 r-xp 00000000 fd:00 147349                             
/usr/local/bin/ikec
00602000-00603000 rw-p 00002000 fd:00 147349                             
/usr/local/bin/ikec
01732000-01753000 rw-p 00000000 00:00 0                                  
[heap]
7fb961905000-7fb961911000 r-xp 00000000 fd:00 42                         
/lib64/libnss_files-2.12.so
7fb961911000-7fb961b11000 ---p 0000c000 fd:00 42                         
/lib64/libnss_files-2.12.so
7fb961b11000-7fb961b12000 r--p 0000c000 fd:00 42                         
/lib64/libnss_files-2.12.so
7fb961b12000-7fb961b13000 rw-p 0000d000 fd:00 42                         
/lib64/libnss_files-2.12.so
7fb961b13000-7fb961b30000 r-xp 00000000 fd:00 71                         
/lib64/libtinfo.so.5.7
7fb961b30000-7fb961d30000 ---p 0001d000 fd:00 71                         
/lib64/libtinfo.so.5.7
7fb961d30000-7fb961d34000 rw-p 0001d000 fd:00 71                         
/lib64/libtinfo.so.5.7
7fb961d34000-7fb961d56000 r-xp 00000000 fd:00 67                         
/lib64/libncurses.so.5.7
7fb961d56000-7fb961f55000 ---p 00022000 fd:00 67                         
/lib64/libncurses.so.5.7
7fb961f55000-7fb961f56000 rw-p 00021000 fd:00 67                         
/lib64/libncurses.so.5.7
7fb961f56000-7fb961f6b000 r-xp 00000000 fd:00 79                         
/lib64/libz.so.1.2.3
7fb961f6b000-7fb96216a000 ---p 00015000 fd:00 79                         
/lib64/libz.so.1.2.3
7fb96216a000-7fb96216b000 r--p 00014000 fd:00 79                         
/lib64/libz.so.1.2.3
7fb96216b000-7fb96216c000 rw-p 00015000 fd:00 79                         
/lib64/libz.so.1.2.3
7fb96216c000-7fb96216e000 r-xp 00000000 fd:00 32                         
/lib64/libdl-2.12.so
7fb96216e000-7fb96236e000 ---p 00002000 fd:00 32                         
/lib64/libdl-2.12.so
7fb96236e000-7fb96236f000 r--p 00002000 fd:00 32                         
/lib64/libdl-2.12.so
7fb96236f000-7fb962370000 rw-p 00003000 fd:00 32                         
/lib64/libdl-2.12.so
7fb962370000-7fb9624f6000 r-xp 00000000 fd:00 26                         
/lib64/libc-2.12.so
7fb9624f6000-7fb9626f6000 ---p 00186000 fd:00 26                         
/lib64/libc-2.12.so
7fb9626f6000-7fb9626fa000 r--p 00186000 fd:00 26                         
/lib64/libc-2.12.so
7fb9626fa000-7fb9626fb000 rw-p 0018a000 fd:00 26                         
/lib64/libc-2.12.so
7fb9626fb000-7fb962700000 rw-p 00000000 00:00 0
7fb962700000-7fb962716000 r-xp 00000000 fd:00 13                         
/lib64/libgcc_s-4.4.6-20110824.so.1
7fb962716000-7fb962915000 ---p 00016000 fd:00 13                         
/lib64/libgcc_s-4.4.6-20110824.so.1
7fb962915000-7fb962916000 rw-p 00015000 fd:00 13                         
/lib64/libgcc_s-4.4.6-20110824.so.1
7fb962916000-7fb962999000 r-xp 00000000 fd:00 34                         
/lib64/libm-2.12.so
7fb962999000-7fb962b98000 ---p 00083000 fd:00 34                         
/lib64/libm-2.12.so
7fb962b98000-7fb962b99000 r--p 00082000 fd:00 34                         
/lib64/libm-2.12.so
7fb962b99000-7fb962b9a000 rw-p 00083000 fd:00 34                         
/lib64/libm-2.12.so
7fb962b9a000-7fb962c82000 r-xp 00000000 fd:00 132079                     
/usr/lib64/libstdc++.so.6.0.13
7fb962c82000-7fb962e82000 ---p 000e8000 fd:00 132079                     
/usr/lib64/libstdc++.so.6.0.13
7fb962e82000-7fb962e89000 r--p 000e8000 fd:00 132079                     
/usr/lib64/libstdc++.so.6.0.13
7fb962e89000-7fb962e8b000 rw-p 000ef000 fd:00 132079                     
/usr/lib64/libstdc++.so.6.0.13
7fb962e8b000-7fb962ea0000 rw-p 00000000 00:00 0
7fb962ea0000-7fb962ea7000 r-xp 00000000 fd:00 54                         
/lib64/librt-2.12.so
7fb962ea7000-7fb9630a6000 ---p 00007000 fd:00 54                         
/lib64/librt-2.12.so
7fb9630a6000-7fb9630a7000 r--p 00006000 fd:00 54                         
/lib64/librt-2.12.so
7fb9630a7000-7fb9630a8000 rw-p 00007000 fd:00 54                         
/lib64/librt-2.12.so
7fb9630a8000-7fb9630d1000 r-xp 00000000 fd:00 132789                     
/usr/lib64/libedit.so.0.0.27
7fb9630d1000-7fb9632d1000 ---p 00029000 fd:00 132789                     
/usr/lib64/libedit.so.0.0.27
7fb9632d1000-7fb9632d4000 rw-p 00029000 fd:00 132789                     
/usr/lib64/libedit.so.0.0.27
7fb9632d4000-7fb9632d7000 rw-p 00000000 00:00 0
7fb9632d7000-7fb9632ee000 r-xp 00000000 fd:00 50                         
/lib64/libpthread-2.12.so
7fb9632ee000-7fb9634ed000 ---p 00017000 fd:00 50                         
/lib64/libpthread-2.12.so
7fb9634ed000-7fb9634ee000 r--p 00016000 fd:00 50                         
/lib64/libpthread-2.12.so
7fb9634ee000-7fb9634ef000 rw-p 00017000 fd:00 50                         
/lib64/libpthread-2.12.so
7fb9634ef000-7fb9634f3000 rw-p 00000000 00:00 0
7fb9634f3000-7fb963666000 r-xp 00000000 fd:00 134821                     
/usr/lib64/libcrypto.so.1.0.0
7fb963666000-7fb963865000 ---p 00173000 fd:00 134821                     
/usr/lib64/libcrypto.so.1.0.0
7fb963865000-7fb96387e000 r--p 00172000 fd:00 134821                     
/usr/lib64/libcrypto.so.1.0.0
7fb96387e000-7fb963888000 rw-p 0018b000 fd:00 134821                     
/usr/lib64/libcrypto.so.1.0.0
7fb963888000-7fb96388c000 rw-p 00000000 00:00 0
7fb96388c000-7fb96388e000 r-xp 00000000 fd:00 147359                     
/usr/local/lib/libss_log.so.2.2.0
7fb96388e000-7fb963a8e000 ---p 00002000 fd:00 147359                     
/usr/local/lib/libss_log.so.2.2.0
7fb963a8e000-7fb963a8f000 rw-p 00002000 fd:00 147359                     
/usr/local/lib/libss_log.so.2.2.0
7fb963a8f000-7fb963a94000 r-xp 00000000 fd:00 147357                     
/usr/local/lib/libss_ith.so.2.2.0
7fb963a94000-7fb963c93000 ---p 00005000 fd:00 147357                     
/usr/local/lib/libss_ith.so.2.2.0
7fb963c93000-7fb963c94000 rw-p 00004000 fd:00 147357                     
/usr/local/lib/libss_ith.so.2.2.0
7fb963c94000-7fb963c99000 r-xp 00000000 fd:00 147355                     
/usr/local/lib/libss_idb.so.2.2.0
7fb963c99000-7fb963e98000 ---p 00005000 fd:00 147355                     
/usr/local/lib/libss_idb.so.2.2.0
7fb963e98000-7fb963e99000 rw-p 00004000 fd:00 147355                     
/usr/local/lib/libss_idb.so.2.2.0
7fb963e99000-7fb963eaa000 r-xp 00000000 fd:00 147351                     
/usr/local/lib/libss_ike.so.2.2.0
7fb963eaa000-7fb9640aa000 ---p 00011000 fd:00 147351                     
/usr/local/lib/libss_ike.so.2.2.0
7fb9640aa000-7fb9640ab000 rw-p 00011000 fd:00 147351                     
/usr/local/lib/libss_ike.so.2.2.0
7fb9640ab000-7fb9640cb000 r-xp 00000000 fd:00 639                        
/lib64/ld-2.12.so
7fb9642b6000-7fb9642c0000 rw-p 00000000 00:00 0
7fb9642c7000-7fb9642ca000 rw-p 00000000 00:00 0
7fb9642ca000-7fb9642cb000 r--p 0001f000 fd:00 639                        
/lib64/ld-2.12.so
7fb9642cb000-7fb9642cc000 rw-p 00020000 fd:00 639                        
/lib64/ld-2.12.so
7fb9642cc000-7fb9642cd000 rw-p 00000000 00:00 0
7fffdc49c000-7fffdc4b1000 rw-p 00000000 00:00 0                          
[stack]
7fffdc5ff000-7fffdc600000 r-xp 00000000 00:00 0                          
[vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  
[vsyscall]
Aborted (core dumped)




On 3/27/2012 11:26 AM, Alexis La Goutte wrote:
> Hi,
>
> Do you have test the SVN version of Shrew? (there is some bug fixed in 
> SVN)
>
> Regards,
>
> On Mon, Mar 26, 2012 at 10:13 AM, cmlitguy at gmail.com 
> <mailto:cmlitguy at gmail.com> <cmlitguy at gmail.com 
> <mailto:cmlitguy at gmail.com>> wrote:
>
>     Hello.
>     I tried to install and run ikec in CentOS 5.6:
>
>     = *Install required software*=
>     yum install make openssl-devel cmake libedit-devel flex
>     openldap-devel bison gcc-c++
>
>     = *Get Sources*=
>     cd /usr/local/src
>     wget http://www.shrew.net/download/ike/ike-2.2.0-beta-2.tgz
>     tar -zxvf ike-2.2.0-beta-2.tgz
>
>     = *Compile* =
>     cd /usr/local/src/ike
>     cmake -DDEBUG=YES -DQTGUI=NO -DNATT=YES -DLDAP=YES
>     make
>     make install
>
>     = *Make links for libraries *=
>     ls -la /usr/local/lib | grep "so" | awk '{print "ln -s
>     /usr/local/lib/" $9 " /usr/lib/" $9 }'
>
>     = *Start ikec*=
>     ikec -r test.pcf
>
>     And I got the error:
>
>     ii : ## : VPN Connect, ver 2.2.0
>     ## : Copyright 2009 Shrew Soft Inc.
>     ## : press the <h> key for help
>     *** glibc detected *** ikec: double free or corruption (out):
>     0x08903558 ***
>     ======= Backtrace: =========
>     /lib/libc.so.6[0x2e1ee5]
>     /lib/libc.so.6(cfree+0x59)[0x2e2329]
>     /usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0x5cffe1]
>     /usr/lib/libstdc++.so.6(_ZdaPv+0x1d)[0x5d003d]
>     /usr/lib/libss_idb.so.2.2.0(_ZN6_BDATA4growEj+0x76)[0x4e6e18]
>     /usr/lib/libss_idb.so.2.2.0(_ZN6_BDATA3insEPvjj+0x46)[0x4e6fe4]
>     /usr/lib/libss_idb.so.2.2.0(_ZN6_BDATA3insEPcjj+0x32)[0x4e70ee]
>     /usr/lib/libss_ike.so.2.2.0(_ZN15_CONFIG_MANAGER13file_vpn_loadER7_CONFIG+0xf5)[0xbd8467]
>     /usr/lib/libss_ike.so.2.2.0(_ZN7_CLIENT11config_loadEv+0xbb)[0xbcf245]
>     ikec(main+0xd6)[0x80491ea]
>     /lib/libc.so.6(__libc_start_main+0xdc)[0x28fe9c]
>     ikec(__gxx_personality_v0+0x51)[0x8049061]
>     ======= Memory map: ========
>     00110000-0023a000 r-xp 00000000 fd:00 1239319   
>     /lib/libcrypto.so.0.9.8e
>     0023a000-0024e000 rwxp 00129000 fd:00 1239319   
>     /lib/libcrypto.so.0.9.8e
>     0024e000-00251000 rwxp 0024e000 00:00 0
>     00251000-00278000 r-xp 00000000 fd:00 1239135    /lib/libm-2.5.so
>     <http://libm-2.5.so>
>     00278000-00279000 r-xp 00026000 fd:00 1239135    /lib/libm-2.5.so
>     <http://libm-2.5.so>
>     00279000-0027a000 rwxp 00027000 fd:00 1239135    /lib/libm-2.5.so
>     <http://libm-2.5.so>
>     0027a000-003cc000 r-xp 00000000 fd:00 1239127    /lib/libc-2.5.so
>     <http://libc-2.5.so>
>     003cc000-003cd000 --xp 00152000 fd:00 1239127    /lib/libc-2.5.so
>     <http://libc-2.5.so>
>     003cd000-003cf000 r-xp 00152000 fd:00 1239127    /lib/libc-2.5.so
>     <http://libc-2.5.so>
>     003cf000-003d0000 rwxp 00154000 fd:00 1239127    /lib/libc-2.5.so
>     <http://libc-2.5.so>
>     003d0000-003d3000 rwxp 003d0000 00:00 0
>     0042c000-0046c000 r-xp 00000000 fd:00 2192792   
>     /usr/lib/libncurses.so.5.5
>     0046c000-00474000 rwxp 00040000 fd:00 2192792   
>     /usr/lib/libncurses.so.5.5
>     00474000-00475000 rwxp 00474000 00:00 0
>     00484000-0048e000 r-xp 00000000 fd:00 1239143   
>     /lib/libnss_files-2.5.so <http://libnss_files-2.5.so>
>     0048e000-0048f000 r-xp 00009000 fd:00 1239143   
>     /lib/libnss_files-2.5.so <http://libnss_files-2.5.so>
>     0048f000-00490000 rwxp 0000a000 fd:00 1239143   
>     /lib/libnss_files-2.5.so <http://libnss_files-2.5.so>
>     004ce000-004d1000 r-xp 00000000 fd:00 1239133    /lib/libdl-2.5.so
>     <http://libdl-2.5.so>
>     004d1000-004d2000 r-xp 00002000 fd:00 1239133    /lib/libdl-2.5.so
>     <http://libdl-2.5.so>
>     004d2000-004d3000 rwxp 00003000 fd:00 1239133    /lib/libdl-2.5.so
>     <http://libdl-2.5.so>
>     004e5000-004ea000 r-xp 00000000 fd:00 2199930   
>     /usr/local/lib/libss_idb.so.2.2.0
>     004ea000-004eb000 rwxp 00004000 fd:00 2199930   
>     /usr/local/lib/libss_idb.so.2.2.0
>     0051f000-005fd000 r-xp 00000000 fd:00 2192602   
>     /usr/lib/libstdc++.so.6.0.8
>     005fd000-00600000 r-xp 000dd000 fd:00 2192602   
>     /usr/lib/libstdc++.so.6.0.8
>     00600000-00602000 rwxp 000e0000 fd:00 2192602   
>     /usr/lib/libstdc++.so.6.0.8
>     00602000-00608000 rwxp 00602000 00:00 0
>     0081a000-0082c000 r-xp 00000000 fd:00 1240687    /lib/libz.so.1.2.3
>     0082c000-0082d000 rwxp 00011000 fd:00 1240687    /lib/libz.so.1.2.3
>     00b12000-00b13000 r-xp 00b12000 00:00 0          [vdso]
>     00b2f000-00b4a000 r-xp 00000000 fd:00 1239120    /lib/ld-2.5.so
>     <http://ld-2.5.so>
>     00b4a000-00b4b000 r-xp 0001a000 fd:00 1239120    /lib/ld-2.5.so
>     <http://ld-2.5.so>
>     00b4b000-00b4c000 rwxp 0001b000 fd:00 1239120    /lib/ld-2.5.so
>     <http://ld-2.5.so>
>     00bcb000-00bdc000 r-xp 00000000 fd:00 2199926   
>     /usr/local/lib/libss_ike.so.2.2.0
>     00bdc000-00bdd000 rwxp 00011000 fd:00 2199926   
>     /usr/local/lib/libss_ike.so.2.2.0
>     00d56000-00d7a000 r-xp 00000000 fd:00 2199890   
>     /usr/lib/libedit.so.0.0.34
>     00d7a000-00d7c000 rwxp 00024000 fd:00 2199890   
>     /usr/lib/libedit.so.0.0.34
>     00d7c000-00d7f000 rwxp 00d7c000 00:00 0
>     00dcd000-00dd4000 r-xp 00000000 fd:00 1239155    /lib/librt-2.5.so
>     <http://librt-2.5.so>
>     00dd4000-00dd5000 r-xp 00007000 fd:00 1239155    /lib/librt-2.5.so
>     <http://librt-2.5.so>
>     00dd5000-00dd6000 rwxp 00008000 fd:00 1239155    /lib/librt-2.5.so
>     <http://librt-2.5.so>
>     00de8000-00dec000 r-xp 00000000 fd:00 2199932   
>     /usr/local/lib/libss_ith.so.2.2.0
>     00dec000-00ded000 rwxp 00004000 fd:00 2199932   
>     /usr/local/lib/libss_ith.so.2.2.0
>     00e41000-00e43000 r-xp 00000000 fd:00 2199934   
>     /usr/local/lib/libss_log.so.2.2.0
>     00e43000-00e44000 rwxp 00001000 fd:00 2199934   
>     /usr/local/lib/libss_log.so.2.2.0
>     00e94000-00ea9000 r-xp 00000000 fd:00 1239151   
>     /lib/libpthread-2.5.so <http://libpthread-2.5.so>
>     00ea9000-00eaa000 --xp 00015000 fd:00 1239151   
>     /lib/libpthread-2.5.so <http://libpthread-2.5.so>
>     00eaa000-00eab000 r-xp 00015000 fd:00 1239151   
>     /lib/libpthread-2.5.so <http://libpthread-2.5.so>
>     00eab000-00eac000 rwxp 00016000 fd:00 1239151   
>     /lib/libpthread-2.5.so <http://libpthread-2.5.so>
>     00eac000-00eae000 rwxp 00eac000 00:00 0
>     00fa2000-00fad000 r-xp 00000000 fd:00 1240669   
>     /lib/libgcc_s-4.1.2-20080825.so.1
>     00fad000-00fae000 rwxp 0000a000 fd:00 1240669   
>     /lib/libgcc_s-4.1.2-20080825.so.1
>     08048000-0804b000 r-xp 00000000 fd:00 2199924    /usr/local/bin/ikec
>     0804b000-0804c000 rw-p 00002000 fd:00 2199924    /usr/local/bin/ikec
>     08903000-08924000 rw-p 08903000 00 <tel:08903000%2000>:00
>     0          [heap]
>     b7fd6000-b7fdb000 rw-p b7fd6000 00:00 0
>     b7fe1000-b7fe2000 rw-p b7fe1000 00:00 0
>     bfdf6000-bfe0b000 rw-p bffe9000 00:00 0          [stack]
>     Aborted
>
>
>     How I can fix this ?
>     Thank you in advance.
>
>
>     _______________________________________________
>     vpn-help mailing list
>     vpn-help at lists.shrew.net <mailto:vpn-help at lists.shrew.net>
>     http://lists.shrew.net/mailman/listinfo/vpn-help
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.shrew.net/pipermail/vpn-help/attachments/20120327/75093b17/attachment-0002.html>


More information about the vpn-help mailing list