RE: Memory corruption with Perl (DBD::Oracle)

[email protected] (John Scoles)
Newsgroups perl.dbi.users
Message-ID <[email protected]>
Seems this may be an 11g issue and not a perl/DBI/DBD issuse
 
Have you applied all the patches for 11to the 11g DB??
 
Cheers
John Scoles
 
> Date: Fri, 19 Nov 2010 18:06:21 +0100
> From: [email protected]
> To: [email protected]
> Subject: Memory corruption with Perl (DBD::Oracle)
> 
> Hi,
> 
> Our (standalone) Perl scripts often encounter memory corruptions after a migration on RHEL5.5 (Perl 5.8.8) with Oracle 
> client 11.1.0 and DBD-Oracle-1.26.
> Some Oracle core dumps are present in the Oracle client directory ../incident/incdir_... with the generic error code 
> "oci-24550".
> 
> We had done before a compilation directly on Oracle libraries with perl Makefile.PL -l.
> After an installation of Oracle Database 11g Examples and a standard compilation the problems remain the same.
> The service task stops once or twice a day with an error message like 'Attempt to free unreferenced scalar'.
> 
> Once, a debug session session showed corruption on an undef array :
> main::(script.pl:73): undef @tache;
> DB<3> x @tache
> 0 '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D = $^D | $DB::db_stop;
> @tache;
> 
> ;'
> DB<4> n
> Attempt to free unreferenced scalar: SV 0x8b34580, Perl interpreter: 0x83b8008 at script.pl line 73.
> 
> The problem doesn't seem to appear with Apache mod_perl.
> 
> Did anyone encounter similar issues or has an idea what is going wrong here?
> Tell me what complementary information I can provide.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.