Package: less
Version: 487-0.1+b1
Severity: normal
Usertags: crash

I just got a crash (SIGABRT) after pressing random keys due to not
being awake enough to type properly while viewing the apt-listchanges
manual page. Based on the backtrace below, I seem to have toggled some
sort of option and passed \\ as a command, which caused the crash.

If the backtrace below is not useful, please close this bug.

$ gdb -batch -n -ex 'set pagination off' -ex bt -ex 'thread apply all bt full' 
--core /var/crash/1000/13130-1000-1000-6-1550017848-chianamo--bin-less.core 
/bin/less
[New LWP 13130]
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
50      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007f8d76b44535 in __GI_abort () at abort.c:79
#2  0x00007f8d76b9b778 in __libc_message (action=action@entry=do_abort, 
fmt=fmt@entry=0x7f8d76ca628d "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007f8d76ba1e6a in malloc_printerr (str=str@entry=0x7f8d76ca443b 
"free(): invalid pointer") at malloc.c:5341
#4  0x00007f8d76ba5d7e in free_check (mem=<optimized out>, caller=<optimized 
out>) at hooks.c:254
#5  0x00005584b493f360 in lglob (filename=0x5584b529e360 "", 
filename@entry=0x5584b4b59ac0 <cmdbuf> "\\") at filename.c:811
#6  0x00005584b4944318 in opt_o (type=<optimized out>, s=0x5584b4b59ac0 
<cmdbuf> "\\") at optfunc.c:109
#7  0x00005584b4945a70 in toggle_option (o=0x5584b4b58900 <option+1152>, 
lower=<optimized out>, s=<optimized out>, how_toggle=1) at option.c:443
#8  0x00005584b493b05d in exec_mca () at command.c:240
#9  0x00005584b493c74c in mca_char (c=10) at command.c:597
#10 commands () at command.c:1069
#11 0x00005584b49351c5 in main (argc=<optimized out>, argv=0x7fff29729320) at 
main.c:283

Thread 1 (LWP 13130):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
        set = {__val = {65536, 0 <repeats 15 times>}}
        pid = <optimized out>
        tid = <optimized out>
        ret = <optimized out>
#1  0x00007f8d76b44535 in __GI_abort () at abort.c:79
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, 
sa_mask = {__val = {532575944815, 0, 4096, 94028463467232, 100, 94028463467232, 
94028463465376, 94028453691348, 140245559039858, 4096, 140245558958506, 12, 
702811210, 1, 140733888761696, 140733888761952}}, sa_flags = 695373664, 
sa_restorer = 0x1000}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007f8d76b9b778 in __libc_message (action=action@entry=do_abort, 
fmt=fmt@entry=0x7f8d76ca628d "%s\n") at ../sysdeps/posix/libc_fatal.c:181
        ap = {{gp_offset = 24, fp_offset = 0, overflow_arg_area = 
0x7fff29729070, reg_save_area = 0x7fff29729000}}
        fd = 2
        list = <optimized out>
        nlist = <optimized out>
        cp = <optimized out>
        written = <optimized out>
#3  0x00007f8d76ba1e6a in malloc_printerr (str=str@entry=0x7f8d76ca443b 
"free(): invalid pointer") at malloc.c:5341
No locals.
#4  0x00007f8d76ba5d7e in free_check (mem=<optimized out>, caller=<optimized 
out>) at hooks.c:254
        p = <optimized out>
#5  0x00005584b493f360 in lglob (filename=0x5584b529e360 "", 
filename@entry=0x5584b4b59ac0 <cmdbuf> "\\") at filename.c:811
        gfilename = 0x5584b529e3a0 "\\\\"
        ofilename = 0x5584b529e680 "\\"
#6  0x00005584b4944318 in opt_o (type=<optimized out>, s=0x5584b4b59ac0 
<cmdbuf> "\\") at optfunc.c:109
        parg = {p_string = 0x0, p_int = 0, p_linenum = 0}
#7  0x00005584b4945a70 in toggle_option (o=0x5584b4b58900 <option+1152>, 
lower=<optimized out>, s=<optimized out>, how_toggle=1) at option.c:443
        num = <optimized out>
        no_prompt = 0
        err = 0
        parg = {p_string = 0x0, p_int = 0, p_linenum = 0}
#8  0x00005584b493b05d in exec_mca () at command.c:240
        cbuf = <optimized out>
#9  0x00005584b493c74c in mca_char (c=10) at command.c:597
        ret = <optimized out>
        ret = <optimized out>
#10 commands () at command.c:1069
        c = 10
        action = <optimized out>
        cbuf = <optimized out>
        newaction = 101
        save_search_type = <optimized out>
        extra = 0x5584b4b5838c <cmdtable+428> "o"
        tbuf = "s"
        parg = {p_string = 0x0, p_int = 0, p_linenum = 0}
        old_ifile = <optimized out>
        new_ifile = <optimized out>
        tagfile = <optimized out>
#11 0x00005584b49351c5 in main (argc=<optimized out>, argv=0x7fff29729320) at 
main.c:283
        ifile = 0x0
        s = <optimized out>

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), 
LANGUAGE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages less depends on:
ii  debianutils  4.8.6.1
ii  libc6        2.28-6
ii  libtinfo6    6.1+20181013-1

less recommends no packages.

less suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to