lr_xml2chart err can't open EPS input file

Edward Quick edwardquick at hotmail.com
Wed Jan 1 12:01:23 CET 2003






>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
>

Hi Francis,

Thanks for your advice. I assume this means I'm using the perl malloc:

perl -V:usemymalloc
usemymalloc='y';

Fortunately a couple of months ago I installed my own perl 5.8 on the same 
box (because by default it uses the solaris perl 5.005_03 package) and there 
I'd chosen not to use the perl malloc (which I think is the recommendation).

Anyway all I did was to change lr_xml2chart to use the perl 5.8 with native 
malloc:

smpd9$ head lr_xml2chart
#! /opt/perl-5.8.0/bin/perl -w

and that fixed everything. So now I'm getting the graphs too. With all these 
packages I used the Solaris C compiler (not gcc).

Many thanks for your help on this.

Happy New Year!

Ed.

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE* 
http://join.msn.com/?page=features/virus

-- 
To UNSUBSCRIBE, email to questions-request at logreport.org with a subject of 
"unsubscribe". Trouble? Send an email with subject "help" to 
questions-request at logreport.org



More information about the Questions mailing list