This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community
ArraySort() course memory crashBack to topics list | 1 2 |
|
acethomas
2005.07.04 15:34
Hello,
I'm exploring various functions in MQL4 and found that the "ArraySort()" function would SOMETIMES cause memory crash, I've tried to use local array, global array, with or without size initialization, the function just crashes out of control !! (I got a memory dump screen with forced me to quit MT4 , and the last function called is ArraySort() everytime) It seems that the memory allocation or garbage collection is designed with mistakes (in fact, I can't find any documentation about array memory allocation or garbage collection). May the development term put this issue in the next patch. Thanks so much |
|
Slawa
2005.07.04 17:14
this bug is fixed. thanx
|
|
acethomas
2005.07.04 18:07
this bug is fixed. thanx sorry, what u mean by "fixed"? is it coming in build 176 ? |
|
Slawa
2005.07.04 18:40
it may be also build 175. watch announcements
|
|
Slawa
2005.07.04 23:04
download from our site updated version
|
|
acethomas
2005.07.05 13:54
download from our site updated version thx so much, amazing debugging efficiency !!! :> |
|
acethomas
2005.07.06 07:16
this bug is fixed. thanx sorry, what u mean by "fixed"? is it coming in build 176 ? oh sorry, the bug was fixed, but now it appears again !!!! maybe it paste the crash dump here : There has been a critical error Time : 2005.07.06 11:10 Program : Client Terminal Version : 4.00 (build: 175, Jul 4 2005) Owner : MetaQuotes Software Corp. (MetaTrader) OS : Windows XP Professional 5.1 Service Pack 2 (Build 2600) Processors : 1, type 586, level 6 Memory : 523760/281276 kb Exception : C0000005 Address : 00F6F3E1 Access Type : write Access Addr : 40F310F4 Registers : EAX=00000001 CS=001b EIP=00F6F3E1 EFLGS=00010246 : EBX=00F6F3E0 SS=0023 ESP=001283C0 EBP=001284D0 : ECX=00F6F3D8 DS=0023 ESI=00F6F3E0 FS=003b : EDX=00F6F2B8 ES=0023 EDI=00F6F3D8 GS=0000 Stack Trace : 0044EE29 00455B7D 004704EA 0046DAF7 : 00461C50 0049CA92 004AE364 0042A90C : 0041C5A1 00419D7C 00424689 004D6CC2 : 73DD1EB6 73DD1B9B 73DD1B05 73DD2C9C Modules : 1 : 00400000 002C2000 C:\Program Files\MetaTrader 4\terminal.exe 2 : 20000000 002C5000 C:\WINDOWS\system32\xpsp2res.dll 3 : 5AD70000 00038000 C:\WINDOWS\system32\uxtheme.dll 4 : 5FD00000 00009000 C:\WINDOWS\system32\MFC42LOC.DLL 5 : 629C0000 00009000 C:\WINDOWS\system32\LPK.DLL 6 : 71AA0000 00008000 C:\WINDOWS\system32\WS2HELP.dll 7 : 71AB0000 00017000 C:\WINDOWS\system32\WS2_32.dll 8 : 73DD0000 000FE000 C:\WINDOWS\system32\MFC42.DLL 9 : 74720000 0004B000 C:\WINDOWS\system32\MSCTF.dll 10 : 74D90000 0006B000 C:\WINDOWS\system32\USP10.dll 11 : 755C0000 0002E000 C:\WINDOWS\system32\msctfime.ime 12 : 76380000 00005000 C:\WINDOWS\system32\MSIMG32.dll 13 : 76390000 0001D000 C:\WINDOWS\system32\IMM32.DLL 14 : 763B0000 00049000 C:\WINDOWS\system32\comdlg32.dll 15 : 76B40000 0002D000 C:\WINDOWS\system32\WINMM.dll 16 : 77120000 0008C000 C:\WINDOWS\system32\OLEAUT32.dll 17 : 773D0000 00102000 C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\COMCTL32.dll 18 : 774E0000 0013D000 C:\WINDOWS\system32\ole32.dll 19 : 77C10000 00058000 C:\WINDOWS\system32\msvcrt.dll 20 : 77D40000 00090000 C:\WINDOWS\system32\USER32.dll 21 : 77DD0000 0009B000 C:\WINDOWS\system32\ADVAPI32.dll 22 : 77E70000 00091000 C:\WINDOWS\system32\RPCRT4.dll 23 : 77F10000 00046000 C:\WINDOWS\system32\GDI32.dll 24 : 77F60000 00076000 C:\WINDOWS\system32\SHLWAPI.dll 25 : 7C800000 000F4000 C:\WINDOWS\system32\kernel32.dll 26 : 7C900000 000B0000 C:\WINDOWS\system32\ntdll.dll 27 : 7C9C0000 00814000 C:\WINDOWS\system32\SHELL32.dll Call stack : 0044EA3A:03EF [0044EE29] ?FuncArraySort@CExpertInterior 00454000:1B7D [00455B7D] ?DoFunction@CExpertInterior 0046CF80:356A [004704EA] ?ExecuteStaticAsm@CExpertInterior 0046CF80:0B77 [0046DAF7] ?ExecuteStaticAsm@CExpertInterior 00461A46:020A [00461C50] ?RunExpertInt@CExpertInterior 0049C6CE:03C4 [0049CA92] ?Calculate@CIndCustom 004AE25B:0109 [004AE364] ?Calculate@CIndMain 0042A878:0094 [0042A90C] ?IndicatorCalculate@CChartWin 0041C56F:0032 [0041C5A1] ?IndicatorCalculate@CChart 00418D03:1079 [00419D7C] ?Load@CChart 00424580:0109 [00424689] ?OnInitialUpdate@CChartView 004D6CB3:000F [004D6CC2] ?OnInitialUpdate@CMetaTraderView 004CB2C6:02A6 [004CB56C] ?ReloadProfile@CMainFrame 004D4484:09CB [004D4E4F] ?InitInstance@CMetaTraderApp 7C816D06:0049 [7C816D4F] RegisterWaitForInputIdle [C:\WINDOWS\system32\kernel32.dll] |
|
Slawa
2005.07.06 12:28
please if it possible send your source to stringoATmetaquotesDOTru
confidentiality guaranteed |
|
acethomas
2005.07.06 14:54
please if it possible send your source to stringoATmetaquotesDOTru confidentiality guaranteed sent already, thanks again |
|
Slawa
2005.07.06 18:35
we found no any problem. no crash.
what symbol and period and how much bars? |
|
acethomas
2005.07.08 03:21
we found no any problem. no crash. what symbol and period and how much bars? thanks a lot I have tried EUR/USD M5 H1 and GBP/USD M5 , and they crashed occationally on one of my computers do u think it's the conflicts of dlls ? refering to the posted memory dump, is kernel32.dll conflicts with other dll ? |
Back to topics list
| 1 2
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets
