Skip to Content.
Sympa Menu

freetds - [freetds] SQSH/FREETDS & MS SQLSERVER 2005 - *** glibc detected *** sqsh: double free or corruption

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: William Lin <william_w_lin AT yahoo.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] SQSH/FREETDS & MS SQLSERVER 2005 - *** glibc detected *** sqsh: double free or corruption
  • Date: Wed, 2 Jul 2008 13:25:09 -0700 (PDT)


I have a repeatable issue with freetds/0.82 and sqsh/2.15 on both
cygwin(1.5.25) and Kubuntu 7.10. I compiled freetds and sqsh from source code
under gcc. When I do "go | less" in sqsh, it just crashes from time to time,
and error is always something like:

*** glibc detected *** sqsh: double free or corruption

I did an ldd on sqsh, here is what I get from kubuntu 7.10.

Any hint or solution for this issue? I have been using sqsh for many years on
Sybase under OpenClient, so I guess this is more of a FreeTDS issue? I also
thought the issue could be related to uni-code, but I doubt it now.

$ ldd `which sqsh`
linux-gate.so.1 => (0xffffe000)
libct.so.4 => /usr/local/lib/libct.so.4 (0xb7ec3000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7ebf000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7e99000)
libreadline.so.5 => /lib/libreadline.so.5 (0xb7e68000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb7e24000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7cda000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7cd1000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7cb9000)
/lib/ld-linux.so.2 (0xb7f1b000)

$ uname -a
Linux bigcat 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686
GNU/Linux







Archive powered by MHonArc 2.6.24.

Top of Page