Coredump in databuf handling binary/text columns, usually in a BCP-in. Code assumes PyString without testing, so passing a python Integer (etc) coredumps. Attached test case demonstrates. Attached patch fixes (line numbers might be off... had to un-mangle the "truncate" patch).
Test Case
Patch