http://bugs.winehq.org/show_bug.cgi?id=29147
Bug #: 29147 Summary: Wine freezes then crash when trying to load an EA Product: Wine Version: 1.3.33 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: petelachatte@gmail.com Classification: Unclassified
Metatrader runs fine; until i load an expert advisor (MDP).
I get a bunch of :
err:ntdll:RtlpWaitForCriticalSection section 0x7bcaf904 "loader.c: loader_section" wait timed out in thread 002d, blocked by 003c, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x7bcaf904 "loader.c: loader_section" wait timed out in thread 002b, blocked by 003c, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x7bcaf904 "loader.c: loader_section" wait timed out in thread 0029, blocked by 003c, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x7bcaf904 "loader.c: loader_section" wait timed out in thread 0027, blocked by 003c, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x7bcaf904 "loader.c: loader_section" wait timed out in thread 002f, blocked by 003c, retrying (60 sec)
in console. Then Metatrader freezes and then dissapears.
Steps to reproduce the problem :
- Run mdp12.exe; select metatrader folder; install. - Run terminal.exe; maximize "EURUSD" chart; then on the left side right click on "million dollar pips" then choose attach to chart. - On the EA settings leave it as it is; click OK - Metatrader freezes.
http://bugs.winehq.org/show_bug.cgi?id=29147
Pete petelachatte@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |petelachatte@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=29147
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|petelachatte@gmail.com | Summary|Wine freezes then crash |Metatrader freezes when an |when trying to load an EA |expert advisor is loaded Severity|blocker |normal
http://bugs.winehq.org/show_bug.cgi?id=29147
--- Comment #1 from Vincent Povirk madewokherd@gmail.com 2012-02-13 14:52:33 CST --- Can you get a +module,+tid log? (And please wait long enough for the RtlpWaitForCriticalSection message to appear.)
http://bugs.winehq.org/show_bug.cgi?id=29147
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=29147
Yuriy daodrg@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |daodrg@gmail.com
--- Comment #2 from Yuriy daodrg@gmail.com 2012-03-07 14:10:42 CST --- I confirm the bug too. Metatrader works just fine with the wine1.4 rc. But when we run EA it hangs as described in the first post. I tried to downgrade to version 1.2 (all under ubuntu 11.10 server) then there is no such problem all works ok. But in 1.2 version there is the other problem - all buttons are without icons, so MetaTrader become almost useless.
As it seems that the error is on the loader.c you can look on changes between 1.2 and 1.4rc6 to find out what cause the problem.
Please give us information about the progress and possible solution of it.
http://bugs.winehq.org/show_bug.cgi?id=29147
--- Comment #3 from Austin English austinenglish@gmail.com 2012-03-07 15:52:06 CST --- (In reply to comment #2)
I confirm the bug too. Metatrader works just fine with the wine1.4 rc. But when we run EA it hangs as described in the first post. I tried to downgrade to version 1.2 (all under ubuntu 11.10 server) then there is no such problem all works ok. But in 1.2 version there is the other problem - all buttons are without icons, so MetaTrader become almost useless.
As it seems that the error is on the loader.c you can look on changes between 1.2 and 1.4rc6 to find out what cause the problem.
Please give us information about the progress and possible solution of it.
If this is a regression, please run a regression test: http://wiki.winehq.org/RegressionTesting
additionally, Vincent requested a log, please attach it.
http://bugs.winehq.org/show_bug.cgi?id=29147
--- Comment #4 from Yuriy daodrg@gmail.com 2012-03-08 03:12:16 CST --- Ok, I will attach the logs. Please, tell me how I can create such logs?
http://bugs.winehq.org/show_bug.cgi?id=29147
--- Comment #5 from Austin English austinenglish@gmail.com 2012-03-08 12:46:36 CST --- (In reply to comment #4)
Ok, I will attach the logs. Please, tell me how I can create such logs?
http://wiki.winehq.org/FAQ#head-16da35b6327024d6ea576e3678488b16862d0f5e
http://bugs.winehq.org/show_bug.cgi?id=29147
--- Comment #6 from Yuriy daodrg@gmail.com 2012-03-12 10:34:45 CDT --- Created attachment 39325 --> http://bugs.winehq.org/attachment.cgi?id=39325 log file as requasted
The log was created by the command: WINEDEBUG=+module,+tid wine terminal.exe &> ~/wine.log Metatrader hangs and after some time escapes.
http://bugs.winehq.org/show_bug.cgi?id=29147
--- Comment #7 from Yuriy daodrg@gmail.com 2012-03-13 11:59:25 CDT --- How about the loags I sent? Was taht helpfull?
http://bugs.winehq.org/show_bug.cgi?id=29147
--- Comment #8 from Yuriy daodrg@gmail.com 2012-03-14 14:28:28 CDT --- Any progress? Were logs usefull?
May be anyone can tell about successful work of MetaTrader under wine 1.4?
http://bugs.winehq.org/show_bug.cgi?id=29147
--- Comment #9 from Pete petelachatte@gmail.com 2012-03-14 15:39:10 CDT --- Hi,
Sorry for not replying sooner; lot of work.
I'll try with latest ubuntu wine1.3 (1.4~rc6-0ubuntu1~ppa1~oneiric1) and report back.
http://bugs.winehq.org/show_bug.cgi?id=29147
--- Comment #10 from Pete petelachatte@gmail.com 2012-03-14 15:42:32 CDT --- ok, testing back.
Running metatrader installer :
ixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0) fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0) fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d0c10 (device=2d access=0 func=304 method=0) wine: Unhandled page fault on read access to 0x000000cd at address 0x7bc481dc (thread 0009), starting debugger... err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bc481dc
http://bugs.winehq.org/show_bug.cgi?id=29147
Pete petelachatte@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.3.33 |1.4
--- Comment #11 from Pete petelachatte@gmail.com 2012-03-14 15:51:02 CDT --- Reporting for wine1.4 cannot even winetricks mfc42 ...
http://bugs.winehq.org/show_bug.cgi?id=29147
--- Comment #12 from Yuriy daodrg@gmail.com 2012-03-14 16:34:43 CDT --- Exactly the same errors here! I used to start up MetaTrader only with some "tricks", but even then I finished with the errors. as for mfc42 - I prove that it is impossible to get it with winetricks. I can "winetricks vcrun6sp6" or just copy mfc42* from windows but it dose not olve te problems. If You need any more information - you are wellcome!
http://bugs.winehq.org/show_bug.cgi?id=29147
--- Comment #13 from Vincent Povirk madewokherd@gmail.com 2012-03-14 16:47:16 CDT --- 0009:trace:module:MODULE_InitDLL (0x7e8c0000 L"rpcrt4.dll",PROCESS_DETACH,0x1) - CALL 0024:err:ntdll:RtlpWaitForCriticalSection section 0x110060 "heap.c: main process heap section" wait timed out in thread 0024, blocked by 0009, retrying (60 sec)
This doesn't explain why thread 0009 never finishes PROCESS_DETACH, or lets go of the heap critical section.
Also, the process is shutting down by the time the critical section failures happen, so maybe the real failure is earlier.
Maybe rpcrt4's DllMain should just return if the process is shutting down?
http://bugs.winehq.org/show_bug.cgi?id=29147
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.4 |1.3.33
http://bugs.winehq.org/show_bug.cgi?id=29147
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #14 from Dan Kegel dank@kegel.com 2012-03-14 23:30:14 CDT --- winetricks bugs should be filed at http://winetricks.org "winetricks mfc42" works fine here, please file a bug at the above url with details like which version of winetricks, etc.
http://bugs.winehq.org/show_bug.cgi?id=29147
--- Comment #15 from Yuriy daodrg@gmail.com 2012-03-15 08:33:54 CDT --- I'm interested in solving the problem with wine 1.4 and MetaTrader. Please, inform me about the progress. Also, I can help you everything I can. What should I do to help you solving bug?
http://bugs.winehq.org/show_bug.cgi?id=29147
--- Comment #16 from Yuriy daodrg@gmail.com 2012-03-20 01:04:33 CDT --- Is there any progress? I wonder if any one could even run MetaTrader 4 installer with the new wine 1.4?
http://bugs.winehq.org/show_bug.cgi?id=29147
--- Comment #17 from Austin English austinenglish@gmail.com 2012-03-29 17:59:02 CDT --- (In reply to comment #16)
Is there any progress? I wonder if any one could even run MetaTrader 4 installer with the new wine 1.4?
http://source.winehq.org/git/wine.git/commitdiff/bf5c3019a39be89221b5386bfee... may help here. Can you try wine from git (or 1.5.1 when it is released)?
http://bugs.winehq.org/show_bug.cgi?id=29147
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|madewokherd@gmail.com |
http://bugs.winehq.org/show_bug.cgi?id=29147
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |RESOLVED URL| |http://files.metaquotes.net | |/metaquotes.software.corp/m | |t4/mt4setup.exe CC| |kennybobs@o2.co.uk Resolution| |FIXED
--- Comment #18 from Ken Sharp kennybobs@o2.co.uk 2012-11-05 21:57:19 CST --- Well, this appears to work fine in Wine 1.5.16. Please reopen if you can recreate.
http://bugs.winehq.org/show_bug.cgi?id=29147
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Alexandre Julliard julliard@winehq.org 2012-11-09 13:01:31 CST --- Closing bugs fixed in 1.5.17.