Package: groff-base
Version: 1.22.3-10
Severity: normal
File: /usr/bin/groff
Usertags: crash

I get a crash (SIGSYS) in groff when running `man man | head -n1`.
If the below output and backtrace are not useful, please close this bug.
This is unaffected by my setting of MANPATH, MALLOC_CHECK_ & MALLOC_PERTURB_.

$ man man | head -n1
MAN(1)                                                                          
 Manual pager utils                                                             
              MAN(1)
Bad system call (core dumped)
man: command exited with status 159: /usr/lib/man-db/zsoelim | 
/usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE | preconv -e UTF-8 
| tbl | nroff -mandoc -rLL=180n -rLT=180n -Tutf8
$ find /var/crash/ -iname *groff*
/var/crash/1000/10956-1000-1000-31-1520485236-chianamo--usr-bin-groff.core
find: ‘/var/crash/0’: Permission denied
$ gdb -batch -n -ex 'set pagination off' -ex bt -ex 'thread apply all bt full' 
--core 
/var/crash/1000/10956-1000-1000-31-1520485236-chianamo--usr-bin-groff.core 
/usr/bin/groff
[New LWP 10956]
Core was generated by `groff -mtty-char -Tutf8 -mandoc -rLL=180n -rLT=180n'.
Program terminated with signal SIGSYS, Bad system call.
#0  0x00007f062de48167 in kill () at ../sysdeps/unix/syscall-template.S:78
78      ../sysdeps/unix/syscall-template.S: No such file or directory.
#0  0x00007f062de48167 in kill () at ../sysdeps/unix/syscall-template.S:78
#1  0x00005636458776e0 in run_pipeline (ncommands=<optimized out>, 
commands=0x7ffc547c2cf0, no_pipe=<optimized out>) at 
./debian/build/../../src/roff/groff/pipeline.c:529
#2  0x0000563645876a4d in run_commands (no_pipe=0) at 
./debian/build/../../src/roff/groff/groff.cpp:579
#3  0x0000563645875c65 in main (argc=<optimized out>, argv=<optimized out>) at 
./debian/build/../../src/roff/groff/groff.cpp:494

Thread 1 (LWP 10956):
#0  0x00007f062de48167 in kill () at ../sysdeps/unix/syscall-template.S:78
No locals.
#1  0x00005636458776e0 in run_pipeline (ncommands=<optimized out>, 
commands=0x7ffc547c2cf0, no_pipe=<optimized out>) at 
./debian/build/../../src/roff/groff/pipeline.c:529
        sig = <optimized out>
        status = 13
        pid = <optimized out>
        i = <optimized out>
        last_input = <optimized out>
        pids = {10957, -1, 16, 0, 1168666208, 22070, 8, 0, 0, 0, 1168666272, 
22070, 0, 0, 770262514}
        ret = 0
        proc_count = 1
#2  0x0000563645876a4d in run_commands (no_pipe=0) at 
./debian/build/../../src/roff/groff/groff.cpp:579
        v = {0x56364708d840, 0x56364708d0c0, 0x0, 0x0, 0x7ffc547c2d80, 
0x7f062de4a041 <putenv+145>, 0x560048544150, 0xc2, 0x7ffc547c4475, 
0x8c4c7be636bcb800, 0x7ffc547c4e56, 0x7ffc547c2e20, 0x7ffc547c4475}
        j = 2
#3  0x0000563645875c65 in main (argc=<optimized out>, argv=<optimized out>) at 
./debian/build/../../src/roff/groff/groff.cpp:494
        stderr_buf = '\000' <repeats 8191 times>
        Pargs = {ptr = 0x0, len = 0, sz = 0}
        Largs = {ptr = 0x0, len = 0, sz = 0}
        Fargs = {ptr = 0x0, len = 0, sz = 0}
        Kflag = 0
        vflag = 0
        Vflag = <optimized out>
        zflag = 0
        iflag = 0
        Xflag = <optimized out>
        oflag = 0
        safer_flag = <optimized out>
        is_xhtml = 0
        eflag = 0
        need_pic = 0
        opt = <optimized out>
        command_prefix = <optimized out>
        encoding = <optimized out>
        long_options = {{name = 0x56364587f359 "help", has_arg = 0, flag = 0x0, 
val = 104}, {name = 0x56364587f35e "version", has_arg = 0, flag = 0x0, val = 
118}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
        real_driver = <optimized out>
        gxditview_flag = <optimized out>
        p = <optimized out>
        end = <optimized out>
        first_index = <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.14.0-3-amd64 (SMP w/4 CPU cores)
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)

Versions of packages groff-base depends on:
ii  libc6       2.27-1
ii  libgcc1     1:8-20180218-1
ii  libstdc++6  8-20180218-1

groff-base recommends no packages.

Versions of packages groff-base suggests:
pn  groff  <none>

-- 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