Subject: | Segfault after "can't authenticate" |
Hi!
I'm on Mandriva Linux Cooker and after I run perk Makefile.PL and make,
I'm getting this:
[shell]
shlomif:~/progs/perl/cpan/Net/SSH2/net-ssh2$ perl -Mblib example/read.pl
can't authenticate at example/read.pl line 13.
*** glibc detected *** perl: double free or corruption (!prev):
0x08ae7dc8 ***
======= Backtrace: =========
/lib/i686/libc.so.6(+0x6c3ae)[0xb744e3ae]
/usr/lib/perl5/5.12.2/i386-linux-thread-multi/CORE/libperl.so(Perl_safesysfree+0x1f)[0xb769298f]
======= Memory map: ========
08048000-08049000 r-xp 00000000 08:21 67145036 /usr/bin/perl5.12.2
08049000-0804a000 rw-p 00000000 08:21 67145036 /usr/bin/perl5.12.2
0891f000-08b7d000 rw-p 00000000 00:00 0 [heap]
b6fc6000-b6fc8000 r-xp 00000000 08:21 50683719
/lib/libnss_mdns4_minimal.so.2
b6fc8000-b6fc9000 r--p 00001000 08:21 50683719
/lib/libnss_mdns4_minimal.so.2
b6fc9000-b6fca000 rw-p 00002000 08:21 50683719
/lib/libnss_mdns4_minimal.so.2
b6fca000-b6fd4000 r-xp 00000000 08:21 50482987 /lib/libnss_files-2.12.1.so
b6fd4000-b6fd5000 r--p 00009000 08:21 50482987 /lib/libnss_files-2.12.1.so
b6fd5000-b6fd6000 rw-p 0000a000 08:21 50482987 /lib/libnss_files-2.12.1.so
b6fd6000-b718b000 r-xp 00000000 08:21 85500780 /usr/lib/libcrypto.so.1.0.0
b718b000-b71a0000 rw-p 001b4000 08:21 85500780 /usr/lib/libcrypto.so.1.0.0
b71a0000-b71a3000 rw-p 00000000 00:00 0
b71a3000-b71f8000 r-xp 00000000 08:21 83894741 /usr/lib/libssl.so.1.0.0
b71f8000-b71fc000 rw-p 00055000 08:21 83894741 /usr/lib/libssl.so.1.0.0
b71fc000-b720e000 r-xp 00000000 08:21 50333791 /lib/libz.so.1.2.3
b720e000-b720f000 rw-p 00011000 08:21 50333791 /lib/libz.so.1.2.3
b720f000-b7235000 r-xp 00000000 08:21 83894386 /usr/lib/libssh2.so.1.0.1
b7235000-b7236000 r--p 00025000 08:21 83894386 /usr/lib/libssh2.so.1.0.1
b7236000-b7237000 rw-p 00026000 08:21 83894386 /usr/lib/libssh2.so.1.0.1
b7239000-b7255000 r-xp 00000000 08:21 50922765 /lib/libgcc_s-4.5.1.so.1
b7255000-b7256000 rw-p 0001b000 08:21 50922765 /lib/libgcc_s-4.5.1.so.1
b7256000-b7257000 r--p 00000000 08:21 59694
/usr/share/locale/en_GB/LC_MESSAGES/libc.mo
b7257000-b727e000 r-xp 00000000 08:22 335646014
/home/shlomif/progs/perl/cpan/Net/SSH2/net-ssh2/blib/arch/auto/Net/SSH2/SSH2.so
b727e000-b727f000 rw-p 00027000 08:22 335646014
/home/shlomif/progs/perl/cpan/Net/SSH2/net-ssh2/blib/arch/auto/Net/SSH2/SSH2.so
b727f000-b7282000 r-xp 00000000 08:21 167902189
/usr/lib/perl5/5.12.2/i386-linux-thread-multi/auto/Cwd/Cwd.so
b7282000-b7283000 rw-p 00002000 08:21 167902189
/usr/lib/perl5/5.12.2/i386-linux-thread-multi/auto/Cwd/Cwd.so
b7283000-b72c2000 r--p 00000000 08:21 234983974
/usr/share/locale/UTF-8/LC_CTYPE
b72c2000-b73e0000 r--p 00000000 08:21 234974732
/usr/share/locale/UTF-8/LC_COLLATE
b73e0000-b73e2000 rw-p 00000000 00:00 0
b73e2000-b7541000 r-xp 00000000 08:21 151035159 /lib/i686/libc-2.12.1.so
b7541000-b7542000 ---p 0015f000 08:21 151035159 /lib/i686/libc-2.12.1.so
b7542000-b7544000 r--p 0015f000 08:21 151035159 /lib/i686/libc-2.12.1.so
b7544000-b7545000 rw-p 00161000 08:21 151035159 /lib/i686/libc-2.12.1.so
b7545000-b7548000 rw-p 00000000 00:00 0
b7548000-b755d000 r-xp 00000000 08:21 151078605
/lib/i686/libpthread-2.12.1.so
b755d000-b755e000 r--p 00014000 08:21 151078605
/lib/i686/libpthread-2.12.1.so
b755e000-b755f000 rw-p 00015000 08:21 151078605
/lib/i686/libpthread-2.12.1.so
b755f000-b7561000 rw-p 00000000 00:00 0
b7561000-b7563000 r-xp 00000000 08:21 50525130 /lib/libutil-2.12.1.so
b7563000-b7564000 r--p 00001000 08:21 50525130 /lib/libutil-2.12.1.so
b7564000-b7565000 rw-p 00002000 08:21 50525130 /lib/libutil-2.12.1.so
b7565000-b7574000 r-xp 00000000 08:21 50397101 /lib/libcrypt-2.12.1.so
b7574000-b7575000 r--p 0000e000 08:21 50397101 /lib/libcrypt-2.12.1.so
b7575000-b7576000 rw-p 0000f000 08:21 50397101 /lib/libcrypt-2.12.1.so
b7576000-b75af000 rw-p 00000000 00:00 0
b75af000-b75d3000 r-xp 00000000 08:21 151035234 /lib/i686/libm-2.12.1.so
b75d3000-b75d4000 r--p 00023000 08:21 151035234 /lib/i686/libm-2.12.1.so
b75d4000-b75d5000 rw-p 00024000 08:21 151035234 /lib/i686/libm-2.12.1.so
b75d5000-b75d7000 r-xp 00000000 08:21 50399678 /lib/libdl-2.12.1.so
b75d7000-b75d8000 r--p 00001000 08:21 50399678 /lib/libdl-2.12.1.so
b75d8000-b75d9000 rw-p 00002000 08:21 50399678 /lib/libdl-2.12.1.so
b75d9000-b75ec000 r-xp 00000000 08:21 50415251 /lib/libnsl-2.12.1.so
b75ec000-b75ed000 r--p 00012000 08:21 50415251 /lib/libnsl-2.12.1.so
b75ed000-b75ee000 rw-p 00013000 08:21 50415251 /lib/libnsl-2.12.1.so
b75ee000-b75f0000 rw-p 00000000 00:00 0
b75f0000-b75f3000 r-xp 00000000 08:21 235200223
/usr/lib/perl5/5.12.2/i386-linux-thread-multi/auto/Fcntl/Fcntl.so
b75f3000-b75f4000 rw-p 00002000 08:21 235200223
/usr/lib/perl5/5.12.2/i386-linux-thread-multi/auto/Fcntl/Fcntl.so
b75f4000-b75f8000 r-xp 00000000 08:21 16889300
/usr/lib/perl5/5.12.2/i386-linux-thread-multi/auto/IO/IO.so
b75f8000-b75f9000 rw-p 00003000 08:21 16889300
/usr/lib/perl5/5.12.2/i386-linux-thread-multi/auto/IO/IO.so
b75f9000-b75fe000 r-xp 00000000 08:21 50609503
/usr/lib/perl5/5.12.2/i386-linux-thread-multi/auto/Socket/Socket.so
b75fe000-b75ff000 rw-p 00004000 08:21 50609503
/usr/lib/perl5/5.12.2/i386-linux-thread-multi/auto/Socket/Socket.so
b75ff000-b7600000 r--p 00000000 08:21 68069349
/usr/share/locale/en_GB.UTF-8/LC_NUMERIC
b7600000-b7601000 r--p 00000000 08:21 50980100
/usr/share/locale/en_GB.UTF-8/LC_TIME
b7601000-b7602000 r--p 00000000 08:21 218529078
/usr/share/locale/en_US.UTF-8/LC_MONETARY
b7602000-b7603000 r--p 00000000 08:21 234977346
/usr/share/locale/en_US.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES
b7603000-b7604000 r--p 00000000 08:21 218531699
/usr/share/locale/en_US.UTF-8/LC_PAPER
b7604000-b7605000 r--p 00000000 08:21 218531708
/usr/share/locale/en_GB.UTF-8/LC_NAME
b7605000-b7606000 r--p 00000000 08:21 218526529
/usr/share/locale/en_US.UTF-8/LC_ADDRESS
b7606000-b7607000 r--p 00000000 08:21 218529031
/usr/share/locale/en_US.UTF-8/LC_TELEPHONE
b7607000-b7608000 r--p 00000000 08:21 68068979
/usr/share/locale/en_GB.UTF-8/LC_MEASUREMENT
b7608000-b760f000 r--s 00000000 08:21 184558226
/usr/lib/gconv/gconv-modules.cache
b760f000-b7610000 r--p 00000000 08:21 50368022
/usr/share/locale/en_GB.UTF-8/LC_IDENTIFICATION
b7610000-b777a000 r-xp 00000000 08:21 84409598
/usr/lib/perl5/5.12.2/i386-linux-thread-multi/CORE/libperl.so
b777a000-b777f000 rw-p 00169000 08:21 84409598
/usr/lib/perl5/5.12.2/i386-linux-thread-multi/CORE/libperl.so
b777f000-b7780000 rw-p 00000000 00:00 0
b7780000-b779b000 r-xp 00000000 08:21 50332655 /lib/ld-2.12.1.so
b779b000-b779c000 r--p 0001a000 08:21 50332655 /lib/ld-2.12.1.so
b779c000-b779d000 rw-p 0001b000 08:21 50332655 /lib/ld-2.12.1.so
bff0b000-bff2d000 rw-p 00000000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
Aborted
[/shell]
Please fix it.
Regards,
-- Shlomi Fish