http://bugs.winehq.org/show_bug.cgi?id=16998
Summary: WISO Sparbuch crashes at startup Product: WineHQ Apps Database Version: unspecified Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: appdb-unknown AssignedTo: wine-bugs@winehq.org ReportedBy: oliver.fels@gmx.net
Created an attachment (id=18792) --> (http://bugs.winehq.org/attachment.cgi?id=18792) general protection fault output
The WISO Sparbuch 2009 application crashes with a general protection fault at startup in wmain09.dll. WISO Sparbuch 2008 ran at least in most areas with wine 1.0.
See attached log for information.
http://bugs.winehq.org/show_bug.cgi?id=16998
Oliver Fels oliver.fels@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://wiso.buhl.de/WISO_Sp | |arbuch_2009_als_Download_Var | |ianten.BuhlData
--- Comment #1 from Oliver Fels oliver.fels@gmx.net 2009-01-18 07:50:02 --- Link to the commercial software download added. Requires key for installation.
http://bugs.winehq.org/show_bug.cgi?id=16998
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal Component|appdb-unknown |-unknown Keywords| |download Product|WineHQ Apps Database |Wine Version|unspecified |1.0.0
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2009-01-18 15:18:41 --- Please upgrade to latest Wine version (wine-1.1.13) and try again. Not appDB bug. Not critical.
http://bugs.winehq.org/show_bug.cgi?id=16998
--- Comment #3 from mb2000@gmx.net 2009-01-21 16:30:32 --- Created an attachment (id=18880) --> (http://bugs.winehq.org/attachment.cgi?id=18880) debug stacktrace for Sparbuch2009
http://bugs.winehq.org/show_bug.cgi?id=16998
mb2000@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mb2000@gmx.net
--- Comment #4 from mb2000@gmx.net 2009-01-21 16:34:28 --- (In reply to comment #2)
Please upgrade to latest Wine version (wine-1.1.13) and try again.
I tested Sparbuch 2009 on a Gentoo machine with wine 1.1.13. Resulting console output is slightly different from file "general_protection_fault_output". An unhandled exception is mentioned - see file "debug_stacktrace_for_Sparbuch2009". It seems to me more a bug in conjunction with library "msvcr80.dll" than with "wmain09.dll"
Not appDB bug. Not critical.
But would be nice if we get this application running ;-) .
http://bugs.winehq.org/show_bug.cgi?id=16998
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #18880|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=16998
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet
http://bugs.winehq.org/show_bug.cgi?id=16998
--- Comment #5 from Oliver Fels oliver.fels@gmx.net 2009-03-14 03:50:21 --- *ping* Updated to 1.1.16 and still crashing.
http://bugs.winehq.org/show_bug.cgi?id=16998
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #6 from Anastasius Focht focht@gmx.net 2009-04-12 16:16:25 --- Hello,
fortunately the 2009 trial version exhibits same behaviour ;-)
1)
First stopper is a message box with "OLE error 0x80004001" when it comes to entering the trial code "SP2009" Console reveals:
--- snip --- err:ole:CoGetClassObject class {88d969c0-f192-11d4-a65f-0040963251e5} not registered err:ole:create_server class {88d969c0-f192-11d4-a65f-0040963251e5} not registered err:ole:CoGetClassObject no class object {88d969c0-f192-11d4-a65f-0040963251e5} could be created for context 0x5 fixme:msxml:domdoc_createNode nodes with namespaces currently not supported. fixme:msxml:domelem_setAttributeNode --- snip ---
-> CLSID_DOMDocument40
'winetricks -q msxml4' works around the problem.
2)
The installer complains about missing "Windows Media Player 9" but this can be skipped (installer says it's optional).
3)
Installer tells about additional required prerequisites:
- .NET 2.0 Framework - MSXML3 SP7
Install the .NET 2.0 Framework using winetricks - don't let the app installer do this (see my note in appdb entry for rationale)!
'winetricks -q dotnet20'
Let the installer execute the MSXML3 SP7 update. Wine will prefer builtin anyway, hence this update is harmless.
===============
Now back to the real one ... relevant snippet:
--- snip --- ... 0009:Call KERNEL32.WinExec(00571588 "wmain09.dll /BYEXE:WISO2009.EXE /CODE:S /SPECIALVERSION:ON4U_PAY",0000000a) ret=0040154a ... 001e:Starting process L"C:\Program Files\WISO\Sparbuch 2009\wmain09.dll" (entryproc=0x49a3e8) ... 001e:CALL winc09.2793(<unknown, check return>) ret=0040348a 001e:CALL rswinapi4.964(157779f8) ret=1556a538 001e:Call KERNEL32.GetModuleHandleA(157779f8 "kernel32.dll") ret=01390019 001e:Ret KERNEL32.GetModuleHandleA() retval=7b820000 ret=01390019 001e:RET rswinapi4.964() retval=7b820000 ret=1556a538 001e:CALL rswinapi4.944(<unknown, check return>) ret=1556a53f 001e:Call KERNEL32.GetProcAddress(7b820000,15777a08 "IsDebuggerPresent") ret=01390019 001e:Ret KERNEL32.GetProcAddress() retval=7b829c64 ret=01390019 001e:RET rswinapi4.944(7b820000,15777a08) retval=7b829c64 ret=1556a53f 001e:Call KERNEL32.IsDebuggerPresent() ret=1556a54b 001e:Ret KERNEL32.IsDebuggerPresent() retval=00000000 ret=1556a54b 001e:CALL MSVCR80.??2@YAPAXI@Z() ret=1556a55a 001e:Call ntdll.RtlAllocateHeap(01280000,00000000,00000001) ret=78134d83 001e:Ret ntdll.RtlAllocateHeap() retval=012b2e40 ret=78134d83 001e:RET MSVCR80.??2@YAPAXI@Z() retval=012b2e40 ret=1556a55a 001e:CALL rsdebug4.412(<unknown, check return>) ret=1556a56c 001e:Call KERNEL32.SetUnhandledExceptionFilter(13307974) ret=133079af 001e:Ret KERNEL32.SetUnhandledExceptionFilter() retval=0049a647 ret=133079af 001e:Call KERNEL32.GetModuleHandleA(1330cc08 "kernel32") ret=133079c9 001e:Ret KERNEL32.GetModuleHandleA() retval=7b820000 ret=133079c9 001e:Call KERNEL32.GetProcAddress(7b820000,1330cd28 "SetUnhandledExceptionFilter") ret=13302a5a 001e:Ret KERNEL32.GetProcAddress() retval=7b82b11c ret=13302a5a 001e:CALL QtCore4.?createData@QMapData@@SAPAU1@XZ() ret=1330233f 001e:CALL MSVCR80.??2@YAPAXI@Z() ret=67043667 001e:Call ntdll.RtlAllocateHeap(01280000,00000000,00000048) ret=78134d83 001e:Ret ntdll.RtlAllocateHeap() retval=012b2e58 ret=78134d83 001e:RET MSVCR80.??2@YAPAXI@Z() retval=012b2e58 ret=67043667 001e:RET QtCore4.?createData@QMapData@@SAPAU1@XZ() retval=012b2e58 ret=1330233f 001e:CALL MSVCR80.malloc(0000000c) ret=13302a99 001e:Call ntdll.RtlAllocateHeap(01280000,00000000,0000000c) ret=78134d83 001e:Ret ntdll.RtlAllocateHeap() retval=012b2ea8 ret=78134d83 001e:RET MSVCR80.malloc() retval=012b2ea8 ret=13302a99 001e:CALL MSVCR80.memset(012b2ea8,00000000,0000000c) ret=13302aa8 001e:RET MSVCR80.memset() retval=012b2ea8 ret=13302aa8 001e:CALL MSVCR80.memcpy(012b2ea8,7b82b11c,00000006) ret=13302ab9 001e:RET MSVCR80.memcpy() retval=012b2ea8 ret=13302ab9 001e:CALL MSVCR80.memset(0033eddc,00000000,00000006) ret=13302ac6 001e:RET MSVCR80.memset() retval=0033eddc ret=13302ac6 001e:Call KERNEL32.VirtualQuery(7b82b11c,0033ed90,0000001c) ret=133018ec 001e:Ret KERNEL32.VirtualQuery() retval=0000001c ret=133018ec 001e:CALL MSVCR80.memcpy(7b82b11c,0033eddc,00000006) ret=133018fe 001e:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7814517c ip=0x7814517c tid=001e 001e:trace:seh:raise_exception info[0]=00000001 001e:trace:seh:raise_exception info[1]=7b82b11c 001e:trace:seh:raise_exception eax=c7f9e967 ebx=97adc7f9 ecx=00000001 edx=00000002 esi=0033eddc edi=7b82b11c 001e:trace:seh:raise_exception ebp=0033ed78 esp=0033ed70 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210297 ... 001e:Call KERNEL32.lstrcatA(13312e90 "C:\Program Files\WISO\Sparbuch 2009\wmain09.dll (16.04.6273) \n \nException code: C0000005 \nFault address: 7814517C \n \nRegisters: \nEAX:C7F9E967 \nEBX:97ADC7F9 \nECX:00000001 \nEDX:00000002 \nESI:0033EDDC \nEDI:7B82B11C \nCS:EIP:0023:7814517C \nSS:ESP:002B:0033ED70 EBP:0033ED78 \n \nSegments"...,1330cc24 " \n") ret=13308ee6 ... --- snip ---
The way the app tries to hook the API entry won't work with Wine as of now. Basically it sets up a trampoline at the API entry of SetUnhandledExceptionFilter().
Protection, default for builtins: (unix) VPROT_SYSTEM | VPROT_IMAGE | VPROT_COMMITTED | VPROT_WRITECOPY | VPROT_EXEC | VPROT_READ
--- snip --- 001e:trace:module:load_builtin_dll Trying built-in L"kernel32.dll" 001e:trace:virtual:VIRTUAL_DumpView View: 0x7b820000 - 0x7b949fff (system) 001e:trace:virtual:VIRTUAL_DumpView 0x7b820000 - 0x7b949fff c-rWx 001e:trace:virtual:virtual_create_system_view created 0x7b820000-0x7b94a000 --- snip ---
Unfortunately Wine lies about page protection by design (it will later adjust the permissions under certain conditions) and returns PAGE_EXECUTE_WRITECOPY for API entry regions.
Because of that the app code straight tries to rewrite the API entry opcodes and causes exception which is unexpected hence the error.
The app has a hard coded page protection bits check: PAGE_EXECUTE_READ | PAGE_READONLY - if one of these is set, it will adjust the page protection (VirtualProtect) to enable write.
I went the quick route and forced the app to explicitly make protection change request (enable write) and it fixed the problem. This lets the app successfully start - only to run into bug 12405
Regards
http://bugs.winehq.org/show_bug.cgi?id=16998
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joachim.backes@rhrk.uni-kl. | |de
--- Comment #7 from Juan Lang juan_lang@yahoo.com 2010-05-27 13:40:02 --- *** Bug 22899 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=16998
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|dotnet | Component|-unknown |ntdll
--- Comment #8 from Anastasius Focht focht@gmx.net 2010-07-29 14:54:49 --- Hello,
removing 'dotnet' keyword and assigning proper component. Marcus Meissner did some work on it - tests indicating incorrect behaviour are already in.
http://thread.gmane.org/gmane.comp.emulators.wine.devel/78933
Hopefully this last blocker bug gets fixed for the pleasure of many german people using WISO software suite (not only tax calc/accounting).
Regards
http://bugs.winehq.org/show_bug.cgi?id=16998
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |michael.istinger@gmx.at
--- Comment #9 from Anastasius Focht focht@gmx.net 2010-08-18 15:21:01 --- *** Bug 21190 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=16998
Marcus Meissner marcus@jet.franken.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |marcus@jet.franken.de Resolution| |FIXED Target Milestone|--- |1.2.x
--- Comment #10 from Marcus Meissner marcus@jet.franken.de 2010-08-24 11:14:48 --- a different patch has just been committed in the development tree.
it would be nice if you could test with it again (with the patch in here removed).
git sha1 is 2ca5513a6294a9e653c678bffee58a537d94d54d marked for 1.2.x.
http://bugs.winehq.org/show_bug.cgi?id=16998
--- Comment #11 from Anastasius Focht focht@gmx.net 2010-08-24 11:54:30 --- Hello,
--- quote --- a different patch has just been committed in the development tree.
it would be nice if you could test with it again (with the patch in here removed).
git sha1 is 2ca5513a6294a9e653c678bffee58a537d94d54d marked for 1.2.x. --- quote ---
Sure, works nicely - as expected. I installed and ran the 2009 trial version successfully.
--- snip --- $ ls -l WISO\ Sparbuch\ 2009\ Trial.exe -rwxr-xr-x. 1 focht focht 570860720 2009-04-12 20:45 WISO Sparbuch 2009 Trial.exe
$ sha1sum WISO\ Sparbuch\ 2009\ Trial.exe f6e06bebde185dd0b486859b55e96632acd6efa0 WISO Sparbuch 2009 Trial.exe
$ wine --version wine-1.3.1-135-g2c127dd --- snip ---
I'll update appdb with minimum Wine version requirement (and remove the patch-snippet) when a new release is done. That snippet was a quick hack anyway which broke other stuff.
Thanks for the proper fix, maybe more german users now have a reason to switch to Linux ;-)
Regrds
http://bugs.winehq.org/show_bug.cgi?id=16998
--- Comment #12 from JB joachim.backes@rhrk.uni-kl.de 2010-08-25 02:59:52 --- Created an attachment (id=30374) --> (http://bugs.winehq.org/attachment.cgi?id=30374) The fake-dll window I have to confirm a lot of times
WISO sparbch runs, but I have to press very,very often the OK button in that fake-dll window. Any solution for that?
http://bugs.winehq.org/show_bug.cgi?id=16998
--- Comment #13 from JB joachim.backes@rhrk.uni-kl.de 2010-08-25 03:11:08 --- (In reply to comment #12)
Created an attachment (id=30374)
--> (http://bugs.winehq.org/attachment.cgi?id=30374) [details]
The fake-dll window I have to confirm a lot of times
WISO sparbch runs, but I have to press very,very often the OK button in that fake-dll window. Any solution for that?
I forgot to say that I installed the git version wine-1.3.1-135-g2c127dd.
http://bugs.winehq.org/show_bug.cgi?id=16998
--- Comment #14 from Anastasius Focht focht@gmx.net 2010-08-25 03:19:20 --- Hello,
--- quote --- The fake-dll window I have to confirm a lot of times
WISO sparbch runs, but I have to press very,very often the OK button in that fake-dll window. Any solution for that? --- quote ---
I don't get that error. Did you install any additional software in WISO WINEPREFIX, dll overrides? Make sure you followed appdb HOWTO and used last GIT snapshot.
I found this report in german support forum: http://www.wiso-software.de/forum/index.php?page=Thread&postID=146659&am...
Basically they say:
1.) "update your virus scanner and restart system" -> standard dummy-user response, I thought they would suggest reinstalling Windows ;-)
2.) "Program menu" -> "WISO Mein Geld 201x --> Installation" open "WISO Mein Geld anpassen" -> "Programm reparieren" (repair program).
Whatever, if you feel this is a legitimate Wine bug and not WISO problem, open a _new_ bug report with instructions how to reproduce it.
This issue this bug is about is fixed -> any other problems don't belong here.
Reagrds
http://bugs.winehq.org/show_bug.cgi?id=16998
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org 2010-09-03 14:04:58 CDT --- Closing bugs fixed in 1.3.2.
http://bugs.winehq.org/show_bug.cgi?id=16998
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |toralf.foerster@gmx.de
--- Comment #16 from Anastasius Focht focht@gmx.net 2010-09-15 13:49:13 CDT --- *** Bug 24410 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=16998
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.2.x |---
--- Comment #17 from Alexandre Julliard julliard@winehq.org 2010-10-08 10:40:28 CDT --- Removing 1.2.x milestone from bugs fixed in 1.2.1.
http://bugs.winehq.org/show_bug.cgi?id=16998
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |obfuscation Fixed by SHA1| |2ca5513a6294a9e653c678bffee | |58a537d94d54d