MT4 keeps crashing

 

I have a problem. My MT4 keeps crashing. I am hoping someone can help as I am pulling my hair out. I have attached the dump below.

1. It does it on my PC at home, and my PC at work.

2. Both my PC at home and PC at work are Windows 7. I have tried it on two XP boxes and it crashes as well.

3. It only crashes with my EA running. Over the weekend, because there were no ticks, it didn't crash even though my EA was loaded.

4. It crashes with an MT4 error box - so the crash is actually being handled, rather than giving me a "Do you want to send this to Microsoft?"

5. Is there anyway of disabling this crash screen, thus allowing it to die completely? At least I could write a monitor program and start it up again.

6. I have attached my EA.

7. Here is the crash dump

There has been a critical error
Time : 2010.06.29 00:13
Program : Client Terminal
Version : 4.00 (build: 226, 24 Mar 2009)
OS : Windows Vista Professional 6.1 (Build 7600)
Processors : 2 x X86 (level 6)
Memory : 2086392/1220284 kb
Exception : C0000005
Address : 00554EFB
Access Type : read
Access Addr : 63FFFE16

Registers : EAX=00000002 CS=001b EIP=00554EFB EFLGS=00010212
: EBX=03B4A518 SS=0023 ESP=0872B224 EBP=0872B380
: ECX=00000000 DS=0023 ESI=0872F824 FS=003b
: EDX=00000000 ES=0023 EDI=FFFFFF82 GS=0000

Stack Trace : 00553E87 00000000 00000000 00000000
: 00000000 00000000 00000000 00000000
: 00000000 00000000 00000000 00000000
: 00000000 00000000 00000000 00000000

Modules :
1 : 00400000 004BB000 c:\program files\metatrader - alpari uk\terminal.exe
2 : 10000000 00051000 c:\program files\directory opus\dopushlp.dll
3 : 20020000 00007000 c:\progra~1\system~1\winhook.dll
4 : 6ECF0000 00012000 c:\windows\system32\mpr.dll
5 : 6F3E0000 00038000 c:\windows\system32\odbcint.dll
6 : 6F420000 0008A000 c:\windows\system32\odbc32.dll
7 : 6F4B0000 0011C000 c:\windows\system32\mfc42.dll
8 : 70D40000 00005000 c:\windows\system32\msimg32.dll
9 : 72FB0000 00007000 c:\windows\system32\midimap.dll
10 : 72FC0000 00014000 c:\windows\system32\msacm32.dll
11 : 72FE0000 00008000 c:\windows\system32\msacm32.drv
12 : 735E0000 00036000 c:\windows\system32\audioses.dll
13 : 736B0000 00004000 c:\windows\system32\ksuser.dll
14 : 736C0000 00030000 c:\windows\system32\wdmaud.drv
15 : 736F0000 00032000 c:\windows\system32\winmm.dll
16 : 73F90000 00013000 c:\windows\system32\dwmapi.dll
17 : 74060000 00039000 c:\windows\system32\mmdevapi.dll
18 : 740A0000 00007000 c:\windows\system32\avrt.dll
19 : 74510000 00040000 c:\windows\system32\uxtheme.dll
20 : 74550000 000F5000 c:\windows\system32\propsys.dll
21 : 74690000 0019E000 c:\windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16385_none_421189da2b7fabfc\comctl32.dll
22 : 74CF0000 00005000 c:\windows\system32\wshtcpip.dll
23 : 74F80000 0003B000 c:\windows\system32\rsaenh.dll
24 : 751A0000 0003C000 c:\windows\system32\mswsock.dll
25 : 751E0000 00016000 c:\windows\system32\cryptsp.dll
26 : 75690000 0000C000 c:\windows\system32\cryptbase.dll
27 : 75750000 0000E000 c:\windows\system32\rpcrtremote.dll
28 : 75810000 0004A000 c:\windows\system32\kernelbase.dll
29 : 758F0000 00027000 c:\windows\system32\cfgmgr32.dll
30 : 75A40000 00012000 c:\windows\system32\devobj.dll
31 : 75A90000 0008F000 c:\windows\system32\oleaut32.dll
32 : 75B20000 0019D000 c:\windows\system32\setupapi.dll
33 : 75DC0000 0007B000 c:\windows\system32\comdlg32.dll
34 : 75E40000 00019000 c:\windows\system32\sechost.dll
35 : 75E60000 000CC000 c:\windows\system32\msctf.dll
36 : 75F30000 0000A000 c:\windows\system32\lpk.dll
37 : 75F40000 00006000 c:\windows\system32\nsi.dll
38 : 75F50000 0009D000 c:\windows\system32\usp10.dll
39 : 76130000 00035000 c:\windows\system32\ws2_32.dll
40 : 76170000 0001F000 c:\windows\system32\imm32.dll
41 : 76190000 0004E000 c:\windows\system32\gdi32.dll
42 : 761E0000 00057000 c:\windows\system32\shlwapi.dll
43 : 762A0000 0015C000 c:\windows\system32\ole32.dll
44 : 76400000 000C9000 c:\windows\system32\user32.dll
45 : 764D0000 000A0000 c:\windows\system32\advapi32.dll
46 : 76570000 000AC000 c:\windows\system32\msvcrt.dll
47 : 76680000 00C49000 c:\windows\system32\shell32.dll
48 : 772D0000 000A1000 c:\windows\system32\rpcrt4.dll
49 : 77380000 00083000 c:\windows\system32\clbcatq.dll
50 : 77610000 0013C000 c:\windows\system32\ntdll.dll
51 : 77760000 000D4000 c:\windows\system32\kernel32.dll

-Jerry

Files:
jerry36.mq4  8 kb
 
netconuk:

I have a problem. My MT4 keeps crashing. I am hoping someone can help as I am pulling my hair out. I have attached the dump below.

Hi Jerry,

I'm having exactly the same problem. I've been running numerous instances of MT4 clients for quite some time now and it was VERY stable, reliable and I had no problems in spite of the fact that most of the time I was overloading my computer.

My Broker supplied the update to Build 226 from b225.

Since then all of my MT4 clients have been crashing, making ForEx trading impossible.

I've since uninstalled all of the instances of MT4, cleaned and defragmented my registry with 3 different utilities, including some that will work in safe mode. Lest someone points out that this is where my problems lies, I have done this for many years and have NEVER had an instance where it caused problems. It ALWAYS improves the reliability, stability and sometimes the speed of my computers.

I then did a clean install with build 226 into an empty folders and I am still having the same problem, though with less frequency. This may be more due to the fact that I only have the v4 MultiAccount MT4 which is good for monitoring the status of multiple accounts, but is quite cumbersome to trade with, and one instance of MT4. I am trying to figure out a way to have all of my (demo) accounts on one MT4 client and just cycle through them all in one client instead of having ~ 10 instances of MT4. This approach decreases the load on my computer significantly: IF I can get the approach and method to work..

I got a MT4 Build 225 from my broker and if I continue to have the same crashing problems, I will go through the entire procedure again and put Build 225 back onto it and see if this corrects the problems.

Good Luck,

DougRH4x

 
netconuk:

I have a problem. My MT4 keeps crashing. I am hoping someone can help as I am pulling my hair out. I have attached the dump below.

3. It only crashes with my EA running. Over the weekend, because there were no ticks, it didn't crash even though my EA was loaded.

4. It crashes with an MT4 error box - so the crash is actually being handled, rather than giving me a "Do you want to send this to Microsoft?"

Your crash dump report looks very similar to mine, though I thought it to be a Windows script and not MT4. Is it a fairly large rectangular box with a black background? Mine is, and I've never seen a Windows generated crash/problem report that looks like that.

When I initially contacted my broker about the problem, they informed me that it was likely from custom EAs and indicators. I told them I had been running many such different codes for quite some time now with no problems (until I updated to Build 226).

I also told them that without the ability to use custom EAs and numerous other indicators, that the whole thing would be useless to me. Again I had no such problems until I went from b225 to b226.

In spite of the fact that the 'help' link in the MT4 client brings one to this site, when I very first started in the ForEx and with MT4 and when I ran into difficulties with MT4 I posted a topic in the forum about it as this is SUPPOSED TO BE THE HELP AND SUPPORT FOR MT4 I was told point blank and quite bluntly that this realm is for MQL4 programming related matters ONLY and got summarily booted and banned 2 or 3 days after my initial such posting here about problems with MT4.

Thus as far as I have been able to determine there is NO SUPPORT FOR MT4 !!!

 
netconuk:

6. I have attached my EA.

Does it do the same thing with other EAs?

Is there a 'divide by zero' someplace in your code ?

 

Thank you all for your posts. Nice to know I am not alone. I have been running MT4 for ages. I then had 6 months off whilst I was testing MT5. I didn't like it so have come back to MT4, downloaded a new version from Alpari and now have problems. What puzzles me is that the release date of 226 (according to the 'help about') is 24 March 2009, so it's not exactly new.

Yes fourX, it does it with all EA - and mine that I attached isn't exactly complicated. I don't think there is any divide by zeros, and the EA should pick this up anyway.

BTW - your black box - I'm getting that with windows 7 with all applications. Can't read what it says - it's just black with a button in the middle. I think its a windows 7 theme thing.

So how do we get MetaQuotes to look at it?

-Jerry

 

I've just done a Google search on this topic and there are many thousand entries - all exactly the same and all seem to point to Build 226. I wonder why the authors haven't acknowledged there is a problem. Do they read this forum or is there a more direct approach?

I've just gone back to 225. So far no crashes.

-Jerry

 
netconuk:

I've just done a Google search on this topic and there are many thousand entries - all exactly the same and all seem to point to Build 226.

There are at least two other common causes of this sort of crash: (a) EAs using badly written DLLs, and (b) using EX4 files which were compiled with a different build of MT4 (e.g see https://www.mql5.com/en/forum/117233).

The puzzle is that A doesn't seem to apply here - no sign of unusual DLLs in the crash log - and nor does B. It sounds as though you're running your own EAs, and presumably you've already tried recompiling them with build 226.

 

Mine have been compiled in b226. Both 'standard' and custom EAs, indicators, scripts etc that I have the source code for, which rules out any commercial EAs.

As far as getting support and help from MQ themselves for MT4, as I said, so far from my experience they don't supply any at all except for the volunteer responses here. But even most of the volunteer from forum members here have the same attitude about it: this is ONLY for MQL4, and NOT MT4. As I said, when I was a complete newcomer and NuB and needed assistance with MT4 it just got me booted and banned from here which considering that this is where MT4 links to as 'help' support for MT4. VERY LAME!!! I assume that they must provide support to brokers which they very likely pay significant monthly or annual subscriptions for on the server side or I can't imagine that they would of got and kept the market share that they do have. The lack of any 'official' direct MQ client end user support doesn't get them any 'gold stars' nor does it engender end user satisfaction and loyalty. If their weren't the number of very knowledgeable, experienced, savvy and interested volunteer end users that very generously and graciously provide the support here IF it interests them and IF they want to respond, then there wouldn't be any for MQL4 programming support either as far as I can see. If no one here wants to address one's problems, then they are SOL

The only (minimal) support I have been able to get with the problems of MT4 now crashing is from my broker. They aren't at all responsible or interested in supporting any . mqh, mq4 and ex4 'custom programming' and for the most part just 'wash there hands' of any such things saying quite correctly that it is not there responsibility and problems.

Which leaves us client end users where????

 

MT4 was designed for XP. On Vista or 7 you have UAC. https://www.mql5.com/en/search

This forum IS for programming support. You should have gone to YOUR Broker's customer service for the crash.

 

UAC has nothing to do with this. This crash is a memory protection issue.

Sorry WHRoeder. I didn't know this was for programming support. The Help button on MT4 takes you straight here so the natural assumption is this is the general help forum.

I have found another forum at http://www.metatrader4.com/forum which looks more hopeful. I've logged the issue there.

-Jerry

 

I have the same problem with MT4 crashing and it is quite frustrating. Has anyone look at this solution?


https://www.forex-tsd.com/non-related-discussions/22735-windows-7-metatrader-4-a.html

Reason: