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: "Erik Wendelboe" <erik at wendelboe dot com>
Subject: RE: Too many output parameters?
Date: Sep 23 2005 6:17AM

Using gdb I get the following additional information:
(gdb) core-file core 
Core was generated by `tdb.pl'. 
Program terminated with signal 11, Segmentation fault. 
(no debugging symbols found)...warning: The shared libraries were not
privately mapped; setting a 
breakpoint in a shared library will not work until you rerun the program. 

(no debugging symbols found)...(no debugging symbols found)... 
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)... 
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)... 
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)... 
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)... 
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)... 
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)... 
#0  0xc0000000002d19b4 in dbih_get_fbav+0x24c () 
   from
/opt/perl_64/lib/site_perl/5.8.3/PA-RISC2.0-thread-multi-LP64/auto/DBI/DBI.s
l 
Erik 

-----Original Message-----
From: owner-sybperl-l@peppler.org [mailto:owner-sybperl-l@peppler.org] On
Behalf Of Michael Peppler
Sent: Thursday, September 22, 2005 10:17 PM
To: Erik Wendelboe
Cc: michael.peppler@bnpparibas.com; sybperl-l@peppler.org
Subject: RE: Too many output parameters?

On Thu, 2005-09-22 at 17:40 -0700, Erik Wendelboe wrote:
> Thanks for looking into this.  I have the output from the trace(5), 
> but I haven't had any luck getting the core file formatted yet, 'adb' 
> doesn't seem to be able to find a stack in the core file.  Hopefully 
> the trace will help you a little.

If you have gdb or similar installed you could try running the script from
within the debugger. This should help find the stack trace.

Michael
--
Michael Peppler  -  mpeppler@peppler.org  -  http://www.peppler.org/ Sybase
DBA/Developer Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html