http://bugs.winehq.org/show_bug.cgi?id=16785
Summary: Warhammer Online patcher causes exception in Gecko 0.9.0 xul.dll Product: Wine Version: 1.1.12 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: mshtml AssignedTo: wine-bugs@winehq.org ReportedBy: Paul.Hampson@Pobox.com
Under wine 1.1.12, the Warhammer Online patcher causes an unhandled exception accessing address 0x16 somewhere inside xul.dll. I've bisected this and it appeared with the original introduction of Gecko 0.9.0, 8d28f09d8a582ff499b5947a5a2d1cf2700fb259, and persists in both 1.1.12 and 62d6a4e9f7d9659f8b575b533d16a9a006aba77a (current master). (Unsurprisingly, since Gecko 0.9.0 itself is unchanged)
http://bugs.winehq.org/show_bug.cgi?id=16785
Paul "TBBle" Hampson Paul.Hampson@Pobox.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal
--- Comment #1 from Paul "TBBle" Hampson Paul.Hampson@Pobox.com 2009-01-04 03:36:05 --- Forgot to set the severity.
http://bugs.winehq.org/show_bug.cgi?id=16785
--- Comment #2 from Paul "TBBle" Hampson Paul.Hampson@Pobox.com 2009-01-04 03:40:29 --- Created an attachment (id=18456) --> (http://bugs.winehq.org/attachment.cgi?id=18456) End of the log of a WINEDEBUG=+mshtml,+gecko run
This is the end of the log, I forgot to capture the output so this is from my terminal scrollback, and my git tree is currently being rebuilt to test with gecko 0.1.0 instead.
No symbol information for xul.dll, and I'm not sure how to get any, since I cannot see the build procedure for gecko 0.9.0 published anywhere yet.
http://bugs.winehq.org/show_bug.cgi?id=16785
--- Comment #3 from Paul "TBBle" Hampson Paul.Hampson@Pobox.com 2009-01-04 04:16:58 --- Found the Gecko build instructions at http://wiki.winehq.org/BuildingWineGecko which is really really obvious in hindsight.
http://bugs.winehq.org/show_bug.cgi?id=16785
--- Comment #4 from Paul "TBBle" Hampson Paul.Hampson@Pobox.com 2009-01-04 04:25:14 --- Created an attachment (id=18458) --> (http://bugs.winehq.org/attachment.cgi?id=18458) A testing patch to revert gecko 0.9.0 to gecko 0.1.0 in wine 1.1.12
Here's the patch I used to test gecko 0.1.0 under Wine 1.1.12
http://bugs.winehq.org/show_bug.cgi?id=16785
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #5 from Jacek Caban jacek@codeweavers.com 2009-01-04 04:32:50 --- You don't need to compile it yourself. There is a debug build on SourceForge.
http://bugs.winehq.org/show_bug.cgi?id=16785
--- Comment #6 from Rico kgbricola@web.de 2009-01-04 08:21:07 --- To reproduce the bug you have to use a NOT installed wine build (preferable an out-of-tree one - I don't know if in tree builds are affected). Then you could simply run "./wine iexplore http://www.winehq.org" from the build directory and it will crash in the xul.dll. I tested this on F10 x86_64.
http://bugs.winehq.org/show_bug.cgi?id=16785
Paul "TBBle" Hampson Paul.Hampson@Pobox.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor Summary|Warhammer Online patcher |Exception in Gecko 0.9.0 |causes exception in Gecko |xul.dll when run from not- |0.9.0 xul.dll |installed Wine
--- Comment #7 from Paul "TBBle" Hampson Paul.Hampson@Pobox.com 2009-01-04 08:34:37 --- I grabbed the debug build and replaced the 0.9.0 wine_gecko folder with the one from that cab, but my xul stacktrace didn't become any more enlightening.
On the other hand, this bug goes away when run from an installed Wine, and only manifests when run using the wine symlink at the top of a build directory, irrespective of an existing Wine installation.
Updating bug title and severity, thanks to kgbricola on IRC for pointing me away from dumb directions twice.
This also happens with iexplore about: so it's nothing to do with page contents. A quick comparison of the same build installed and uninstalled using the debug Gecko gives me this as the best clue for the failure point:
###!!! ASSERTION: invalid array index: 'i < Length()', file ../../../dist/include/xpcom/nsTArray.h, line 317
It's repeated twice immediately before the segfault only on the failed run.
I'll attach my two log files shortly.
http://bugs.winehq.org/show_bug.cgi?id=16785
--- Comment #8 from Paul "TBBle" Hampson Paul.Hampson@Pobox.com 2009-01-04 08:35:30 --- Created an attachment (id=18468) --> (http://bugs.winehq.org/attachment.cgi?id=18468) Log from execution of iexplore via winewrapper symlink in git build tree
http://bugs.winehq.org/show_bug.cgi?id=16785
--- Comment #9 from Paul "TBBle" Hampson Paul.Hampson@Pobox.com 2009-01-04 08:36:28 --- Created an attachment (id=18469) --> (http://bugs.winehq.org/attachment.cgi?id=18469) Log from execution of iexplore via "wine iexplore about:" after installation of Wine
This and attachment 18468 are using the debug build of wine-gecko 0.9.0 from sourceforge.
http://bugs.winehq.org/show_bug.cgi?id=16785
Paul "TBBle" Hampson Paul.Hampson@Pobox.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #18469|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=16785
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=16785
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |neptunia@mail.ru
--- Comment #10 from Vitaliy Margolen vitaliy@kievinfo.com 2009-01-04 12:24:05 --- *** Bug 16757 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=16785
--- Comment #11 from Ilya Chernykh neptunia@mail.ru 2009-01-04 12:54:03 --- Just wanted to led you know that with new Wine 1.1.12 and with current git, Counter-Strike crashes upon connection to servers.
I made a regression-testing, and found the breking commit: 8d28f09d8a582ff499b5947a5a2d1cf2700fb259 is first bad commit commit 8d28f09d8a582ff499b5947a5a2d1cf2700fb259 Author: Jacek Caban jacek@codeweavers.com Date: Tue Dec 30 06:48:59 2008 +0100
mshtml: Wine Gecko 0.9.0 release.
:040000 040000 40390dae8dde3dbef05e4f754437e7b8129703d9 a0ba652e905b5b7cf1e39566232dbcb9558e4993 M dlls
After this, Counter-Strike crashes after connecting to servers with MOTD.
Before this commit MOTD did not show, but the game was OK and did not crash. Now it not only does not show MOTD but also crashes the game.
http://bugs.winehq.org/show_bug.cgi?id=16785
--- Comment #12 from Ilya Chernykh neptunia@mail.ru 2009-01-04 12:54:45 --- This is under fully installed Wine from the repository.
http://bugs.winehq.org/show_bug.cgi?id=16785
--- Comment #13 from Vitaliy Margolen vitaliy@kievinfo.com 2009-01-04 14:44:16 --- *** Bug 16757 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=16785
--- Comment #14 from Paul "TBBle" Hampson Paul.Hampson@Pobox.com 2009-01-04 19:14:39 --- Bug 16757 doesn't appear to be a duplicate of this bug, as it happens with a Wine that has been installed using make install, this bug only happens to wine when run from the bulid directory using winewrapper.
http://bugs.winehq.org/show_bug.cgi?id=16785
--- Comment #15 from Paul "TBBle" Hampson Paul.Hampson@Pobox.com 2009-01-04 21:25:20 --- Comment 11 and comment 12 should be part of bug 16757, not this bug.
http://bugs.winehq.org/show_bug.cgi?id=16785
Jaime Rave jaimerave@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jaimerave@gmail.com
--- Comment #16 from Jaime Rave jaimerave@gmail.com 2009-01-29 07:15:53 --- This bug is affecting the Dreamweaver CS3 installer in Wine 1.1.13.
http://bugs.winehq.org/show_bug.cgi?id=16785
--- Comment #17 from Jacek Caban jacek@codeweavers.com 2009-02-04 17:55:46 --- Please take a look at: http://www.winehq.org/pipermail/wine-devel/2009-February/072770.html and retest.
http://bugs.winehq.org/show_bug.cgi?id=16785
--- Comment #18 from Rico kgbricola@web.de 2009-02-05 15:12:46 --- The patch doesn't solve the crash from a not installed wine.
http://bugs.winehq.org/show_bug.cgi?id=16785
--- Comment #19 from Paul "TBBle" Hampson Paul.Hampson@Pobox.com 2009-02-06 20:08:14 --- Jacek has posted on the wine-devel mailing list that this crash occurs because Gecko can't find the fonts, and the workaround is to copy the contents of the fonts directory in the source into the fonts directory in the build directory.
Tested OK for me, but it's only a temporary workaround for now.
http://www.winehq.org/pipermail/wine-devel/2009-February/072800.html
http://bugs.winehq.org/show_bug.cgi?id=16785
Paul "TBBle" Hampson Paul.Hampson@Pobox.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Exception in Gecko 0.9.0 |Exception in Gecko 0.9.x |xul.dll when run from not- |xul.dll when run from not- |installed Wine |installed Wine built with | |seperate build and source | |trees
--- Comment #20 from Paul "TBBle" Hampson Paul.Hampson@Pobox.com 2009-02-06 20:11:54 --- Updating description, this bug shouldn't affect builds done with ./configure, only with /path/to/configure from a different directory.
And hopefully the long description will scare off people who might be tempted to post here because they have some other crash in wine-gecko (ala comment 11 and related)
http://bugs.winehq.org/show_bug.cgi?id=16785
--- Comment #21 from Austin English austinenglish@gmail.com 2009-02-06 20:20:45 --- (In reply to comment #19)
Jacek has posted on the wine-devel mailing list that this crash occurs because Gecko can't find the fonts, and the workaround is to copy the contents of the fonts directory in the source into the fonts directory in the build directory.
Tested OK for me, but it's only a temporary workaround for now.
http://www.winehq.org/pipermail/wine-devel/2009-February/072800.html
A patch was put into git today to fix this.
http://bugs.winehq.org/show_bug.cgi?id=16785
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #22 from Jacek Caban jacek@codeweavers.com 2009-02-10 10:49:57 --- Fixed in Git.
http://bugs.winehq.org/show_bug.cgi?id=16785
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Alexandre Julliard julliard@winehq.org 2009-02-13 11:11:26 --- Closing bugs fixed in 1.1.15.
http://bugs.winehq.org/show_bug.cgi?id=16785
Mars Liu marsliu2000@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marsliu2000@hotmail.com
--- Comment #24 from Mars Liu marsliu2000@hotmail.com 2009-04-23 20:43:41 --- I got the same error in wine-1.1.19 and gecko 0.9.1 again. Is it a regression?