http://bugs.winehq.org/show_bug.cgi?id=22219
Summary: Wine Program loader doesn't load utility programs in Quartus 2 correctly (invalid handle error) Product: Wine Version: 1.1.41 Platform: x86-64 URL: https://www.altera.com/support/software/download/alter a_design/quartus_we/dnl-quartus_we.jsp OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: loader AssignedTo: wine-bugs@winehq.org ReportedBy: andreryan908@gmail.com
Altera's TimeQuest Analyser in Quartus 2 Web Edition is unusable as the tool that converts a Quartus 2 project into a circuit timing map crashes on startup saying that the module could not be found due to error c0000008 ("Invalid Handle").
The Web Edition of Quartus 2 is a free download but is 1.5GiB.
I had to downgrade to 1.1.39 in order to install ModelSim (due to bug #22066) but it doesn't work on that version either.
http://bugs.winehq.org/show_bug.cgi?id=22219
--- Comment #1 from Andre Ryan andreryan908@gmail.com 2010-03-30 23:48:12 --- Created an attachment (id=27114) --> (http://bugs.winehq.org/attachment.cgi?id=27114) WINEDEBUG=+module
The utility is "quartus_sta.exe"
http://bugs.winehq.org/show_bug.cgi?id=22219
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|loader |-unknown Summary|Wine Program loader doesn't |Altera's TimeQuest Analyser |load utility programs in |doesn't run |Quartus 2 correctly | |(invalid handle error) |
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2010-03-31 00:50:42 --- Please start with attaching terminal output without any debug switches.
http://bugs.winehq.org/show_bug.cgi?id=22219
--- Comment #3 from Andre Ryan andreryan908@gmail.com 2010-03-31 00:55:06 --- Created an attachment (id=27115) --> (http://bugs.winehq.org/attachment.cgi?id=27115) Without debug flags
http://bugs.winehq.org/show_bug.cgi?id=22219
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=22219
--- Comment #4 from Andre Ryan andreryan908@gmail.com 2010-03-31 13:22:12 --- Created an attachment (id=27128) --> (http://bugs.winehq.org/attachment.cgi?id=27128) Console output when using Wine 1.1.39
The errors in 1.1.39 are different (quartus_tan.exe this time) but the error code is the same (c0000008="Invalid Handle"). [I checked and all those DLL files are in the \bin directory with the EXE, and it does work on Windows]
Running the command directly with "wine 'C:\altera\91sp1\quartus\bin\quartus_tan.exe'" works fine, as does quartus_sta.exe. They only fail to start when CreateProcess'd by the Quartus 2 GUI.
http://bugs.winehq.org/show_bug.cgi?id=22219
--- Comment #5 from Andre Ryan andreryan908@gmail.com 2010-04-12 08:16:34 --- Created an attachment (id=27340) --> (http://bugs.winehq.org/attachment.cgi?id=27340) Console output for Wine 1.1.42
I updated to the new Wine release, the error message has changed to "wine: Too many open files".
http://bugs.winehq.org/show_bug.cgi?id=22219
--- Comment #6 from Juan Lang juan_lang@yahoo.com 2010-04-12 13:20:49 --- Try upping the open file limit, e.g. using ulimit -n.
http://bugs.winehq.org/show_bug.cgi?id=22219
Andre Ryan andreryan908@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Version|1.1.41 |1.1.42 Resolution| |FIXED
--- Comment #7 from Andre Ryan andreryan908@gmail.com 2010-04-12 19:50:48 --- Yeah, it works now. ulimit -n 8192, the default limit on my system is 1024.
I completely forgot about ulimit, though I admittedly never expected the limit to be so pathetically low.
http://bugs.winehq.org/show_bug.cgi?id=22219
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.42 |1.1.41
http://bugs.winehq.org/show_bug.cgi?id=22219
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |INVALID
--- Comment #8 from Austin English austinenglish@gmail.com 2010-04-12 23:55:24 --- Not a wine bug.
http://bugs.winehq.org/show_bug.cgi?id=22219
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Austin English austinenglish@gmail.com 2010-04-12 23:55:32 --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=22219
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |RESOLVED Resolution|INVALID |FIXED
--- Comment #10 from Dmitry Timoshkov dmitry@codeweavers.com 2010-04-13 01:30:49 --- This bug is fixed, not invalid. The reporter was asked to retest the fix, and was able to confirm that the bug is really fixed for him in new Wine release only after adjusting file limit.
http://bugs.winehq.org/show_bug.cgi?id=22219
--- Comment #11 from Austin English austinenglish@gmail.com 2010-04-13 01:54:06 --- (In reply to comment #10)
This bug is fixed, not invalid. The reporter was asked to retest the fix, and was able to confirm that the bug is really fixed for him in new Wine release only after adjusting file limit.
I don't see a fix in any of the comments aside from the ulimit issue.
http://bugs.winehq.org/show_bug.cgi?id=22219
--- Comment #12 from Dmitry Timoshkov dmitry@codeweavers.com 2010-04-13 02:03:14 --- Let's ask the reporter. Andre, was the bug really fixed after you tried the app in the first place, or the problem was caused by file limit from the very start?
http://bugs.winehq.org/show_bug.cgi?id=22219
--- Comment #13 from Andre Ryan andreryan908@gmail.com 2010-04-13 03:06:56 --- I downgraded back to 1.1.39 with ulimit -n upped and the analyser does run correctly. The problem seems to have always been the ulimit (Although Wine's error messages didn't exactly make that clear until .42).
http://bugs.winehq.org/show_bug.cgi?id=22219
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |INVALID
--- Comment #14 from Dmitry Timoshkov dmitry@codeweavers.com 2010-04-13 04:15:37 --- (In reply to comment #13)
I downgraded back to 1.1.39 with ulimit -n upped and the analyser does run correctly. The problem seems to have always been the ulimit (Although Wine's error messages didn't exactly make that clear until .42).
Thanks. Then this bug is really invalid.
http://bugs.winehq.org/show_bug.cgi?id=22219
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Dmitry Timoshkov dmitry@codeweavers.com 2010-04-13 04:15:52 --- Closing invalid.