[Bug 20986] New: err:ntdll:RtlpWaitForCriticalSection with Euler/maxima.exe
http://bugs.winehq.org/show_bug.cgi?id=20986 Summary: err:ntdll:RtlpWaitForCriticalSection with Euler/maxima.exe Product: Wine Version: 1.1.34 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs(a)winehq.org ReportedBy: zaleksf(a)umich.edu I am running wine-1.1.34 on Ubuntu-9.10-x64 on my Dell Inspiron 1420 laptop which has a Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz processor. I have installed Euler Math Toolbox (v8.7 at http://eumat.sourceforge.net/index.html) and the installation went flawlessly. Euler launches and runs (performs computations) with only the following errors which are generally invisible to the user (no problem running Euler): $ wine euler fixme:win:EnumDisplayDevicesW ((null),0,0x32f778,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x32f778,0x00000000), stub! However, once the Euler user attempts to have Euler make a computation with maxima.exe (included with Euler), maxima.exe fails to start ('Could not start Maxima!' message in the user window after long delay) and the following error occurs: err:ntdll:RtlpWaitForCriticalSection section 0x4eb0ac "?" wait timed out in thread 001c, blocked by 001d, retrying (60 sec) Rene Grothmann (Euler developer) indicates he can run this current version of Euler on Linux/Wine without any issues. I have tried running Euler/maxima.exe on several different versions of Wine with the same results (v1.0.1, 1.1.32). Please let me know what I can do to correct this, or if there is any more information I can send to you. Regards Steve Zalek -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2009-12-10 16:57:32 --- Is that all the terminal output? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|err:ntdll:RtlpWaitForCritic |Euler fails to make a |alSection with |computation with |Euler/maxima.exe |maxima.exe: maxima.exe | |fails to start -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #2 from Steve Zalek <zaleksf(a)umich.edu> 2009-12-10 20:15:58 --- (In reply to comment #1)
Is that all the terminal output?
Yes, the only error that shows up on the terminal upon attempting to launch maxima.exe from within Euler is: err:ntdll:RtlpWaitForCriticalSection section 0x4eb0ac "?" wait timed out in thread 001c, blocked by 001d, retrying (60 sec) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|ntdll |-unknown --- Comment #3 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2009-12-11 02:42:07 --- Most likely the app crashes, a +relay,+seh,+tid log would probably help. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #4 from Steve Zalek <zaleksf(a)umich.edu> 2009-12-14 12:08:43 --- I would like to help more with the troubleshooting - how do I produce a '+relay,+seh,+tid log'. Thanks, SZ -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #5 from Juan Lang <juan_lang(a)yahoo.com> 2009-12-14 12:41:55 --- (In reply to comment #4)
I would like to help more with the troubleshooting - how do I produce a '+relay,+seh,+tid log'.
WINEDEBUG=+relay,+seh,+tid wine euler >& log.txt Then compress log.txt (e.g. with 'bzip2 -9') and attach it here. (By the way, this is described in the FAQ: http://wiki.winehq.org/FAQ#head-16da35b6327024d6ea576e3678488b16862d0f5e ) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #6 from Steve Zalek <zaleksf(a)umich.edu> 2009-12-14 13:05:37 --- Created an attachment (id=25209) --> (http://bugs.winehq.org/attachment.cgi?id=25209) debug log -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #7 from Steve Zalek <zaleksf(a)umich.edu> 2009-12-14 13:06:25 --- Created an attachment (id=25210) --> (http://bugs.winehq.org/attachment.cgi?id=25210) App screenshot showing error -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #8 from Steve Zalek <zaleksf(a)umich.edu> 2009-12-14 13:08:12 --- Thanks, Attached is the debug error file 'log.txt' and a screenshot of the Euler app when I attempt to perform a calculation which calls maxima.exe. SZ -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |xerox_xerox2000(a)yahoo.co.uk Ever Confirmed|0 |1 --- Comment #9 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2009-12-14 13:58:16 --- The log you attached does not contain any attempt of starting maxima.exe so i fear it's useless for now. I decided to download the app, and i can confirm there seems to be a bug. However , could you give the the exact steps to reproduce this bug? A guess what could go wrong: 0030:Starting process L"C:\\Program Files\\Euler\\maxima.exe" (entryproc=0x401240) . . 0030:Call KERNEL32.VirtualAlloc(110a0000,2ef60000,00002000,00000001) ret=0046d36a 0030:Ret KERNEL32.VirtualAlloc() retval=00000000 ret=0046d36a . . -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression --- Comment #10 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2009-12-14 15:55:58 --- There's also a problem trying to start maxima.exe stand alone. It should print some info on the commandline, but that too fails in current git. In previous version (wine-1.1.22 for example) this works, so this is a regression. Also generated debuglog with wine-1.1.22: 0009:Starting process L"C:\\Program Files\\Euler\\maxima.exe" (entryproc=0x401240) . . 0009:Call KERNEL32.VirtualAlloc(110a0000,2ef60000,00002000,00000001) ret=0046d36a 0009:Ret KERNEL32.VirtualAlloc() retval=110a0000 ret=0046d36a 0009:Call KERNEL32.CreateFileA(0095fd80 "C:\\Program Files\\Euler\\maxima.exe",80000000,00000001,00000000,00000003,00000080,00000000) ret=0046d38b The VirtualAlloc succeeds in wine-1.1.22 , but fails in current git (see previous comment). I'm currently doing regression test but i fear i won't be able to finish that soon (slow box +limited time). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #11 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2009-12-14 16:34:33 --- Created an attachment (id=25213) --> (http://bugs.winehq.org/attachment.cgi?id=25213) git bisect log this is how far i got (git bisect log). I'll finish regression test later this week, but if someone else beats me , go on -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #12 from Steve Zalek <zaleksf(a)umich.edu> 2009-12-14 20:27:39 --- (In reply to comment #9)
The log you attached does not contain any attempt of starting maxima.exe so i fear it's useless for now. I decided to download the app, and i can confirm there seems to be a bug. However , could you give the the exact steps to reproduce this bug?
A guess what could go wrong: 0030:Starting process L"C:\\Program Files\\Euler\\maxima.exe" (entryproc=0x401240) . . 0030:Call KERNEL32.VirtualAlloc(110a0000,2ef60000,00002000,00000001) ret=0046d36a 0030:Ret KERNEL32.VirtualAlloc() retval=00000000 ret=0046d36a . .
You are correct - the log file was created upon Euler.exe initiation within Wine. There is no issue with Euler itself. The issue is with maxima.exe; I don't know how to have the debugger keep recording throughout the series of actions that causes the problem. The problem is caused by calling maxima.exe. This is done within Euler by executing a command that uses the maxima command prompt ("::") instead of the Euler command prompt, to solve a problem. Please see the "App screenshot showing error" file that I uploaded as an example of the problem. I have run ~$WINEDEBUG=+relay,+seh,+tid wine 'C:\Program Files\Euler\maxima.exe' >& log-with-maxima-start.txt in an attempt to capture the issue with starting maxima, and uploaded the file. Hope this helps. SZ -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #13 from Steve Zalek <zaleksf(a)umich.edu> 2009-12-14 20:28:23 --- Created an attachment (id=25218) --> (http://bugs.winehq.org/attachment.cgi?id=25218) WINEDEBUG=+relay,+seh,+tid wine 'C:\Program Files\Euler\maxima.exe' >& log-with-maxima-start.txt -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard(a)winehq.org --- Comment #14 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2009-12-15 12:13:21 --- 09712593c8496be5e952b7316099f9eed5043203 is first bad commit commit 09712593c8496be5e952b7316099f9eed5043203 Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Jun 25 14:18:53 2009 +0200 ntdll: Release some address space after the process initialization is done. :040000 040000 25715d0c052bc6bbc0262c742ad285d17a78f236 aa973aa3e5286174dcbffd782691d09bd9109e5d M dlls -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |ntdll -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #15 from Nikolay Sivov <bunglehead(a)gmail.com> 2009-12-15 12:32:55 --- (In reply to comment #14)
09712593c8496be5e952b7316099f9eed5043203 is first bad commit commit 09712593c8496be5e952b7316099f9eed5043203 Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Jun 25 14:18:53 2009 +0200
ntdll: Release some address space after the process initialization is done.
:040000 040000 25715d0c052bc6bbc0262c742ad285d17a78f236 aa973aa3e5286174dcbffd782691d09bd9109e5d M dlls
Does reverting help? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #16 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2009-12-15 12:36:03 --- (In reply to comment #15)
(In reply to comment #14)
09712593c8496be5e952b7316099f9eed5043203 is first bad commit commit 09712593c8496be5e952b7316099f9eed5043203 Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Jun 25 14:18:53 2009 +0200
ntdll: Release some address space after the process initialization is done.
:040000 040000 25715d0c052bc6bbc0262c742ad285d17a78f236 aa973aa3e5286174dcbffd782691d09bd9109e5d M dlls
Does reverting help?
Cannot be reverted cleanly anymore in current git. The hack below works around the bug, so i guess the regressiontest was ok diff --git a/dlls/ntdll/virtual.c b/dlls/ntdll/virtual.c index 9731069..3d2f621 100644 --- a/dlls/ntdll/virtual.c +++ b/dlls/ntdll/virtual.c @@ -1699,7 +1699,7 @@ void virtual_release_address_space( BOOL free_high_mem ) else { #ifndef __APPLE__ /* dyld doesn't support parts of the WINE_DOS segment being unmapped */ - range.base = (char *)0x20000000; + range.base = (char *)0x10000000; range.limit = (char *)0x7f000000; while (wine_mmap_enum_reserved_areas( free_reserved_memory, &range, 0 )) /* nothing */; #endif -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 Michael Stefaniuc <mstefani(a)redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani(a)redhat.com --- Comment #17 from Michael Stefaniuc <mstefani(a)redhat.com> 2010-06-18 18:02:03 --- Problem still exists in wine-1.2-rc4. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #18 from Steve Zalek <zaleksf(a)umich.edu> 2010-06-19 20:30:21 --- Any chance this could get some attention? Getting Euler Math Toolbox working in Linux through Wine would make a powerful, integrated numerical AND symbolic mathematical analysis system (a la MatLab) available for users. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clement.lagrange(a)gmail.com --- Comment #19 from Austin English <austinenglish(a)gmail.com> 2010-08-05 08:21:00 --- *** Bug 23903 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #20 from Clément Lagrange <clement.lagrange(a)gmail.com> 2010-08-05 08:25:19 --- Can I help in any way ? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #21 from Steve Zalek <zaleksf(a)umich.edu> 2010-10-27 14:54:23 CDT --- Created an attachment (id=31556) --> (http://bugs.winehq.org/attachment.cgi?id=31556) WINEDEBUG=+relay,+seh,+tid wine euler >& log-start-maxima.exe-only.txt -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #22 from Steve Zalek <zaleksf(a)umich.edu> 2010-10-27 14:56:53 CDT --- (From update of attachment 31556) I am running Ubuntu 10.10_x64 with all the updates with Wine 1.3.5. I am attempting to start maxima.exe v5.20.1 with Wine, but it does not. Any assistance with getting this to work would be appreciated. Thanks -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #23 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2010-10-27 15:41:56 CDT --- Any
assistance with getting this to work would be appreciated.
Does the hack from comment #6 still work? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 Steve Zalek <zaleksf(a)umich.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.34 |1.3.5 --- Comment #24 from Steve Zalek <zaleksf(a)umich.edu> 2010-10-27 21:47:32 CDT --- (In reply to comment #23)
Any
assistance with getting this to work would be appreciated.
Does the hack from comment #6 still work?
Hi, I'm not sure if the hack (from comment #16) still works. I hadn't personally tinkered with the Wine code yet. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|source | Version|1.3.5 |1.1.34 --- Comment #25 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-10-28 02:53:31 CDT --- Please don't change an originally reported Wine version. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #26 from Clément Lagrange <clement.lagrange(a)gmail.com> 2010-11-13 10:00:26 CST --- (In reply to comment #23)
Any
assistance with getting this to work would be appreciated.
Does the hack from comment #16 still work?
It does work ! I tested with 1.3.7 both stable release and last git head. (Are they the same ?) It boils down to change in dlls/ntdll/virtual.c on line 1763 2 to 1 ! :) If you need some more details, or testing, please ask... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #27 from Steve Zalek <zaleksf(a)umich.edu> 2010-11-14 11:14:31 CST --- (In reply to comment #26)
(In reply to comment #23)
Any
assistance with getting this to work would be appreciated.
Does the hack from comment #16 still work?
It does work ! I tested with 1.3.7 both stable release and last git head. (Are they the same ?)
It boils down to change in dlls/ntdll/virtual.c on line 1763 2 to 1 ! :)
If you need some more details, or testing, please ask...
Wow! Great! And thanks for investigating this issue. I will try this fix myself. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #28 from Steve Zalek <zaleksf(a)umich.edu> 2010-11-14 18:35:55 CST --- (In reply to comment #26)
(In reply to comment #23)
Any
assistance with getting this to work would be appreciated.
Does the hack from comment #16 still work?
It does work ! I tested with 1.3.7 both stable release and last git head. (Are they the same ?)
It boils down to change in dlls/ntdll/virtual.c on line 1763 2 to 1 ! :)
If you need some more details, or testing, please ask...
No luck. With wine-1.3.7 I made this change at dlls/ntdll/virtual.c on line 1763 => - range.base = (char *)0x20000000; + range.base = (char *)0x10000000; I am running Ubuntu 10.10_x64 and followed the WineHQ instructions for build and install - no errors indicated with that. Euler Math Toolbox v10.1 successfully runs, until maxima.exe is called; maxima fails to start/load. Euler still runs fine after the failed maxima call. Any thoughts? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #29 from Clément Lagrange <clement.lagrange(a)gmail.com> 2010-11-15 02:07:08 CST --- (In reply to comment #28)
(In reply to comment #26)
(In reply to comment #23)
Any
assistance with getting this to work would be appreciated.
Does the hack from comment #16 still work?
It does work ! I tested with 1.3.7 both stable release and last git head. (Are they the same ?)
It boils down to change in dlls/ntdll/virtual.c on line 1763 2 to 1 ! :)
If you need some more details, or testing, please ask...
No luck. With wine-1.3.7 I made this change at dlls/ntdll/virtual.c on line 1763 =>
- range.base = (char *)0x20000000; + range.base = (char *)0x10000000;
I am running Ubuntu 10.10_x64 and followed the WineHQ instructions for build and install - no errors indicated with that.
Euler Math Toolbox v10.1 successfully runs, until maxima.exe is called; maxima fails to start/load. Euler still runs fine after the failed maxima call.
Any thoughts?
Are you sure you run the relevant version of wine ? Also did you try to run maxima.exe alone ? It should spit out some text... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #30 from Steve Zalek <zaleksf(a)umich.edu> 2010-11-15 04:49:40 CST --- (In reply to comment #29)
(In reply to comment #28)
(In reply to comment #26)
(In reply to comment #23)
Any
assistance with getting this to work would be appreciated.
Does the hack from comment #16 still work?
It does work ! I tested with 1.3.7 both stable release and last git head. (Are they the same ?)
It boils down to change in dlls/ntdll/virtual.c on line 1763 2 to 1 ! :)
If you need some more details, or testing, please ask...
No luck. With wine-1.3.7 I made this change at dlls/ntdll/virtual.c on line 1763 =>
- range.base = (char *)0x20000000; + range.base = (char *)0x10000000;
I am running Ubuntu 10.10_x64 and followed the WineHQ instructions for build and install - no errors indicated with that.
Euler Math Toolbox v10.1 successfully runs, until maxima.exe is called; maxima fails to start/load. Euler still runs fine after the failed maxima call.
Any thoughts?
Are you sure you run the relevant version of wine ? Also did you try to run maxima.exe alone ? It should spit out some text...
Hi, I believe I did use the newly built version of Wine: I had removed the previous version with the synaptic package manager and verified that my apps would not run. Then I installed the version I had built and my windows apps would run properly again. With the modified Wine installed, I did try starting maxima.exe by itself from the terminal ("wine maxima.exe"), and it did seem to start - it printed out the standard maxima application welcome header text. So that is some progress. But I could not perform computations with maxima from that terminal. And when I tried the run maxima from Euler Tool Box (using the first example script of the first example menu item) Euler hung for 60s and maxima failed to start. This is the usual error. Euler calls maxima.exe via 'pipes'. I don't know how that comes into play. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 Henri Verbeet <hverbeet(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |09712593c8496be5e952b731609 | |9f9eed5043203 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 jhgf <bernhardloos(a)googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardloos(a)googlemail.com --- Comment #31 from jhgf <bernhardloos(a)googlemail.com> 2011-10-01 14:34:41 CDT --- Try this patch: http://bugs.winehq.org/attachment.cgi?id=36637&action=diff -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #32 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2011-10-01 17:57:55 CDT --- (In reply to comment #31)
Try this patch: http://bugs.winehq.org/attachment.cgi?id=36637&action=diff
I tested and the patch fixes the bug. Great job! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #33 from Cedric Collomb <ccollomb(a)yahoo.com> 2012-10-14 23:24:11 CDT --- Created attachment 42130 --> http://bugs.winehq.org/attachment.cgi?id=42130 Log of maxima running with patched 1.5.15 Tried to run maxima.exe with patch on top wine 1.5.15 no text output. Tried to run maxima through Euler Math Toolbox, and still hangs the same as without the patch. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 Cedric Collomb <ccollomb(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ccollomb(a)yahoo.com --- Comment #34 from Cedric Collomb <ccollomb(a)yahoo.com> 2012-10-15 22:13:43 CDT --- Ignore my comment, maxima actually displays some text now with the proposed patch. I did not close, relaunch terminal after updating. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |robert.dodier(a)gmail.com --- Comment #35 from Anastasius Focht <focht(a)gmx.net> 2013-09-24 16:59:21 CDT --- *** Bug 34586 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #36 from Robert Dodier <robert.dodier(a)gmail.com> 2013-09-24 18:47:18 CDT --- (In reply to comment #32)
(In reply to comment #31)
Try this patch: http://bugs.winehq.org/attachment.cgi?id=36637&action=diff
I tested and the patch fixes the bug. Great job!
That patch is out of date now -- it apparently was never merged and can't now be applied against wine-1.7.2. Can someone merge it or rebase it somehow or something like that. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net --- Comment #37 from Anastasius Focht <focht(a)gmx.net> 2013-09-24 19:04:20 CDT --- Hello folks, the failed allocation code can be found here: http://git.savannah.gnu.org/cgit/gcl.git/tree/gcl/o/unexnt.c (_start -> recreate_heap) The "maxima" application/executable was dumped/re-created using "unexec" from a win32 intermediate executable created by GCL compiler. The hard-coded heap start/size limits indicate this (data_region_base, data_region_size, reserved_heap_size in .data section). Failing VirtualAlloc(): --- snip --- 113E0000 ; Address = 113E0000 (heap_end) 2EC20000 ; Size = 784465920 (reserved_heap_size - committed_heap_size) 00002000 ; AllocType = MEM_RESERVE 00000001 ; Protect = PAGE_NOACCESS --- snip --- It's not really clear from the GCL code why statically defined heap limits are really needed here (calculated at dump time). A runtime probe for large contiguous chunk to create/manage app heap should be fine. Sticking to specific win32 address space layout at dump time is somewhat silly. Regards -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #38 from Robert Dodier <robert.dodier(a)gmail.com> 2013-09-24 19:18:36 CDT --- While it may be silly for GCL to allocate memory as it does, we are pretty much stuck with it. Maxima for Windows is compiled with an archaic, brittle toolchain -- there are smart people trying to straighten out this situation but for the moment we are stuck with the old tools. It is possible that GCL has been updated to use some other allocation scheme -- I don't know. It is also possible to use some Lisp other than GCL to compile Maxima, but other Lisps have their own idiosyncrasies. Help me understand the prospects for getting Maxima running via Wine. Is the allocation problem fixable? and if so, will an updated version of the patch fix it? or is it not fixable? Thank you for any information. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #39 from Robert Dodier <robert.dodier(a)gmail.com> 2013-09-24 21:35:06 CDT --- OK, I've attempted to update the patch (http://bugs.winehq.org/attachment.cgi?id=36637&action=diff) for wine-1.7.2. I'll attach the revised patch. With the revised patch, I get a little farther with maxima.exe. Now it quits with an error message, which apparently comes from Wine: Can't recognize 'C:/msys/1.0/local/lib/gcl-2.6.8/unixport/msys /tmp/ out8 tmp8 log8' as an internal or external command, or batch script. I'm not sure what's going on here. MSYS is a collection of Unix-like tools for Windows, and it is packaged as part of MinGW, right? I don't know what GCL might be trying to do here. Installing Maxima isn't supposed to require MinGW or MSYS to be present. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #40 from Robert Dodier <robert.dodier(a)gmail.com> 2013-09-24 21:37:59 CDT --- Created attachment 46066 --> http://bugs.winehq.org/attachment.cgi?id=46066 patch for wine-1.7.2 to (hopefully) run maxima.exe Updated http://bugs.winehq.org/attachment.cgi?id=36637&action=diff to apply to wine-1.7.2. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=20986 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch URL| |http://euler.rene-grothmann | |.de/download/EulerSetup.exe --- Comment #41 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, updating download link. Even in the 64-bit version of Euler, 'maxima' is still a 32-bit executable. To work around without modifying Wine you can patch it to be large address aware: --- snip --- $ printf '\x27' | dd of=maxima.exe bs=1 seek=150 count=1 conv=notrunc --- snip --- Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=20986 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com --- Comment #42 from super_man(a)post.com --- The patch still applies cleanly with some offset changes. patching file dlls/ntdll/loader.c Hunk #1 succeeded at 3052 (offset 346 lines). Hunk #2 succeeded at 3087 with fuzz 1 (offset 344 lines). patching file dlls/ntdll/ntdll_misc.h Hunk #1 succeeded at 175 with fuzz 2 (offset 6 lines). patching file dlls/ntdll/virtual.c Hunk #1 succeeded at 1802 (offset -8 lines). Hunk #2 succeeded at 1818 (offset -8 lines). patching file include/wine/library.h patching file libs/wine/mmap.c patching file libs/wine/wine.map patching file loader/main.c Hunk #1 succeeded at 212 (offset 10 lines). Hunk #2 succeeded at 237 (offset 10 lines). against 1.7.52 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #43 from Alexandre Julliard <julliard(a)winehq.org> --- This may be fixed by 74b7fcfbdb87b4e0ca4d4a3193af52410da8d1b4, please retest if possible. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=20986 --- Comment #44 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- (In reply to Alexandre Julliard from comment #43) I tested in wine-3.11 and tried the things shown in the screenshot from Comment #7 and it worked fine. The errors from that screenshot were not shown and the answer was printed correctly. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=20986 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |74b7fcfbdb87b4e0ca4d4a3193a | |f52410da8d1b4 Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #45 from Alexandre Julliard <julliard(a)winehq.org> --- Marking fixed then, thanks for testing! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=20986 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #46 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 3.12. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org