Login Page - Create Account

Support Board


Date/Time: Wed, 24 Apr 2024 21:02:28 +0000



[Locked] - Notice: Stack Overflow Issue

View Count: 4893

[2020-07-07 06:53:36]
Sierra Chart Engineering - Posts: 104368
We have had recent reports of instability after someone uses the "Set Defaults" button in the Study Settings window.

We have done repeated testing and were unable to duplicate this problem.


And previously we did resolve a problem where when "Show Settings" on the Chart Studies window was enabled, there would be an exception which would occur when using "Set Defaults". We resolved that weeks ago.

However, we still have had reports of a problem of instability when using "Set Defaults". We have been unable to reproduce the issue until today.

This is the result of a stack overflow. This is not a programming error, and unless it is actually observed during the debugging process, it is not something we are going to be aware of unless a user reports it to us.

It only occurs under certain conditions and even when going through those same conditions under debugging, we are not always able to reproduce the problem.

In any case, we have resolved the issue and we have done an analysis and we can see where there is excessive stack space being used. We have taken the first steps to reduce excessive use of stack space in the affected functions.

This stack overflow, may have been occurring under other conditions which also have not been reproducible by us leading to instability.

So if you have seen "exception" error messages in the Message Log they might be due to this. We would suspect, only about less than 20% of the ones we have seen recently are attributable to this.

So do not think, that in an exception issue you are seeing is related to this. In most cases it is not.

We have also seen a very obvious problem at the Windows operating system level related to dialog windows under certain conditions. So there clearly is an issue at the Windows OS level leading to some exceptions in some cases. But the most recent one we have seen attributable to this, we have implemented a workaround.

The stack overflow issue is resolved in version 2132.

If you have encountered any exception issue when using Sierra Chart, do update to version 2132 or higher.
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
Date Time Of Last Edit: 2020-07-07 06:57:29
[2020-07-07 19:10:56]
Sierra Chart Engineering - Posts: 104368
We apologize for the delay. We realized we did not get this out yet. Version 2132 is now released.
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
[2020-07-14 23:14:34]
Sierra Chart Engineering - Posts: 104368
We also have become aware of a few users running into a stack corruption issue. So far there is no indication at all, that the origin of this problem is within the Sierra Chart code base. All indications are that this is an external issue within the Windows operating system.

This problem occurs when users modify the quantity of an order and it occurs merely upon clicking ok or cancel on the order quantity modification dialog.

One user just has Sierra Chart randomly shutting down for no apparent reason. This issue is isolated to them only.

To help us debug this. Follow the instructions below:

We want you to install version 2137. This is a special build with runtime checks. This build is larger. It is about 33 MB and will run a little slower.

Follow the instructions here to install this specific version:
Software Download: Full Control Rollback Procedure

Let us know if you have any issue with this.

And most importantly, run the 64-bit version of Sierra Chart. That is the only version which has the Runtime checks.

When you run into the issue, we want to know what you see at that moment. You should see a pop-up dialog with an error message. We are not sure what that message is going to show. But if you get that, that is the first step to help us track this down. And we would be extremely happy if you get that error. Otherwise, this problem is just not reproducible and we can go nowhere without further details.

----

The above issue, is regarded by us as a very serious issue and is very inconsistent with a very solid stable architecture that Sierra Chart has had for decades now. We are devoting a substantial amount of our programming time to look into this until the issue is determined.
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
Date Time Of Last Edit: 2020-07-17 01:15:06
[2020-08-09 07:20:58]
Sierra Chart Engineering - Posts: 104368
Regarding post #3, after extensive code review, we have identified zero problems in Sierra Chart related to this. And we have never been able to reproduce it either.

We are continuing code review, and we are developing dump functionality from an abnormal shutdown, to help us determine the source of these kinds of problems to the extent possible.

The only logical conclusion at this point is the problem is external to Sierra Chart. The more time that passes by, with no identification of a problem within Sierra Chart itself, and if users are not experiencing the issue any longer, does support the conclusion that the issue is external to Sierra Chart.

We are creating a new order modification dialog/interface for the price and quantity. This is not yet ready. It is taking longer than expected to get this out. But we have moved the creation of the existing dialog, onto the heap rather than the stack. If that dialog is causing a problem for whatever unknown reason, it is not going to cause a stack corruption. This is out in the latest prerelease now. Update 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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2020-08-09 07:22:19
[2020-09-03 06:06:59]
Sierra Chart Engineering - Posts: 104368
Regarding post #3, we have done quite a thorough review of code prior to the version that the issue began with, and also after it. Zero problems were identified.

There was nothing that we did that should have resolved the problem if the issue was within Sierra Chart itself.

We did release in the latest version, a new dialog window using our new settings interface for changing the order quantity and price.

Our only conclusion at this point, is the problem was an operating system level issue. If no one else is encountering the problem on recent versions and we did not do anything to fix it, and considering the large number of users there are of Sierra Chart, it is only reasonable to conclude this was an OS level issue relating to dialog windows.
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:

Login

Login Page - Create Account