Issue 217: segmentation fault w/ iODBC 3.52.7, OSX, FreeTDS 0.91
Status:  NoFix
Owner: ----
Closed:  Dec 2011
Reported by zzz...@gmail.com, Oct 15, 2011
What steps will reproduce the problem?
1. install the latest iODBC version 3.52.7: http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/Downloads
2. build pyodbc against this version, 2.1.11 or tip
3. run this program:

import pyodbc

conn = pyodbc.connect("DSN=ms_2005;UID=scott;PWD=tiger;")

cursor = conn.cursor()
cursor.execute("select ?", u'hi')

Again, this is a variant on all the other bugs I'm posting, the bind parameter is a unicode.

produces a segmentation fault.

ODBC log is attached.



What version of the product are you using? On what operating system?


Please provide any additional information below.


sql.log
10.1 KB   View   Download
Oct 16, 2011
Project Member #1 mkleehammer
(No comment was entered for this change.)
Status: Investigating
Dec 18, 2011
Project Member #2 mkleehammer
(No comment was entered for this change.)
Labels: FreeTDS
Dec 18, 2011
Project Member #3 mkleehammer
(No comment was entered for this change.)
Labels: OpSys-OSX
Dec 18, 2011
Project Member #4 mkleehammer
Fixed in 3.0 branch.  Tested in 3.0.1-beta02.

Marking as NoFix because no fix particular to this was made.  Something in the 3.0 port (which reworked Unicode) fixed it.

Status: NoFix