[Bug 13706] New: Mankind encounters a page fault on startup
http://bugs.winehq.org/show_bug.cgi?id=13706 Summary: Mankind encounters a page fault on startup Product: Wine Version: 1.0-rc2 Platform: PC-x86-64 URL: http://appdb.winehq.org/objectManager.php?sClass=version &iId=12412 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P3 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: boeser.wolff(a)web.de Created an attachment (id=13721) --> (http://bugs.winehq.org/attachment.cgi?id=13721) backtrace for pagefault on startup When trying to launch Mankind version 1.8 "international", it encounters a page fault right on startup. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13706 Georg Wolff <boeser.wolff(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #1 from Georg Wolff <boeser.wolff(a)web.de> 2008-06-12 12:30:51 --- this seems to be fixed in wine "1.0"rc4 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13706 Michael Karcher <wine(a)mkarcher.dialup.fu-berlin.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wine(a)mkarcher.dialup.fu- | |berlin.de --- Comment #2 from Michael Karcher <wine(a)mkarcher.dialup.fu-berlin.de> 2008-06-13 02:30:26 --- Does not work for me. Current git wine, clean wineprefix, installed Mankind 1.8 International, copied mfc42.dll (Version 6.00.8447) into windows/system32. I get exactly this crash. It seems to be an empty variant where Mankind expects a pointer-containing variant, probably VT_BSTR. md5sum of the installer is 63fc55be3211ba75e4f7e558a8f24d9e, just to make sure we talk about the same version. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13706 --- Comment #3 from Michael Karcher <wine(a)mkarcher.dialup.fu-berlin.de> 2008-06-13 05:51:44 --- Created an attachment (id=13973) --> (http://bugs.winehq.org/attachment.cgi?id=13973) Possible fix This patch fixes the crash on startup. I don't know whether this patch is right, and did not check against windows, let alone writing a test case. Thats why I don't submit it yet (except for the 1.0 freeze of course). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13706 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|FIXED | --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> 2008-06-13 05:54:28 --- Not fixed yet. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13706 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13706 --- Comment #5 from Michael Karcher <wine(a)mkarcher.dialup.fu-berlin.de> 2008-06-13 17:19:45 --- The patch is wrong. It breaks a test that specifically tests for the behaviour the patch changes. The test passes on windows. The bug that makes Mankind crash nevertheless is probably in shdocvw, as native shdocvw+shlwapi (from XP SP3) makes Mankind run. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13706 Michael Karcher <wine(a)mkarcher.dialup.fu-berlin.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #13973|0 |1 is obsolete| | --- Comment #6 from Michael Karcher <wine(a)mkarcher.dialup.fu-berlin.de> 2008-06-14 07:10:39 --- Created an attachment (id=13997) --> (http://bugs.winehq.org/attachment.cgi?id=13997) New fix This seems to be an application bug. It checks the pointer in the variant against NULL instead of checking the variant type against VT_EMPTY. With native libraries, the whole var_post_data variant structure is filled with zeroes. Native also allocates it on the stack, so I think it just works by accident. The attached patch fixes the start of Mankind. This kind of bug explains why it is reproducible only by some people: The contents of uninitialized stack variables is highly dependent on compiler version and switches. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13706 --- Comment #7 from Austin English <austinenglish(a)gmail.com> 2008-12-13 17:32:08 --- Is this still an issue in current (1.1.10) or newer wine? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13706 --- Comment #8 from Georg Wolff <boeser.wolff(a)web.de> 2008-12-14 15:22:39 --- The fix does help. The launcher can be started. So Id say this fixes it for wine 1.1.10. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13706 --- Comment #9 from Austin English <austinenglish(a)gmail.com> 2008-12-15 11:26:09 --- That patch is a hack. A proper implementation is welcome. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13706 --- Comment #10 from Austin English <austinenglish(a)gmail.com> 2009-06-16 14:23:03 --- Is this still an issue in current (1.1.23 or newer) wine? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13706 --- Comment #11 from Georg Wolff <boeser.wolff(a)web.de> 2009-06-21 06:03:29 --- Didnt encounter with Wine 1.1.23. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13706 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #12 from Austin English <austinenglish(a)gmail.com> 2009-06-22 01:24:46 --- (In reply to comment #11)
Didnt encounter with Wine 1.1.23.
Fixed then. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13706 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #13 from Alexandre Julliard <julliard(a)winehq.org> 2009-07-03 12:19:28 --- Closing bugs fixed in 1.1.25. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13706 --- Comment #14 from Michael Karcher <wine(a)mkarcher.dialup.fu-berlin.de> 2011-03-30 03:22:53 CDT --- This bug reappeared in later versions of wine (see bug 19643). I believe my patch is the only way to fix that in Wine, although the real cause of this bug is an application relying on undocumented or random behaviour. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org