http://bugs.winehq.org/show_bug.cgi?id=20387
Summary: Crystal Report 6 abort install with wine 1.1.31 Product: WineHQ Apps Database Version: unspecified Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: appdb-unknown AssignedTo: wine-bugs@winehq.org ReportedBy: gjotam@hotmail.com
Created an attachment (id=24167) --> (http://bugs.winehq.org/attachment.cgi?id=24167) Logs and back traces
Crystal Report 6 abort install with wine 1.1.31
http://bugs.winehq.org/show_bug.cgi?id=20387
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|appdb-unknown |odbc Product|WineHQ Apps Database |Wine Severity|critical |normal
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2009-10-16 11:44:16 --- Hi.
--- wine: Call from 0x7b842ed6 to unimplemented function odbccp32.dll.SQLCreateDataSourceExW, aborting ---
Confirming. In future please install debug symbols package (or build Wine from sources) before attaching log.
http://bugs.winehq.org/show_bug.cgi?id=20387
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer Status|UNCONFIRMED |NEW Version|unspecified |1.1.31 Summary|Crystal Report 6 abort |Crystal Report 6 abort |install with wine 1.1.31 |install Ever Confirmed|0 |1
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com 2009-10-16 11:45:06 --- Confirming.
http://bugs.winehq.org/show_bug.cgi?id=20387
--- Comment #3 from Austin English austinenglish@gmail.com 2011-10-02 11:44:32 CDT --- Created attachment 36660 --> http://bugs.winehq.org/attachment.cgi?id=36660 forward the stub
Try this patch.
http://bugs.winehq.org/show_bug.cgi?id=20387
--- Comment #4 from Austin English austinenglish@gmail.com 2013-11-13 16:49:42 CST --- This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.6 or newer) wine? If so, please attach the terminal output in 1.7.6 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=20387
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |ftp://ftp.redanvil.net/2000 | |%20resource%20cd/apps/cryst | |al/ CC| |focht@gmx.net Summary|Crystal Report 6 abort |Seagate Crystal Reports 6 |install |installer crashes due to | |incorrect ordinal numbering | |of 'odbccp32.dll' exports
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
found a 'backup', confirming.
--- snip --- $ pwd /home/focht/Downloads/cr6/disk1
$ WINEDEBUG=+tid,+seh,+relay,+odbc wine ./setup.exe >>log.txt 2>&1 ... 0024:Call KERNEL32.CreateProcessA(00000000,00412138 "crwstp32.exe /d Z:\home\focht\Downloads\cr6\disk1\ ",00000000,00000000,00000000,00000020,00000000,00000000,0033fb20,0033fb64) ret=00401976 ... 0026:Call KERNEL32.__wine_kernel_init() ret=7bc5a316 0024:Ret KERNEL32.CreateProcessA() retval=00000001 ret=00401976 0024:Call KERNEL32.WaitForSingleObject(0000004c,ffffffff) ret=0040146a 0026:Call PE DLL (proc=0x7e3cab58,module=0x7e3c0000 L"odbccp32.dll",reason=WINE_PREATTACH,res=(nil)) 0026:Ret PE DLL (proc=0x7e3cab58,module=0x7e3c0000 L"odbccp32.dll",reason=WINE_PREATTACH,res=(nil)) retval=1 ... 0026:Call odbccp32.SQLConfigDataSourceW(00603dc0,00000104,0033f900 L"\0104\7b8b\08003\3dc0`\fa303\dbb9@",00000000) ret=0041ac59 0026:fixme:odbc:SQLConfigDataSourceW 0x603dc0 260 L"\0104\7b8b\08003\3dc0`\fa303\dbb9@" (null) 0026:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7e3c7fb8 ip=7e3c7fb8 tid=0026 0026:trace:seh:raise_exception info[0]=00000000 0026:trace:seh:raise_exception info[1]=00000000 0026:trace:seh:raise_exception eax=00000000 ebx=7e3ce000 ecx=00000000 edx=7bcecb88 esi=0033f8a0 edi=f77903b5 0026:trace:seh:raise_exception ebp=0033f888 esp=0033f820 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210206 0026:trace:seh:call_stack_handlers calling handler at 0x430fe4 code=c0000005 flags=0 0026:Call KERNEL32.UnhandledExceptionFilter(0033f300) ret=00430a4c --- snip ---
Not obvious but Wine got the ordinals of 'odbccp32.dll' exports wrong. The helper app imports all ODBC API by ordinal.
Dump of import descriptor for 'crwstp32.exe' with LordPE:
--- snip --- ... 8. ImageImportDescriptor: OriginalFirstThunk: 0x00047648 TimeDateStamp: 0x00000000 (GMT: Thu Jan 01 00:00:00 1970) ForwarderChain: 0x00000000 Name: 0x0004863A ("odbccp32.dll") FirstThunk: 0x00047B7C
Ordinal/Hint API name ------------ --------------------------------------- 0x0008 0x0006 0x0009 0x0003 ... --- snip ---
Source: http://source.winehq.org/git/wine.git/blob/75c5484174462a521856b01c17abb18e2...
How it should be (at least for the imports this app uses, other ordinals might be wrong too):
--- snip --- 0x0008 -> stdcall SQLWriteDSNToIni(str str) 0x0006 -> stdcall SQLConfigDataSource(ptr long str str) 0x0009 -> stdcall SQLRemoveDSNFromIni(str) 0x0003 -> stdcall SQLInstallDriverManager(ptr long ptr) --- snip ---
A more complete dump can be found here: http://www.silverlings.com/dlls/html/odbccp32.dll.html
$ wine --version wine-1.7.13
Regards
http://bugs.winehq.org/show_bug.cgi?id=20387
--- Comment #6 from Stefan Leichter Stefan.Leichter@camLine.com --- Should be fixed by http://source.winehq.org/git/wine.git/commit/cbd765155255c910e4d690b411007aa...
http://bugs.winehq.org/show_bug.cgi?id=20387
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |cbd765155255c910e4d690b4110 | |07aa072236842 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
indeed fixed by commit http://source.winehq.org/git/wine.git/commitdiff/cbd765155255c910e4d690b4110...
Thanks Stefan
--- snip --- $ pwd /home/focht/Downloads/cr6/disk1
$ wine ./setup.exe ... fixme:ole:DllRegisterServer stub fixme:odbc:SQLConfigDataSource (nil) 4 "Microsoft Access Driver (*.mdb)" "DSN=Craze sample data" fixme:odbc:SQLConfigDataSource (nil) 4 "Microsoft Access Driver (*.mdb)" "DSN=Xtreme sample data" fixme:odbc:SQLWriteDSNToIni ... --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=20387
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.15.