http://bugs.winehq.org/show_bug.cgi?id=22424
Summary: MS odbctest don't work wit unixodbc Product: Wine Version: 1.1.41 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: odbc AssignedTo: wine-bugs@winehq.org ReportedBy: edo.rus@gmail.com
Created an attachment (id=27463) --> (http://bugs.winehq.org/attachment.cgi?id=27463) 'WINEDEBUG=+odbc wine OdbcTE32.Exe' output
steps to reproduce: 1. install unixodbc, create empty /etc/odbc.ini, /etc/odbcinst.ini; 2. run OdbcTE32.Exe (from MS odbctest); 3. press Ctrl+F (or "Full Connect" from menu); 4. it crash.
You can download MS odbctest from http://www.datadirect.com/support/downloads/tools/index.ssp
some notes: - unixodbc and builtin odbc32.dll work on same wine installation with other windows application; - with installed MDAC and native odbc32.dll odbctest work.
http://bugs.winehq.org/show_bug.cgi?id=22424
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2010-04-19 14:39:11 --- Install debug symbols for Wine and attach new log please.
http://bugs.winehq.org/show_bug.cgi?id=22424
edo edo.rus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #27463|0 |1 is obsolete| |
--- Comment #2 from edo edo.rus@gmail.com 2010-04-19 14:48:35 --- Created an attachment (id=27464) --> (http://bugs.winehq.org/attachment.cgi?id=27464) 'WINEDEBUG=+odbc wine OdbcTE32.Exe' output
http://bugs.winehq.org/show_bug.cgi?id=22424
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com 2010-04-19 14:57:26 --- (In reply to comment #2)
Created an attachment (id=27464)
--> (http://bugs.winehq.org/attachment.cgi?id=27464) [details]
'WINEDEBUG=+odbc wine OdbcTE32.Exe' output
Yep, makes sense, null pointer dereference here in SQLDataSources:
--- if (*NameLength1 > 0) ---
If you run it without +odbc crash won't occur at this point. Since it's a way it should be used post a log without +odbc (of course this bug should be fixed too).
http://bugs.winehq.org/show_bug.cgi?id=22424
--- Comment #4 from edo edo.rus@gmail.com 2010-04-19 15:03:01 --- oops... it work without +odbc.
http://bugs.winehq.org/show_bug.cgi?id=22424
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor
http://bugs.winehq.org/show_bug.cgi?id=22424
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com 2010-04-20 11:42:52 --- Crash with +odbc enabled fixed by c31c4454aa1ce35ee926f1ba6794a55de4073a12.
http://bugs.winehq.org/show_bug.cgi?id=22424
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2010-05-07 13:30:27 --- Closing bugs fixed in 1.1.44.