[freetds] blk_in error

Thompson, Bill D (London) bill_d_thompson at ml.com
Mon Jul 26 11:39:54 EDT 2004


Thanks Freddy,

I'll take a look at this tomorrow, if I may (bit busy at the moment)

is this from CVS / latest snapshot ? 

Bill

-----Original Message-----
From: ZIGLIO, Frediano, VF-IT [mailto:Frediano.Ziglio at vodafone.com] 
Sent: 26 July 2004 16:05
To: FreeTDS Development Group
Subject: [freetds] blk_in error


blk_in test (ctlib) produce this core

Program terminated with signal 11, Segmentation fault.
Reading symbols from
/home/freddy/cpp/freetds/freetds63/src/ctlib/.libs/libct.so.3...done.
Loaded symbols for
/home/freddy/cpp/freetds/freetds63/src/ctlib/.libs/libct.so.3
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /usr/lib/gconv/CP1252.so...done.
Loaded symbols for /usr/lib/gconv/CP1252.so
#0  0x4000a0da in cs_convert (ctx=0x804c570, srcfmt=0x0,
srcdata=0x804adc0, destfmt=0xbffff780, destdata=0x0,
resultlen=0xbffff77c) at cs.c:604
604                     memcpy(dest, &(cres.n), sizeof(TDS_NUMERIC));
(gdb) bt
#0  0x4000a0da in cs_convert (ctx=0x804c570, srcfmt=0x0,
srcdata=0x804adc0, destfmt=0xbffff780, destdata=0x0,
resultlen=0xbffff77c) at cs.c:604
#1  0x4000cfe3 in _blk_get_col_data (blkdesc=0x4000a0ce,
bindcol=0x8092600, offset=0) at blk.c:1580
#2  0x4000c509 in _blk_build_bcp_record (blkdesc=0x804d438, offset=0,
record_len=0x4000a0ce) at blk.c:1148
#3  0x4000b97f in _blk_rowxfer_in (blkdesc=0x804d438, rows_to_xfer=1,
rows_xferred=0xbffff988) at blk.c:719
#4  0x4000b6fc in blk_rowxfer_mult (blkdesc=0x804d438,
row_count=0xbffff9b0) at blk.c:559
#5  0x4000b67e in blk_rowxfer (blkdesc=0x804d438) at blk.c:540
#6  0x0804912d in main (argc=1, argv=0xbffffa34) at blk_in.c:265
(gdb)

attached log (stripped a bit)

freddy77

==============================================================================

If you are not an intended recipient of this e-mail, please notify
the sender, delete it and do not read, act upon, print, disclose,
copy, retain or redistribute it.

Click here for important additional terms relating to this e-mail.
     <http://www.ml.com/email_terms/>

==============================================================================




More information about the FreeTDS mailing list