Support Board
Date/Time: Tue, 27 Jan 2026 14:56:25 +0000
Post From: Custom Chart Builder: version 2870
| [2026-01-27 09:58:25] |
| User907968 - Posts: 862 |
|
Custom chart builder in version 2870 appear to break compatibility with studies compiled on earlier versions. Studies appears to load correctly, but in some confgurations fail silently - the chart is blank and no error messages are emitted (to log) to indicate a failure. With a debugger attached, I consistently observe access violations originating from methods of s_CustomChartBarInterface, including GetPersistentInt, GetPersistentFloat, GetPersistentDouble, FormattedEvaluate and GetInput. In all cases, the failures appear to stem from interactions that depend on the internal m_p_LoadingDataObject pointer. Representative exceptions observed: Exception thrown at 0x00000001404D3402 in SierraChart_64.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF. Exception thrown: read access violation. **this** was 0xFFFFFFFFFFFFFFE7. These exceptions repeat across multiple calls and functions, indicating an invalid internal object pointer rather than an isolated logic error. In version 2870, a new member (Internal_GetPersistentPointer) is inserted before m_p_LoadingDataObject, resulting in m_p_LoadingDataObject having a different byte offset compared to earlier versions. |
