http://bugs.winehq.org/show_bug.cgi?id=2424
Summary: Genotyper crashes when the registration dialog should appear Product: WineHQ Apps Database Version: unspecified Platform: PC URL: http://www.appliedbiosystems.com/catalog/myab/StoreCatal og/products/CategoryDetails.jsp?hierarchyID=101&category 1st=111762&category2nd=111777&category3rd=111915 OS/Version: Linux Status: NEW Severity: critical Priority: P3 Component: website-bugs AssignedTo: wine-bugs@winehq.org ReportedBy: tk@biotix.de
Genotyper is a software from Applied Biosystems ( http://www.appliedbiosystems.com ) to manipulate genetic data files for DNA fingerprinting. The software existed in a classic Macintosh version and in a Windows version.
Applied Biosystems refuses to continue support for this program, because they want to sell the follow-up application that is called GeneMapper.
Here I am refering to Genotyper 3.7, Windows version. There is no Linux software that can handle those ABI files, so I want to get the software running under wine.
The BUG: After adding a MSVCIRT.dll the application starts up, complains about a printer that it can't find, I click "ok", then pops up a second, empty message box (which I can't read) and crashes imediately. The crash is 100% reproducible.
On a native Windows system here should appear a dialog box where the user should enter his name, his company and a registration code. The registration procedure has to be entered only at the first launch of Genotyper, but I don't come behind this point.
Comment on the installer: The installer works nearly without problems. The point where I can't get behind is just before the end of the procedure at the creation of entries in the Start menu. If I break up the install procedure with <ctrl-c> then the program is ready to launch. You can do the same on a native Windows system. So I don't think that this is the real problem.
Comment on registry entries: The manufacturer of the software gives the following hint in a file that can be found in the Genotyper directory:
gtwin.reg ---------------------------------------------------------------------------- REGEDIT ; Registration information for the Genotyper Automation Object application
; ; Note to Developers: ; Several items are commented out below with the comment "inserted by installer" ; If you do not plan on using the installer, and plan on adding these items to ; the registry manually, uncomment the aforementioned items first. ; (Rob Starling - 6/23/1998) ;
; Version independent registration HKEY_CLASSES_ROOT\Win310GS.Application = Genotyper HKEY_CLASSES_ROOT\Win310GS.Application\Clsid = {8edb9a43-2aca-11d2-8e9e-00104b99b041} HKEY_CLASSES_ROOT\Win310GS.Application\CurVer = Genotyper.Application.1
; Version 3.7 registration HKEY_CLASSES_ROOT\Win310GS.Application.1 = Genotyper 3.7 HKEY_CLASSES_ROOT\Win310GS.Application.1\Clsid = {8edb9a43-2aca-11d2-8e9e-00104b99b041}
HKEY_CLASSES_ROOT\CLSID{8edb9a43-2aca-11d2-8e9e-00104b99b041} = Genotyper 3.7 HKEY_CLASSES_ROOT\CLSID{8edb9a43-2aca-11d2-8e9e-00104b99b041}\ProgID = Genotyper.Application.1 HKEY_CLASSES_ROOT\CLSID{8edb9a43-2aca-11d2-8e9e-00104b99b041}\VersionIndependentProgID = Genotyper.Application ; RPS (1998/6/23) - following inserted by installer ;HKEY_CLASSES_ROOT\CLSID{8edb9a43-2aca-11d2-8e9e-00104b99b041}\LocalServer32 = D:\Development\PE\Geneotyper Win\Windows Project\Bin\Debug\Genotyper.exe /Automation HKEY_CLASSES_ROOT\CLSID{8edb9a43-2aca-11d2-8e9e-00104b99b041}\TypeLib = {8edb9a40-2aca-11d2-8e9e-00104b99b041} HKEY_CLASSES_ROOT\CLSID{8edb9a43-2aca-11d2-8e9e-00104b99b041}\Programmable
; Type library registration information HKEY_CLASSES_ROOT\TypeLib{8edb9a40-2aca-11d2-8e9e-00104b99b041} HKEY_CLASSES_ROOT\TypeLib{8edb9a40-2aca-11d2-8e9e-00104b99b041}\3.7 = Genotyper 3.7 Type Library HKEY_CLASSES_ROOT\TypeLib{8edb9a40-2aca-11d2-8e9e-00104b99b041}\3.7\HELPDIR = ;English HKEY_CLASSES_ROOT\TypeLib{8edb9a40-2aca-11d2-8e9e-00104b99b041}\3.7\9\win32 = Genotyper.tlb
; Interface registration. All interfaces that support vtable binding must be ; registered as follows. RegisterTypeLib will do this automatically.
; LIBID_GenotyperNT = {8edb9a40-2aca-11d2-8e9e-00104b99b041}
; IID_IApplication = {8edb9a42-2aca-11d2-8e9e-00104b99b041} HKEY_CLASSES_ROOT\Interface{8edb9a42-2aca-11d2-8e9e-00104b99b041} = IApplication HKEY_CLASSES_ROOT\Interface{8edb9a42-2aca-11d2-8e9e-00104b99b041}\TypeLib = {8edb9a40-2aca-11d2-8e9e-00104b99b041} HKEY_CLASSES_ROOT\Interface{8edb9a42-2aca-11d2-8e9e-00104b99b041}\ProxyStubClsid32 = {00020424-0000-0000-C000-000000000046}
--------------------------------------------------------------------------------
GENOTYPER.tlb cannot be found on a windows system either. The manufacturer of the software gives some more registry information in a file that I included above. I inserted all the registry entries manually, but without success.
Some details on the tested linux system: wine -version = 20040615 and 20040716 Red Hat Fedora core 1 and 2A AMD Duron Processor
Comment on the printer warning: This also happens on a native Windows system if no printer is configured. On an other linux computer with a properly configured (cups) printer the Message Box doesn't appear. So this is NOT the real bug!
This is the output on the console during execution of Genotyper: [thomas@islay Genotyper]$ wine Genotyper.exe fixme:ole:LoadTypeLibEx Wanted to load L"GENOTYPER.tlb" as typelib, but file was not found. fixme:commdlg:PRINTDLG_OpenDefaultPrinter Could not open printer EPSON EPL-5800 Advanced?! fixme:commdlg:PRINTDLG_OpenDefaultPrinter Could not open printer EPSON EPL-5800 Advanced?! fixme:commdlg:PRINTDLG_OpenDefaultPrinter Could not open printer EPSON EPL-5800 Advanced?! fixme:commdlg:PRINTDLG_OpenDefaultPrinter Could not open printer EPSON EPL-5800 Advanced?! wine: Unhandled exception (thread 0009), starting debugger... fixme:console:SetConsoleCtrlHandler (0x1407f0,1) - no error checking or testing yet WineDbg starting on pid 0x8 Unhandled exception: page fault on read access to 0x0000009a in 32-bit code (0x2b178f4a). In 32 bit mode. 0x2b178f4a: movb 0x9a(%ecx),%dl Wine-dbg>bt Backtrace: =>1 0x2b178f4a (0x6dd1f7d0) 2 0x2b178ff5 (0x6dd1f7dc) 3 0x0049ed6b (0x6dd1f9f4) 4 0x00491aa2 (0x6dd1fc98) 5 0x00416df3 (0x6dd1fd70) 6 0x0040319b (0x6dd1fe94) 7 0x0056d922 (0x6dd1ff20) 8 0x1017f4b2 (0x6dd1fff4) 9 0x377a4081 (0x00000000) Wine-dbg>pass Process of pid=0x00000008 has terminated Wine-dbg>WineDbg terminated on pid 0x8 [thomas@islay Genotyper]$
This is the wine.log with WINEDEBUG=+relay,+seh wine Genotyper.exe &>wine.log (just the lines before the start of the debugger) --------------------------------------------------------------------- (...) 0009:Call ntdll.NtReadFile(00000098,00000000,00000000,00000000,1021f84c,1021f984,00000004,00000000,00000000) ret=6b36e344 0009:Ret ntdll.NtReadFile() retval=00000000 ret=6b36e344 0009:Ret kernel32.ReadFile() retval=00000001 ret=35ee882e 0009:Call kernel32.ReadFile(00000098,629635fa,0000001b,1021f980,00000000) ret=35ee882e 0009:Call ntdll.NtReadFile(00000098,00000000,00000000,00000000,1021f864,629635fa,0000001b,00000000,00000000) ret=6b36e344 0009:Ret ntdll.NtReadFile() retval=00000000 ret=6b36e344 0009:Ret kernel32.ReadFile() retval=00000001 ret=35ee882e 0009:Call user32.GetKeyboardState(35fe9720) ret=35edbb1b 0009:Ret user32.GetKeyboardState() retval=00000001 ret=35edbb1b 0009:Call user32.GetAsyncKeyState(00000020) ret=35edbc45 0009:Ret user32.GetAsyncKeyState() retval=00000000 ret=35edbc45 0009:Call user32.GetAsyncKeyState(00000011) ret=35edbc7f 0009:Ret user32.GetAsyncKeyState() retval=00000000 ret=35edbc7f 0009:Call user32.GetAsyncKeyState(00000010) ret=35edbcec 0009:Ret user32.GetAsyncKeyState() retval=00000000 ret=35edbcec 0009:Call user32.GetAsyncKeyState(00000012) ret=35edbd27 0009:Ret user32.GetAsyncKeyState() retval=00000000 ret=35edbd27 0009:Call user32.GetAsyncKeyState(0000001b) ret=35edbd61 0009:Ret user32.GetAsyncKeyState() retval=00000000 ret=35edbd61 0009:Call user32.GetKeyState(00000014) ret=35edbd9a 0009:Ret user32.GetKeyState() retval=00000000 ret=35edbd9a 0009:Call user32.GetAsyncKeyState(00000071) ret=35edbdd2 0009:Ret user32.GetAsyncKeyState() retval=00000000 ret=35edbdd2 0009:Call user32.GetAsyncKeyState(0000002d) ret=35edbe0c 0009:Ret user32.GetAsyncKeyState() retval=00000000 ret=35edbe0c 0009:Call user32.GetAsyncKeyState(00000060) ret=35edbe21 0009:Ret user32.GetAsyncKeyState() retval=00000000 ret=35edbe21 trace:seh:EXC_RtlRaiseException code=c0000005 flags=0 addr=0x35f68f4a trace:seh:EXC_RtlRaiseException info[0]=00000000 trace:seh:EXC_RtlRaiseException info[1]=0000009a trace:seh:EXC_RtlRaiseException eax=00000000 ebx=6b42fac8 ecx=00000000 edx=00000000 esi=628b1ebd edi=0056d7d0 trace:seh:EXC_RtlRaiseException ebp=1021f7d0 esp=1021f7bc cs=0023 ds=002b es=002b fs=003b gs=0033 flags=00010246 trace:seh:EXC_CallHandler calling handler at 0x58033e code=c0000005 flags=0 trace:seh:EXC_CallHandler handler returned 1 trace:seh:EXC_CallHandler calling handler at 0x573618 code=c0000005 flags=0 0009:Call kernel32.GetLastError() ret=0056f998 0009:Ret kernel32.GetLastError() retval=00000002 ret=0056f998 0009:Call kernel32.TlsGetValue(00000006) ret=0056f9a6 0009:Ret kernel32.TlsGetValue() retval=7e8b0100 ret=0056f9a6 0009:Call kernel32.SetLastError(00000002) ret=0056fa05 0009:Ret kernel32.SetLastError() retval=00000002 ret=0056fa05 0009:Call kernel32.UnhandledExceptionFilter(1021f380) ret=00572b47 0009:Call kernel32.IsBadCodePtr(3fc55bc0) ret=00574401 0009:Ret kernel32.IsBadCodePtr() retval=00000000 ret=00574401 0009:Call kernel32.IsBadCodePtr(3e18add3) ret=3fc56fd1 0009:Ret kernel32.IsBadCodePtr() retval=00000000 ret=3fc56fd1 0009:Call ntdll.NtCreateEvent(1021f204,001f0003,1021f208,00000001,00000000) ret=6b36d109 0009:Ret ntdll.NtCreateEvent() retval=00000000 ret=6b36d109 wine: Unhandled exception (thread 0009), starting debugger... 0009:Call ntdll.RtlInitUnicodeString(1021f010,6b40cce0 L"Machine\Software\Microsoft\Windows NT\CurrentVersion\AeDebug") ret=6b36c92f 0009:Ret ntdll.RtlInitUnicodeString() retval=00000000 ret=6b36c92f (...) ------------------------------------------------------------------------------
For more information please mailto:tk@biotix.de Please help. This is the only software that keeps me running windows...