Segfault from in ct_results
dthompson at characterlink.net
Thu Jul 13 20:33:41 EDT 2000
My code calls a stored procedure which returns several results sets.
After successfully retrieving four sets, my program bombs. I would think
that if I were doing something wrong I would bomb out in ct_fetch or
P.S. Here is [edited] output from gdb:
This GDB was configured as "i386-redhat-linux"...
Starting program: /home/darrint/CLProxy-2/src/redirector-2/QuickieTest
[New Thread 2043 (manager thread)]
[New Thread 2042 (initial thread)]
[New Thread 2044]
Program received signal SIGSEGV, Segmentation fault.
chunk_alloc (ar_ptr=0x4199ed60, nb=16) at malloc.c:2814
2814 malloc.c: No such file or directory.
Current language: auto; currently c
#0 chunk_alloc (ar_ptr=0x4199ed60, nb=16) at malloc.c:2814
#1 0x419095ce in __libc_malloc (bytes=8) at malloc.c:2696
#2 0x4001efa1 in tds_process_col_name (tds=0x812c098) at token.c:352
#3 0x4001edfc in tds_process_result_tokens (tds=0x812c098) at
#4 0x4001cabc in ct_results (cmd=0x8136670, result_type=0xbffff67c)
#5 0x80b4438 in GetData::Run (this=0xbffff9c0, query=@0xbffff788)
#6 0x80ae03c in Checker::Check (this=0xbffff9b8, Data=@0xbffff984)
#7 0x80aa468 in main () at QuickieTest.cpp:19
More information about the FreeTDS