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: "Sabherwal, Balvinder (MBS)" <Balvinder dot Sabherwal at mortgagefamily dot com>
Subject: RE: Problem with sybperl
Date: Jun 19 2002 6:53PM

here is the stack information

wpsdb01 /opt/sybasescripts/DB_Admin  $gdb `which perl` core
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.6"...

warning: core file may not match specified executable file.
Core was generated by `/usr/local/ActivePerl-5.6/bin/perl CheckObjects.pl -U
DBA_Maint -D v2cmsnet -S'.
Program terminated with signal 9, Killed.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libposix4.so.1...done.
Reading symbols from /usr/lib/libpthread.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from /usr/lib/libaio.so.1...done.
Reading symbols from /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1...done.
Reading symbols from /usr/lib/libthread.so.1...done.
Reading symbols from
/usr/local/ActivePerl-5.6/lib/site_perl/5.6.1/sun4-solaris-thread-multi/auto
/Sybase/CTlib/CTlib.so...done.
Reading symbols from /opt/sybase/lib/libct_r.so...done.
Reading symbols from /opt/sybase/lib/libcs_r.so...done.
Reading symbols from /opt/sybase/lib/libtcl_r.so...done.
Reading symbols from /opt/sybase/lib/libcomn_r.so...done.
Reading symbols from /opt/sybase/lib/libintl_r.so...done.
Reading symbols from /opt/sybase/lib/libtli_r.so...done.
#0  0xef5a4734 in strlen ()
(gdb) bt
#0  0xef5a4734 in strlen ()
#1  0xef49a454 in newdbh ()
#2  0xef4a5db8 in XS_Sybase__CTlib_ct_connect ()
#3  0x76640 in Perl_pp_entersub ()
#4  0x6f394 in Perl_runops_standard ()
#5  0x26090 in S_run_body ()
#6  0x25d28 in perl_run ()
#7  0x22d84 in main ()


-----Original Message-----
From: Michael Peppler [mailto:mpeppler@peppler.org]
Sent: Wednesday, June 19, 2002 1:41 PM
To: SybPerl Discussion List
Subject: RE: Problem with sybperl


On Wed, 2002-06-19 at 10:27, Sabherwal, Balvinder (MBS) wrote:
> 
> >Off hand it's hard to say what could be wrong.
> >
> >If you have a debugger installed (gdb or dbx) it may help to get a stack
> >trace. In gdb:
> >
> >prompt> gdb `which perl` core
> >(gdb) bt
> 
> >This will normally list where the segmentation fault occured, and the
> >call stack.
> 
> tried gdb but it doesn't recognizes the format of the core file and I do
not
> have the dbx. any thing else I can try??

Hmmm - that probably means that the gdb binary is too old for your
platform.

Try downloading a more recent one from www.sunfreeware.com

Michael
-- 
Michael Peppler / mpeppler@peppler.org / http://www.mbay.net/~mpeppler
mpeppler@zetatools.com / ZetaTools, Inc / http://www.zetatools.com
ZetaTools: Call perl functions as Sybase stored procedures!