That's kind of tough, as everything is wrapped up in a Joomla! extension (which I'm one of the authors of) using a button to render some of the page content via our own PDF controller / view / document model, that then hands the HTML directly to dompdf. And it's one of my users having this issue, so I can't just debug locally and capture the buffer we send to dompdf.
I've "fixed" the problem for now, by just adding stubs for add_line() and get_current_line_box() to the page frame decorator:
I'll see if I can find a way to come up with the actual HTML that was breaking things.
-- hugh