Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 20:17:29 +0000



Post From: CPU exception error when compiling

[2021-06-14 17:02:29]
TriStar Trading - Posts: 113
SC Version 2273. Notepad++ v7.8.2 64 bit. For this test I created a new chartbook and chart. Only chart in the chartbook. I used the simplest cpp I have. I've attached as a file. I id three separate tests in sequential stages of DLL development.

Test 1: Remote build with no existing DLL.
Software version: 2273 64-bit | 2021-06-14 11:31:12.449
Primary Thread ID: 14424 | 2021-06-14 11:31:12.449
Usage end date: 2021-07-15 | 2021-06-14 11:31:12.449
Enabled for: Advanced Features 2. | 2021-06-14 11:31:12.449
Enabled for: Sierra Chart Historical Data Service. | 2021-06-14 11:31:12.449
Enabled for: Denali Real-Time Exchange Data Feed. | 2021-06-14 11:31:12.449
Enabled for: Delayed Denali Exchange Data Feed. | 2021-06-14 11:31:12.449
Enabled for exchange2: CME (Trading Account Required) | 2021-06-14 11:31:12.449
Enabled for exchange2: CBOT (Trading Account Required) | 2021-06-14 11:31:12.449
Enabled for exchange2: COMEX (Trading Account Required) | 2021-06-14 11:31:12.449
Enabled for exchange2: NYMEX (Trading Account Required) | 2021-06-14 11:31:12.449
Allow Support for Sierra Chart Data Feeds is enabled. | 2021-06-14 11:31:12.449
Current selected Data/Trading service: SC/TT Futures Order Routing | 2021-06-14 11:31:12.449
Custom symbol settings values: disabled | 2021-06-14 11:31:12.449
Chart Update Interval: 500 | 2021-06-14 11:31:12.449
Intraday Data Storage Time Unit: 0 | 2021-06-14 11:31:12.449
Time Zone: -05:00:00 (CST-06CDT+01,M3.2.0/02:00,M11.1.0/02:00) | 2021-06-14 11:31:12.449
2021-06-14 16:31:12 Local computer time in UTC | 2021-06-14 11:31:12.449
2021-06-14 11:31:12 Local computer time in SC Time Zone | 2021-06-14 11:31:12.449
2021-06-14 16:10:11 Server time in UTC | 2021-06-14 11:31:12.449
Local computer UTC time and Server UTC time difference: 1 seconds. | 2021-06-14 11:31:12.449
Program path: C:\SierraChart\ | 2021-06-14 11:31:12.449
Data Files path: C:\SierraChart\Data\ | 2021-06-14 11:31:12.449
OS Version Number: 10.0 | 2021-06-14 11:31:12.450
Locale Setting: C | 2021-06-14 11:31:12.450
DLLs: ETFISv3_64.dll, sst_FreeBundle_64.dll, TriStar_BaseDataAccess_MD99_64.dll, TriStar_DeltaAudioAlerts_MD99_64.dll, TriStar_DojiBar_MD99_64.dll, TriStar_ExtDeltaDifSignals_MD99_64.dll, TriStar_FlexRenkoPredictor_MD99_64.dll, TriStar_FL_BarColor_MD99_64.dll, TriStar_FL_Bolic_MD99_64.dll, TriStar_FL_Parabolic_MD99_64.dll, TriStar_FL_VS_FlipZone_MD99_64.dll, TriStar_FL_VS_MD99_64.dll, TriStar_FoMRelVol_MD99_64.dll, TriStar_FootprintAudioAlerts_MD99_64.dll, TriStar_FP_Parabolic_MD99_64.dll, TriStar_FuseLines_MD99_64.dll | 2021-06-14 11:31:12.450
Allowed protected custom studies: SST_FreeBundle, zyp_download_free | 2021-06-14 11:31:12.450

ESU21_FUT_CME 1 Min #1 | Reloading chart. | 2021-06-14 11:31:17.280
HTTPS connection ID:2 to build.sierrachart.com:443 for request ID:2 (2) | Creating socket. Using TLS 1.2. | 2021-06-14 11:33:31.535
HTTPS connection ID:2 to build.sierrachart.com:443 for request ID:2 (2) | New receive buffer size: 32768 | 2021-06-14 11:33:31.535
HTTPS connection ID:2 to build.sierrachart.com:443 for request ID:2 (2) | Connecting to IP: 88.99.0.216. | 2021-06-14 11:33:31.535
HTTPS connection ID:2 to build.sierrachart.com:443 for request ID:2 (2) | New receive buffer size: 65536 | 2021-06-14 11:33:36.156
HTTPS connection ID:2 to build.sierrachart.com:443 for request ID:2 (2) | New receive buffer size: 131072 | 2021-06-14 11:33:36.865
Setting study DLL module function objects to indicate DLL is not loaded: C:\SierraChart\Data\TriStar_MA_Cloud_MD99.dll | 2021-06-14 11:33:37.351
Study DLL module not found for: C:\SierraChart\Data\TriStar_MA_Cloud_MD99.dll | 2021-06-14 11:33:37.351
HTTPS connection ID:2 to build.sierrachart.com:443 for request ID:2 (2) | CloseSocket call. | 2021-06-14 11:33:37.615
HTTPS connection ID:2 to build.sierrachart.com:443 for request ID:2 (2) | Shutdown started. Waiting for graceful close. | 2021-06-14 11:33:37.615
HTTPS connection ID:2 to build.sierrachart.com:443 for request ID:2 (2) | Timed out waiting for shutdown. Performing an immediate socket close. | 2021-06-14 11:36:05.801
HTTPS connection ID:2 to build.sierrachart.com:443 for request ID:2 (2) | Closed. | 2021-06-14 11:36:05.801
HTTPS connection ID:2 to build.sierrachart.com:443 for request ID:2 (2) | Deleting network socket now after delay. | 2021-06-14 11:36:35.801

Test 2: Remote build with existing DLL. Study not applied to chart.
Software version: 2273 64-bit | 2021-06-14 11:37:49.844
Primary Thread ID: 14424 | 2021-06-14 11:37:49.844
Usage end date: 2021-07-15 | 2021-06-14 11:37:49.844
Enabled for: Advanced Features 2. | 2021-06-14 11:37:49.844
Enabled for: Sierra Chart Historical Data Service. | 2021-06-14 11:37:49.844
Enabled for: Denali Real-Time Exchange Data Feed. | 2021-06-14 11:37:49.844
Enabled for: Delayed Denali Exchange Data Feed. | 2021-06-14 11:37:49.844
Enabled for exchange2: CME (Trading Account Required) | 2021-06-14 11:37:49.844
Enabled for exchange2: CBOT (Trading Account Required) | 2021-06-14 11:37:49.844
Enabled for exchange2: COMEX (Trading Account Required) | 2021-06-14 11:37:49.844
Enabled for exchange2: NYMEX (Trading Account Required) | 2021-06-14 11:37:49.844
Allow Support for Sierra Chart Data Feeds is enabled. | 2021-06-14 11:37:49.844
Current selected Data/Trading service: SC/TT Futures Order Routing | 2021-06-14 11:37:49.844
Custom symbol settings values: disabled | 2021-06-14 11:37:49.844
Chart Update Interval: 500 | 2021-06-14 11:37:49.844
Intraday Data Storage Time Unit: 0 | 2021-06-14 11:37:49.844
Time Zone: -05:00:00 (CST-06CDT+01,M3.2.0/02:00,M11.1.0/02:00) | 2021-06-14 11:37:49.844
2021-06-14 16:37:49 Local computer time in UTC | 2021-06-14 11:37:49.844
2021-06-14 11:37:49 Local computer time in SC Time Zone | 2021-06-14 11:37:49.844
2021-06-14 16:10:11 Server time in UTC | 2021-06-14 11:37:49.844
Local computer UTC time and Server UTC time difference: 1 seconds. | 2021-06-14 11:37:49.844
Program path: C:\SierraChart\ | 2021-06-14 11:37:49.844
Data Files path: C:\SierraChart\Data\ | 2021-06-14 11:37:49.844
OS Version Number: 10.0 | 2021-06-14 11:37:49.845
Locale Setting: C | 2021-06-14 11:37:49.845
DLLs: ETFISv3_64.dll, sst_FreeBundle_64.dll, TriStar_BaseDataAccess_MD99_64.dll, TriStar_DeltaAudioAlerts_MD99_64.dll, TriStar_DojiBar_MD99_64.dll, TriStar_ExtDeltaDifSignals_MD99_64.dll, TriStar_FlexRenkoPredictor_MD99_64.dll, TriStar_FL_BarColor_MD99_64.dll, TriStar_FL_Bolic_MD99_64.dll, TriStar_FL_Parabolic_MD99_64.dll, TriStar_FL_VS_FlipZone_MD99_64.dll, TriStar_FL_VS_MD99_64.dll, TriStar_FoMRelVol_MD99_64.dll, TriStar_FootprintAudioAlerts_MD99_64.dll, TriStar_FP_Parabolic_MD99_64.dll, TriStar_FuseLines_MD99_64.dll | 2021-06-14 11:37:49.846
Allowed protected custom studies: SST_FreeBundle, zyp_download_free | 2021-06-14 11:37:49.846

HTTPS connection ID:3 to build.sierrachart.com:443 for request ID:3 (2) | Creating socket. Using TLS 1.2. | 2021-06-14 11:38:02.049
HTTPS connection ID:3 to build.sierrachart.com:443 for request ID:3 (2) | New receive buffer size: 32768 | 2021-06-14 11:38:02.050
HTTPS connection ID:3 to build.sierrachart.com:443 for request ID:3 (2) | Connecting to IP: 88.99.0.216. | 2021-06-14 11:38:02.050
HTTPS connection ID:3 to build.sierrachart.com:443 for request ID:3 (2) | New receive buffer size: 65536 | 2021-06-14 11:38:06.681
Setting study DLL module function objects to indicate DLL is not loaded: C:\SierraChart\Data\TriStar_MA_Cloud_MD99.dll | 2021-06-14 11:38:07.842
Study DLL module not found for: C:\SierraChart\Data\TriStar_MA_Cloud_MD99.dll | 2021-06-14 11:38:07.842
HTTPS connection ID:3 to build.sierrachart.com:443 for request ID:3 (2) | CloseSocket call. | 2021-06-14 11:38:08.096
HTTPS connection ID:3 to build.sierrachart.com:443 for request ID:3 (2) | Shutdown started. Waiting for graceful close. | 2021-06-14 11:38:08.096
Saved Chartbook: Development.Cht. Time: 0.0011 seconds. | 2021-06-14 11:40:12.539
HTTPS connection ID:3 to build.sierrachart.com:443 for request ID:3 (2) | Timed out waiting for shutdown. Performing an immediate socket close. | 2021-06-14 11:40:35.806
HTTPS connection ID:3 to build.sierrachart.com:443 for request ID:3 (2) | Closed. | 2021-06-14 11:40:35.806
HTTPS connection ID:3 to build.sierrachart.com:443 for request ID:3 (2) | Deleting network socket now after delay. | 2021-06-14 11:41:05.806

Test 3: Remote build with existing DLL. Study applied to chart.
Software version: 2273 64-bit | 2021-06-14 11:52:04.309
Primary Thread ID: 14424 | 2021-06-14 11:52:04.309
Usage end date: 2021-07-15 | 2021-06-14 11:52:04.309
Enabled for: Advanced Features 2. | 2021-06-14 11:52:04.309
Enabled for: Sierra Chart Historical Data Service. | 2021-06-14 11:52:04.309
Enabled for: Denali Real-Time Exchange Data Feed. | 2021-06-14 11:52:04.309
Enabled for: Delayed Denali Exchange Data Feed. | 2021-06-14 11:52:04.309
Enabled for exchange2: CME (Trading Account Required) | 2021-06-14 11:52:04.309
Enabled for exchange2: CBOT (Trading Account Required) | 2021-06-14 11:52:04.309
Enabled for exchange2: COMEX (Trading Account Required) | 2021-06-14 11:52:04.309
Enabled for exchange2: NYMEX (Trading Account Required) | 2021-06-14 11:52:04.309
Allow Support for Sierra Chart Data Feeds is enabled. | 2021-06-14 11:52:04.309
Current selected Data/Trading service: SC/TT Futures Order Routing | 2021-06-14 11:52:04.309
Custom symbol settings values: disabled | 2021-06-14 11:52:04.309
Chart Update Interval: 500 | 2021-06-14 11:52:04.309
Intraday Data Storage Time Unit: 0 | 2021-06-14 11:52:04.309
Time Zone: -05:00:00 (CST-06CDT+01,M3.2.0/02:00,M11.1.0/02:00) | 2021-06-14 11:52:04.309
2021-06-14 16:52:04 Local computer time in UTC | 2021-06-14 11:52:04.309
2021-06-14 11:52:04 Local computer time in SC Time Zone | 2021-06-14 11:52:04.309
2021-06-14 16:10:11 Server time in UTC | 2021-06-14 11:52:04.309
Local computer UTC time and Server UTC time difference: 1 seconds. | 2021-06-14 11:52:04.309
Program path: C:\SierraChart\ | 2021-06-14 11:52:04.309
Data Files path: C:\SierraChart\Data\ | 2021-06-14 11:52:04.309
OS Version Number: 10.0 | 2021-06-14 11:52:04.310
Locale Setting: C | 2021-06-14 11:52:04.310
DLLs: ETFISv3_64.dll, sst_FreeBundle_64.dll, TriStar_BaseDataAccess_MD99_64.dll, TriStar_DeltaAudioAlerts_MD99_64.dll, TriStar_DojiBar_MD99_64.dll, TriStar_ExtDeltaDifSignals_MD99_64.dll, TriStar_FlexRenkoPredictor_MD99_64.dll, TriStar_FL_BarColor_MD99_64.dll, TriStar_FL_Bolic_MD99_64.dll, TriStar_FL_Parabolic_MD99_64.dll, TriStar_FL_VS_FlipZone_MD99_64.dll, TriStar_FL_VS_MD99_64.dll, TriStar_FoMRelVol_MD99_64.dll, TriStar_FootprintAudioAlerts_MD99_64.dll, TriStar_FP_Parabolic_MD99_64.dll, TriStar_FuseLines_MD99_64.dll | 2021-06-14 11:52:04.310
Allowed protected custom studies: SST_FreeBundle, zyp_download_free | 2021-06-14 11:52:04.310

HTTPS connection ID:7 to build.sierrachart.com:443 for request ID:7 (2) | Creating socket. Using TLS 1.2. | 2021-06-14 11:52:16.478
HTTPS connection ID:7 to build.sierrachart.com:443 for request ID:7 (2) | New receive buffer size: 32768 | 2021-06-14 11:52:16.478
HTTPS connection ID:7 to build.sierrachart.com:443 for request ID:7 (2) | Connecting to IP: 88.99.0.216. | 2021-06-14 11:52:16.478
HTTPS connection ID:7 to build.sierrachart.com:443 for request ID:7 (2) | New receive buffer size: 65536 | 2021-06-14 11:52:21.077
HTTPS connection ID:7 to build.sierrachart.com:443 for request ID:7 (2) | New receive buffer size: 131072 | 2021-06-14 11:52:22.185
Setting study DLL module function objects to indicate DLL is not loaded: C:\SierraChart\Data\TriStar_MA_Cloud_MD99.dll | 2021-06-14 11:52:22.244
Unloaded DLL: C:\SierraChart\Data\TriStar_MA_Cloud_MD99.dll. Handle: 2560000 | 2021-06-14 11:52:22.269
Warning: The Custom DLL study "TriStar_MA_Cloud_MD99.scsf_MA_Cloud_MD99" has just caused a CPU exception. | 2021-06-14 11:52:22.279 *
Warning: This Custom DLL study may cause Sierra Chart to be unstable until you remove the study from your chart and restart Sierra Chart. | 2021-06-14 11:52:22.279 *
HTTPS connection ID:7 to build.sierrachart.com:443 for request ID:7 (2) | CloseSocket call. | 2021-06-14 11:52:22.517
HTTPS connection ID:7 to build.sierrachart.com:443 for request ID:7 (2) | Shutdown started. Waiting for graceful close. | 2021-06-14 11:52:22.517
Warning: The Custom DLL study "TriStar_MA_Cloud_MD99.scsf_MA_Cloud_MD99" has just caused a CPU exception. | 2021-06-14 11:52:22.768 *
Warning: This Custom DLL study may cause Sierra Chart to be unstable until you remove the study from your chart and restart Sierra Chart. | 2021-06-14 11:52:22.768 *
Warning: The Custom DLL study "TriStar_MA_Cloud_MD99.scsf_MA_Cloud_MD99" has just caused a CPU exception. | 2021-06-14 11:52:23.269 *
Warning: This Custom DLL study may cause Sierra Chart to be unstable until you remove the study from your chart and restart Sierra Chart. | 2021-06-14 11:52:23.269 *
Warning: The Custom DLL study "TriStar_MA_Cloud_MD99.scsf_MA_Cloud_MD99" has just caused a CPU exception. | 2021-06-14 11:52:23.768 *
Warning: This Custom DLL study may cause Sierra Chart to be unstable until you remove the study from your chart and restart Sierra Chart. | 2021-06-14 11:52:23.768 *
Warning: The Custom DLL study "TriStar_MA_Cloud_MD99.scsf_MA_Cloud_MD99" has just caused a CPU exception. | 2021-06-14 11:52:24.271 *
Warning: This Custom DLL study may cause Sierra Chart to be unstable until you remove the study from your chart and restart Sierra Chart. | 2021-06-14 11:52:24.271 *
Warning: The Custom DLL study "TriStar_MA_Cloud_MD99.scsf_MA_Cloud_MD99" has just caused a CPU exception. | 2021-06-14 11:52:24.768 *
Warning: This Custom DLL study may cause Sierra Chart to be unstable until you remove the study from your chart and restart Sierra Chart. | 2021-06-14 11:52:24.768 *
Warning: The Custom DLL study "TriStar_MA_Cloud_MD99.scsf_MA_Cloud_MD99" has just caused a CPU exception. | 2021-06-14 11:52:25.268 *
Warning: This Custom DLL study may cause Sierra Chart to be unstable until you remove the study from your chart and restart Sierra Chart. | 2021-06-14 11:52:25.268 *
Warning: The Custom DLL study "TriStar_MA_Cloud_MD99.scsf_MA_Cloud_MD99" has just caused a CPU exception. | 2021-06-14 11:52:25.771 *
Warning: This Custom DLL study may cause Sierra Chart to be unstable until you remove the study from your chart and restart Sierra Chart. | 2021-06-14 11:52:25.771 *
Warning: The Custom DLL study "TriStar_MA_Cloud_MD99.scsf_MA_Cloud_MD99" has just caused a CPU exception. | 2021-06-14 11:52:26.269 *
Warning: This Custom DLL study may cause Sierra Chart to be unstable until you remove the study from your chart and restart Sierra Chart. | 2021-06-14 11:52:26.269 *

The I remove the study from the chart which stops the CPU Exception error. When I add back the study to the chart there is no exception error.

One time when adding back I got the second attachemnt but I can't seem to reproduce.

Hope this helps and THANKS! I see your name everywhere in this forum John. You must be the resident expert. :) Let me know should you need anything else.
Mike
attachmentTriStar_MA_Cloud_MD99.cpp - Attached On 2021-06-14 16:28:57 UTC - Size: 2.2 KB - 175 views
imageAdd Study Window.jpg / V - Attached On 2021-06-14 16:59:05 UTC - Size: 123.82 KB - 149 views