http://bugs.winehq.org/show_bug.cgi?id=30948
Bug #: 30948 Summary: HtmlHelp crashes when opening CHM file Product: Wine Version: 1.5.6 Platform: Other URL: http://www.microsoft.com/en-us/download/details.aspx?i d=5210 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P3 Component: hhctrl.ocx AssignedTo: wine-bugs@winehq.org ReportedBy: robert.munteanu@gmail.com Classification: Unclassified
To reproduce the crash:
1. Download and install the MSI package from http://www.microsoft.com/en-us/download/details.aspx?id=5210 2. Open the CHM file from $WINEPREFIX/drive_c/Program Files (x86)/Content API for Microsoft FAST Search Server 2010 for SharePoint/v1.0.15/doc
http://bugs.winehq.org/show_bug.cgi?id=30948
--- Comment #1 from Robert Munteanu robert.munteanu@gmail.com 2012-06-19 03:33:38 CDT --- Created attachment 40603 --> http://bugs.winehq.org/attachment.cgi?id=40603 Backtrace from the crash
http://bugs.winehq.org/show_bug.cgi?id=30948
--- Comment #2 from Robert Munteanu robert.munteanu@gmail.com 2012-06-19 03:45:24 CDT --- The same backtrace is generated for a 32-bit installation, so this is not a 64-bit specific issue.
http://bugs.winehq.org/show_bug.cgi?id=30948
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Platform|Other |x86-64
http://bugs.winehq.org/show_bug.cgi?id=30948
Erich Hoover ehoover@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ehoover@mines.edu
--- Comment #3 from Erich Hoover ehoover@mines.edu 2012-06-22 15:13:45 CDT --- I would look into this issue, but I cannot get the package to install on a fresh prefix with either Wine 1.5.6 or 1.5.7. Do you have something special loaded into your prefix?
http://bugs.winehq.org/show_bug.cgi?id=30948
--- Comment #4 from Robert Munteanu robert.munteanu@gmail.com 2012-06-25 07:24:51 CDT --- (In reply to comment #3)
I would look into this issue, but I cannot get the package to install on a fresh prefix with either Wine 1.5.6 or 1.5.7. Do you have something special loaded into your prefix?
I'm running wine-1.5.7 on OpenSUSE 12.1 x86_64
I only have a separate prefix set up for ease of testing - WINEPREFIX=/home/rmuntean/.wines/content-api
I start the MSI package manually from the CLI - wine start ContentAPISetup.msi
And I can confirm that the error still exists with 1.5.7
http://bugs.winehq.org/show_bug.cgi?id=30948
--- Comment #5 from Erich Hoover ehoover@mines.edu 2012-06-25 09:49:41 CDT --- (In reply to comment #4)
... I'm running wine-1.5.7 on OpenSUSE 12.1 x86_64 ...
It appears that the installer requires a 64-bit Wine prefix. However, I've successfully extracted the file from the installer and reproduced your problem. I'll let you know what I find out.
http://bugs.winehq.org/show_bug.cgi?id=30948
--- Comment #6 from Erich Hoover ehoover@mines.edu 2012-06-25 09:58:50 CDT --- Created attachment 40706 --> http://bugs.winehq.org/attachment.cgi?id=40706 Keep parsing failure from causing a segmentation fault
(In reply to comment #5)
... It appears that the installer requires a 64-bit Wine prefix. However, I've successfully extracted the file from the installer and reproduced your problem. I'll let you know what I find out.
The attached patch should fix the segmentation fault. However, I don't know what this particular index file quirk is supposed to do. Do you have a Windows installation where you can check and see what the index is supposed to look like and compare it to what Wine generates?
http://bugs.winehq.org/show_bug.cgi?id=30948
--- Comment #7 from Robert Munteanu robert.munteanu@gmail.com 2012-06-25 10:16:05 CDT --- I do have a Windows installation on which to test the file. Would it be helpful if I send you a screenshot of the index?
http://bugs.winehq.org/show_bug.cgi?id=30948
--- Comment #8 from Erich Hoover ehoover@mines.edu 2012-06-25 10:25:45 CDT --- (In reply to comment #7)
I do have a Windows installation on which to test the file. Would it be helpful if I send you a screenshot of the index?
If they're different then it would, do you know how to compile a patched version of Wine? I suspect that there's going to be no difference between the two, since it appears that the file is just bugged. Instead of seeing the normal list item code: <LI>...</LI> I see: <LI>...<LI>
So, all Wine needs to do is ignore the buggy list item and move on to the next item (what that patch does).
http://bugs.winehq.org/show_bug.cgi?id=30948
--- Comment #9 from Robert Munteanu robert.munteanu@gmail.com 2012-06-25 11:04:14 CDT --- Created attachment 40710 --> http://bugs.winehq.org/attachment.cgi?id=40710 Index as viewed in Windows
Here's what the index looks like when displayed in Windows. If you want me to apply a patch I can do that, but it's going to take a little time.
http://bugs.winehq.org/show_bug.cgi?id=30948
--- Comment #10 from Erich Hoover ehoover@mines.edu 2012-06-25 11:41:23 CDT --- (In reply to comment #9)
Created attachment 40710 [details] Index as viewed in Windows
Here's what the index looks like when displayed in Windows. If you want me to apply a patch I can do that, but it's going to take a little time.
If you could make a screenshot of the very bottom of the index then that should be sufficient, I'm most concerned about the last entry.
http://bugs.winehq.org/show_bug.cgi?id=30948
--- Comment #11 from Erich Hoover ehoover@mines.edu 2012-06-25 14:56:07 CDT --- (In reply to comment #10)
... If you could make a screenshot of the very bottom of the index then that should be sufficient, I'm most concerned about the last entry.
FYI, with this CHM file working another bug gets exposed. I've filed this issue as Bug #31016.
http://bugs.winehq.org/show_bug.cgi?id=30948
--- Comment #12 from Robert Munteanu robert.munteanu@gmail.com 2012-06-25 15:07:13 CDT --- Created attachment 40715 --> http://bugs.winehq.org/attachment.cgi?id=40715 Index scrolled all the way down
http://bugs.winehq.org/show_bug.cgi?id=30948
--- Comment #13 from Erich Hoover ehoover@mines.edu 2012-06-25 15:11:02 CDT --- (In reply to comment #12)
Created attachment 40715 [details] Index scrolled all the way down
Awesome, that's exactly what I expect. I've submitted the patch to fix this: http://source.winehq.org/patches/data/87592
http://bugs.winehq.org/show_bug.cgi?id=30948
--- Comment #14 from Robert Munteanu robert.munteanu@gmail.com 2012-06-25 16:00:03 CDT --- Great, thank you!
http://bugs.winehq.org/show_bug.cgi?id=30948
--- Comment #15 from Erich Hoover ehoover@mines.edu 2012-06-26 14:43:12 CDT --- (In reply to comment #14)
Great, thank you!
No problem, the patch was committed today - so this should be fixed as of commit b72ac222ea8b59eae17efbdff57cbfd82e3badd6.
http://bugs.winehq.org/show_bug.cgi?id=30948
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b72ac222ea8b59eae17efbdff57 | |cbfd82e3badd6 Status|UNCONFIRMED |RESOLVED CC| |wylda@volny.cz Resolution| |FIXED
--- Comment #16 from Wylda wylda@volny.cz 2012-06-27 00:43:24 CDT ---
Fixed.
http://bugs.winehq.org/show_bug.cgi?id=30948
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #17 from Alexandre Julliard julliard@winehq.org 2012-07-03 14:16:01 CDT --- Closing bugs fixed in 1.5.8.
http://bugs.winehq.org/show_bug.cgi?id=30948
--- Comment #18 from Robert Munteanu robert.munteanu@gmail.com 2012-07-25 03:41:36 CDT --- FYI, I still get crashes with 1.5.9 so I opened bug #31312 .