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: Segfault with Sybase::DBlib bcp
Date: Aug 4 2004 12:04PM

Michael Peppler wrote:

>>This program causes a segfault:

>>    $Db_fde_bcphdl->bcp_meminit(1);
>>    $Db_fde_bcphdl->bcp_batch;

>>I am using Sybase::DBlib included with Activeperl 5.8.3 on Linux (it
>>doesn't have a $VERSION number).
>
>Try 
>
>perl -MSybase::DBlib -e 'print "$Sybase::DBlib::Version\n"' 

This is sybperl, version 2.16

Sybase::DBlib $Revision: 1.58 $ $Date: 2003/12/25 17:16:03 $ 

Copyright (c) 1991-2001 Michael Peppler

DB-Library version: Sybase DB-Library/12.5/P-EBF10089/DRV.12.5.0.1/Linux Intel/Linux 2.2.14-5.0smp i686/BUILD125-012/OPT/Wed Feb 27 13:54:37 2002


Hmm, and I see it does have a $VERSION line, just not one that's
parsable by MakeMaker.  Anyway...

>Sending me a stack trace from the core would be useful.

#0  0x4013e34a in bcp__endbatch () from /usr/local/sybase/lib/libsybdb.so
#1  0x4013e2f6 in bcp_batch () from /usr/local/sybase/lib/libsybdb.so
#2  0x400f97e1 in XS_Sybase__DBlib_bcp_batch ()
   from /usr/local/pkgs/ActivePerl-5.8.3.809/lib/site_perl/5.8.3/i686-linux-thread-multi/auto/Sybase/DBlib/DBlib.so
#3  0x080bac01 in Perl_pp_entersub ()
#4  0x080b4a61 in Perl_runops_standard ()
#5  0x080631fd in S_run_body ()
#6  0x08062ef6 in perl_run ()
#7  0x0805fc2c in main ()
#8  0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6

-- 
Ed Avis