Re: Segmentation fault when running DBD::Sybase
Michael Peppler <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2005-04-27 at 17:33, Ravi Parimi wrote: > Michael, > > Thanks for your reply. > > > To try to figure out why you get a seg fault please post the stack > > trace. To get the stack trace you have to enable core dumps (ulimit -c > > unlimited) and once you have a core dump use gdb to get the stack trace: > > gdb `which perl` core.xxxx > > gdb> bt > Here's the stack trace.. > (gdb) bt > #0 0x4212dfd0 in main_arena () from /lib/i686/libc.so.6 > #1 0x4205535f in buffered_vfprintf () from /lib/i686/libc.so.6 > #2 0x42050437 in vfprintf () from /lib/i686/libc.so.6 > #3 0x4205a297 in fprintf () from /lib/i686/libc.so.6 > #4 0x402cf722 in com_perr () from /opt/sybase-11.9.2/lib/libcomn.so > #5 0x402c13ed in com_intl_verify_ctxloc () > from /opt/sybase-11.9.2/lib/libcomn.so > #6 0x402804a9 in cs_ctx_alloc () from /opt/sybase-11.9.2/lib/libcs.so This is probably a locale problem, though I'm not sure, and I haven't used the 11.1.1 libs in a long time. > > What database server are you trying to talk to? > > These libraries are very old - you would be better off getting ASE > > 12.5.3 - see http://www.sybase.com/linuxpromo/ > > I am trying to connect to SQL server 2000. I am now downloading ASE > 12.5.3 from sybase.com, and will compile the DBD::Sybase module again > using these libraries.. You will need to use the FreeTDS libraries - the Sybase libs will NOT work with MS-SQL. Michael -- Michael Peppler - [email protected] - http://www.peppler.org/ Sybase DBA/Developer Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html