Update of bug #67434 (group groff):
Category: Macro package - others/general => Core
Status: Need Info => Confirmed
Assigned to: None => gbranden
Summary: groff -ms -m hdtbl freezes document rendering
process => [troff] "groff -ms -m hdtbl doc/ms.ms" freezes document rendering
process
_______________________________________________________
Follow-up Comment #4:
Thanks for the clarifications, Morten.
Reproduced with _groff_ GIT, 1.23.0, 1.22.4, and 1.22.3.
So I'll celebrate, even if no one else has reason to, because this means that
it's not a regression I introduced.
I killed GNU _troff_ with SIGQUIT. Here's the backtrace on the resulting
coredump.
$ gdb ./build/troff ./core
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./build/troff...
[New LWP 34704]
Core was generated by `troff -ms -mhdtbl -Tps ./build/doc/ms.ms'.
Program terminated with signal SIGQUIT, Quit.
#0 0x00007f0021226c90 in __addvsi3 () from
/lib/x86_64-linux-gnu/libgcc_s.so.1
##(gdb) bt
#0 0x00007f0021226c90 in __addvsi3 () from
/lib/x86_64-linux-gnu/libgcc_s.so.1
#1 0x000055e206f79fad in do_get_long_name (required=<optimized out>,
end_char=end_char@entry=0 '\000') at ../src/roff/troff/input.cpp:2867
#2 0x000055e206f7a771 in get_long_name (required=<optimized out>) at
../src/roff/troff/input.cpp:2830
#3 0x000055e206f7ad02 in get_name (required=<optimized out>) at
../src/roff/troff/input.cpp:2825
#4 0x000055e206f8284e in process_input_stack () at
../src/roff/troff/input.cpp:3117
#5 0x000055e206f85965 in while_request () at
../src/roff/troff/input.cpp:6816
#6 0x000055e206f7b3c9 in request::invoke (this=<optimized out>) at
../src/roff/troff/input.cpp:3373
#7 0x000055e206f7f984 in interpolate_macro (nm=...,
do_not_want_next_token=do_not_want_next_token@entry=false)
at ../src/roff/troff/input.cpp:4184
#8 0x000055e206f82860 in process_input_stack () at
../src/roff/troff/input.cpp:3137
#9 0x000055e206f8af68 in process_input_file (name=<optimized out>) at
../src/roff/troff/input.cpp:9091
#10 0x000055e206f8ee92 in main (argc=5, argv=0x7ffcc4c5f848) at
../src/roff/troff/input.cpp:9447
##(gdb) quit
This looks like a formatter bug. A macro package should never be able to
scramble _troff_'s brains like this.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67434>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
