Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 14:27:16 +0000



[Programming Help] - debug with VS SC exception

View Count: 263

[2023-08-25 13:49:24]
User61576 - Posts: 444
hi
I get an error on the msg log when applying a study on a specific chart. on other charts, the same study works with no problem.

Warning: The Custom DLL study "AutoTrader_V1.3.scsf_AutoTrader" has just caused a CPU exception. | 2023-08-25 09:42:40.635 *
Warning: This Custom DLL study may cause ****Simulated_Feed**** to be unstable until you remove the study from the chart and restart ****Simulated_Feed****. | 2023-08-25 09:42:40.635 *


When I try to debug it I get the following :

Exception thrown at 0x00007FF8124911ED (AutoTrader_V1.3_64.dll) in SierraChart_64.exe: 0xC0000005: Access violation reading location 0x0000000300000000.
with a reference to SCString.h to line 816
  const int TargetLength = _vscprintf(FormatString, ArgumentList);

I would appreciate your advice.
thanks

[2023-08-25 14:04:20]
User431178 - Posts: 544
Did you check the call stack to find where in your code this function is being called from?
If so did you check the parameter list being passed in (assume this relates to Format or AppendFormat)?
[2023-08-25 15:06:33]
John - SC Support - Posts: 36311
There is something about that chart that the study does not like. If this is not your study, then you would need to ask the creator of the study to look into the issue.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account