Follow-up Comment #1, bug #67139 (group groff):

Thanks for the report.  I can reproduce it with my working copy, which
as usual runs a bit ahead of the Git trunk.


$ gdb ./build/troff ./core
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
[...snip...]
Core was generated by `troff -b -ww -Tps ATTIC/67139.groff'.
Program terminated with signal SIGBUS, Bus error.
#0  node::add_char (this=0x6e5c3a5d462e5b6e, ci=<optimized out>,
env=0x559dd13e6d60, widthp=0x559dd13e6e1c, spacep=<optimized out>,
    glyph_comp_np=0x7ffd4c1a0768) at ../src/roff/troff/node.cpp:5603
5603          hunits old_width = width();
##(gdb) bt
#0  node::add_char (this=0x6e5c3a5d462e5b6e, ci=<optimized out>,
env=0x559dd13e6d60, widthp=0x559dd13e6e1c, spacep=<optimized out>,
    glyph_comp_np=0x7ffd4c1a0768) at ../src/roff/troff/node.cpp:5603
#1  0x0000559dcff00927 in environment::add_char (this=0x559dd13e6d60,
ci=<optimized out>) at ../src/roff/troff/env.cpp:366
#2  0x0000559dcff231c7 in process_input_stack () at
../src/roff/troff/input.cpp:3179
#3  0x0000559dcfef50ec in main (argc=5, argv=0x7ffd4c1a0a18) at
../src/roff/troff/input.cpp:9458
##(gdb) list
5598      else {
5599        node *gn = make_glyph_node(ci, env);
5600        if (0 /* nullptr */ == gn)
5601          return this;
5602        else {
5603          hunits old_width = width();
5604          node *p = gn->merge_self(this);
5605          if (0 /* nullptr */ == p) {
5606            *widthp += gn->width();
5607            gn->next = this;




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?67139>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to