WineHQ
Bug Tracking Database – Bug 27375

 Bugzilla

 

Last modified: 2011-07-08 18:47:38 UTC  

mshtml crashes in Fedora 15

Bug 27375 - mshtml crashes in Fedora 15
mshtml crashes in Fedora 15
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: mshtml
1.3.21
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
:
: 27057 27340 27456 (view as bug list)
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2011-06-03 07:06 UTC by Eli Wapniarski
Modified: 2011-07-08 18:47 UTC (History)
8 users (show)

See Also:
Regression SHA1:
Fixed by SHA1:
Distribution: ---
Staged patchset:


Attachments
backtrace of mshtml crash (10.76 KB, text/plain)
2011-06-03 07:06 UTC, Eli Wapniarski
Details
backtrace of mshtml crash (8.63 KB, text/plain)
2011-06-03 20:24 UTC, Eli Wapniarski
Details
crash log (Wine compiled with CFLAGS=-O1) (15.10 KB, text/plain)
2011-06-12 12:29 UTC, Béla Gyebrószki
Details
fix (573 bytes, patch)
2011-07-04 13:59 UTC, Jacek Caban
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eli Wapniarski 2011-06-03 07:06:24 UTC
Created attachment 35000 [details]
backtrace of mshtml crash

Everytime I try to use an app that requires mshtml it crashes including when I issue the command:

wine iexplore.

I've already reported the problem with Fedora at:

https://bugzilla.redhat.com/show_bug.cgi?id=710352
Comment 1 Austin English 2011-06-03 16:01:01 UTC
> =>0 0x200a8235 in mshtml (+0x98235) (0x007be28c)
>   1 0x2007bc87 in mshtml (+0x6bc86) (0x001a42e8)

Please install debugging symbols and attach another backtrace.
Comment 2 Eli Wapniarski 2011-06-03 20:24:43 UTC
Created attachment 35007 [details]
backtrace of mshtml crash

Hi... I'm trying to follow the instructions provided in the wiki at:

http://wiki.winehq.org/Backtraces

When running:

wine winedbg iexplore

iexplore did not crash until I quit the debugger. I then run winedbg and issued the command bt all.

I probably got the procedure wrong, so please correct me if the attached output is not satisfactory
Comment 3 Eli Wapniarski 2011-06-12 11:40:57 UTC
Problem persists with 1.3.22, on two different installations
Comment 4 Béla Gyebrószki 2011-06-12 12:19:38 UTC
*** Bug 27456 has been marked as a duplicate of this bug. ***
Comment 5 Béla Gyebrószki 2011-06-12 12:29:44 UTC
Created attachment 35108 [details]
crash log (Wine compiled with CFLAGS=-O1)

I can also reproduce the problem on Fedora 15 (32-bit).
I compiled Wine from source. The crash (when opening iexplore.exe) happens if Wine was compiled with cflags >=-O1.

The attached log shows a backtrace with -O1. Using -O2 makes it impossible to get a proper backtrace.

To compile the source I used the following command:
CC="ccache gcc" CFLAGS="-g -gdwarf-2 -O2" ./configure && make depend && make -j 3

GCC-4.6.0
Comment 6 Béla Gyebrószki 2011-06-12 19:55:10 UTC
It's probably not much of a help but in the meantime I compiled 2 different versions of gcc on F15 (4.5.3 and 4.6.0) then I compiled Wine with these 2 versions, using -O2:

Gcc-4.5.3: the page loads fine in iexplore.exe, no crash
Gcc-4.6.0: it crashes
Comment 7 Eli Wapniarski 2011-06-13 08:24:07 UTC
GyB....

I can kinda confirm this. I looked up in Koji when GCC 4.6.x was available for F15. This was 2011-01-22 13:31:49. I downloaded and installed a version of wine that was compiled prior to that date from koji and dated 2010-12-30 13:34:49. The version of wine that was installed was wine-1.3.10-1.fc15.

wine iexplore runs without mshtml crashing and the apps that I run that rely on it work as well.
Comment 8 sjakub 2011-06-18 03:52:30 UTC
I have the same problem, it affects World of Warcraft.
Basically a few seconds after the launcher is started
(and it wants to display a web page with news, etc.)
the whole thing crashes. The top of the backtrace
contains "in mshtml". Once I downgraded to wine compiled
with gcc 4.5.2 the problem disappeared.
Comment 9 sjakub 2011-06-18 03:52:54 UTC
(Also, this is on Archlinux, not fedora)
Comment 10 Béla Gyebrószki 2011-06-27 13:36:05 UTC
I think this bug has close resemblance to bug #27057. In #27057 people claim that WoW launcher crashes in mshtml when compiling Wine with GCC-4.6.0 using cflag -O2.
Comment 11 Eli Wapniarski 2011-06-28 08:43:11 UTC
It does sound similar to this problem. And for me, the consequence is that the launcher for Perfectworld Internation crashes with this the same mshtml error.
Comment 12 Adrian 2011-07-04 13:34:34 UTC

    
Comment 13 Maarten Lankhorst 2011-07-04 13:42:38 UTC
compiling only mshtml/mutation.o with -fno-omit-frame-pointer masks this bug

If I look at the original nsparser.h, I don't see a calling convention added:
http://doxygen.db48x.net/mozilla-full/html/df/deb/classnsParser.html

Can I assume that the calling conventions for nsIParser_BeginEvaluatingParserInsertedScript and nsIParser_EndEvaluatingParserInsertedScript are thiscall instead of STDCALL?
Comment 14 Maarten Lankhorst 2011-07-04 13:48:49 UTC
*** Bug 27057 has been marked as a duplicate of this bug. ***
Comment 15 Jacek Caban 2011-07-04 13:59:51 UTC
Created attachment 35428 [details]
fix

Good catch, thanks. The attached patch should help.
Comment 16 Béla Gyebrószki 2011-07-04 15:37:47 UTC
(In reply to comment #15)
> Created an attachment (id=35428) [details]
> fix
> 
> Good catch, thanks. The attached patch should help.

Confirming: with the attached patch Wine no longer crashes in mshtml (using cflag -O2)

Fedora 15 x86
gcc version 4.6.0 20110530 (Red Hat 4.6.0-9) (GCC)
Comment 17 Austin English 2011-07-04 22:43:48 UTC
*** Bug 27340 has been marked as a duplicate of this bug. ***
Comment 18 Eli Wapniarski 2011-07-05 07:45:40 UTC
Sorry I did not notice the patch until today. I will try to get this tested within the next couple of days.
Comment 19 Andreas Bierfert 2011-07-05 09:26:32 UTC
Can confirm this for fedora rawhide gcc 4.6.1.
Comment 20 Eli Wapniarski 2011-07-05 12:17:24 UTC
Seems to be be fixed


Thanks so very much
Comment 22 Alexandre Julliard 2011-07-08 18:47:38 UTC
Closing bugs fixed in 1.3.24.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to privacy@winehq.org

Hosted By CodeWeavers