develooper Front page | perl.perl5.porters | Postings from February 2001

Re: [ID 20010123.036] malloc failure in DBD::Informix

Thread Previous | Thread Next
From:
Jonathan Stowe
Date:
February 4, 2001 05:24
Subject:
Re: [ID 20010123.036] malloc failure in DBD::Informix
Message ID:
Pine.LNX.4.32.0102041211410.1555-100000@orpheus.gellyfish.com
On Tue, 23 Jan 2001 gary@pandemic.itc.nrcs.usda.gov wrote:
>
> We are experiencing intermittent cores during execution of a perl app
> using the DBD::Informix module. It happens with greater frequency when
> the system is busy, but it also happens that the exact procedure can
> be rerun successfully just a few minutes after a crash. I don't have
> a lot to work with, except that each gdb stack trace shows the failure
> happens in malloc, but the malloc is not always called from the same
> place. Many other processes are running at the same time without any
> malloc failures, and vmstat shows plenty of memory available. A sample
> stack trace looks like this:
>
> #0  0x2a09c in malloc ()
> #1  0xff087728 in _iqprepare () from /usr/informix9/lib/esql/libifsql.so
> #2  0xff087580 in sqli_prep () from /usr/informix9/lib/esql/libifsql.so
> #3  0xff0ea7d0 in dbd_ix_st_prepare ()
>    from /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBD/Informix/Inf

Does it always coredump in the esql libraries ?  Can you make an equivalent
esql/c program that exhibits the same behaviour ?  If the answer to these
is 'yes' then you might be experiencing a bug in the esql libraries.

On the other hand it might be a problem with DBD::Informix in which case you
might want to submit a bug report ( if you have a version >= 1.00 PC1 )
using the InformixTechSupport tool.


/J\
-- 
Jonathan Stowe                      |
<http://www.gellyfish.com>          |      This space for rent
                                    |


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About