Skip to Content.
Sympa Menu

freetds - RE: [freetds] db-lib unit tests fail with current CVS

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO Frediano" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] db-lib unit tests fail with current CVS
  • Date: Tue, 16 Dec 2003 12:11:50 +0100

>
> It seems the recent iconv changes broke my NetBSD system?
>
> $ gdb .libs/t0001
> ...
> This GDB was configured as "i386--netbsdelf"...
> (gdb) r
> Starting program:
> /usr/local/website/DocumentRoot/projects/freetds/build/src/dbl
> ib/unittest
> s/.libs/t0001
> found s.tempdb for who in "../../../PWD"
> Start
> About to logon
> About to open "s"
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x481e536c in strcmp () from /usr/lib/libc.so.12
> (gdb) bt
> #0 0x481e536c in strcmp () from /usr/lib/libc.so.12
> #1 0x4808b343 in tds_srv_charset_changed (tds=0x8066100,
> charset=0x80603a0 "iso_1")
> at
> /usr/local/website/DocumentRoot/projects/freetds/build/src/tds
> /../../../s
> rc/tds/iconv.c:935
>

My fault. I did a small size optimization and it caused a core in
iconv.c. I did a "make check" however the problem occurred only on mssql
(I execute the test on sybase...).
Fixed in CVS.

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page