CC: | Ian Grant <ian.grant [...] cl.cam.ac.uk> |
Subject: | Problem with 1.09 and freetds |
Date: | Mon, 9 Feb 2009 17:12:21 +0000 |
To: | bug-DBD-Sybase [...] rt.cpan.org |
From: | Ian Grant <ian.grant [...] cl.cam.ac.uk> |
This is with freetds version 0.64. This version of freetds works OK
with sqsh to connect to our MS SQLServer, but with DBD-Sybase I get
this "stack smashing detected". This is on a 32 bit opensuse-11.0
machine with perl RPM perl-5.10.0-37.6
Has anyone else successfully used DBD-Sybase with freetds on this
platform?
*** stack smashing detected ***: /usr/bin/perl terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x48)[0xb7e624a8]
/lib/libc.so.6(__fortify_fail+0x0)[0xb7e62460]
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/auto/DBD/
Sybase/Sybase.so[0xb7bc9c34]
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/auto/DBD/
Sybase/Sybase.so(syb_init+0x8cd)[0xb7bc9a8d]
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/auto/DBD/
Sybase/Sybase.so(boot_DBD__Sybase+0xa7b)[0xb7ba188b]
/usr/bin/perl(Perl_pp_entersub+0xae1)[0x80e1b21]
/usr/bin/perl(Perl_runops_debug+0x12f)[0x80a612f]
/usr/bin/perl(perl_run+0x491)[0x80dbcc1]
/usr/bin/perl(main+0xed)[0x806401d]
/lib/libc.so.6(__libc_start_main+0xe5)[0xb7d955f5]
/usr/bin/perl[0x8063e91]
======= Memory map: ========
08048000-0828e000 r-xp 00000000 09:00 999394 /usr/bin/perl
0828e000-0828f000 r--p 00245000 09:00 999394 /usr/bin/perl
0828f000-08291000 rw-p 00246000 09:00 999394 /usr/bin/perl
08291000-0860a000 rw-p 08291000 00:00 0 [heap]
b7af9000-b7b05000 r-xp 00000000 09:00 1485226 /lib/libgcc_s.so.1
b7b05000-b7b06000 r--p 0000b000 09:00 1485226 /lib/libgcc_s.so.1
b7b06000-b7b07000 rw-p 0000c000 09:00 1485226 /lib/libgcc_s.so.1
b7b21000-b7b55000 r-xp 00000000 09:00 932966 /usr/lib/libtds.so.
5.0.0
b7b55000-b7b57000 r--p 00033000 09:00 932966 /usr/lib/libtds.so.
5.0.0
b7b57000-b7b58000 rw-p 00035000 09:00 932966 /usr/lib/libtds.so.
5.0.0
b7b58000-b7b9a000 r-xp 00000000 09:00 932960 /usr/lib/libct.so.4.0.0
b7b9a000-b7b9c000 r--p 00041000 09:00 932960 /usr/lib/libct.so.4.0.0
b7b9c000-b7b9d000 rw-p 00043000 09:00 932960 /usr/lib/libct.so.4.0.0
b7b9d000-b7bee000 r-xp 00000000 09:00 1341087 /usr/lib/perl5/
site_perl/5.10.0/i586-linux-thread-multi/auto/DBD/Sybase/Sybase.so
b7bee000-b7bef000 r--p 00050000 09:00 1341087 /usr/lib/perl5/
site_perl/5.10.0/i586-linux-thread-multi/auto/DBD/Sybase/Sybase.so
b7bef000-b7bf0000 rw-p 00051000 09:00 1341087 /usr/lib/perl5/
site_perl/5.10.0/i586-linux-thread-multi/auto/DBD/Sybase/Sybase.so
b7bf0000-b7bfb000 r-xp 00000000 09:00 1005274 /usr/lib/perl5/5.10.0/
i586-linux-thread-multi/auto/List/Util/Util.so
b7bfb000-b7bfc000 r--p 0000a000 09:00 1005274 /usr/lib/perl5/5.10.0/
i586-linux-thread-multi/auto/List/Util/Util.so
b7bfc000-b7bfd000 rw-p 0000b000 09:00 1005274 /usr/lib/perl5/5.10.0/
i586-linux-thread-multi/auto/List/Util/Util.so
b7bfd000-b7c4e000 r-xp 00000000 09:00 1054757 /usr/lib/perl5/
vendor_perl/5.10.0/i586-linux-thread-multi/auto/DBI/DBI.so
b7c4e000-b7c4f000 r--p 00050000 09:00 1054757 /usr/lib/perl5/
vendor_perl/5.10.0/i586-linux-thread-multi/auto/DBI/DBI.so
b7c4f000-b7c50000 rw-p 00051000 09:00 1054757 /usr/lib/perl5/
vendor_perl/5.10.0/i586-linux-thread-multi/auto/DBI/DBI.so
b7c50000-b7c59000 r-xp 00000000 09:00 1111093 /usr/lib/perl5/
vendor_perl/5.10.0/i586-linux-thread-multi/auto/Term/ReadKey/ReadKey.so
b7c59000-b7c5a000 r--p 00009000 09:00 1111093 /usr/lib/perl5/
vendor_perl/5.10.0/i586-linux-thread-multi/auto/Term/ReadKey/ReadKey.so
b7c5a000-b7c5b000 rw-p 0000a000 09:00 1111093 /usr/lib/perl5/
vendor_perl/5.10.0/i586-linux-thread-multi/auto/Term/ReadKey/ReadKey.so
b7c5b000-b7c9a000 r--p 00000000 09:00 1030178 /usr/lib/locale/
en_GB.utf8/LC_CTYPE
b7c9a000-b7d7e000 r--p 00000000 09:00 1030179 /usr/lib/locale/
en_GB.utf8/LC_COLLATE
b7d7e000-b7d7f000 rw-p b7d7e000 00:00 0
b7d7f000-b7ebc000 r-xp 00000000 09:00 1485132 /lib/libc-2.8.so
b7ebc000-b7ebe000 r--p 0013d000 09:00 1485132 /lib/libc-2.8.so
b7ebe000-b7ebf000 rw-p 0013f000 09:00 1485132 /lib/libc-2.8.so
b7ebf000-b7ec3000 rw-p b7ebf000 00:00 0
b7ec3000-b7ed7000 r-xp 00000000 09:00 1485158 /lib/libpthread-2.8.so
b7ed7000-b7ed8000 r--p 00013000 09:00 1485158 /lib/libpthread-2.8.so
b7ed8000-b7ed9000 rw-p 00014000 09:00 1485158 /lib/libpthread-2.8.so
b7ed9000-b7edb000 rw-p b7ed9000 00:00 0
b7edb000-b7edd000 r-xp 00000000 09:00 1485166 /lib/libutil-2.8.so
b7edd000-b7ede000 r--p 00001000 09:00 1485166 /lib/libutil-2.8.so
b7ede000-b7edf000 rw-p 00002000 09:00 1485166 /lib/libutil-2.8.so
b7edf000-b7eec000 r-xp 00000000 09:00 1485136 /lib/libcrypt-2.8.so
b7eec000-b7eed000 r--p 0000c000 09:00 1485136 /lib/libcrypt-2.8.so
b7eed000-b7eee000 rw-p 0000d000 09:00 1485136 /lib/libcrypt-2.8.so
b7eee000-b7f15000 rw-p b7eee000 00:00 0
b7f15000-b7f39000 r-xp 00000000 09:00 1485140 /lib/libm-2.8.so
b7f39000-b7f3a000 r--p 00023000 09:00 1485140 /lib/libm-2.8.so
b7f3a000-b7f3b000 rw-p 00024000 09:00 1485140 /lib/libm-2.8.so
b7f3b000-b7f3d000 r-xp 00000000 09:00 1485138 /lib/libdl-2.8.so
b7f3d000-b7f3e000 r--p 00001000 09:00 1485138 /lib/libdl-2.8.so
b7f3e000-b7f3f000 rw-p 00002000 09:00 1485138 /lib/libdl-2.8.so
b7f3f000-b7f52000 r-xp 00000000 09:00 1485143 /lib/libnsl-2.8.so
b7f52000-b7f53000 r--p 00012000 09:00 1485143 /lib/libnsl-2.8.so
b7f53000-b7f54000 rw-p 00013000 09:00 1485143 /lib/libnsl-2.8.so
b7f54000-b7f57000 rw-p b7f54000 00:00 0
b7f5c000-b7f5e000 r-xp 00000000 09:00 1036682 /usr/lib/perl5/5.10.0/
i586-linux-thread-multi/auto/Sys/Hostname/Hostname.so
b7f5e000-b7f5f000 r--p 00001000 09:00 1036682 /usr/lib/perl5/5.10.0/
i586-linux-thread-multi/auto/Sys/Hostname/Hostname.so
b7f5f000-b7f60000 rw-p 00002000 09:00 1036682 /usr/lib/perl5/5.10.0/
i586-linux-thread-multi/auto/Sys/Hostname/Hostname.so
b7f60000-b7f61000 r--p 00000000 09:00 1028321 /usr/lib/locale/
en_GB.utf8/LC_NUMERIC
b7f61000-b7f62000 r--p 00000000 09:00 1014001 /usr/lib/locale/
en_GB.utf8/LC_TIME
b7f62000-b7f63000 r--p 00000000 09:00 1022665 /usr/lib/locale/
en_GB.utf8/LC_MONETARY
b7f63000-b7f64000 r--p 00000000 09:00 1021316 /usr/lib/locale/
en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES
b7f64000-b7f65000 r--p 00000000 09:00 1028326 /usr/lib/locale/
en_GB.utf8/LC_PAPER
b7f65000-b7f66000 r--p 00000000 09:00 1021262 /usr/lib/locale/
en_GB.utf8/LC_NAME
b7f66000-b7f67000 r--p 00000000 09:00 1021226 /usr/lib/locale/
en_GB.utf8/LC_ADDRESS
b7f67000-b7f68000 r--p 00000000 09:00 1013426 /usr/lib/locale/
en_GB.utf8/LC_TELEPHONE
b7f68000-b7f69000 r--p 00000000 09:00 1030177 /usr/lib/locale/
en_GB.utf8/LC_MEASUREMENT
b7f69000-b7f70000 r--s 00000000 09:00 1005914 /usr/lib/gconv/gconv-
modules.cache
b7f70000-b7f71000 r--p 00000000 09:00 1012518 /usr/lib/locale/
en_GB.utf8/LC_IDENTIFICATION
b7f71000-b7f8c000 r-xp 00000000 09:00 1487729 /lib/ld-2.8.so
b7f8c000-b7f8d000 r--p 0001a000 09:00 1487729 /lib/ld-2.8.so
b7f8d000-b7f8e000 rw-p 0001b000 09:00 1487729 /lib/ld-2.8.so
bfb79000-bfb8e000 rw-p bffeb000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
Aborted
hehe:procsql$