failure in certtool -p on gnutls 2.5.3
Daniel Kahn Gillmor
dkg-debian.org at fifthhorseman.net
Fri Aug 22 20:14:00 CEST 2008
certtool -p seems to be failing for me in a build of GnuTLS 2.5.3.
For some reason, gdb isn't picking up all the debugging symbols i'd
expect it to either (and i don't have time to look into that right
now). But i thought i'd put this out there to see if anyone who's
using bleeding-edge gnutls can run "certtool -p" without it choking.
Below is the (fairly unintelligible) data i get from gdb.
Regards,
--dkg
(gdb) run -p
Starting program: /home/dkg/src/gnutls/gnutls-2.5.3/src/.libs/certtool -p
Generating a 2048 bit RSA private key...
*** glibc detected *** /home/dkg/src/gnutls/gnutls-2.5.3/src/.libs/certtool: malloc(): memory corruption (fast): 0x09dfada8 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7cf84f4]
/lib/i686/cmov/libc.so.6[0xb7cfb4ae]
/lib/i686/cmov/libc.so.6(__libc_malloc+0x95)[0xb7cfc525]
/usr/lib/libgcrypt.so.11[0xb7e2d627]
/usr/lib/libgcrypt.so.11[0xb7e2d85a]
/usr/lib/libgcrypt.so.11[0xb7e2d87e]
/usr/lib/libgcrypt.so.11[0xb7e74498]
/usr/lib/libgcrypt.so.11[0xb7e74571]
/usr/lib/libgcrypt.so.11[0xb7e74a8e]
/usr/lib/libgcrypt.so.11[0xb7e6e5c2]
/usr/lib/libgcrypt.so.11[0xb7e6ff90]
/usr/lib/libgcrypt.so.11(gcry_mpi_invm+0x2b)[0xb7e2c11b]
/usr/lib/libgnutls.so.26[0xb7ed052b]
/usr/lib/libgnutls.so.26[0xb7eed9e0]
/usr/lib/libgnutls.so.26(gnutls_x509_privkey_generate+0xf3)[0xb7eeebe3]
/home/dkg/src/gnutls/gnutls-2.5.3/src/.libs/certtool[0x804f2b1]
/home/dkg/src/gnutls/gnutls-2.5.3/src/.libs/certtool[0x804f4cc]
/home/dkg/src/gnutls/gnutls-2.5.3/src/.libs/certtool[0x8053a7d]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7ca0455]
/home/dkg/src/gnutls/gnutls-2.5.3/src/.libs/certtool[0x804bc51]
======= Memory map: ========
08048000-0805e000 r-xp 00000000 fd:05 966808 /home/dkg/src/gnutls/gnutls-2.5.3/src/.libs/certtool
0805e000-0805f000 rw-p 00016000 fd:05 966808 /home/dkg/src/gnutls/gnutls-2.5.3/src/.libs/certtool
0805f000-0806f000 rw-p 0805f000 00:00 0
09dde000-09dff000 rw-p 09dde000 00:00 0 [heap]
b7b00000-b7b21000 rw-p b7b00000 00:00 0
b7b21000-b7c00000 ---p b7b21000 00:00 0
b7c2c000-b7c38000 r-xp 00000000 fd:02 49464 /lib/libgcc_s.so.1
b7c38000-b7c39000 rw-p 0000b000 fd:02 49464 /lib/libgcc_s.so.1
b7c39000-b7c3a000 rw-p b7c39000 00:00 0
b7c3a000-b7c3c000 r-xp 00000000 fd:02 49620 /lib/i686/cmov/libdl-2.7.so
b7c3c000-b7c3e000 rw-p 00001000 fd:02 49620 /lib/i686/cmov/libdl-2.7.so
b7c3e000-b7c6d000 r-xp 00000000 fd:02 49450 /lib/libncurses.so.5.6
b7c6d000-b7c70000 rw-p 0002f000 fd:02 49450 /lib/libncurses.so.5.6
b7c70000-b7c73000 r-xp 00000000 fd:03 132711 /usr/lib/libgpg-error.so.0.3.0
b7c73000-b7c74000 rw-p 00002000 fd:03 132711 /usr/lib/libgpg-error.so.0.3.0
b7c74000-b7c75000 rw-p b7c74000 00:00 0
b7c75000-b7c89000 r-xp 00000000 fd:03 133457 /usr/lib/libz.so.1.2.3.3
b7c89000-b7c8a000 rw-p 00013000 fd:03 133457 /usr/lib/libz.so.1.2.3.3
b7c8a000-b7ddf000 r-xp 00000000 fd:02 49617 /lib/i686/cmov/libc-2.7.so
b7ddf000-b7de0000 r--p 00155000 fd:02 49617 /lib/i686/cmov/libc-2.7.so
b7de0000-b7de2000 rw-p 00156000 fd:02 49617 /lib/i686/cmov/libc-2.7.so
b7de2000-b7de5000 rw-p b7de2000 00:00 0
b7de5000-b7e11000 r-xp 00000000 fd:02 49495 /lib/libreadline.so.5.2
b7e11000-b7e15000 rw-p 0002c000 fd:02 49495 /lib/libreadline.so.5.2
b7e15000-b7e16000 rw-p b7e15000 00:00 0
b7e16000-b7e25000 r-xp 00000000 fd:03 133309 /usr/lib/libtasn1.so.3.0.15
b7e25000-b7e26000 rw-p 0000e000 fd:03 133309 /usr/lib/libtasn1.so.3.0.15
b7e26000-b7e8c000 r-xp 00000000 fd:03 132604 /usr/lib/libgcrypt.so.11.4.4
b7e8c000-b7e8e000 rw-p 00066000 fd:03 132604 /usr/lib/libgcrypt.so.11.4.4
b7e8e000-b7f24000 r-xp 00000000 fd:03 131592 /usr/lib/libgnutls.so.26.6.1
b7f24000-b7f2a000 rw-p 00095000 fd:03 131592 /usr/lib/libgnutls.so.26.6.1
b7f2a000-b7f2b000 rw-p b7f2a000 00:00 0
b7f45000-b7f46000 rw-p b7f45000 00:00 0
b7f46000-b7f47000 r-xp b7f46000 00:00 0 [vdso]
b7f47000-b7f61000 r-xp 00000000 fd:02 49441 /lib/ld-2.7.so
b7f61000-b7f63000 rw-p 0001a000 fd:02 49441 /lib/ld-2.7.so
bfa4e000-bfa63000 rw-p bffeb000 00:00 0 [stack]
Program received signal SIGABRT, Aborted.
0xb7f46424 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7f46424 in __kernel_vsyscall ()
#1 0xb7cb5640 in raise () from /lib/i686/cmov/libc.so.6
#2 0xb7cb7018 in abort () from /lib/i686/cmov/libc.so.6
#3 0xb7cf234d in ?? () from /lib/i686/cmov/libc.so.6
#4 0x00000007 in ?? ()
#5 0xbfa61958 in ?? ()
#6 0x00000400 in ?? ()
#7 0xffffffff in ?? ()
#8 0x00000000 in ?? ()
(gdb)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 826 bytes
Desc: not available
URL: </pipermail/attachments/20080822/7247cf60/attachment.pgp>
More information about the Gnutls-devel
mailing list