http://bugs.winehq.org/show_bug.cgi?id=30551
Bug #: 30551 Summary: Wine/msxml3 unhandled page fault Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msxml3 AssignedTo: wine-bugs@winehq.org ReportedBy: tonybcrawford@gmail.com Classification: Unclassified
An xml related crash occurs when running the SDET product with Wine 1.4. The following error message is produced:
fixme:msxml:domdoc_putref_schemas (0x150b10)->({VT_DISPATCH: (nil)}): semi-stub wine: Unhandled page fault on read access to 0x00000000 at address 0x7e3381fe (thread 0009)
http://bugs.winehq.org/show_bug.cgi?id=30551
Tony Crawford tonybcrawford@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.4
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #1 from Tony Crawford tonybcrawford@gmail.com 2012-04-29 16:50:29 CDT --- Created attachment 39963 --> http://bugs.winehq.org/attachment.cgi?id=39963 Backtrace for the xml related crash of Wine
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com 2012-04-29 23:53:55 CDT --- Hi, Tony.
Please update to recent 1.5.3 release and attach a +msxml,+tid log as a text file.
http://bugs.winehq.org/show_bug.cgi?id=30551
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Wine/msxml3 unhandled page |SDET CMDCenter page faults |fault |
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com 2012-06-17 09:37:57 CDT --- Looks like you are a developer of this application (or at least close to its development). If there's no demo you can share could you describe a pattern that makes it crash? (after retesting with recent wine of course)
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #4 from Tony Crawford tonybcrawford@gmail.com 2012-07-01 10:02:39 CDT --- Created attachment 40817 --> http://bugs.winehq.org/attachment.cgi?id=40817 Backtrace for the xml related crash of Wine
Hi Nikolay,
Thanks for your help. I've updated to Wine 1.5.7 and have executed the CMDcenter application again. There is no pattern of operation because it fails immediately and does not open the initial screen. I've attached the CDMcenterBacktrace.txt which shows that the failure is related to msxml3.
Cheers Tony
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com 2012-07-01 10:12:41 CDT --- (In reply to comment #4)
Created attachment 40817 [details] Backtrace for the xml related crash of Wine
That's not very informative I'm afraid. Could you generate a +msxml,+log I requested? Some info on how to do that - http://wiki.winehq.org/FAQ#get_log, all you need is to attach resulting text file here.
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #6 from Tony Crawford tonybcrawford@gmail.com 2012-07-01 10:40:59 CDT --- Created attachment 40820 --> http://bugs.winehq.org/attachment.cgi?id=40820 Debug ouput with +msxml, +log
This should be more helpful... Thanks
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #7 from Tony Crawford tonybcrawford@gmail.com 2012-07-01 10:53:41 CDT --- Created attachment 40821 --> http://bugs.winehq.org/attachment.cgi?id=40821 Debug output with +msxml, +tid
Here's the output as per your original request. Thanks
http://bugs.winehq.org/show_bug.cgi?id=30551
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW AssignedTo|wine-bugs@winehq.org |bunglehead@gmail.com Ever Confirmed|0 |1
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com 2012-07-01 11:49:00 CDT --- Ok, I see first obvious problem with it.
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com 2012-07-01 12:37:07 CDT --- Created attachment 40823 --> http://bugs.winehq.org/attachment.cgi?id=40823 patch
Here is a fix for that particular crash. You need latest wine from git to apply it, you could skip tests part cause it probably won't apply because of my local commits.
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #10 from Tony Crawford tonybcrawford@gmail.com 2012-07-01 12:49:10 CDT --- Nikolay, I'd be happy to check it out but this is my first time applying a fix. Can you point me towards HOW TO instructions? Thanks Tony.
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #11 from Nikolay Sivov bunglehead@gmail.com 2012-07-01 13:03:54 CDT --- You will need to build wine from sources, that will require installing and cloning of git repo (http://wiki.winehq.org/GitWine), after that you need to build it - http://wiki.winehq.org/FAQ#compile_wine, it's necessary to install some dev packages for dependencies, 'configure' will tell you what's missed.
After that apply a patch (http://wiki.winehq.org/Patching), you may want a 'git apply --exclude=dlls/msxml3/tests/* patch.diff' to skip tests hunks, but I never used that some syntax could be different. Easier way is to edit a patch by removing everything after:
--- diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c ---
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #12 from Tony Crawford tonybcrawford@gmail.com 2012-07-01 13:21:32 CDT --- Thanks for the info... it looks complicated but I'll give it a go. I expect it'll take me some time before I can get back to you!
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #13 from Nikolay Sivov bunglehead@gmail.com 2012-07-01 13:36:56 CDT --- Version 1.5.8 is expected this Tuesday (July 3) so you could way couple of days and just pull new version from git or way for a pre-built package for your system.
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #14 from Tony Crawford tonybcrawford@gmail.com 2012-07-01 13:45:32 CDT --- (In reply to comment #13)
Version 1.5.8 is expected this Tuesday (July 3) so you could way couple of days and just pull new version from git or way for a pre-built package for your system.
Do you know when a pre-built version will be available for ubuntu 12.04 LTS?
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #15 from Nikolay Sivov bunglehead@gmail.com 2012-07-01 13:56:31 CDT --- (In reply to comment #14)
Do you know when a pre-built version will be available for ubuntu 12.04 LTS?
No, I have no idea, I'm not Ubuntu. It's up to distro maintainers. Note that wine project doesn't provide binary builds itself, it's always a distro work.
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #16 from Nikolay Sivov bunglehead@gmail.com 2012-07-01 13:58:55 CDT --- (In reply to comment #15)
(In reply to comment #14)
Do you know when a pre-built version will be available for ubuntu 12.04 LTS?
No, I have no idea, I'm not Ubuntu.
Sorry, I meant 'I'm not Ubuntu user'.
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #17 from Tony Crawford tonybcrawford@gmail.com 2012-07-01 14:09:56 CDT --- Ok, it looks like I need figure out how to build wine myself. I'll give you some comments on the fix asap. Cheers
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #18 from Tony Crawford tonybcrawford@gmail.com 2012-07-01 19:36:44 CDT --- Hi Nikolay, I've installed git and cloned the wine source. I've also installed ai32-libs but when I enter: ./tools/wineinstall the build fails saying I need 32-bit development libs!
Do you know if it's possible for me to build wine on my 64-bit ubuntu system? Regards Tony
http://bugs.winehq.org/show_bug.cgi?id=30551
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #19 from Dan Kegel dank@kegel.com 2012-07-01 21:20:02 CDT --- http://wiki.winehq.org/WineOn64bit describes how to 32 bit wine on Ubuntu 12.04 it with a chroot.
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #20 from Tony Crawford tonybcrawford@gmail.com 2012-07-02 10:51:21 CDT --- Created attachment 40833 --> http://bugs.winehq.org/attachment.cgi?id=40833 32-bit self-built wine. Debug output with +msxml, +tid
First thanks to Dan for the chroot info.
Ok, I built a 32-bit wine from source code on my 64-bit system using chroot. I then re-ran CMDcenter.exe and got the same error as I did with the wine distro. So, it looks like my initial build was good.
I then applied the patch provided by Nikolay and re-built wine.
Now when I run CMDcenter.exe I get the following error in a messagebox: Run-time error '445': Object doesn't support this action <ok>
When I select OK, the application terminates without opening any windows. The new log is attached.
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #21 from Nikolay Sivov bunglehead@gmail.com 2012-07-02 10:56:02 CDT --- Next failure is about this one:
--- 0009:fixme:msxml:xmlnodelist__newEnum (0x156190)->(0x32f1f0) ---
Patch sent for that today http://www.winehq.org/pipermail/wine-patches/2012-July/115774.html.
Could you open a new report for that one? It's better to track that separately.
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #22 from Tony Crawford tonybcrawford@gmail.com 2012-07-02 11:44:28 CDT --- (In reply to comment #21)
Next failure is about this one:
0009:fixme:msxml:xmlnodelist__newEnum (0x156190)->(0x32f1f0)
Patch sent for that today http://www.winehq.org/pipermail/wine-patches/2012-July/115774.html.
Could you open a new report for that one? It's better to track that separately.
The new patch failed to be applied. After entering: patch p1 < patch2.diff the following file was created: p1.rej
Do I need to do something else before applying a second patch?
Once I get passed this stage, I'll file another bug report as you suggested.
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #23 from Nikolay Sivov bunglehead@gmail.com 2012-07-02 11:51:02 CDT --- Yes, it needs some patches to applied before. Just wait for today commit round, and hopefully we'll see them committed.
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #24 from Tony Crawford tonybcrawford@gmail.com 2012-07-02 11:53:39 CDT --- Created attachment 40834 --> http://bugs.winehq.org/attachment.cgi?id=40834 File created by: patch p1 < patch2_msxml3.diff
This is the output file showing the second patch was rejected!
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #25 from Tony Crawford tonybcrawford@gmail.com 2012-07-02 11:57:56 CDT --- (In reply to comment #23)
Yes, it needs some patches to applied before. Just wait for today commit round, and hopefully we'll see them committed.
OK, when they are committed, how do I add them to my git tree?
http://bugs.winehq.org/show_bug.cgi?id=30551
--- Comment #26 from Nikolay Sivov bunglehead@gmail.com 2012-07-02 12:10:49 CDT --- You do 'git fetch' to pull new commits, and then for example a 'git rebase origin' to move to tip. Please use git manual if you have more questions on how to use it.
http://bugs.winehq.org/show_bug.cgi?id=30551
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |31102
http://bugs.winehq.org/show_bug.cgi?id=30551
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |2b5dd13a0ab6f59a6976ccaffd2 | |54a911f6218eb Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #27 from Nikolay Sivov bunglehead@gmail.com 2012-07-02 14:30:50 CDT --- Fixed by 2b5dd13a0ab6f59a6976ccaffd254a911f6218eb.
http://bugs.winehq.org/show_bug.cgi?id=30551
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #28 from Alexandre Julliard julliard@winehq.org 2012-07-03 14:13:52 CDT --- Closing bugs fixed in 1.5.8.
https://bugs.winehq.org/show_bug.cgi?id=30551
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bunglehead@gmail.com |wine-bugs@winehq.org