Support Board
Date/Time: Thu, 27 Feb 2025 06:20:02 +0000
Sierra Chart crashes when rebuilding study dll that uses sc.MaintainVolumeAtPriceData = 1
View Count: 731
[2021-06-12 04:34:30] |
User719512 - Posts: 299 |
I believe I have a repro for this crash that I discovered when building a study that uses sc.MaintainVolumeAtPriceData = 1; Repro steps: put scsf_VolumeAtPriceArrayTest() found in Studies8.cpp into its own file and give it a SCDLLName(). Use the build dialog and select and Remote Build this file. Add this study to a chart; I used a 1min ES chart. Save chartbook. -this works ok- Build the study again while leaving the chart open. Sierra unloads the dll and reloads it after building it. Hit INSERT to rebuild the chart. --> access violation, message in error log that study caused AV and Sierra is unstable. Studies that do not use sc.MaintainVolumeAtPriceData = 1; do not experience this behavior in my observations thus far. If you connect VS debugger to Sierra, you get the following information in the attached image. WORKAROUND1: close all chartbooks, Remote Build, reopen chartbook(s). WORKAROUND2: close all chartbooks, Release All Dlls, build locally, Allow Load DLLs, reopen chartbook(s). Thanks, Kory |
![]() |
[2021-06-13 04:32:21] |
Sierra_Chart Engineering - Posts: 18578 |
We will look into this.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2021-06-17 05:45:44] |
Sierra_Chart Engineering - Posts: 18578 |
Update to the latest prerelease which is version 2274. This should resolve the issue . Instructions: Software Download: Fast Update Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2021-06-17 06:05:07] |
User719512 - Posts: 299 |
Confirmed, fixed in 2274. Thank you Sierra_Chart Engineering.
|
[2021-06-17 07:11:23] |
|
We still have not identified the exact problem other than we know it is related to calling the study function and setting this to true just before the DLL is unloaded: ACSIL Interface Members - Variables and Arrays: sc.LastCallToFunction We still need more time to look into it. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to 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: