Login Page - Create Account

Support Board


Date/Time: Fri, 22 Nov 2024 16:15:57 +0000



Windows error code 0 and 122 after upgrade from v2656 to v2669

View Count: 210

[2024-09-04 10:10:50]
BrMa - Posts: 80
Dear SierraChart-Support,

when running replays with my custom study, I see the following entries in the message log after upgrading from v2656 to v2669.
!!! Correction !!! the installed version is v2671 - not v2669 as mentioned before - everything else mentioned is correct


If I step back and reinstall v2656 the lines in the system-log disappear again without changing anything in my custom study - so I guess it's not in my field to fix the issue.

2024-09-04 11:50:30.931 | Windows error code 0: Der Vorgang wurde erfolgreich beendet.
2024-09-04 11:50:30.931 | Windows error code 122: Der an einen Systemaufruf übergebene Datenbereich ist zu klein. | Number times message added: 36

2 thougths to the entries in the system log:
1) the first line with error code 0 says something was successfully executed - did you change something in your code to log "okay"-messages?
2) I searched windows error 122 and saw it is related to opening files - as I do not work with any files in my custom study, could it be that the error is related to storing the message log to disk?

Can you please take a look into it?
Thanks a lot in advance!
Date Time Of Last Edit: 2024-09-04 12:53:59
[2024-09-04 17:02:22]
Sierra_Chart Engineering - Posts: 17143
This is definitively not a problem in the newer version. This would be extremely unlikely and we definitely do not believe there is any issue at all.

Refer to help topic 17:
Sierra Chart Unexpectedly Shutting Down | Memory Errors | Unusual Software Problems | Exception Errors | Freezing of User Interface

And those error messages, it looks like they would be coming from your custom study. Sierra Chart does not log a Windows error code like that. And also an error code of 0, is no error at all.
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
Date Time Of Last Edit: 2024-09-04 17:04:13
[2024-09-05 09:14:07]
BrMa - Posts: 80
Sorry to come back once more on that but I did some tests and cannot agree.

What I did:
1) I started SierraChart without opening any charts loading my DLL containing the study (I even removed the DLL from the file system to make completely sure my DLL can't be loaded).
2) I opened a completely empty chart and loaded a volume chart for symbol FDXMU24-EUREX with a history of 2 days, bar period value of 50
3) Without applying any study I started a replay

The error still occurs.

Please see relevant entries of the Message Log below - as my study is not even loaded (this is verified with the list of loaded DLLs below) it can't be an issue with my DLL.
Repeating the same procedure with v2656 does not show this issue.


2024-09-05 11:03:41.148 | Software version: 2671 64-bit
...
2024-09-05 11:03:41.148 | Current selected Data/Trading service: SC Data - All Services
2024-09-05 11:03:41.148 | Custom symbol settings values: disabled
...
2024-09-05 11:03:41.148 | OS Version Number: 10.0
2024-09-05 11:03:41.148 | Locale Setting: C
2024-09-05 11:03:41.148 | DLLs: date-tz.dll, ExampleCustomStudies.dll, libcrypto-3-x64.dll, libcurl-d.dll, libcurl.dll, LIBPQ.dll, libssl-3-x64.dll, pqxx.dll, UserContributedStudies.dll, UserContributedStudies_64.dll, zlib1.dll, zlibd1.dll
2024-09-05 11:03:41.148 | Allowed protected custom studies:
2024-09-05 11:03:41.148 | Crash reporter started: true
2024-09-05 11:03:41.148 |
2024-09-05 11:03:46.690 | Replay 30720X: FDXMU24-EUREX [CV][M] 50 Volume #7 | Reloading chart.
2024-09-05 11:03:46.707 | Loading market depth data.
2024-09-05 11:03:46.727 | Replay 30720X: FDXMU24-EUREX [CV][M] 50 Volume #7 | Chart data loading complete.
2024-09-05 11:03:46.771 | Windows error code 0: Der Vorgang wurde erfolgreich beendet.
2024-09-05 11:03:46.771 | Windows error code 122: Der an einen Systemaufruf übergebene Datenbereich ist zu klein. | Number times message added: 36
2024-09-05 11:03:46.777 | Windows error code 0: Der Vorgang wurde erfolgreich beendet.
2024-09-05 11:03:46.777 | Windows error code 122: Der an einen Systemaufruf übergebene Datenbereich ist zu klein. | Number times message added: 36
2024-09-05 11:03:46.783 | Windows error code 0: Der Vorgang wurde erfolgreich beendet.
2024-09-05 11:03:46.783 | Windows error code 122: Der an einen Systemaufruf übergebene Datenbereich ist zu klein. | Number times message added: 36
2024-09-05 11:03:52.295 | Replay 30720X: FDXMU24-EUREX [CV][M] 50 Volume #7 | Back test processing: NumberOfTimesCalculateCalled (Cumulative) = 27503

Date Time Of Last Edit: 2024-09-05 09:16:10
[2024-09-05 14:33:08]
John - SC Support - Posts: 36219
Please run Sierra Chart in Safe Mode. Refer to the following:
Sierra Chart - Software Login Instructions: Using Safe Mode

Then see if you get these errors. You have a number of custom DLLs, and we are not sure where these messages are coming from. Sierra Chart will not give a messages showing "Windows Error Code 0" as that is stating that everything completed successfully. So this just does not make any sense.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-09-05 14:36:51]
Sierra_Chart Engineering - Posts: 17143
We will add additional logging to determine the origin of these Windows errors.
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
[2024-09-05 15:47:33]
BrMa - Posts: 80
Dear John,

I fully agree that the errors partially do not make sense (Windows Error Code 0).

I followed your instructions and started in "Safe Mode" as described in the link provided and repeated the steps described before.
The errors logged remain the same.

If you would like to see the Message Log in detail please let me know.
[2024-09-05 16:00:58]
John - SC Support - Posts: 36219
Please wait for us to get the additional logging as noted in post #5.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-10-03 14:07:22]
Sierra_Chart Engineering - Posts: 17143
Update Sierra Chart to the current version to resolve.
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

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

Login

Login Page - Create Account