Dear List, Genotyper is a prop. software from Applied Biosystems to manipulate genetic data files for DNA fingerprinting. There is no Linux software that can handle those ABI files, so I want to get the software running under wine. After adding a MSVCIRT.dll the application starts up, complains about a printer that it can't find, I click "ok", then pops up two message boxes (which I can't read) and crashes imediately. 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 appended below. I inserted all the registry entries manually, but without success. Some details: wine -version = 20040615 Red Hat Fedora 1.0 AMD Duron Processor [thomas@islay Genotyper]$ winedbg Genotyper.exe fixme:console:SetConsoleCtrlHandler (0x2635b7f0,1) - no error checking or testing yet WineDbg starting on pid 0xa In 32 bit mode. Wine-dbg>c 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?! First chance exception: page fault on read access to 0x0000009a in 32-bit code (0x100d8f4a). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:003b GS:0033 EIP:100d8f4a ESP:003ef7bc EBP:003ef7d0 EFLAGS:00010246( - 00 -RIZP1) EAX:00000000 EBX:0086fac8 ECX:00000000 EDX:00000000 ESI:77df1b9e EDI:0056d7d0 Stack dump: 0x00000000: 00000000 00000000 00000000 00000000 0x00000010: 00000000 00000000 00000000 00000000 0x00000020: 00000000 00000000 00000000 00000000 0x00000030: 00000000 00000000 00000000 00000000 0x00000040: 00000000 00000000 00000000 00000000 0x00000050: 00000000 00000000 00000000 00000000 0x00000060: Backtrace: =>1 0x100d8f4a (0x003ef7d0) 2 0x100d8ff5 (0x003ef7dc) 3 0x0049ed6b (0x003ef9f4) 4 0x00491aa2 (0x003efc98) 5 0x00416df3 (0x003efd70) 6 0x0040319b (0x003efe94) 7 0x0056d922 (0x003eff20) 8 0x007d64b2 (0x003efff4) 9 0x0064e081 (0x00000000) 0x100d8f4a: movb 0x9a(%ecx),%dl Wine-dbg>q WineDbg terminated on pid 0xa [thomas@islay Genotyper]$ -------------------------------------------------------------------------- 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} Can anybody help me to continue? Thank you, Thomas -- Dipl.-Ing. Thomas Krahn biotix GmbH Tel.: +49-331 / 2300 452 Hermannswerder Haus 14 Fax: +49-331 / 2300 450 D-14473 Potsdam
Dear List, Genotyper is a prop. software from Applied Biosystems to manipulate genetic data files for DNA fingerprinting. There is no Linux software that can handle those ABI files, so I want to get the software running under wine. After adding a MSVCIRT.dll the application starts up, complains about a printer that it can't find, I click "ok", then pops up two message boxes (which I can't read) and crashes imediately. 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 appended below. I inserted all the registry entries manually, but without success. Some details: wine -version = 20040615 Red Hat Fedora 1.0 AMD Duron Processor [thomas@islay Genotyper]$ winedbg Genotyper.exe fixme:console:SetConsoleCtrlHandler (0x2635b7f0,1) - no error checking or testing yet WineDbg starting on pid 0xa In 32 bit mode. Wine-dbg>c 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?! First chance exception: page fault on read access to 0x0000009a in 32-bit code (0x100d8f4a). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:003b GS:0033 EIP:100d8f4a ESP:003ef7bc EBP:003ef7d0 EFLAGS:00010246( - 00 -RIZP1) EAX:00000000 EBX:0086fac8 ECX:00000000 EDX:00000000 ESI:77df1b9e EDI:0056d7d0 Stack dump: 0x00000000: 00000000 00000000 00000000 00000000 0x00000010: 00000000 00000000 00000000 00000000 0x00000020: 00000000 00000000 00000000 00000000 0x00000030: 00000000 00000000 00000000 00000000 0x00000040: 00000000 00000000 00000000 00000000 0x00000050: 00000000 00000000 00000000 00000000 0x00000060: Backtrace: =>1 0x100d8f4a (0x003ef7d0) 2 0x100d8ff5 (0x003ef7dc) 3 0x0049ed6b (0x003ef9f4) 4 0x00491aa2 (0x003efc98) 5 0x00416df3 (0x003efd70) 6 0x0040319b (0x003efe94) 7 0x0056d922 (0x003eff20) 8 0x007d64b2 (0x003efff4) 9 0x0064e081 (0x00000000) 0x100d8f4a: movb 0x9a(%ecx),%dl Wine-dbg>q WineDbg terminated on pid 0xa [thomas@islay Genotyper]$ -------------------------------------------------------------------------- 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} Can anybody help me to continue? Thank you, Thomas -- Dipl.-Ing. Thomas Krahn biotix GmbH Tel.: +49-331 / 2300 452 Hermannswerder Haus 14 Fax: +49-331 / 2300 450 D-14473 Potsdam
On Thu, 05 Aug 2004 10:39:50 +0200, you wrote:> [thomas@islay Genotyper]$ winedbg Genotyper.exe > fixme:console:SetConsoleCtrlHandler (0x2635b7f0,1) - no error checking or > testing yet > WineDbg starting on pid 0xa > In 32 bit mode. > Wine-dbg>c > 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?! > First chance exception: page fault on read access to 0x0000009a in 32-bit > code (0x100d8f4a). > Register dump: > CS:0023 SS:002b DS:002b ES:002b FS:003b GS:0033 > EIP:100d8f4a ESP:003ef7bc EBP:003ef7d0 EFLAGS:00010246( - 00 > -RIZP1) > EAX:00000000 EBX:0086fac8 ECX:00000000 EDX:00000000 > ESI:77df1b9e EDI:0056d7d0 > Stack dump: > 0x00000000: 00000000 00000000 00000000 00000000 > 0x00000010: 00000000 00000000 00000000 00000000 > 0x00000020: 00000000 00000000 00000000 00000000 > 0x00000030: 00000000 00000000 00000000 00000000 > 0x00000040: 00000000 00000000 00000000 00000000 > 0x00000050: 00000000 00000000 00000000 00000000 > 0x00000060: > > Backtrace: > =>1 0x100d8f4a (0x003ef7d0) > 2 0x100d8ff5 (0x003ef7dc) > 3 0x0049ed6b (0x003ef9f4) > 4 0x00491aa2 (0x003efc98) > 5 0x00416df3 (0x003efd70) > 6 0x0040319b (0x003efe94) > 7 0x0056d922 (0x003eff20) > 8 0x007d64b2 (0x003efff4) > 9 0x0064e081 (0x00000000) > 0x100d8f4a: movb 0x9a(%ecx),%dl > Wine-dbg>qYou have started your program with winedbg, not wine, I do not know why? OK, now you have hit upon a "first chance" exception. "First chance" means that the program has not been offered a chance to handle it by itself. In other words this is not the crash (yet). The right thing is to enter "pass" here, and repeat entering "pass" when you hit "first chance" exceptions until you get an "unhandled" exception. Then it is for real. Rein. -- Rein Klazes rklazes@xs4all.nl
On Fri, 6 Aug 2004 09:26:59 +0200 (CEST), you wrote:> Hello Rein, > > thank you for your hint with the pass statement. > Now I went two steps further: > > (continued) > 0x100d8f4a: movb 0x9a(%ecx),%dl > Wine-dbg>pass > Unhandled exception: page fault on read access to 0x0000009a in 32-bit > code (0x100d8f4a). > Register dump: > CS:0023 SS:002b DS:002b ES:002b FS:003b GS:0033 > EIP:100d8f4a ESP:003ef7bc EBP:003ef7d0 EFLAGS:00010246( - 00 -RIZP1) > EAX:00000000 EBX:0086fac8 ECX:00000000 EDX:00000000 > ESI:77df1b9e EDI:0056d7d0 > Stack dump: > 0x00000000: 00000000 00000000 00000000 00000000 > 0x00000010: 00000000 00000000 00000000 00000000 > 0x00000020: 00000000 00000000 00000000 00000000 > 0x00000030: 00000000 00000000 00000000 00000000 > 0x00000040: 00000000 00000000 00000000 00000000 > 0x00000050: 00000000 00000000 00000000 00000000 > 0x00000060: > > Backtrace: > =>1 0x100d8f4a (0x003ef7d0) > 2 0x100d8ff5 (0x003ef7dc) > 3 0x0049ed6b (0x003ef9f4) > 4 0x00491aa2 (0x003efc98) > 5 0x00416df3 (0x003efd70) > 6 0x0040319b (0x003efe94) > 7 0x0056d922 (0x003eff20) > 8 0x007d64b2 (0x003efff4) > 9 0x0064e081 (0x00000000) > 0x100d8f4a: movb 0x9a(%ecx),%dl > Wine-dbg>pass > Process of pid=0x0000000a has terminated > Wine-dbg> > > -------------------------------------------------- > The Genotyper window closes now. > > If I call "wine Genotyper.exe" the execution will stop with > > wine: Unhandled exception (thread 0009), starting debugger... > Usage: winedbg [--auto] [--gdb] cmdline > > The only posibility to continue is to press <ctrl-c> to stop the execution. > Have I got a wrong wine configuration?Probably the debugger configuration is not correct. Here is the doc: http://www.winehq.org/site/docs/wine-devel/dbg-config> Or should I upgrade to a newer wine > version than 20040615 ?Upgrading to the latest version is always a good idea. But it looks that the debugger back trace is not giving useful information about the cause of the crash. What you may try is to produce a relay log with: WINEDEBUG=+relay,+seh wine Genotyper.exe &>wine.log The resulting wine.log can be REAL BIG. Open it in an editor and search for the string "starting debugger". From that point look upwards in the log to suspicious failures. If you need help and want to show portions of the log consider entering a bug report at http://bugs.winehq.org. It has an upload facility. Rein. -- Rein Klazes rklazes@xs4all.nl