[freetds] Cored dump

Frediano Ziglio freddyz77 at tin.it
Sat Nov 26 13:59:15 EST 2005


Il giorno ven, 25/11/2005 alle 18.11 +0000, martin A. ha scritto:
> I have a problem with connections to the server. The connections mostly the 
> time work without problem, I can run querys, sp etc very well, but after 
> some time when the program try to connect to the server the application 
> hungs, the core.xxxx does not show important things ....:
> gdb only shows this:
> 
> (gdb) bt
> #0  0x00000000 in ?? ()
> #1  0x00000000 in ?? ()
> (gdb)
> 

Quite strange... stack corruption, no debug informations??

> 
> but the coredump file is generated in a call to dbopen()( I see this in my 
> own log). I put another log file from the freetds library, the file contains 
> only this (after some hours that the programm is running)
> 
> 
> [root at localhost ivr]# more freetds_20051125_171857.log
> util.c:276:Starting log file for FreeTDS 0.64.dev.20051019
>         on 2005-11-25 17:17:23 with debug flags 0x4fff.
> iconv.c:361:iconv to convert client-side data to the "ISO-8859-1" character 
> set
> iconv.c:514:tds_iconv_info_init: converting "ISO-8859-1"->"UCS-2LE"
> iconv.c:514:tds_iconv_info_init: converting "ISO-8859-1"->"UCS-2LE"
> net.c:168:Connecting to 213.27.242.161 port 1433.
> net.c:236:tds_open_socket: 0.0.0.0:0: Operation now in progress
> 

Quite strange... what did happen to sin variable ??
Note that lines 168 and 236 should print same informations!!!
I suspect a corruption but I could not spot the line...

freddy77




More information about the FreeTDS mailing list