amibroker giving this error

dell

Well-Known Member
#12
My Bar Replay is working fine in 5.70.2.
Exploration also doing well in 5.70.2
may be one reason for that , we are using GFDL data , and it's plugin may cause issues ?
as i have problem in using scan/explorer only , also out of 30 explorations code , all 30 causes problem ..........
 

KelvinHand

Well-Known Member
#13
may be one reason for that , we are using GFDL data , and it's plugin may cause issues ?
as i have problem in using scan/explorer only , also out of 30 explorations code , all 30 causes problem ..........
Is there any GFDL DLL function call in your exploration ?
 

KelvinHand

Well-Known Member
#17
no sir , it is simple exploration codes and some are of pattern explorer......

You should do the following as more messages to help the expert to trace the problem:
http://www.amibroker.com/guide/x_bugrecovery.html



As you stated "out of 30 explorations code , all 30 causes problem",
Then the consistent crashed had to do with your plugin DLL or illegal statement (such as Divide by 0) etc.

And "pattern explorer" contain patternexplorer.dll plugin.

So what is your pattern explorer version ?


I assume patternexplorer.dll is the likely root cause.

What you can do to confirm is do a simple exploration script using
https://www.amibroker.com/guide/h_exploration.html

as follow
Code:
Buy=Cross(MACD(),Signal());
Sell=Cross(Signal(), MACD());
Filter=Buy OR Sell;
SetOption("NoDefaultColumns", True );
AddColumn( DateTime(), "Date", formatDateTime );
AddColumn( IIf( Buy, 66, 83 ), "Signal", formatChar );

if above work, then the 5.70 is OK, then you need to trace out which "pattern explorer" build in function trigger the crash.
 
Last edited:

dell

Well-Known Member
#18
You should do the following as more messages to help the expert to trace the problem:
http://www.amibroker.com/guide/x_bugrecovery.html



As you stated "out of 30 explorations code , all 30 causes problem",
Then the consistent crashed had to do with your plugin DLL or illegal statement (such as Divide by 0) etc.

And "pattern explorer" contain patternexplorer.dll plugin.

So what is your pattern explorer version ?


I assume patternexplorer.dll is the likely root cause.

What you can do to confirm is do a simple exploration script using
https://www.amibroker.com/guide/h_exploration.html

as follow
Code:
Buy=Cross(MACD(),Signal());
Sell=Cross(Signal(), MACD());
Filter=Buy OR Sell;
SetOption("NoDefaultColumns", True );
AddColumn( DateTime(), "Date", formatDateTime );
AddColumn( IIf( Buy, 66, 83 ), "Signal", formatChar );

if above work, then the 5.70 is OK, then you need to trace out which "pattern explorer" build in function trigger the crash.
AmiBroker version 5.70.2.5702
( cooltool.dll 5.70.2, mfc42.dll 6.6.8064, msvcrt.dll 7.0.7601 )

Microsoft Windows 7 version 6.1 (Build 7601)
Service Pack 1.0
Common Controls: 6.16

Unhandled exception
Type: CSysException
Code: c0000005
Description: ACCESS VIOLATION
Address: 5B82CE10

Detailed exception information:
Broker.exe caused an EXCEPTION_ACCESS_VIOLATION in module mfc100.dll at 001B:5B82CE10

Call Stack:

001B:614BA5C4 MFC42.DLL, Ordinal6497()+0048 byte(s)
001B:614BA893 MFC42.DLL, Ordinal4426()+0033 byte(s)
001B:614BAA79 MFC42.DLL, Ordinal4432()+0121 byte(s)
001B:614BA4A1 MFC42.DLL, Ordinal4427()+0096 byte(s)
001B:614BA994 MFC42.DLL, Ordinal4441()+0101 byte(s)
001B:614BA923 MFC42.DLL, Ordinal4436()+0043 byte(s)
001B:614BA850 MFC42.DLL, Ordinal614()+0120 byte(s)
001B:614B3687 MFC42.DLL, Ordinal6374()+0046 byte(s)
001B:614BA361 MFC42.DLL, Ordinal1109()+0157 byte(s)
001B:614BA2B9 MFC42.DLL, Ordinal1578()+0064 byte(s)
001B:614BA571 MFC42.DLL, Ordinal1579()+0087 byte(s)
001B:7678C4E7 USER32.dll, gapfnScSendMessage()+0463 byte(s)
001B:7678C5E7 USER32.dll, gapfnScSendMessage()+0719 byte(s)
001B:76781B31 USER32.dll, PeekMessageA()+0396 byte(s)
001B:767A2BEE USER32.dll, CallWindowProcA()+0027 byte(s)
001B:6786C80B AmiXTP.dll, Ordinal6516()+0155 byte(s)
001B:7678C4E7 USER32.dll, gapfnScSendMessage()+0463 byte(s)
001B:7678C5E7 USER32.dll, gapfnScSendMessage()+0719 byte(s)
001B:76784F0E USER32.dll, GetScrollBarInfo()+0253 byte(s)
001B:76784F7D USER32.dll, GetScrollBarInfo()+0364 byte(s)
001B:7732702E ntdll.dll, KiUserCallbackDispatcher()+0046 byte(s)
001B:7677ADA9 USER32.dll, SendMessageA()+0073 byte(s)
001B:6780E8A3 AmiXTP.dll, Ordinal2699()+0694 byte(s)

CPU Registers:
EAX=769937C3 EBX=00000000 ECX=0E94FE70 EDX=5B6482A0 ESI=0E94FE70
EDI=0012EBD0 EBP=00000000 ESP=0012FAE8 EIP=6780EAE4 FLG=00210206
CS=001B DS=0023 SS=0023 ES=0023 FS=003B GS=0000

Additional information:

Multi-threaded charts - ENABLED

Number of stock loaded: 138
Currently selected stock: HAVELLS-I
Number of quotes (current stock): 6988

Workspace:
Data source = NEST, Data local mode = 1, NumBars = 50000

Preferences:
Data source = (local), Data local mode = 1, NumBars = 1000

Command history:
3111 - Insert into new chart pane--Insert
9909 - Open this database
3111 - Insert into new chart pane--Insert
2824 - Shows AFL formula editor--Formula Editor
3393 - Creates new Analysis--New Analysis
3408 - New document--New Tab
9901 - Open this database

Cache manager stats:
Number of list elements: 4
Number of map elements: 4
Hash table size: 5987

Memory status:
MemoryLoad: 40 %
TotalPhys: 3144184K AvailPhys: 1868616K
TotalPageFile: 4194303K AvailPageFile: 4194303K
TotalVirtual: 2097024K AvailVirtual: 1733200K
 

dell

Well-Known Member
#19
AmiBroker version 5.70.2.5702
( cooltool.dll 5.70.2, mfc42.dll 6.6.8064, msvcrt.dll 7.0.7601 )

Microsoft Windows 7 version 6.1 (Build 7601)
Service Pack 1.0
Common Controls: 6.16

Unhandled exception
Type: CSysException
Code: c0000005
Description: ACCESS VIOLATION
Address: 5B82CE10

Detailed exception information:
Broker.exe caused an EXCEPTION_ACCESS_VIOLATION in module mfc100.dll at 001B:5B82CE10

Call Stack:

001B:614BA5C4 MFC42.DLL, Ordinal6497()+0048 byte(s)
001B:614BA893 MFC42.DLL, Ordinal4426()+0033 byte(s)
001B:614BAA79 MFC42.DLL, Ordinal4432()+0121 byte(s)
001B:614BA4A1 MFC42.DLL, Ordinal4427()+0096 byte(s)
001B:614BA994 MFC42.DLL, Ordinal4441()+0101 byte(s)
001B:614BA923 MFC42.DLL, Ordinal4436()+0043 byte(s)
001B:614BA850 MFC42.DLL, Ordinal614()+0120 byte(s)
001B:614B3687 MFC42.DLL, Ordinal6374()+0046 byte(s)
001B:614BA361 MFC42.DLL, Ordinal1109()+0157 byte(s)
001B:614BA2B9 MFC42.DLL, Ordinal1578()+0064 byte(s)
001B:614BA571 MFC42.DLL, Ordinal1579()+0087 byte(s)
001B:7678C4E7 USER32.dll, gapfnScSendMessage()+0463 byte(s)
001B:7678C5E7 USER32.dll, gapfnScSendMessage()+0719 byte(s)
001B:76781B31 USER32.dll, PeekMessageA()+0396 byte(s)
001B:767A2BEE USER32.dll, CallWindowProcA()+0027 byte(s)
001B:6786C80B AmiXTP.dll, Ordinal6516()+0155 byte(s)
001B:7678C4E7 USER32.dll, gapfnScSendMessage()+0463 byte(s)
001B:7678C5E7 USER32.dll, gapfnScSendMessage()+0719 byte(s)
001B:76784F0E USER32.dll, GetScrollBarInfo()+0253 byte(s)
001B:76784F7D USER32.dll, GetScrollBarInfo()+0364 byte(s)
001B:7732702E ntdll.dll, KiUserCallbackDispatcher()+0046 byte(s)
001B:7677ADA9 USER32.dll, SendMessageA()+0073 byte(s)
001B:6780E8A3 AmiXTP.dll, Ordinal2699()+0694 byte(s)

CPU Registers:
EAX=769937C3 EBX=00000000 ECX=0E94FE70 EDX=5B6482A0 ESI=0E94FE70
EDI=0012EBD0 EBP=00000000 ESP=0012FAE8 EIP=6780EAE4 FLG=00210206
CS=001B DS=0023 SS=0023 ES=0023 FS=003B GS=0000

Additional information:

Multi-threaded charts - ENABLED

Number of stock loaded: 138
Currently selected stock: HAVELLS-I
Number of quotes (current stock): 6988

Workspace:
Data source = NEST, Data local mode = 1, NumBars = 50000

Preferences:
Data source = (local), Data local mode = 1, NumBars = 1000

Command history:
3111 - Insert into new chart pane--Insert
9909 - Open this database
3111 - Insert into new chart pane--Insert
2824 - Shows AFL formula editor--Formula Editor
3393 - Creates new Analysis--New Analysis
3408 - New document--New Tab
9901 - Open this database

Cache manager stats:
Number of list elements: 4
Number of map elements: 4
Hash table size: 5987

Memory status:
MemoryLoad: 40 %
TotalPhys: 3144184K AvailPhys: 1868616K
TotalPageFile: 4194303K AvailPageFile: 4194303K
TotalVirtual: 2097024K AvailVirtual: 1733200K

i am suprised here sir .....
i am using 2 data vendors
gfdl for running mode
and databull for backup
here , when i scan /explore using database of databull and not logged into gfdl a/c than it causes no problem , all explorations works smothly .........
and just after i logged in gfdl .........it causes problem and error window is coming ........and after pressing button , try to recover , it again runs smoothly.....
my pattern explorer version is 3.75...
 

dell

Well-Known Member
#20
i am suprised here sir .....
i am using 2 data vendors
gfdl for running mode
and databull for backup
here , when i scan /explore using database of databull and not logged into gfdl a/c than it causes no problem , all explorations works smothly .........
and just after i logged in gfdl .........it causes problem and error window is coming ........and after pressing button , try to recover , it again runs smoothly.....
my pattern explorer version is 3.75...
even sir ur macd exploration is also not working in gfdl logged in database ,
while all other complex codes are running correctly in other database......
so may this is problem from gfdl side ?
 

Similar threads