*** buffer overflow detected ***: tree terminated

Bug #1516441 reported by bananenkasper
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tree (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7338f)[0x7f982e8f838f]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7f982e98fc9c]
/lib/x86_64-linux-gnu/libc.so.6(+0x109b60)[0x7f982e98eb60]
/lib/x86_64-linux-gnu/libc.so.6(+0x109069)[0x7f982e98e069]
/lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0xbc)[0x7f982e90070c]
/lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0xaef)[0x7f982e8cf7df]
/lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x84)[0x7f982e98e0f4]
/lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7d)[0x7f982e98e04d]
tree[0x408154]
tree[0x4045da]
tree[0x404936]
tree[0x404cc6]
tree[0x404cc6]
tree[0x404cc6]
tree[0x404cc6]
tree[0x404cc6]
tree[0x402522]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f982e8a6ec5]
tree[0x4029bd]
======= Memory map: ========
00400000-0040d000 r-xp 00000000 b6:4cf31 529312 /usr/bin/tree
0060c000-0060d000 r--p 0000c000 b6:4cf31 529312 /usr/bin/tree
0060d000-0060e000 rw-p 0000d000 b6:4cf31 529312 /usr/bin/tree
0060e000-00610000 rw-p 00000000 00:00 0
01acd000-01af2000 rw-p 00000000 00:00 0 [heap]
7f982d974000-7f982d98a000 r-xp 00000000 b6:4cf31 15 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f982d98a000-7f982db89000 ---p 00016000 b6:4cf31 15 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f982db89000-7f982db8a000 rw-p 00015000 b6:4cf31 15 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f982db8a000-7f982db95000 r-xp 00000000 b6:4cf31 259 /lib/x86_64-linux-gnu/libnss_files-2.19.so
7f982db95000-7f982dd94000 ---p 0000b000 b6:4cf31 259 /lib/x86_64-linux-gnu/libnss_files-2.19.so
7f982dd94000-7f982dd95000 r--p 0000a000 b6:4cf31 259 /lib/x86_64-linux-gnu/libnss_files-2.19.so
7f982dd95000-7f982dd96000 rw-p 0000b000 b6:4cf31 259 /lib/x86_64-linux-gnu/libnss_files-2.19.so
7f982dd96000-7f982dda1000 r-xp 00000000 b6:4cf31 279 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
7f982dda1000-7f982dfa0000 ---p 0000b000 b6:4cf31 279 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
7f982dfa0000-7f982dfa1000 r--p 0000a000 b6:4cf31 279 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
7f982dfa1000-7f982dfa2000 rw-p 0000b000 b6:4cf31 279 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
7f982dfa2000-7f982dfb9000 r-xp 00000000 b6:4cf31 268 /lib/x86_64-linux-gnu/libnsl-2.19.so
7f982dfb9000-7f982e1b8000 ---p 00017000 b6:4cf31 268 /lib/x86_64-linux-gnu/libnsl-2.19.so
7f982e1b8000-7f982e1b9000 r--p 00016000 b6:4cf31 268 /lib/x86_64-linux-gnu/libnsl-2.19.so
7f982e1b9000-7f982e1ba000 rw-p 00017000 b6:4cf31 268 /lib/x86_64-linux-gnu/libnsl-2.19.so
7f982e1ba000-7f982e1bc000 rw-p 00000000 00:00 0
7f982e1bc000-7f982e1c5000 r-xp 00000000 b6:4cf31 267 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
7f982e1c5000-7f982e3c4000 ---p 00009000 b6:4cf31 267 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
7f982e3c4000-7f982e3c5000 r--p 00008000 b6:4cf31 267 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
7f982e3c5000-7f982e3c6000 rw-p 00009000 b6:4cf31 267 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
7f982e3cf000-7f982e3d0000 rw-p 00000000 00:00 0
7f982e3d0000-7f982e885000 r--p 00000000 b6:4cf31 536768 /usr/lib/locale/locale-archive
7f982e885000-7f982ea40000 r-xp 00000000 b6:4cf31 273 /lib/x86_64-linux-gnu/libc-2.19.so
7f982ea40000-7f982ec3f000 ---p 001bb000 b6:4cf31 273 /lib/x86_64-linux-gnu/libc-2.19.so
7f982ec3f000-7f982ec43000 r--p 001ba000 b6:4cf31 273 /lib/x86_64-linux-gnu/libc-2.19.so
7f982ec43000-7f982ec45000 rw-p 001be000 b6:4cf31 273 /lib/x86_64-linux-gnu/libc-2.19.so
7f982ec45000-7f982ec4a000 rw-p 00000000 00:00 0
7f982ec4a000-7f982ec6d000 r-xp 00000000 b6:4cf31 270 /lib/x86_64-linux-gnu/ld-2.19.so
7f982ee5e000-7f982ee61000 rw-p 00000000 00:00 0
7f982ee62000-7f982ee63000 rw-p 00000000 00:00 0
7f982ee63000-7f982ee6a000 r--s 00000000 b6:4cf31 524556 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7f982ee6a000-7f982ee6c000 rw-p 00000000 00:00 0
7f982ee6c000-7f982ee6d000 r--p 00022000 b6:4cf31 270 /lib/x86_64-linux-gnu/ld-2.19.so
7f982ee6d000-7f982ee6e000 rw-p 00023000 b6:4cf31 270 /lib/x86_64-linux-gnu/ld-2.19.so
7f982ee6e000-7f982ee6f000 rw-p 00000000 00:00 0
7ffe74168000-7ffe7417d000 rw-p 00000000 00:00 0 [stack]
7ffe741d0000-7ffe741d2000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: tree 1.6.0-1
Uname: Linux 3.13.0-042stab108.7 x86_64
ApportVersion: 2.14.1-0ubuntu3.18
Architecture: amd64
Date: Sun Nov 15 21:52:00 2015
Dependencies:
 gcc-4.9-base 4.9.1-0ubuntu1
 libc6 2.19-0ubuntu6.6
 libgcc1 1:4.9.1-0ubuntu1
 multiarch-support 2.19-0ubuntu6.6
SourcePackage: tree
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
bananenkasper (bananenkasper) wrote :
Revision history for this message
bananenkasper (bananenkasper) wrote :

Command was
tree -pfui -L 6

Revision history for this message
bananenkasper (bananenkasper) wrote :

Problem is reproducible:

* sudo wget -P /var/data/bi/reference/prebuild ftp://igenome:<email address hidden>/Drosophila_melanogaster/UCSC/dm3/Drosophila_melanogaster_UCSC_dm3.tar.gz

*/var/data/bi/reference/prebuild$ sudo tar -vxzf Drosophila_melanogaster_UCSC_dm3.tar.gz

*/var/data/bi/reference/prebuild$ tree -pfui -L 6

Revision history for this message
Alexandre Esse (ahresse) wrote (last edit ):

Hello bananenkasper,

There was some updates of tree since you reported this issue. Moreover, some fix were about buffer overflow (specifically in v1.7.0 and v2.1.1). Nowadays 2.1.1 is on noble so please, try to reproduce you issue with an up to date version.

I couldn't reproduce you issue on my side. Can you please provide an updated link to the material suitable to reproduce this bug? (I wasn't able to download your file).

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

The said file can now be downloaded from https://s3.amazonaws.com/igenomes.illumina.com/Drosophila_melanogaster/UCSC/dm3/Drosophila_melanogaster_UCSC_dm3.tar.gz

I have tested on both Focal and Jammy with the file and the issue is not reproducible.

I am marking this bug as Incomplete, please change the status if you can still reproduce the issue on latest Ubuntu release or LTS.

Changed in tree (Ubuntu):
status: New → Incomplete
Revision history for this message
Alexandre Esse (ahresse) wrote :

Thank you Sudip.

I cannot reproduce on tree package version 2.1.1-2 under Noble.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tree (Ubuntu) because there has been no activity for 60 days.]

Changed in tree (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.