[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#358359: marked as done (libreadline5: memory problem with readline, valgrind, and libc)



Your message dated Mon, 01 Feb 2021 22:18:23 +0000
with message-id <E1l6hWZ-000Bru-4d@fasolo.debian.org>
and subject line Bug#980504: Removed package(s) from unstable
has caused the Debian Bug report #358359,
regarding libreadline5: memory problem with readline, valgrind, and libc
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
358359: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358359
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libreadline5
Version: 5.0-10
Severity: normal


Hi,

while I was trying to debug a memory leak using valgrind, I encountered a strange behaviour concerning readline, valgrind,
and libc.

Consider the attached C program. It reads in lines using readline and add those lines to the history until "exit" is
entered. I think its correct.

When I start "valgrind rl_test" and just enter lines without using the history, then everything is fine. The same is true,
if I repeat the following: press cursor up, cursor down and enter a line. In this case only the last item of the history is
accessed.

However, if I access the history item before the last one, valgrind produces error messages at the end. To be more precise,
If I start "valgrind rl_test" and type "1[enter]", "2[enter]", and
"[cursor_up][cursor_up][cursor_down][cursor_down]exit[enter]", valgrind preduces 10 error messages, see the attached files
valgrind.log and valgrind-verbose.log (from "valgrind -v rl_test").

If more history is used, it is worse...

I am not sure, whether this is a bug or not. And if it is, whether it belongs to readline.

I am using Debian GNU/Linux (stable, 3.1r1) on a x86 platforms:
ii  libc6                    2.3.2.ds1-22
ii  gcc                      3.3.5-3
ii  libreadline5             5.0-10
ii  libreadline5-dev         5.0-10
ii  libncurses5              5.4-4
ii  valgrind                 2.4.0-2

In addition, I have compiled and installed readline 5.1, gcc 4.1, and valgrind 3.1.0. All this yields more or less the same
output.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15) (ignored: LC_ALL set to de_DE@euro)

Versions of packages libreadline5 depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libncurses5                 5.4-4        Shared libraries for terminal hand

-- no debconf information
==6910== Memcheck, a memory error detector for x86-linux.
==6910== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==6910== Using valgrind-2.4.0, a program supervision framework for x86-linux.
==6910== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==6910== For more details, rerun with: -v
==6910== 
==6910== Invalid read of size 4
==6910==    at 0x1B95F16C: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B9DAFF6: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910==  Address 0x1BAFA770 is 8 bytes inside a block of size 60 free'd
==6910==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6910==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA1E902: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA1E7A6: tdestroy (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910== 
==6910== Invalid write of size 4
==6910==    at 0x1B95F17F: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B9DAFF6: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910==  Address 0x1BAFA770 is 8 bytes inside a block of size 60 free'd
==6910==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6910==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA1E902: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA1E7A6: tdestroy (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910== 
==6910== Invalid read of size 4
==6910==    at 0x1B95F184: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B9DAFF6: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910==  Address 0x1BAFA788 is 32 bytes inside a block of size 60 free'd
==6910==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6910==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA1E902: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA1E7A6: tdestroy (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910== 
==6910== Invalid read of size 4
==6910==    at 0x1B95F18B: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B9DAFF6: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910==  Address 0x1BAFA768 is 0 bytes inside a block of size 60 free'd
==6910==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6910==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA1E902: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA1E7A6: tdestroy (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910== 
==6910== Invalid write of size 4
==6910==    at 0x1B95F1A5: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B9DAFF6: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910==  Address 0x1BAFA768 is 0 bytes inside a block of size 60 free'd
==6910==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6910==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA1E902: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA1E7A6: tdestroy (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910== 
==6910== Invalid read of size 4
==6910==    at 0x1B95F16C: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B9DB000: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910==  Address 0x1BAFA0D8 is 8 bytes inside a block of size 60 free'd
==6910==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6910==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA1E778: tdestroy (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910== 
==6910== Invalid write of size 4
==6910==    at 0x1B95F17F: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B9DB000: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910==  Address 0x1BAFA0D8 is 8 bytes inside a block of size 60 free'd
==6910==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6910==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA1E778: tdestroy (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910== 
==6910== Invalid read of size 4
==6910==    at 0x1B95F184: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B9DB000: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910==  Address 0x1BAFA0F0 is 32 bytes inside a block of size 60 free'd
==6910==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6910==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA1E778: tdestroy (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910== 
==6910== Invalid read of size 4
==6910==    at 0x1B95F18B: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B9DB000: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910==  Address 0x1BAFA0D0 is 0 bytes inside a block of size 60 free'd
==6910==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6910==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA1E778: tdestroy (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910== 
==6910== Invalid write of size 4
==6910==    at 0x1B95F1A5: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B9DB000: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910==  Address 0x1BAFA0D0 is 0 bytes inside a block of size 60 free'd
==6910==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6910==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA1E778: tdestroy (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6910==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6910==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6910==    by 0x8048590: ??? (start.S:102)
==6910== 
==6910== ERROR SUMMARY: 10 errors from 10 contexts (suppressed: 19 from 1)
==6910== malloc/free: in use at exit: 39094 bytes in 157 blocks.
==6910== malloc/free: 2185 allocs, 2028 frees, 113931 bytes allocated.
==6910== For counts of detected errors, rerun with: -v
==6910== searching for pointers to 157 not-freed blocks.
==6910== checked 178340 bytes.
==6910== 
==6910== LEAK SUMMARY:
==6910==    definitely lost: 0 bytes in 0 blocks.
==6910==      possibly lost: 0 bytes in 0 blocks.
==6910==    still reachable: 39094 bytes in 157 blocks.
==6910==         suppressed: 0 bytes in 0 blocks.
==6910== Reachable blocks (those to which a pointer was found) are not shown.
==6910== To see them, rerun with: --show-reachable=yes
==6914== Memcheck, a memory error detector for x86-linux.
==6914== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==6914== Using valgrind-2.4.0, a program supervision framework for x86-linux.
==6914== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==6914== Valgrind library directory: /usr/lib/valgrind
==6914== Command line
==6914==    rl_test
==6914== Startup, with flags:
==6914==    -v
==6914== Contents of /proc/version:
==6914==   Linux version 2.6.8-2-686-smp (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1 SMP Tue Aug 16 12:08:30 UTC 2005
==6914== Reading syms from /home/teufl/src/rl_test (0x8048000)
==6914== Reading syms from /lib/ld-2.3.2.so (0x1B8E4000)
==6914==    object doesn't have a symbol table
==6914== Reading debug info from /lib/ld-2.3.2.so...
==6914== ... CRC mismatch (computed E7117123 wanted 4ECF6D33)
==6914==    object doesn't have any debug info
==6914== Reading syms from /usr/lib/valgrind/stage2 (0xB0000000)
==6914== Reading syms from /lib/ld-2.3.2.so (0xB1000000)
==6914==    object doesn't have a symbol table
==6914== Reading debug info from /lib/ld-2.3.2.so...
==6914== ... CRC mismatch (computed E7117123 wanted 4ECF6D33)
==6914==    object doesn't have any debug info
==6914== Reading syms from /lib/tls/libdl-2.3.2.so (0xB1026000)
==6914==    object doesn't have a symbol table
==6914== Reading debug info from /lib/tls/libdl-2.3.2.so...
==6914== ... CRC mismatch (computed 71527790 wanted 2DA21AD9)
==6914==    object doesn't have any debug info
==6914== Reading syms from /lib/tls/libc-2.3.2.so (0xB1029000)
==6914==    object doesn't have a symbol table
==6914== Reading debug info from /lib/tls/libc-2.3.2.so...
==6914== ... CRC mismatch (computed 9FEA8425 wanted 656F7E39)
==6914==    object doesn't have any debug info
==6914== Reading syms from /usr/lib/valgrind/vgskin_memcheck.so (0xB125F000)
==6914== Reading suppressions file: /usr/lib/valgrind/default.supp
==6914== 
==6914== Reading syms from /usr/lib/valgrind/vg_inject.so (0x1B8FE000)
==6914== Reading syms from /usr/lib/valgrind/vgpreload_memcheck.so (0x1B901000)
==6914== Reading syms from /lib/libreadline.so.5.0 (0x1B91A000)
==6914==    object doesn't have a symbol table
==6914==    object doesn't have any debug info
==6914== Reading syms from /lib/tls/libc-2.3.2.so (0x1B948000)
==6914==    object doesn't have a symbol table
==6914== Reading debug info from /lib/tls/libc-2.3.2.so...
==6914== ... CRC mismatch (computed 9FEA8425 wanted 656F7E39)
==6914==    object doesn't have any debug info
==6914== Reading syms from /lib/tls/libdl-2.3.2.so (0x1BA7E000)
==6914==    object doesn't have a symbol table
==6914== Reading debug info from /lib/tls/libdl-2.3.2.so...
==6914== ... CRC mismatch (computed 71527790 wanted 2DA21AD9)
==6914==    object doesn't have any debug info
==6914== Reading syms from /lib/libncurses.so.5.4 (0x1BA82000)
==6914==    object doesn't have a symbol table
==6914==    object doesn't have any debug info
==6914== TRANSLATE: 0x1B9B9D40 redirected to 0x1B904A82
==6914== TRANSLATE: 0x1B9B9BB0 redirected to 0x1B904510
==6914== TRANSLATE: 0x1B9BA2C0 redirected to 0x1B904EE2
==6914== TRANSLATE: 0x1B9C03E0 redirected to 0x1B9057B0
==6914== TRANSLATE: 0x1B9B9E00 redirected to 0x1B904FA1
==6914== TRANSLATE: 0x1B9C1CD0 redirected to 0x1B905C80
==6914== Reading syms from /usr/lib/gconv/ISO8859-15.so (0x1B90B000)
==6914==    object doesn't have a symbol table
==6914== Reading debug info from /usr/lib/gconv/ISO8859-15.so...
==6914== ... CRC mismatch (computed 701CF5BD wanted 59DB488D)
==6914==    object doesn't have any debug info
==6914== discard syms at 0x1B90B000-0x1B90E000 in /usr/lib/gconv/ISO8859-15.so due to munmap()
==6914== Invalid read of size 4
==6914==    at 0x1B95F16C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DAFF6: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA770 is 8 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E902: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E7A6: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914== 
==6914== Invalid write of size 4
==6914==    at 0x1B95F17F: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DAFF6: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA770 is 8 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E902: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E7A6: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914== 
==6914== Invalid read of size 4
==6914==    at 0x1B95F184: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DAFF6: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA788 is 32 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E902: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E7A6: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914== 
==6914== Invalid read of size 4
==6914==    at 0x1B95F18B: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DAFF6: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA768 is 0 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E902: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E7A6: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914== 
==6914== Invalid write of size 4
==6914==    at 0x1B95F1A5: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DAFF6: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA768 is 0 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E902: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E7A6: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914== 
==6914== Invalid read of size 4
==6914==    at 0x1B95F16C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DB000: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA0D8 is 8 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E778: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914== 
==6914== Invalid write of size 4
==6914==    at 0x1B95F17F: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DB000: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA0D8 is 8 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E778: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914== 
==6914== Invalid read of size 4
==6914==    at 0x1B95F184: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DB000: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA0F0 is 32 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E778: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914== 
==6914== Invalid read of size 4
==6914==    at 0x1B95F18B: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DB000: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA0D0 is 0 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E778: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914== 
==6914== Invalid write of size 4
==6914==    at 0x1B95F1A5: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DB000: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA0D0 is 0 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E778: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914== 
==6914== ERROR SUMMARY: 10 errors from 10 contexts (suppressed: 19 from 1)
==6914== 
==6914== 1 errors in context 1 of 10:
==6914== Invalid write of size 4
==6914==    at 0x1B95F1A5: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DB000: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA0D0 is 0 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E778: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914== 
==6914== 1 errors in context 2 of 10:
==6914== Invalid read of size 4
==6914==    at 0x1B95F18B: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DB000: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA0D0 is 0 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E778: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914== 
==6914== 1 errors in context 3 of 10:
==6914== Invalid read of size 4
==6914==    at 0x1B95F184: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DB000: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA0F0 is 32 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E778: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914== 
==6914== 1 errors in context 4 of 10:
==6914== Invalid write of size 4
==6914==    at 0x1B95F17F: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DB000: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA0D8 is 8 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E778: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914== 
==6914== 1 errors in context 5 of 10:
==6914== Invalid read of size 4
==6914==    at 0x1B95F16C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DB000: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA0D8 is 8 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E778: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914== 
==6914== 1 errors in context 6 of 10:
==6914== Invalid write of size 4
==6914==    at 0x1B95F1A5: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DAFF6: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA768 is 0 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E902: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E7A6: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914== 
==6914== 1 errors in context 7 of 10:
==6914== Invalid read of size 4
==6914==    at 0x1B95F18B: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DAFF6: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA768 is 0 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E902: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E7A6: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914== 
==6914== 1 errors in context 8 of 10:
==6914== Invalid read of size 4
==6914==    at 0x1B95F184: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DAFF6: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA788 is 32 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E902: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E7A6: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914== 
==6914== 1 errors in context 9 of 10:
==6914== Invalid write of size 4
==6914==    at 0x1B95F17F: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DAFF6: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA770 is 8 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E902: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E7A6: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914== 
==6914== 1 errors in context 10 of 10:
==6914== Invalid read of size 4
==6914==    at 0x1B95F16C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95F58C: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B9DAFF6: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55422: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA55337: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
==6914==  Address 0x1BAFA770 is 8 bytes inside a block of size 60 free'd
==6914==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==6914==    by 0x1B95FD37: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E902: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA1E7A6: tdestroy (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA551C1: (within /lib/tls/libc-2.3.2.so)
==6914==    by 0x1BA556C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B8FEA08: _vgw(float, long double,...)(...)(long double,...)(short) (vg_intercept.c:55)
==6914==    by 0x1B9731C5: exit (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x1B95D97D: __libc_start_main (in /lib/tls/libc-2.3.2.so)
==6914==    by 0x8048590: ??? (start.S:102)
--6914-- 
--6914-- supp:   19 Ugly strchr error in /lib/ld-2.3.2.so
==6914== 
==6914== IN SUMMARY: 10 errors from 10 contexts (suppressed: 19 from 1)
==6914== 
==6914== malloc/free: in use at exit: 39094 bytes in 157 blocks.
==6914== malloc/free: 2185 allocs, 2028 frees, 113931 bytes allocated.
==6914== 
==6914== searching for pointers to 157 not-freed blocks.
==6914== checked 178340 bytes.
==6914== 
==6914== LEAK SUMMARY:
==6914==    definitely lost: 0 bytes in 0 blocks.
==6914==      possibly lost: 0 bytes in 0 blocks.
==6914==    still reachable: 39094 bytes in 157 blocks.
==6914==         suppressed: 0 bytes in 0 blocks.
==6914== Reachable blocks (those to which a pointer was found) are not shown.
==6914== To see them, rerun with: --show-reachable=yes
--6914--     TT/TC: 0 tc sectors discarded.
--6914--            6142 tt_fast misses.
--6914-- translate: new     5930 (91971 -> 1268451; ratio 137:10)
--6914--            discard 52 (829 -> 12944; ratio 156:10).
--6914-- chainings: 4103 chainings, 0 unchainings.
--6914--  dispatch: 2092754 jumps (bb entries); of them 250156 (11%) unchained.
--6914--            42/10724 major/minor sched events.
--6914-- reg-alloc: 1052 t-req-spill, 226547+7226 orig+spill uis,
--6914--            30684 total-reg-rank
--6914--    sanity: 43 cheap, 2 expensive checks.
--6914--    ccalls: 21488 C calls, 56% saves+restores avoided (71440 bytes)
--6914--            28979 args, avg 0.87 setup instrs each (7078 bytes)
--6914--            0% clear the stack (64236 bytes)
--6914--            8973 retvals, 32% of reg-reg movs avoided (5584 bytes)
#include <stdlib.h>
#include <stdio.h>

#include <readline/history.h>
#include <readline/readline.h>

char* buf=NULL;

int main()
{
	printf("Readline version(included): %d.%d\n",RL_VERSION_MAJOR,RL_VERSION_MINOR);
	printf("Readline version(linked): %s\n",rl_library_version);
	using_history();
	do
	{
		free(buf);
		buf=readline(">");
		printf("buf=%d\n",(int)buf);
		add_history(buf);
	}
	while(strcmp(buf,"exit")!=0);
	free(buf);
	clear_history();
	return 0;
}

--- End Message ---
--- Begin Message ---
Version: 5.2+dfsg-3+rm

Dear submitter,

as the package readline5 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/980504

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Joerg Jaspert (the ftpmaster behind the curtain)

--- End Message ---

Reply to: