Update of bug#65322 (group groff):

                Severity:              3 - Normal => 4 - Important          

    _______________________________________________________

Follow-up Comment #2:

Aha.  It's worse.

I can make _groff_ 1.23.0 and 1.22.4 core as well.

This is good and bad.

It's bad that the bug exists and has been around a long time, of course.

But it's good that _groff_ Git hasn't regressed this.  That gives us more room
to throw our elbows with the solution, I think.

Reproducer:


$ cat EXPERIMENTS/heading.mom
.TITLE "My Document"
.PRINTSTYLE TYPESET
.START
.HEADING 1 NAMED one "Attack\|.\|.\|."
This is a heading.
.HEADING 2 NAMED two ".\|.\|.\|Sustain\|.\|.\|."
Let's refer back to the first heading (the one titled
.PDF_LINK one SUFFIX ). +
.HEADING 2 NAMED three "\&.\|.\|.\|Decay\|.\|.\|."
We just keep rambling on.
.HEADING 2 NAMED four "Release"
We conclude the discussion.
$ ~/groff-stable/bin/groff -b -mom -Tpdf -Z EXPERIMENTS/heading.mom | grep 'x
X ps:.*exec'
x X ps: exec 0 setlinejoin
x X ps: exec 0 setlinecap
x X ps:exec [/PageMode /UseOutlines /DOCVIEW pdfmark
x X ps: exec 0 setlinejoin
x X ps: exec 0 setlinecap
x X ps:exec [/Dest /pdf:bm1 /View [/FitH -1842 u] /DEST pdfmark
x X ps:exec [/Dest /pdf:bm1 /Title (My Document) /Level 1 /OUT pdfmark
x X ps:exec [/Dest /one /View [/FitH -122316 u] /DEST pdfmark
x X ps:exec [/Dest /one /Title (Attack...) /Level 2 /OUT pdfmark
troff: backtrace:
'/home/branden/groff-stable/share/groff/1.23.0/tmac/om.tmac':23454: string
'PDF_TX'
troff: backtrace:
'/home/branden/groff-stable/share/groff/1.23.0/tmac/om.tmac':24024: macro
'pdfmomclean'
troff: backtrace:
'/home/branden/groff-stable/share/groff/1.23.0/tmac/om.tmac':23455: macro
'PDF_BOOKMARK'
troff: backtrace:
'/home/branden/groff-stable/share/groff/1.23.0/tmac/om.tmac':11082: macro
'HEADING'
troff: backtrace: file 'EXPERIMENTS/heading.mom':6
troff:EXPERIMENTS/heading.mom:6: error: expected identifier, got a horizontal
motion; treated as missing
x X ps: exec decornone
troff: backtrace:
'/home/branden/groff-stable/share/groff/1.23.0/tmac/pdf.tmac':256: macro
'pdfbookmark'
troff: backtrace:
'/home/branden/groff-stable/share/groff/1.23.0/tmac/om.tmac':23464: macro
'PDF_BOOKMARK'
troff: backtrace:
'/home/branden/groff-stable/share/groff/1.23.0/tmac/om.tmac':11082: macro
'HEADING'
troff: backtrace: file 'EXPERIMENTS/heading.mom':6
troff:EXPERIMENTS/heading.mom:6: error: expected identifier, got a horizontal
motion; treated as missing
x X ps:exec [/Dest /two /View [/FitH -170790 u] /DEST pdfmark
x X ps:exec [/Dest /two /Title () /Level 3 /OUT pdfmark
x X ps: exec decornone
x X ps:exec [/Dest /three /View [/FitH -219264 u] /DEST pdfmark
x X ps:exec [/Dest /three /Title (...Decay...) /Level 3 /OUT pdfmark
x X ps: exec decornone
x X ps:exec [/Dest /four /View [/FitH -267738 u] /DEST pdfmark
x X ps:exec [/Dest /four /Title (Release) /Level 3 /OUT pdfmark
troff: ../src/roff/troff/input.cpp:523: static int
input_stack::finish_get(node**): Assertion `level == 0' failed.
/home/branden/groff-stable/bin/groff: error: troff: Aborted (core dumped)
$ /usr/bin/groff -mom -Tpdf -Z EXPERIMENTS/heading.mom | grep 'x X ps:.*exec'
x X ps: exec 0 setlinejoin
x X ps: exec 0 setlinecap
x X ps:exec [/PageMode /UseOutlines /DOCVIEW pdfmark
x X ps: exec 0 setlinejoin
x X ps: exec 0 setlinecap
troff: EXPERIMENTS/heading.mom:3: can't transparently output node at top
level
x X ps:exec [/Dest /pdf:bm1 /View [/FitH -1842 u] /DEST pdfmark
x X ps:exec [/Dest /pdf:bm1 /Title (My Document) /Level 1 /OUT pdfmark
troff: EXPERIMENTS/heading.mom:4: can't transparently output node at top
level
troff: EXPERIMENTS/heading.mom:4: can't transparently output node at top
level
troff: EXPERIMENTS/heading.mom:4: can't transparently output node at top
level
x X ps:exec [/Dest /one /View [/FitH -122316 u] /DEST pdfmark
x X ps:exec [/Dest /one /Title (Attack...) /Level 2 /OUT pdfmark
troff: EXPERIMENTS/heading.mom:6: name expected (got a horizontal space):
treated as missing
troff: EXPERIMENTS/heading.mom:6: name expected (got a horizontal space):
treated as missing
x X ps: exec decornone
x X ps:exec [/Dest /two /View [/FitH -170790 u] /DEST pdfmark
x X ps:exec [/Dest /two /Title () /Level 3 /OUT pdfmark
x X ps: exec decornone
troff: EXPERIMENTS/heading.mom:9: can't transparently output node at top
level
troff: EXPERIMENTS/heading.mom:9: can't transparently output node at top
level
troff: EXPERIMENTS/heading.mom:9: can't transparently output node at top
level
troff: EXPERIMENTS/heading.mom:9: can't transparently output node at top
level
troff: EXPERIMENTS/heading.mom:9: can't transparently output node at top
level
troff: EXPERIMENTS/heading.mom:9: can't transparently output node at top
level
troff: EXPERIMENTS/heading.mom:9: can't transparently output node at top
level
x X ps:exec [/Dest /three /View [/FitH -219264 u] /DEST pdfmark
x X ps:exec [/Dest /three /Title (...Decay...) /Level 3 /OUT pdfmark
x X ps: exec decornone
x X ps:exec [/Dest /four /View [/FitH -267738 u] /DEST pdfmark
x X ps:exec [/Dest /four /Title (Release) /Level 3 /OUT pdfmark
troff: Failed assertion at line 524, file '../../src/roff/troff/input.cpp'.
/usr/bin/groff: troff: Signal 6 (core dumped)




    _______________________________________________________

Reply to this item at:

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

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


Reply via email to