Subject: Re: Segfault opening footer.abw
From: Sam TH (email@example.com)
Date: Sun Nov 12 2000 - 05:59:11 CST
On Sun, Nov 12, 2000 at 05:13:54AM -0600, Sam TH wrote:
> On Sun, Nov 12, 2000 at 02:05:27AM -0800, Matt Brubeck wrote:
> > I get a segfault when I try to open test/wp/footer.abw. This happens
> > under Windows and Linux.
> > fl_BlockLayout::getNewLine() is trying to get a Container from a
> > HdrFtrSectionLayout. The relevant functions in fl_HdrFtrSectionLayout
> > simply assert and return NULL whenever they are called. The code doesn't
> > check for this, and tries to use the NULL pointer.
> > I tried to fix it, but don't know the code well enough (yet). I filed
> > bug #1053: http://www.abisource.com/bugzilla/show_bug.cgi?id=1053
> Some more info on this. It turns out that the problem stems from having
> text in the footer. Multiple fields, or single fields are not a problem,
> but any text causes that segfault. This happens on both headers and
> footers, and is irrespective of other document content. In fact, images
> in headers/footers works, as long as there is no text.
> The next step is figuring out when this broke. It appears to have broken
> more than one week ago, but I'll let people know what I find out.
Culprit found. The breakage appeared, AFAICT, after Martin's checkin
on the 27th of October. This was a fix for missing last lines in
Word documents. Sadly, the patch he applied will not reverse currently.
So we have to figure out why it broke footer import.
The email he sent was:
Attached is the offending patch.
This archive was generated by hypermail 2b25 : Sun Nov 12 2000 - 05:59:18 CST