package less
tags 707824 moreinfo
stop

On Sat, May 11, 2013 at 07:24:39AM -0700, Mike Castle wrote:
> Dear Maintainer,
> 
> env -i TERM=$TERM less /usr/share/dict/words
> 
> Then do this search:
> (a|b)(c|d)
> 
> less crashes:
> *** glibc detected *** less: double free or corruption (fasttop): 0x0887edc8 
> ***
> ======= Backtrace: =========
> /lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x70f01)[0xb7626f01]
> /lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x72768)[0xb7628768]
> /lib/i386-linux-gnu/i686/cmov/libc.so.6(cfree+0x6d)[0xb762b81d]
> less[0x805a701]
> ======= Memory map: ========
> 08048000-08069000 r-xp 00000000 08:31 1044485    /bin/less
> 08069000-0806a000 r--p 00020000 08:31 1044485    /bin/less
> 0806a000-0806d000 rw-p 00021000 08:31 1044485    /bin/less
> 0806d000-08071000 rw-p 00000000 00:00 0 
> 08879000-0889a000 rw-p 00000000 00:00 0          [heap]
> b7400000-b7421000 rw-p 00000000 00:00 0 
> b7421000-b7500000 ---p 00000000 00:00 0 
> b7598000-b75b4000 r-xp 00000000 08:31 1085361    
> /lib/i386-linux-gnu/libgcc_s.so.1
> b75b4000-b75b5000 rw-p 0001b000 08:31 1085361    
> /lib/i386-linux-gnu/libgcc_s.so.1
> b75b5000-b75b6000 rw-p 00000000 00:00 0 
> b75b6000-b7712000 r-xp 00000000 08:31 1085420    
> /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
> b7712000-b7713000 ---p 0015c000 08:31 1085420    
> /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
> b7713000-b7715000 r--p 0015c000 08:31 1085420    
> /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
> b7715000-b7716000 rw-p 0015e000 08:31 1085420    
> /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
> b7716000-b7719000 rw-p 00000000 00:00 0 
> b7719000-b7736000 r-xp 00000000 08:31 1085458    
> /lib/i386-linux-gnu/libtinfo.so.5.9
> b7736000-b7738000 r--p 0001c000 08:31 1085458    
> /lib/i386-linux-gnu/libtinfo.so.5.9
> b7738000-b7739000 rw-p 0001e000 08:31 1085458    
> /lib/i386-linux-gnu/libtinfo.so.5.9
> b7739000-b773a000 rw-p 00000000 00:00 0 
> b774f000-b7750000 rw-p 00000000 00:00 0 
> b7750000-b7751000 r-xp 00000000 00:00 0          [vdso]
> b7751000-b776d000 r-xp 00000000 08:31 1085704    
> /lib/i386-linux-gnu/ld-2.13.so
> b776d000-b776e000 r--p 0001b000 08:31 1085704    
> /lib/i386-linux-gnu/ld-2.13.so
> b776e000-b776f000 rw-p 0001c000 08:31 1085704    
> /lib/i386-linux-gnu/ld-2.13.so
> bff2b000-bff4c000 rw-p 00000000 00:00 0          [stack]
> Aborted
> 
> If I download and extract 444-4 and run it (using the same installed 
> libraries from testing), it succeeds.
> 
> Trying with 458-1 also has the same problem.
> 
> 
> 
> -- System Information:
> Debian Release: 7.0
>   APT prefers testing
>   APT policy: (500, 'testing'), (500, 'stable')
> Architecture: i386 (i686)
> 
> Kernel: Linux 3.2.0-4-686-pae (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/dash
> 
> Versions of packages less depends on:
> ii  debianutils  4.3.4
> ii  libc6        2.13-38
> ii  libtinfo5    5.9-10

Hello Mike,

I run `env -i TERM=$TERM less /usr/share/dict/words` and searched
(a|b)(c|d) and less didn't crash on my system.

I have the same versions of libc6 and libtinfo5 but on amd64.

dpkg -S libgcc_s.so.1 libc-2.13.so libtinfo.so.5.9 ld-2.13.so
lib32gcc1: /usr/lib32/libgcc_s.so.1
libgcc1:amd64: /lib/x86_64-linux-gnu/libgcc_s.so.1
libc6-i386: /lib32/libc-2.13.so
libc6:amd64: /lib/x86_64-linux-gnu/libc-2.13.so
lib32tinfo5: /lib32/libtinfo.so.5.9
libtinfo5:amd64: /lib/x86_64-linux-gnu/libtinfo.so.5.9
libc6:amd64: /lib/x86_64-linux-gnu/ld-2.13.so
libc6-i386: /lib32/ld-2.13.so

dpkg -l less libgcc1 libc6 libtinfo
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name            Version   Architecture Description
+++-================-=========-============-======================================================
ii  less            458-1     amd64        pager program similar to more
ii  libc6:amd64     2.13-38   amd64        Embedded GNU C Library: Shared 
libraries
ii  libgcc1:amd64   1:4.7.2-5 amd64        GCC support library
ii  libtinfo5:amd64 5.9-10    amd64        shared low-level terminfo library 
for terminal handling

Aníbal


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to