lr_xml2chart err can't open EPS input file
Francis J. Lacoste
flacoste at logreport.org
Sun Dec 29 19:35:17 CET 2002
On lun, 2002-12-23 at 18:05, Edward Quick wrote:
> [...]
> #0 0x0002b28c in malloc ()
>
> (gdb) where
> #0 0x0002b28c in malloc ()
> #1 0x000704fc in Perl_sv_grow ()
> #2 0x00073e04 in Perl_sv_setpvn ()
> #3 0x000773b0 in Perl_newSVpvn ()
> #4 0xef54d78c in XS_XML__Parser__Expat_OriginalString ()
> from
> /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/XML/Parser/Expat/Expat.so
> #5 0x0006e358 in Perl_pp_entersub ()
> #6 0x000b1150 in Perl_runops_standard ()
> #7 0x00095894 in docatch ()
> #8 0x000b1150 in Perl_runops_standard ()
> #9 0x00027820 in perl_call_sv ()
> #10 0xef543e8c in startElement ()
> from
> [...]
>
> I am using ploticus 2.10, expat-1.95.5 and my Operating System is solaris
> 2.6. Sorry for sending so much info. I'm looking at tools for analysing
> Postfix logs, and from what I've seen so far, this one seems to be the most
> comprehensive, so I'd really like to get it working.
>
Hello Edward.
This looks like a perl/Solaris2.6 problem. The program is segfaulting
in malloc(). This isn't good at all.
Some things that may be related to the problem:
Did you compile expat, XML::Parser and perl using the same compiler?
I once heard that it was better to use(or not use) perl's builtin malloc
implementation on Solaris. You can check the malloc implementation by
running "perl -V:usemymalloc".
Since it is sometime working and sometime not, I think it is related to
the size of the XML report produced. The XML report seems always to be
produce correctly. It is in the formatting that it is failing sometime
(with the processor using XML::Parser).
In the mean time you can always save your XML report by using the -o xml
output format. You can then format those using lr_xml2report later. The
output formats that requires XML::Parser are txt, charts, excel95 and
the report merging functionalilty.
Let us know if you find more information on the malloc bug.
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/20021229/b3250274/attachment.bin
More information about the Questions
mailing list