[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #45272] psppire crashes when exporting pdf

From: Ben Pfaff
Subject: PSPP-BUG: [bug #45272] psppire crashes when exporting pdf
Date: Sun, 14 Jun 2015 21:38:20 +0000
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0

Follow-up Comment #2, bug #45272 (project pspp):

This will probably require some debugging on the system where it's happening,
so let me explain the context.

The function in question is a loop that is trying to draw as much of a table
as can fit on the current page.  It loops over the table as long as some of it
is still yet to be drawn.  The assertion that fails is one that makes sure
that we're making progress.  The logic is this: if we're in the middle of a
page and we didn't make any progress in the last call to
render_pager_draw_next() (that is, if it returned false, indicating that there
wasn't room on the page to draw anything more), then that's OK, because it can
just return "true" and the caller will move on to another page and try again. 
But if we're at the top of a page and we can't draw anything, then we'll never
succeed at it since the next page is going have the same amount of space and
we'd just loop forever.  That's not supposed to happen, because we've
calculated how to render the table on the basis of the size of a page, size of
the fonts, and so on.

Does that give enough context to be able to look further into this?

If you find a way to reproduce this on GNU/Linux then I'll gladly fix it


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]