[freetds] One failing unit test (iconv_read) on git master on OS X
freddy77 at gmail.com
Mon Sep 16 14:34:35 EDT 2013
2013/9/16 Marc Abramowitz <marca at surveymonkey.com>:
> And it is not limited to OS X. I just got the tests working on my Ubuntu
> 10 box (it was a configuration problem) and the same test fails, in the
> same way:
> vagrant at lucid64:~/dev/git-repos/freetds$ TDSDUMP=stderr
> log.c:194:Starting log file for FreeTDS 0.92.dev.20130718
> on 2013-09-16 08:25:26 with debug flags 0x4fff.
> iconv.c:332:tds_iconv_open(0xe11060, ISO-8859-1)
> iconv.c:189:local name for ISO-8859-1 is ISO-8859-1
> iconv.c:189:local name for UTF-8 is UTF-8
> iconv.c:189:local name for UCS-2LE is UCS-2LE
> iconv.c:189:local name for UCS-2BE is UCS-2BE
> iconv.c:351:setting up conversions for client charset "ISO-8859-1"
> iconv.c:353:preparing iconv for "ISO-8859-1" <-> "UCS-2LE" conversion
> iconv.c:393:preparing iconv for "ISO-8859-1" <-> "ISO-8859-1" conversion
> iconv.c:396:tds_iconv_open: done
> stream.c:219:tds_dynamic_stream_init: stream->allocated = 1024
> bulk.c:1047:tds_bcp_fread: *outbytes = deadbeef
> bulk.c:1048:tds_bcp_fread: tds_dynamic_stream_init => 0
> bulk.c:1059:tds_bcp_fread: calling tds_convert_stream...
> stream.c:99:tds_convert_stream: calling tds_iconv with ol = 1024
> iconv.c:819:tds_iconv: entering for loop...
> iconv.c:821:tds_iconv: top of for loop iteration...
> iconv.c:829:tds_iconv: calling tds_sys_iconv with *inbytesleft = 4078 and
> *outbytesleft = 1024...
> iconv.c:831:tds_iconv: tds_sys_iconv returned irreversible = -1; errno = 7
> iconv.c:853:tds_iconv: errno = 7; breaking
> iconv.c:926:tds_iconv: case E2BIG -- errno = 7
> iconv.c:932:tds_iconv: setting suppress->e2big = 1
> stream.c:104:tds_convert_stream: calling ostream->write with 1024
> stream.c:200:tds_dynamic_stream_write: s->allocated = 3072
> stream.c:106:tds_convert_stream: ostream->write wrote 1024
> stream.c:111:Error: tds_convert_stream: tds_iconv returned errno 7
> stream.c:113:Error: tds_convert_stream: Gave up converting 3054 bytes due
> to error 7.
I believe you... I just don't understand why it always worked on my machine!
More information about the FreeTDS