Subject: | Coredump in Crypt::GpgME |
# uname -a
Linux dhcp-80.cs-intra.net 2.6.20-1.2933.fc6 #1 SMP Mon Mar 19 11:38:26
EDT 2007 i686 i686 i386 GNU/Linux
# perl -v
This is perl, v5.8.8 built for i386-linux-thread-multi
...
# rpm -q gpgme
gpgme-1.1.4-1.fc6
# perl -MCrypt::GpgME -MIO::File -e '$ctx = Crypt::GpgME->new;
$ctx->set_passphrase_cb(sub { "abc" }); $signed = $ctx->sign(
IO::File->new($ARGV[0], "r") ); print while <$signed>;' /etc/passwd
zsh: 14401 segmentation fault (core dumped) perl -MCrypt::GpgME
-MIO::File -e /etc/passwd
# gdb =perl core.14401
...
warning: Can't read pathname for load map: Input/output error.
Reading symbols from
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so...(no
debugging symbols found)...done.
Loaded symbols for
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
Reading symbols from /lib/libresolv.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libnsl.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libm.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libcrypt.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libutil.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /lib/libpthread.so.0...(no debugging symbols
found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/IO/IO.so...done.
Loaded symbols for
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/IO/IO.so
Reading symbols from
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Crypt/GpgME/GpgME.so...done.
Loaded symbols for
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Crypt/GpgME/GpgME.so
Reading symbols from /usr/lib/libgpgme.so.11...done.
Loaded symbols for /usr/lib/libgpgme.so.11
Reading symbols from /usr/lib/libgpg-error.so.0...done.
Loaded symbols for /usr/lib/libgpg-error.so.0
Reading symbols from
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Fcntl/Fcntl.so...done.
Loaded symbols for
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Fcntl/Fcntl.so
Core was generated by `perl -MCrypt::GpgME -MIO::File -e $ctx =
Crypt::GpgME->new; $ctx->set_passphras'.
Program terminated with signal 11, Segmentation fault.
#0 0x00427473 in strlen () from /lib/libc.so.6
(gdb) ^D
core file attached
Subject: | core.14401 |
Message body not shown because it is not plain text.