James, remove cmae.dll from the add in directory. i'm using spso for now as an alternative. I've noticed that if any formula in any open window refers to cmae, then it'll trigger it.
Hope that helps. Chris ----- Original Message ----- From: James To: [email protected] Sent: Tuesday, June 01, 2010 3:09 PM Subject: Re: [amibroker] Problem removing OptimizerSetEngine("cmae"); I am assuming this intermittent bug in CMAE still exists because I am still having the problem. Was this fixed in a later version that I missed and if not, any idea if this will ever be fixed? - James AmiBroker version 5.29.6.5096 ( cooltool.dll 5.28.0, mfc42.dll 6.2.4131, msvcrt.dll 7.0.2600 ) Microsoft Windows XP version 5.1 (Build 2600) Service Pack 3.0 Common Controls: 6.0 Unhandled exception Type: CSysException Code: c0000005 Description: ACCESS VIOLATION Address: 69015ADB Detailed exception information: Broker.exe caused an EXCEPTION_ACCESS_VIOLATION in module CMAE.dll at 001B:69015ADB Call Stack: 001B:69015ADB CMAE.dll 001B:6901143F CMAE.dll CPU Registers: EAX=00000000 EBX=69019B9C ECX=00000000 EDX=00000000 ESI=690192C0 EDI=00000000 EBP=FFFFFFFF ESP=00000007 EIP=00000000 FLG=00010297 CS=001B DS=0023 SS=0023 ES=0023 FS=003B GS=0000 AFL Parser status: Processing stage: NONE Formula ID: 0 () Action 5 (BACKTEST) ------------------------------------------------------------------------------ From: Tomasz Janeczko <[email protected]> To: [email protected] Sent: Mon, February 1, 2010 12:44:49 PM Subject: Re: [amibroker] Problem removing OptimizerSetEngine("cmae"); Hello, No it is not memory error. This is some intermittient bug in CMAE. You would need to close AmiBroker and move CMAE.DLL outside Plugins directory when it happens. Best regards, Tomasz Janeczko amibroker.com On 2010-02-01 17:13, James wrote: Ton, 1. 1GB of Ram 2. 61 optimization steps, the total number for exahustive optimization 3. It was happening almost immediately after hitting the optimize button, but just now I tried running one of the files that was making it crash and cannot get it to crash. Even stranger the first time I ran the file today it took 5.5 minutes to run the 61 steps, and now I just ran it in 42 seconds. I don't understand it. It must have been a memory problem on my end, but this occurred on Friday, Saturday and Sunday, but it is not happening now. Plus the exception report included the line below regarding module CMAE.dll, but this was when I had removed the CMAE line and was attempting exhaustive optimization. > AmiBroker version 5.29.6.5096 > ( cooltool.dll 5.28.0, mfc42.dll 6.2.4131, msvcrt.dll 7.0.2600 ) > Microsoft Windows XP version 5.1 (Build 2600) > Service Pack 3.0 > Common Controls: 6.0 > Unhandled exception > Type: CSysException > Code: c0000005 > Description: ACCESS VIOLATION > Address: 69015ADB > Detailed exception information: > Broker.exe caused an EXCEPTION_ACCESS_ VIOLATION in module CMAE.dll at 001B:69015ADB > Call Stack: > 001B:69015ADB CMAE.dll From: Ton Sieverding <ton.sieverding@ scarlet.be> To: amibro...@yahoogrou ps.com Sent: Mon, February 1, 2010 8:37:37 AM Subject: Re: [amibroker] Problem removing OptimizerSetEngine( "cmae"); Hi James, Can you please let me know the following. Just to avoid a wrong conclusion ... 1. Internal memory on your system ? GBytes ? 2. Number of steps with exhaustive optimization ? Is 60 steps the total number or the number for cmae ? 3. Does this happen immed after hitting the OPTIMIZE button or after several steps ? So after 60 steps ? Regards, Ton. ----- Original Message ----- From: James To: amibro...@yahoogrou ps.com Sent: Monday, February 01, 2010 2:57 PM Subject: Re: [amibroker] Problem removing OptimizerSetEngine( "cmae"); There are only 60 steps and it crashes on the second one. I have been able to replicate it. Any code that I have this line: OptimizerSetEngine ( "cmae" ); will crash after I change it to: // OptimizerSetEngine( "cmae"); If I delete the line altogether, it still crashes. From: Steve Dugas <sjdu...@comcast. net> To: amibro...@yahoogrou ps.com Sent: Sun, January 31, 2010 6:42:42 PM Subject: Re: [amibroker] Problem removing OptimizerSetEngine( "cmae"); Hi - Exhaustive optimizer can crash if the opt has too many steps and it eventually runs out of memory. Does the crash happen well into the opt? Steve ----- Original Message ----- From: James To: amibro...@yahoogrou ps.com Sent: Sunday, January 31, 2010 6:26 PM Subject: [amibroker] Problem removing OptimizerSetEngine( "cmae"); Has anyone else had a problem removing this line from their code: OptimizerSetEngine ( "cmae" ); and then trying to run an exhaustive optimization? Every file of code I remove this from, I then can an exception error crash when I try to optimize. I am running XP pro and version 5.29.6. James
