Access violation read to 0x0701B3D8

 

Any ideas how to fix or diagnose this error? it only appears after the EA has been running for hours or days.

"Access violation read to 0x0701B3D8 in 'C:\Users\jerky\AppData\Roaming\MetaQuotes\Terminal\D1BB2038AA6820EBB33F0781C376BCE1\MQL4\Experts\MechaPip-New-9000.ex4'"


 

Does the error occur in the Tester ?

To fix this issue, MetaQuotes developers needs at least the ex4 (if the problem occurs in the Tester), otherwise they need the source code. You can contact me in private if you prefer.

 
This is occurring on a live chart not the tester. Can I get more information on this issue? Is the only way to fix it to release my source code?
 
Jesse Phipps #:
This is occurring on a live chart not the tester. Can I get more information on this issue? Is the only way to fix it to release my source code?

Such error is an internal MT4 bug (the platform should never crash whatever the MQL code executed), and yes the only way is to provide source code to reproduce the issue.

If you are a coder, you can try to investigate what part of your code is triggering this MT4 bug, that would allow you to provide only the minimal code to reproduce the bug and not your full code.

 
What causes the bug? Is the solution simply finding the bug in my code and fixing it?
 
Jesse Phipps #:
What causes the bug? Is the solution simply finding the bug in my code and fixing it?

No. The bug is not in your code. The bug is in MT4 and something is happening that triggers it when running your code.

So the simplest is to provide your code as is, an MQ developer will run it to reproduce and fix the MT4 bug.

If you can't provide the full code, you will need to find by yourself what instruction(s) in your MQL code is provoking the MT4 bug. 

I hope it's clearer.

 
I sent a DM with the source code.