freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Simon Kissane <skissane AT gmail.com>
- To: FreeTDS AT lists.ibiblio.org
- Subject: [freetds] Segmentation fault using DBD::Sybase
- Date: Tue, 19 Jul 2005 10:37:37 +1000
Hi,
I've been playing around with trying to port LXR to work with a
Microsoft SQL Server database.
My code has been getting the following segfault:
cs_config(CS_LOC_PROP) failed at
/usr/local/lib/perl5/5.8.7/i686-linux/DynaLoader.pm line 253, <CONFIG>
line 1.
ct_send(CS_DESCRIBE_INPUT) returned 0 at
/usr/local/lib/perl5/site_perl/5.8.7/i686-linux/DBD/Sybase.pm line
133, <CONFIG> line 1.
Program received signal SIGSEGV, Segmentation fault.
0x00d87e50 in ct_res_info_dyn (cmd=0x0, type=49, buffer=0x0,
buflen=-99999, out_len=0xbfffb5ec) at ct.c:1857
1857 int_val = dyn->res_info->num_cols;
(gdb) bt
#0 0x00d87e50 in ct_res_info_dyn (cmd=0x0, type=49, buffer=0x0,
buflen=-99999, out_len=0xbfffb5ec) at ct.c:1857
#1 0x00d87f6d in ct_res_info (cmd=0x8491b20, type=49,
buffer=0xbfffb5f0, buflen=-99999, out_len=0xbfffb5ec) at ct.c:1879
#2 0x00ed811a in syb_st_prepare () from
/usr/local/lib/perl5/site_perl/5.8.7/i686-linux/auto/DBD/Sybase/Sybase.so
#3 0x00ecae76 in XS_DBD__Sybase__st__prepare () from
/usr/local/lib/perl5/site_perl/5.8.7/i686-linux/auto/DBD/Sybase/Sybase.so
#4 0x080b1a63 in Perl_pp_entersub ()
#5 0x080aaf70 in Perl_runops_standard ()
#6 0x080619ce in Perl_call_sv ()
#7 0x0024402e in XS_DBI_dispatch () from
/usr/local/lib/perl5/site_perl/5.8.7/i686-linux/auto/DBI/DBI.so
#8 0x080b1a63 in Perl_pp_entersub ()
#9 0x080aaf70 in Perl_runops_standard ()
#10 0x08062443 in perl_run ()
#11 0x0805e506 in main ()
Anyone have any idea what is wrong?
Cheers
Simon
-
[freetds] Segmentation fault using DBD::Sybase,
Simon Kissane, 07/18/2005
- Re: [freetds] Segmentation fault using DBD::Sybase, James K. Lowden, 07/18/2005
Archive powered by MHonArc 2.6.24.