#90 0.6.2 core dump: glibc error: free() invalid pointer

open
nobody
None
5
2010-06-11
2010-06-11
Jari Aalto
No

Cf. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492950

we had a very similar crash.
one day the crash happened repeatedly with different servers, another
day wput worked normally.

my wild guess: read of uninitialized memory location

Package: wput
Severity: important

-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Trying to upload files died with this error:

*** glibc detected *** wput: free(): invalid pointer: 0x0834580a ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7eca8f5]
/lib/i686/cmov/libc.so.6(cfree+0x90)[0xb7ece360]
wput[0x804d416]
wput[0x804de1c]
wput[0x8054655]
wput[0x8054785]
wput[0x804a008]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7e75450]
wput[0x8049b91]
======= Memory map: ========
08048000-0805b000 r-xp 00000000 03:02 770523 /usr/bin/wput
0805b000-0805c000 rw-p 00013000 03:02 770523 /usr/bin/wput
08330000-0844f000 rw-p 08330000 00:00 0 [heap]
b7a00000-b7a21000 rw-p b7a00000 00:00 0
b7a21000-b7b00000 ---p b7a21000 00:00 0
b7bb7000-b7bc3000 r-xp 00000000 03:02 244830 /lib/libgcc_s.so.1
b7bc3000-b7bc4000 rw-p 0000b000 03:02 244830 /lib/libgcc_s.so.1
b7bd0000-b7bdf000 r-xp 00000000 03:02 245054 /lib/i686/cmov/libresolv-2.7.so
b7bdf000-b7be1000 rw-p 0000f000 03:02 245054 /lib/i686/cmov/libresolv-2.7.so
b7be1000-b7be3000 rw-p b7be1000 00:00 0
b7be3000-b7be7000 r-xp 00000000 03:02 244921 /lib/i686/cmov/libnss_dns-2.7.so
b7be7000-b7be9000 rw-p 00003000 03:02 244921 /lib/i686/cmov/libnss_dns-2.7.so
b7be9000-b7bf2000 r-xp 00000000 03:02 244922 /lib/i686/cmov/libnss_files-2.7.so
b7bf2000-b7bf4000 rw-p 00008000 03:02 244922 /lib/i686/cmov/libnss_files-2.7.so
b7bf4000-b7d2e000 r--p 00000000 03:02 800132 /usr/lib/locale/locale-archive
b7d2e000-b7d30000 rw-p b7d2e000 00:00 0
b7d30000-b7d44000 r-xp 00000000 03:02 772148 /usr/lib/libz.so.1.2.3.3
b7d44000-b7d45000 rw-p 00013000 03:02 772148 /usr/lib/libz.so.1.2.3.3
b7d45000-b7ddc000 r-xp 00000000 03:02 768485 /usr/lib/libgnutls.so.26.4.5
b7ddc000-b7de2000 rw-p 00097000 03:02 768485 /usr/lib/libgnutls.so.26.4.5
b7de2000-b7de5000 r-xp 00000000 03:02 769936 /usr/lib/libgpg-error.so.0.3.0
b7de5000-b7de6000 rw-p 00002000 03:02 769936 /usr/lib/libgpg-error.so.0.3.0
b7de6000-b7e4c000 r-xp 00000000 03:02 779558 /usr/lib/libgcrypt.so.11.4.4
b7e4c000-b7e4e000 rw-p 00066000 03:02 779558 /usr/lib/libgcrypt.so.11.4.4
b7e4e000-b7e5d000 r-xp 00000000 03:02 769924 /usr/lib/libtasn1.so.3.0.15
b7e5d000-b7e5e000 rw-p 0000e000 03:02 769924 /usr/lib/libtasn1.so.3.0.15
b7e5e000-b7e5f000 rw-p b7e5e000 00:00 0
b7e5f000-b7fa7000 r-xp 00000000 03:02 244864 /lib/i686/cmov/libc-2.7.so
b7fa7000-b7fa8000 r--p 00148000 03:02 244864 /lib/i686/cmov/libc-2.7.so
b7fa8000-b7faa000 rw-p 00149000 03:02 244864 /lib/i686/cmov/libc-2.7.so
b7faa000-b7fad000 rw-p b7faa000 00:00 0
b7fb8000-b7fb9000 rw-p b7fb8000 00:00 0
b7fb9000-b7fc4000 r-xp 00000000 03:02 3002893 /usr/lib/libgnutls-openssl.so.26.4.5
b7fc4000-b7fc5000 rw-p 0000a000 03:02 3002893 /usr/lib/libgnutls-openssl.so.26.4.5
b7fc5000-b7fc7000 rw-p b7fc5000 00:00 0
b7fc7000-b7fc8000 r-xp b7fc7000 00:00 0 [vdso]
b7fc8000-b7fe2000 r-xp 00000000 03:02 244802 /lib/ld-2.7.so
b7fe2000-b7fe4000 rw-p 00019000 03:02 244802 /lib/ld-2.7.so
bfece000-bfee3000 rw-p bffeb000 00:00 0 [stack]
Aborted

Discussion


Log in to post a comment.