[freetds] freebcp - problems with blobs >8K
vasilyev at ncbi.nlm.nih.gov
Fri May 16 13:42:04 EDT 2014
Hi FreeTDS team,
I ran into a problem trying to freebcp some larger blobs in and out of MS SQL 2008 server.
The host table may look like:
create table blobs (id int not null, data image)
Smaller blobs load in and out just fine:
> cat /tmp/blobs.bcp
> freebcp foo.dbo.blobs in /tmp/blobs.bcp -S MSSQL0 -c -U **** -P ****
1 rows copied.
but once the blob gets larger than 8K the command fails with errors like:
*** glibc detected *** freebcp: free(): corrupted unsorted chunks: 0x0000000002241a90 ***
*** glibc detected *** freebcp: malloc(): memory corruption: 0x0000000002243d10 ***
I tried 0.91 stable and 0.92.377 with the same result.
More information about the FreeTDS