Solution for Segmentation Faults
Francis J. Lacoste
flacoste at logreport.org
Fri Jan 31 18:46:34 CET 2003
On mer, 2003-01-29 at 06:33, Torsten Fellhauer wrote:
> Hi,
>
> sometimes, when merging xml-reports to get a report covering a couple of
> days, lr_xml2report stopped with an segmentation fault. After an
> analysis I came to the following results:
>
> - segfault occurs durch lr_xml_merge
> - merging of certain daily reports fails, whereas merging of most other
> daily reports works
> - segfaults are caused by XML::Parser (Version 2.31 in installed) and
> happen both on Linux (RH7.2) and Solaris 8.
>
> -> After installing XML::Parser 2.29 which is the minimum requirement,
> everything works fine.
Thanks a lot for posting the results of this investigation.
One (important?) difference between the 2.29 and 2.30 release of
XML::Parser was that the expat source code wasn't included anymore. This
means that to install XML::Parser 2.30 you need to install the expat
library separately.
Can you tell us which version of the expat library you installed when
you used the 2.31 version? Also was the 2.31 version linked with expat
statically or dynamically.
This could help us determine if the problem lies in XML::Parser or
expat.
>
> Another reason for these segfaults could be my self-written
> DLF-Converter for Checkpoint Firewall-1, but I don't think so, because
> it's working since the downgrade of XML::Parser.
It can't be your DLF converter because it isn't involved in the merging
process. The is really a bug in XML::Parser or expat.
BTW, do you think you could share your Checkpoint Firewall-1 DLF
converter? If you are willing to release it on 'open-source' terms, we
would be very interested in merging this into the main Lire release so
that other users can benefit from this.
Thanks again for reporting the results of your investigations!
Francis J. Lacoste
--
Francis J. Lacoste . . http://www.logreport.org
/^LogReport$/ . . flacoste at logreport.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.logreport.org/pipermail/questions/attachments/20030131/c52b8c94/attachment.bin
More information about the Questions
mailing list