[freetds] blk_in error

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Mon Jul 26 11:04:31 EDT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: out.txt.gz
Type: application/x-gzip
Size: 9020 bytes
Desc: out.txt.gz
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20040726/5245d5c7/attachment.gz 


More information about the FreeTDS mailing list