https://bugs.documentfoundation.org/show_bug.cgi?id=156470

--- Comment #24 from Patrick Luby <[email protected]> ---
(In reply to Noel Grandin from comment #23)
> So this is most likely some kind of writer layout loop. 
> I am afraid that without a reproducer document there is nothing useful we
> can do to debug it.

I agree. Of course, the problem is that we can't reproduce it even with the bug
filer's document. This makes me think that whichever code is going into an
infinite loop is very sensitive to font metrics.

GetTextArray() appears to be returning quickly for the bug filer so I suspect
that once we find where the infinite loop is occurring, I'll have to use
Writer's infamous "quit after N tries" approach in
sw/source/core/layout/layact.cxx. I may be wrong, but this fix is just so
similar to the Writer "text too long, try again with shorter text, now text too
short, so try again with longer text" loops that crop up every so often. My
feeling is that this type of bug is more common on macOS than other platforms
but who knows.

I think I will need to walk through the above two functions in a debugger and
see if I find any conditions that look anything like a loop restart *or* an
invalidate call of some sort.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to