less: double free or corruption (fasttop)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
New
|
Undecided
|
Unassigned |
Bug Description
When I watch a certain string in less
# less <<<'- xxxxxxxxx 0 2015-10-03 12:50 13:45 xxxxx xxxxxxxxxxxxx+'
and then type '/' and enter the search string
^[+-] ......... . 2015-(09-
I get
*** Error in `less': double free or corruption (fasttop): 0x56af6c58 ***
Aborted
-- System Information:
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie
Architecture: armv7l
Kernel: Linux 4.1.7-v7+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/
Versions of packages less depends on:
ii debianutils 4.4
ii libc6 2.19-18+deb8u1
ii libtinfo5 5.9+20140913-1
less recommends no packages.
less suggests no packages.
-- no debconf information
Hi
I usually build less myself from the debian stable sources. That always works. I do this by running "apt-get source less" on a PC running debian stable, copying the downloaded files to my raspbian machines and running "dpkg-buildpackage" in the extracted source directory.
The latest version I did this with was version 481-2.1 from Debian stable, which included these files:
'http:// ftp.no. debian. org/debian/ pool/main/ l/less/ less_481- 2.1.dsc' less_481-2.1.dsc 1763 SHA256: 3e06ad6e17627f4 996bf301112fd2b fb332ab915acfaa 7f41b7917a0460c f358 ftp.no. debian. org/debian/ pool/main/ l/less/ less_481. orig.tar. gz' less_481. orig.tar. gz 316622 SHA256: 3fa38f2cf5e9e04 0bb44fffaa6c76a 84506e379e47f5a 04686ab78102090 dda5 ftp.no. debian. org/debian/ pool/main/ l/less/ less_481- 2.1.debian. tar.xz' less_481- 2.1.debian. tar.xz 19192 SHA256: 4cbaafa1c6d59eb 7c2e6a5adef1334 03a80e57b892198 462a6a304deb4b4 7bd8
'http://
'http://
The raspbian version of less have not worked properly for me for years. It dies from the double free problem for all but the most trivial regex searches. The latest Raspbian package to date that exhibits this problem is less version 458-3.
Could not this problem be fixed by simply using the same version of less that Debian stable is currently using?
Regards
Rune