Bugs - Build 188

 
Hi Metaquotes,

There seems to be something SERIOUSLY wrong with your latest build - build 188. I've been running build 186 for a couple of months now without any problems on a PC running the latest version of XP with all the updates. I have just upgraded to build 188 and now wish I hadn't. Most of the time that I start it up, I get crash reports along the lines of the following error reports shown below. If I leave MetaTrader running in one of the crashed states (i.e. when you get the popup with the "stop" sign), my PC (which has never crashed previously) locks up completely! What on earth has happened to proper testing before release?

1. terminal.exe - Application Error:
The instruction at "0x73dd11c7" referenced memory at "0x00000004". The memory could not be "read".
============================================
2. Popup "Crash" window:
Expert commonLib GBPUSD,H4: loaded successfully00450E50:03E1 [00451231] ?RelocateAddresses@CExpertInterior
========================================
3. Popup "Crash" window:
There has been a critical error
Time : 2006.01.13 13:20
Program : Client Terminal
Version : 4.00 (build: 188, 12 Jan 2006)
Owner : MetaQuotes Software Corp. (MetaTrader)
OS : Windows XP Professional 5.1 Service Pack 2 (Build 2600)
Processors : 2, type 586, level 15
Memory : 522988/157852 kb
Exception : C0000005
Address : 00451684
Access Type : read
Access Addr : 4DE73A20

Registers : EAX=030233EC CS=001b EIP=00451684 EFLGS=00010286
: EBX=023B9130 SS=0023 ESP=0409FE98 EBP=00000000
: ECX=030051C0 DS=0023 ESI=00000001 FS=003b
: EDX=12EAEA32 ES=0023 EDI=F7D44259 GS=0000

Stack Trace : 00000000 00000000 00000000 00000000
: 00000000 00000000 00000000 00000000
: 00000000 00000000 00000000 00000000
: 00000000 00000000 00000000 00000000
Modules :
1 : 003E0000 00007000 C:\Program Files\ATI Technologies\ATI HYDRAVISION\HydraMDH.dll
2 : 00400000 00286000 E:\WinXPApps\MetaTrader 4\terminal.exe
3 : 01730000 00010000 C:\WINDOWS\system32\ctagent.dll
4 : 03F40000 0000A000 C:\Program Files\Common Files\Symantec Shared\Script Blocking\ScrTrust.dll
5 : 0FFD0000 00028000 C:\WINDOWS\system32\rsaenh.dll
6 : 10000000 0002E000 C:\Program Files\ATI Technologies\ATI HYDRAVISION\HydraDMH.dll
7 : 20000000 002C5000 C:\WINDOWS\system32\xpsp2res.dll
8 : 5AD70000 00038000 C:\WINDOWS\system32\UxTheme.dll
9 : 5B860000 00054000 C:\WINDOWS\system32\netapi32.dll
10 : 60980000 00007000 C:\WINDOWS\system32\MSISIP.DLL
11 : 662B0000 00058000 C:\WINDOWS\system32\hnetcfg.dll
12 : 71A50000 0003F000 C:\WINDOWS\system32\mswsock.dll
13 : 71A90000 00008000 C:\WINDOWS\System32\wshtcpip.dll
14 : 71AA0000 00008000 C:\WINDOWS\system32\WS2HELP.dll
15 : 71AB0000 00017000 C:\WINDOWS\system32\WS2_32.dll
16 : 73DD0000 000FE000 C:\WINDOWS\system32\MFC42.DLL
17 : 74720000 0004B000 C:\WINDOWS\system32\MSCTF.dll
18 : 74EA0000 00010000 C:\WINDOWS\System32\wshext.dll
19 : 76380000 00005000 C:\WINDOWS\system32\MSIMG32.dll
20 : 763B0000 00049000 C:\WINDOWS\system32\comdlg32.dll
21 : 76B40000 0002D000 C:\WINDOWS\system32\WINMM.dll
22 : 76C30000 0002E000 C:\WINDOWS\system32\WINTRUST.dll
23 : 76C90000 00028000 C:\WINDOWS\system32\IMAGEHLP.dll
24 : 76FD0000 0007F000 C:\WINDOWS\system32\CLBCATQ.DLL
25 : 77050000 000C5000 C:\WINDOWS\system32\COMRes.dll
26 : 77120000 0008C000 C:\WINDOWS\system32\OLEAUT32.dll
27 : 77260000 0009F000 C:\WINDOWS\system32\urlmon.dll
28 : 773D0000 00102000 C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\COMCTL32.dll
29 : 774E0000 0013D000 C:\WINDOWS\system32\ole32.dll
30 : 77920000 000F3000 C:\WINDOWS\system32\SETUPAPI.dll
31 : 77A80000 00094000 C:\WINDOWS\system32\CRYPT32.dll
32 : 77B20000 00012000 C:\WINDOWS\system32\MSASN1.dll
33 : 77C00000 00008000 C:\WINDOWS\system32\VERSION.dll
34 : 77C10000 00058000 C:\WINDOWS\system32\msvcrt.dll
35 : 77D40000 00090000 C:\WINDOWS\system32\USER32.dll
36 : 77DD0000 0009B000 C:\WINDOWS\system32\ADVAPI32.dll
37 : 77E70000 00091000 C:\WINDOWS\system32\RPCRT4.dll
38 : 77F10000 00047000 C:\WINDOWS\system32\GDI32.dll
39 : 77F60000 00076000 C:\WINDOWS\system32\SHLWAPI.dll
40 : 77FE0000 00011000 C:\WINDOWS\system32\Secur32.dll
41 : 7C340000 00056000 C:\WINDOWS\system32\MSVCR71.dll
42 : 7C800000 000F4000 C:\WINDOWS\system32\kernel32.dll
43 : 7C900000 000B0000 C:\WINDOWS\system32\ntdll.dll
44 : 7C9C0000 00815000 C:\WINDOWS\system32\SHELL32.dll

Call stack :
00450E50:0834 [00451684] ?RelocateAddresses@CExpertInterior
 
please send your ex4-file (mq4 sources very much appreciated) to stringo at metaquotes dot ru for investigation. confidentiality guaranteed
 
Experts have been sent. For your information,below is another crash log...



Expert commonLib AUDUSD,H4: loaded successfully 1 : 003E0000 00007000 C:\Program Files\ATI Technologies\ATI HYDRAVISION\HydraMDH.dll
2 : 00400000 00286000 E:\WinXPApps\MetaTrader 4\terminal.exe
3 : 01730000 00010000 C:\WINDOWS\system32\ctagent.dll
4 : 0FFD0000 00028000 C:\WINDOWS\system32\rsaenh.dll
5 : 10000000 0002E000 C:\Program Files\ATI Technologies\ATI HYDRAVISION\HydraDMH.dll
6 : 20000000 002C5000 C:\WINDOWS\system32\xpsp2res.dll
7 : 5AD70000 00038000 C:\WINDOWS\system32\UxTheme.dll
8 : 5B860000 00054000 C:\WINDOWS\system32\netapi32.dll
9 : 60980000 00007000 C:\WINDOWS\system32\MSISIP.DLL
10 : 662B0000 00058000 C:\WINDOWS\system32\hnetcfg.dll
11 : 71A50000 0003F000 C:\WINDOWS\system32\mswsock.dll
12 : 71A90000 00008000 C:\WINDOWS\System32\wshtcpip.dll
13 : 71AA0000 00008000 C:\WINDOWS\system32\WS2HELP.dll
14 : 71AB0000 00017000 C:\WINDOWS\system32\WS2_32.dll
15 : 73DD0000 000FE000 C:\WINDOWS\system32\MFC42.DLL
16 : 74720000 0004B000 C:\WINDOWS\system32\MSCTF.dll
17 : 74EA0000 00010000 C:\WINDOWS\System32\wshext.dll
18 : 76380000 00005000 C:\WINDOWS\system32\MSIMG32.dll
19 : 763B0000 00049000 C:\WINDOWS\system32\comdlg32.dll
20 : 76B40000 0002D000 C:\WINDOWS\system32\WINMM.dll
21 : 76C30000 0002E000 C:\WINDOWS\system32\WINTRUST.dll
22 : 76C90000 00028000 C:\WINDOWS\system32\IMAGEHLP.dll
23 : 76FD0000 0007F000 C:\WINDOWS\system32\CLBCATQ.DLL
24 : 77050000 000C5000 C:\WINDOWS\system32\COMRes.dll
25 : 77120000 0008C000 C:\WINDOWS\system32\OLEAUT32.dll
26 : 77260000 0009F000 C:\WINDOWS\system32\urlmon.dll
27 : 773D0000 00102000 C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\COMCTL32.dll
28 : 774E0000 0013D000 C:\WINDOWS\system32\ole32.dll
29 : 77920000 000F3000 C:\WINDOWS\system32\SETUPAPI.dll
30 : 77A80000 00094000 C:\WINDOWS\system32\CRYPT32.dll
31 : 77B20000 00012000 C:\WINDOWS\system32\MSASN1.dll
32 : 77C00000 00008000 C:\WINDOWS\system32\VERSION.dll
33 : 77C10000 00058000 C:\WINDOWS\system32\msvcrt.dll
34 : 77D40000 00090000 C:\WINDOWS\system32\USER32.dll
35 : 77DD0000 0009B000 C:\WINDOWS\system32\ADVAPI32.dll
36 : 77E70000 00091000 C:\WINDOWS\system32\RPCRT4.dll
37 : 77F10000 00047000 C:\WINDOWS\system32\GDI32.dll
38 : 77F60000 00076000 C:\WINDOWS\system32\SHLWAPI.dll
39 : 77FE0000 00011000 C:\WINDOWS\system32\Secur32.dll
40 : 7C800000 000F4000 C:\WINDOWS\system32\kernel32.dll
41 : 7C900000 000B0000 C:\WINDOWS\system32\ntdll.dll
42 : 7C9C0000 00815000 C:\WINDOWS\system32\SHELL32.dll

Call stack :
00450E50:07F1 [00451641] ?RelocateAddresses@CExpertInterior
 
Just thought I'd mention another thing I've noticed. If I manage to get MetaTrader started without crashing, the machine will lock up within half an hour. This machine has had no crash or lockup problems up until now.
 
Hi Slawa,

Just wondering if you guys had received my experts or need any further information? I've just seen that you wanted the Expert sources as well, so I've just e-mailed them through. Any ideas as to when there will be a fix for this?
 
I've received your expert and library. Thanx. But no any crashes. Expert just reports about missing csv-file
 
Hi Slawa,

Very strange.... Maybe something went wrong during the update that causes this. I'll try building everything from scratch again and see what happens....
 
Hi Slawa,

Well, I've built up everything from scratch again and are still getting the same problems... However, there are a couple of things I noticed along the way which may be of some help in tracking the problem.....

1. MetaTrader doesn't crash if I start it up without any experts attached to any charts.

2. MetaTrader doesn't crash if I start it up without any experts attached to any charts and then add the 'Trader' expert to the various charts... Even once all the Experts have been added to the chart, MetaTrader runs fine and doesn't lock up my computer

3. However, if I close MetaTrader with a number of 'Trader' Experts attached to different charts (I've got it running on about twelve different charts) and then restart it with all the 'Trader' experts already attached, MetaTrader crashes most of the time. If it doesn't crash on startup, it'll run for about 15 minutes before locking up my whole system.

You also mentioned above that the 'Trader' expert reports about missing .csv files. I've sent a 'files.zip' to the 'stringo' e-mail address you mentioned above. The zip file basically contains the missing .csv files that are reported as well as the entire directory structure that must exist under the 'experts/files' directory for the expert to run properly. The file 'chromosomes.csv' contains a chromosome for each of the charts I trade. If you look in the file, you'll be able to see the charts I attach the 'Trader' expert to.
 
I noticed the same problem. I get crashes if the experts are left on the chart and MT4 is loaded. One workaround I found is to exit MT4 (or you can do this after a crash) and delete "mqlcache.dat" from the \experts, \indicators and \libraries subdirectories and start MT4 again. This more often than not resolves the crash. But it is not a solution for realtime crashes after the platform runs for a while. I hope MQ will release a more stable version soon otherwise, bevery careful letting an EA trade. You will find the platform crashed and your trades not placed.
 
(I've got it running on about twelve different charts)

There is very important note. I've reproduced crash. May I ask You for your commonLib source? Problem is in this one. Confidentiality guaranted.
 
Hi Slawa,

Well done for replicating the problem! Am very glad to hear that it's not a problem with my setup...

Re: the 'commonLib' source - I'd sent this together with the 'Trader' source on the 18th but I've e-mailed it to you again as a seperate e-mail.


Cheers!

Coen Willemse
Reason: