PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Avis, Ed" <avised at kbcfp dot com>
Subject: RE: Infinite loop calling error handler
Date: Jun 15 2004 4:41PM

Ed Avis wrote:

>When using DBD::Sybase to call a stored procedure I found that my
>program would hang and very rapidly start chewing up memory.

I found a core dump file and here is part of a C stack backtrace:

#0  0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  
#2  0x4154fba8 in ?? ()
#3  0x40083d03 in Perl_csighandler ()
   from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
#4  0x4017d47e in __pthread_sighandler () from /lib/i686/libpthread.so.0
#5  
#6  0x40083cb9 in Perl_raise_signal ()
   from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
#7  0x40083d03 in Perl_csighandler ()
   from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
#8  0x4017d47e in __pthread_sighandler () from /lib/i686/libpthread.so.0
#9  
#10 0x40083cb9 in Perl_raise_signal ()
   from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
#11 0x40083d03 in Perl_csighandler ()
   from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
#12 0x4017d47e in __pthread_sighandler () from /lib/i686/libpthread.so.0
#13 
#14 0x40083cb9 in Perl_raise_signal ()
   from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
#15 0x40083d03 in Perl_csighandler ()
   from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so

It goes on and on like this for thousands and thousands of stack
frames; I have not got to the end of the stack trace.  But I still
have the core file if there's anything further you'd like me to do
with it.

-- 
Ed Avis