http://bugs.winehq.org/show_bug.cgi?id=23737
Summary: Modelsim XE III 6.4b/6.5c startup crashes on wine 1.2, but works ok on wine 1.1.42. Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt AssignedTo: wine-bugs@winehq.org ReportedBy: vicsuarez@alumnos.uvigo.es
Created an attachment (id=29731) --> (http://bugs.winehq.org/attachment.cgi?id=29731) Right: 6.4b error | Left: 6.5c error
6.4b tested on: - openSUSE 10.3 / wine 1.1.?? (I don't remember) from http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_10.3/ -> OK - openSUSE 11.3 / wine 1.2-rc6 from official repositories -> FAIL - Ubuntu 10.04 / wine 1.1.42 from official repositories -> OK - Ubuntu 10.04 / wine 1.2 from https://launchpad.net/~ubuntu-wine/+archive/ppa -> FAIL (openSUSE and Ubuntu on different computers)
The REGRESSION TEST revealed this for both modelsim versions:
f76eef74018852253b03d305432b4864c724bed3 is the first bad commit commit f76eef74018852253b03d305432b4864c724bed3 Author: Piotr Caban piotr@codeweavers.com Date: Mon Apr 26 12:33:28 2010 +0200
msvcrt: Change strtod_l implementation.
:040000 040000 3497b07093d0c642b5d57b43452245c58b62f4b2 4163e9139b36a04d7f8200141703d93aa10e11c3 M dlls
Steps to reproduce: - Download Modelsim XE 6.5c from http://www.xilinx.com/support/download/index.htm (registering is mandatory, but free). Look for Modelsim XE, not ISE. - Uncompress and run wine setup.exe. Select the free version. Select VHDL Custom. Deselect all libraries. At the end say NO when asked for the USB key, and then try to complete the licensing process through the webpage. I HAVEN'T TRIED TO REQUEST THE LICENSE SINCE I HAVE MINE. In case it isn't possible to get the web way to work, complete the lic_request.txt form and send it by mail. Then wait a few days to receive your license.dat. (I would attach my license.dat here, but I'm not sure if that's legal). - Make sure you've an external MFC42.DLL (I would upload mine, but don't know if that's legal. In place I'll put its MD5: 7e4d1b552ee1dfa859ba9033b3670590) - Find the Licensing Wizard link, run it (wine start Licensing\ Wizard.lnk) and follow instructions. - If variable LM_LICENSE_FILE fails to be set automatically, set it manually with regedit (It's value is the path to the license.dat file). - After the second Licensing Wizard run, make sure that all checks completed successfully. If LM_LICENSE_FILE isn't ok, this won't suceed. - Now Modelsim should work, try to run wine start Modelsim.lnk.
Notes: - Almost everything I've tried in this software worked fine with wine, so it's a fully supported product (once this bug gets solved, of course) - Modelsim windows are extremelly slow, don't think that to be a wine problem. - Known fails (but not problematic nor related to this bug): - On project navigator, contextual menu sometimes fail when used with mouse, but works ok with arrow keys. - Startup splash window is white! I don't consider that to be a problem.
http://bugs.winehq.org/show_bug.cgi?id=23737
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression URL| |http://www.xilinx.com/suppo | |rt/download/index.htm CC| |piotr.caban@gmail.com Version|unspecified |1.1.42
http://bugs.winehq.org/show_bug.cgi?id=23737
--- Comment #1 from Piotr Caban piotr.caban@gmail.com 2010-07-21 04:44:45 --- Created an attachment (id=29732) --> (http://bugs.winehq.org/attachment.cgi?id=29732) This patch adds some printf's to strtod_l
Because the installation process looks quite complicated I prefer to try solve the problem differently. I've attached a patch that prints some informations about strtod_l usage.
Can you run the application under Wine-1.2 (or any version that is not working) with the patch applied and attach console output here?
http://bugs.winehq.org/show_bug.cgi?id=23737
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #2 from Dan Kegel dank@kegel.com 2010-07-21 06:34:44 --- For the record, 'winetricks mfc42' is an ok way of installing that library.
http://bugs.winehq.org/show_bug.cgi?id=23737
--- Comment #3 from Víctor Hugo Suárez Candal vicsuarez@alumnos.uvigo.es 2010-07-21 19:03:41 --- Created an attachment (id=29759) --> (http://bugs.winehq.org/attachment.cgi?id=29759) Console output after applying patch from Comment #1
I've compressed it since it's a relatively large file (1.4MB)
http://bugs.winehq.org/show_bug.cgi?id=23737
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Modelsim XE III 6.4b/6.5c |Modelsim XE III 6.4b/6.5c |startup crashes on wine |startup crashes |1.2, but works ok on wine | |1.1.42. |
http://bugs.winehq.org/show_bug.cgi?id=23737
--- Comment #4 from Piotr Caban piotr.caban@gmail.com 2010-07-22 05:41:32 --- http://source.winehq.org/patches/data/64034 With this patch applied all executions of strtod_l described in log you've attached works exactly the same with native and builtin dll.
http://bugs.winehq.org/show_bug.cgi?id=23737
--- Comment #5 from Piotr Caban piotr.caban@gmail.com 2010-07-22 13:34:34 --- The patch was committed as 9915dd03b432664c15ce4d1a1b8a019aee53c739. Please retest.
http://bugs.winehq.org/show_bug.cgi?id=23737
Víctor Hugo Suárez Candal vicsuarez@alumnos.uvigo.es changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #6 from Víctor Hugo Suárez Candal vicsuarez@alumnos.uvigo.es 2010-07-23 17:57:14 --- I can confirm that patch 64034 solves this bug.
Thank you very much for your great job.
http://bugs.winehq.org/show_bug.cgi?id=23737
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2010-07-30 12:59:42 --- Closing bugs fixed in 1.3.0.
https://bugs.winehq.org/show_bug.cgi?id=23737
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9915dd03b432664c15ce4d1a1b8 | |a019aee53c739 CC| |focht@gmx.net Regression SHA1| |f76eef74018852253b03d305432 | |b4864c724bed3