http://bugs.winehq.org/show_bug.cgi?id=10822
Summary: Dymola: gcc failes compiling simulation Product: Wine Version: 0.9.51. Platform: PC OS/Version: other Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-msvcrt AssignedTo: wine-bugs@winehq.org ReportedBy: mauritzius@gmx.net
Created an attachment (id=9688) --> (http://bugs.winehq.org/attachment.cgi?id=9688) Dymola's Output
I'm trying to run the Demo-Version of Dymola (http://www.dymola.com) under Wine 0.9.51. Prior version of wine did not show the fonts correctly, since 0.9.51 fonts are displayed correctly and it is possible to use the model-editor.
When it comes to simulating, Dymola uses egcs in the background. egcs fails with "gcc: installation problem, cannot exec `as': No such file or directory". I tried adding the egcs/bin directory to Path using winecfg, however the problem still persists.
Any clues?
Attached is the error-message Dymola gives (dymola.txt).
http://bugs.winehq.org/show_bug.cgi?id=10822
--- Comment #1 from Andreas Böhler mauritzius@gmx.net 2007-12-18 16:35:15 --- Created an attachment (id=9689) --> (http://bugs.winehq.org/attachment.cgi?id=9689) Console Output
http://bugs.winehq.org/show_bug.cgi?id=10822
Andreas Böhler mauritzius@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Dymola: gcc failes compiling|Dymola: gcc fails compiling |simulation |simulation
http://bugs.winehq.org/show_bug.cgi?id=10822
Andreas Böhler mauritzius@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal OS/Version|other |Linux
http://bugs.winehq.org/show_bug.cgi?id=10822
Andreas Böhler mauritzius@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mauritzius@gmx.net
http://bugs.winehq.org/show_bug.cgi?id=10822
Hans Leidekker hans@it.vu.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@it.vu.nl Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #2 from Hans Leidekker hans@it.vu.nl 2007-12-19 06:50:42 --- Confirmed. Using native msvcrt works around the problem.
http://bugs.winehq.org/show_bug.cgi?id=10822
--- Comment #3 from Andreas Böhler mauritzius@gmx.net 2007-12-19 10:41:26 --- When using native msvcrt, compilation of the simulation succeeds but starting the simulation using the newly compiled dymosim.exe fails, triggering wine's debugger.
I guess I should file another bug report for this?
http://bugs.winehq.org/show_bug.cgi?id=10822
--- Comment #4 from Hans Leidekker hans@it.vu.nl 2007-12-19 12:47:22 --- Yes, the crash would be another bug report. Please attach a +msvcrt trace for this bug (with builtin msvcrt of course).
http://bugs.winehq.org/show_bug.cgi?id=10822
--- Comment #5 from Hans Leidekker hans@it.vu.nl 2007-12-27 14:44:31 --- Found the bug. Dymola calls _spawnvp("as") with PATH set to C:\PROG~FBU\Dymola\egcs\bin and expects C:\PROG~FBU\Dymola\egcs\bin\as.exe to get launched.
This works with native msvcrt but builtin only tries with .exe appended after _searchenv turned up nothing and ends up calling CreateProcess on just "as.exe", which fails.
A trace with native msvcrt reveals that _spawnvp tries .com, .exe, .bat and .cmd as extensions, in that order, searching the current directory first and then any directory specified in PATH.
http://bugs.winehq.org/show_bug.cgi?id=10822
--- Comment #6 from Hans Leidekker hans@it.vu.nl 2008-01-09 04:45:47 --- The spawn bug is fixed in git, compiling a model with Dymola succeeds now. However, simulating a model (i.e. running the resulting executable) takes us to the next bug:
$ wine dymosim.exe dymosim.exe started ... "dsin.txt" loading (dymosim input file) ... "dsres.mat" creating (simulation result file)
Integration started at T = 0 using integration method LSODAR (Multi-step solver for stiff and non-stiff ODE's with root finder (lsodar of ODEPACK)) wine: Unhandled page fault on read access to 0x00000000 at address (nil) (thread 003f), starting debugger... Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00000000).
http://bugs.winehq.org/show_bug.cgi?id=10822
--- Comment #7 from Hans Leidekker hans@it.vu.nl 2008-01-09 06:18:31 --- It crashes right after a call to fsetpos. Since the same crash happens with native msvcrt and since that's the only dll imported by this executable I figure the bug must be in kernel32 or ntdll.
http://bugs.winehq.org/show_bug.cgi?id=10822
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.dymola.com/ Keywords| |download
--- Comment #8 from Austin English austinenglish@gmail.com 2008-06-05 10:29:32 --- Is this still an issue in 1.0-rc3 or newer wine?
http://bugs.winehq.org/show_bug.cgi?id=10822
--- Comment #9 from Hans Leidekker hans@it.vu.nl 2008-06-05 12:43:50 ---
Is this still an issue in 1.0-rc3 or newer wine?
Yes.
http://bugs.winehq.org/show_bug.cgi?id=10822
--- Comment #10 from Austin English austinenglish@gmail.com 2008-12-07 17:45:56 --- http://www.dynasim.se/demo/dymdemo.exe
Could you please give steps to reproduce for someone unfamiliar with the program? Is this still present in 1.1.10?
http://bugs.winehq.org/show_bug.cgi?id=10822
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hustxnwsg@gmail.com
--- Comment #11 from Hans Leidekker hans@meelstraat.net 2009-03-19 03:53:44 --- *** Bug 17793 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=10822
--- Comment #12 from Austin English austinenglish@gmail.com 2010-08-05 07:18:04 --- I can't get it to install. For me in wine-1.3.0-167-g65d1c99, it hangs on the inner installer with 'computing space requirements'. I let it sit for about 15 minutes, with no progress.
Though it may be my crappy laptop...
http://bugs.winehq.org/show_bug.cgi?id=10822
Per Öberg per@familjenoberg.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |per@familjenoberg.se
--- Comment #13 from Per Öberg per@familjenoberg.se 2011-11-21 12:03:16 CST --- I have the same problem, and I solved it by using the native crtdll.dll instead of the wine-one.
I have Dymola V6.1, which I unfortunately cannot share but it uses egcs to generate a file called dymosim.exe which is the one crashing. I think I can share that one without breaking any licensing policies.
https://bugs.winehq.org/show_bug.cgi?id=10822
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |35566
https://bugs.winehq.org/show_bug.cgi?id=10822
--- Comment #14 from Austin English austinenglish@gmail.com --- (In reply to comment #12)
I can't get it to install. For me in wine-1.3.0-167-g65d1c99, it hangs on the inner installer with 'computing space requirements'. I let it sit for about 15 minutes, with no progress.
Though it may be my crappy laptop...
Still in 1.7.12. Filed bug 35566.
https://bugs.winehq.org/show_bug.cgi?id=10822
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #15 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur in wine-4.0-rc2?