Login Page - Create Account

Support Board


Date/Time: Tue, 22 Apr 2025 02:39:36 +0000



Post From: Potential Bug: Backtesting chart replay causes crash when passing s_SCPositionData

[2025-02-14 17:47:00]
User719512 - Posts: 309
I have seen strange exceptions under the debugger (very rarely) in the Sierra SCString class. In my case, strings were being assigned in SetDefaults for inputs. But no solid repro for me. I have always been able to continue, and Sierra loads charts as expected.

Also sounds like you are causing a copy of the s_SCPositionData struct and not passing by const reference. (guessing here)
Are you modifying this data?

If you share the most trimmed down study code that can reliably repro this, I will compile it locally and run it on my machine to see if I get similar results.

You can DM me directly if you want so we don't have to clog up the support board.