[freetds] FeeTDS 0.60 getting killed in continuous operation

Lowden, James K LowdenJK at bernstein.com
Wed May 7 16:37:04 EDT 2003

> From: Abhinkar, Sameer [mailto:sameer.abhinkar at intel.com]
> Sent: May 6, 2003 1:22 PM
> I am connecting through the FreeTDS 0.60 to a SQL Server 2000 
> machine. I
> don't do anything but just dbinit() and dbexit() in a 
> continuous operation
> and it fails after sometime (~ 5-10mins). I am attaching the 
> sample code -
> please let me know what could possibly go wrong.


I ran your program, linked to a recent snapshot, overnight without fault.  

$ make endure
cc -O2 -g     -I/usr/pkg/include -I/usr/local/include   -L/usr/pkg/lib
cal/lib  -Wl,--rpath -Wl,/usr/pkg/lib  -Wl,--rpath -Wl,/usr/local/lib  -o
 -lsybdb -lcharset -liconv endure.c
$ ./endure
$ time gdb endure
GNU gdb 4.17
(gdb) r
[go home, sleep, come back]
Program received signal SIGINT, Interrupt.
dbexit () at ../../../src/dblib/dblib.c:1189
1189                    if (tds) {
Kill the program being debugged? (y or n) y
(gdb) q

real    1376m40.560s
user    851m14.116s
sys     515m43.674s


The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above.  If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that we do not accept account orders and/or
instructions by e-mail, and therefore will not be responsible for carrying
out such orders and/or instructions.

More information about the FreeTDS mailing list