Follow-up Comment #6, bug #67434 (group groff): I can't blame libgcc even if I wanted to--another GDB session reveals some different functions at the upper reaches of the stack.
I see some vicious and unfriendly `assert()s` in the near future of _groff_'s code... I think I'll try leaving this running for a long time to see if I can get memory exhaustion. Both `do_get_long_name()` and the `symbol` class's constructor allocate from the heap. If that happens it'll definitely narrow down the failure mode. ##(gdb) bt #0 0x000055c4e2a08b68 in symbol::symbol (this=<optimized out>, p=<optimized out>, how=<optimized out>, this=<optimized out>, p=<optimized out>, how=<optimized out>) at ../src/libs/libgroff/symbol.cpp:86 #1 0x000055c4e2a111c0 in read_long_escape_parameters (mode=NO_ARGS) at ../src/roff/troff/input.cpp:1049 #2 0x000055c4e2a11b2b in get_copy (nd=nd@entry=0x0, is_defining=is_defining@entry=false, handle_escape_E=handle_escape_E@entry=true) at ../src/roff/troff/input.cpp:1192 #3 0x000055c4e2a11028 in get_char_for_escape_parameter (allow_space=<optimized out>) at ../src/roff/troff/input.cpp:952 #4 0x000055c4e2a1116f in read_long_escape_parameters (mode=NO_ARGS) at ../src/roff/troff/input.cpp:1012 #5 0x000055c4e2a171a6 in token::next (this=<optimized out>) at ../src/roff/troff/input.cpp:2398 #6 0x000055c4e29fd8c2 in get_incr_number (res=res@entry=0x7ffff7c2b5a4, si=<optimized out>) at ../src/roff/troff/number.cpp:227 #7 0x000055c4e29fdcec in read_measurement (res=0x7ffff7c2b5dc, si=<optimized out>, prev_value=1) at ../src/roff/troff/number.cpp:177 #8 0x000055c4e2a0a546 in define_register_request () at ../src/roff/troff/reg.cpp:354 #9 0x000055c4e2a26312 in process_input_stack () at ../src/roff/troff/input.cpp:3137 #10 0x000055c4e2a26f05 in while_request () at ../src/roff/troff/input.cpp:6816 #11 0x000055c4e2a26312 in process_input_stack () at ../src/roff/troff/input.cpp:3137 #12 0x000055c4e29d4c1c in main (argc=5, argv=0x7ffff7c2b9f8) at ../src/roff/troff/input.cpp:9447 _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?67434> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature