Package: less Version: 551-2 Severity: normal Hi,
I started less with piped input `cat file |less` and hit `s` to save the data. Unfortunately, I've selected a directory like `/tmp` and hit `D` to “Don't save.” Then I hit `s` again and selected the directory again and less crashed. I have the environment variables `LESS=-ij3MqRSWz-2` and `LESSOPEN=|lesspipe %s` set. This is the backtrace: ``` PID: 2996284 (less) UID: 1000 (joerg) GID: 1000 (joerg) Signal: 6 (ABRT) Timestamp: Fri 2021-06-18 15:39:58 CEST (26s ago) Command Line: less Executable: /usr/bin/less Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/awesome.service Unit: user@1000.service User Unit: awesome.service Slice: user-1000.slice Owner UID: 1000 (joerg) Boot ID: f1e1e7fe6b0449b6ba3a21c1312f8ce2 Machine ID: 523cb54753234ed08c13ec497d0d3b64 Hostname: zenbook Storage: /var/lib/systemd/coredump/core.less.1000.f1e1e7fe6b0449b6ba3a21c1312f8ce2.2996284.1624023598000000.zst (present) Disk Size: 49.2K Message: Process 2996284 (less) of user 1000 dumped core. Stack trace of thread 2996284: #0 0x00007fdcd5bd5ce1 __GI_raise (libc.so.6 + 0x3bce1) #1 0x00007fdcd5bbf537 __GI_abort (libc.so.6 + 0x25537) #2 0x00007fdcd5c18768 __libc_message (libc.so.6 + 0x7e768) #3 0x00007fdcd5c1fa5a malloc_printerr (libc.so.6 + 0x85a5a) #4 0x00007fdcd5c20d55 _int_free (libc.so.6 + 0x86d55) #5 0x000055e57aefd3ab n/a (less + 0x143ab) #6 0x000055e57aefebda n/a (less + 0x15bda) #7 0x000055e57aef397b n/a (less + 0xa97b) #8 0x000055e57aef4f9f n/a (less + 0xbf9f) #9 0x000055e57aeed7fe n/a (less + 0x47fe) #10 0x00007fdcd5bc0d0a __libc_start_main (libc.so.6 + 0x26d0a) #11 0x000055e57aeed88a n/a (less + 0x488a) Downloading separate debug info for /usr/bin/less... [New LWP 2996284] Downloading separate debug info for /lib/x86_64-linux-gnu/libtinfo.so.6... Downloading separate debug info for /home/joerg/.cache/debuginfod_client/d6920dbdd057f44edaf4c1fbce191b5854dfd9e6/debuginfo... Downloading separate debug info for /home/joerg/system-supplied DSO at 0x7ffe533f2000... Core was generated by `less'. Program terminated with signal SIGABRT, Aborted. #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 Download failed: Das Argument ist ungültig. Continuing without source file ./signal/../sysdeps/unix/sysv/linux/raise.c. 50 ../sysdeps/unix/sysv/linux/raise.c: Unpassender IOCTL (I/O-Control) für das Gerät. #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 set = {__val = {0 <repeats 16 times>}} pid = <optimized out> tid = <optimized out> ret = <optimized out> #1 0x00007fdcd5bbf537 in __GI_abort () at abort.c:79 save_stage = 1 act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 <repeats 16 times>}}, sa_flags = 0, sa_restorer = 0x0} sigs = {__val = {32, 0 <repeats 15 times>}} #2 0x00007fdcd5c18768 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7fdcd5d26e2d "%s\n") at ../sysdeps/posix/libc_fatal.c:155 ap = {{gp_offset = 24, fp_offset = 0, overflow_arg_area = 0x7ffe533c5700, reg_save_area = 0x7ffe533c5690}} fd = <optimized out> list = <optimized out> nlist = <optimized out> cp = <optimized out> #3 0x00007fdcd5c1fa5a in malloc_printerr (str=str@entry=0x7fdcd5d291c8 "double free or corruption (fasttop)") at malloc.c:5347 No locals. #4 0x00007fdcd5c20d55 in _int_free (av=0x7fdcd5d58b80 <main_arena>, p=0x55e57c25a9e0, have_lock=0) at malloc.c:4266 idx = 0 old = <optimized out> old2 = <optimized out> size = <optimized out> fb = 0x7fdcd5d58b90 <main_arena+16> nextchunk = <optimized out> nextsize = <optimized out> nextinuse = <optimized out> prevsize = <optimized out> bck = <optimized out> fwd = <optimized out> __PRETTY_FUNCTION__ = "_int_free" #5 0x000055e57aefd3ab in opt_o (type=<optimized out>, s=0x55e57af14ee0 <cmdbuf> "/tmp/iii") at optfunc.c:118 parg = {p_string = 0x0, p_int = 0, p_linenum = 0} filename = <optimized out> #6 0x000055e57aefebda in toggle_option (o=0x55e57af13b80 <option+1152>, lower=<optimized out>, s=<optimized out>, s@entry=0x55e57af14ee0 <cmdbuf> "/tmp/iii", how_toggle=<optimized out>) at option.c:446 num = <optimized out> no_prompt = 0 err = 0 parg = {p_string = 0x0, p_int = 0, p_linenum = 0} #7 0x000055e57aef397b in exec_mca () at command.c:262 cbuf = 0x55e57af14ee0 <cmdbuf> "/tmp/iii" #8 0x000055e57aef4f9f in mca_char (c=10) at command.c:635 ret = <optimized out> ret = <optimized out> #9 commands () at command.c:1180 c = <optimized out> action = <optimized out> cbuf = <optimized out> newaction = 101 save_search_type = <optimized out> extra = 0x55e57af135dd <cmdtable+445> "o" tbuf = "s" parg = {p_string = 0x0, p_int = 0, p_linenum = 0} old_ifile = <optimized out> new_ifile = <optimized out> tagfile = <optimized out> again = <optimized out> #10 0x000055e57aeed7fe in main (argc=<optimized out>, argv=0x7ffe533c59d0) at main.c:285 ifile = <optimized out> s = <optimized out> --- END --- ``` Regards Jörg -- System Information: Debian Release: 11.0 APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-7-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_CRAP, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages less depends on: ii libc6 2.31-12 ii libtinfo6 6.2+20201114-2 less recommends no packages. less suggests no packages. -- no debconf information
signature.asc
Description: PGP signature