Support Board
Date/Time: Sat, 08 Feb 2025 05:50:38 +0000
Unhandled exception in Trade DOM
View Count: 1506
[2020-06-22 09:31:45] |
User816220 - Posts: 80 |
In v2124/2125, I hit an unhandled exception in the trade DOM that causes SC to stop responding to mouse clicks. SC continues to run and update in the background, but it can't be interacted with and needs to be killed through the task manager. This message log has this line: Caught an unhandled exception in c_Chart::WindowProc. Message: 513, wParam: 1, lParam: 62062959 To reproduce, - Enter an order with only a stop loss order attached - Add a take profit order - Click on the number to adjust the quantity of the take profit order The exception happens here. After killing and restarting, the order quantity can be adjusted as expected. |
[2020-06-22 10:40:50] |
|
How exactly are you doing this: - Add a take profit order
An operation like this is not supported. It would have to be an individual Limit order that has no association with the Stop. Are you able to consistently reproduce the exception? 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-06-22 13:30:37] |
User816220 - Posts: 80 |
It's an unassociated order, not part of an OCO. It's an individual limit order with 'Cancel Orders on Flat Position' enabled in the DOM. Yes, I can do reproduce it consistently and across different systems. |
[2020-06-22 17:00:33] |
nosast - Posts: 312 |
@User816220 Are you using OpenGL for graphics? Some users - me included - have issues with exceptions when using OpenGL just out of the blue when doing basic UI work. |
[2020-06-22 18:50:53] |
User816220 - Posts: 80 |
No, this is with OpenGL disabled.
|
[2020-06-22 20:22:55] |
|
Can you please provide that Chart or Trading DOM by following these instructions: Support Board Posting Information: Providing Chartbook with Only a Single Chart 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-06-22 20:52:19] |
User816220 - Posts: 80 |
Here's a chartbook with just the Trading DOM and the .twconfig
|
![]() ![]() |
[2020-06-23 11:19:05] |
|
This is just not reproducible and does not make technical sense as to why there would be a problem like this. Run Sierra Chart in Safe Mode: Sierra Chart - Software Login Instructions: Using Safe Mode 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-06-23 20:47:54] |
User816220 - Posts: 80 |
I still see it running in safe mode. I've been seeing the exception with NQU20_FUT_CME, but if I change the symbol to EURUSD (as the only change made) I don't hit the exception anymore.
|
[2020-06-23 20:51:10] |
|
It should not matter. We have to do a remote assistance session with you to see exactly what you are doing.
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-06-23 21:17:22] |
User816220 - Posts: 80 |
Ok, I'm available for the next few hours if you want to look at it now.
|
[2020-06-24 04:47:11] |
|
Sorry we were not able to get to this today. We will do our best to get to this tomorrow.
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-06-24 23:07:30] |
nosast - Posts: 312 |
Easy to reproduce, see attached clip from testing this in SIM. Long 2 with bracket orders (Target and Stop). Putting in manual sell, moving it and try to reduce the size to 1. Crash! |
![]() |
[2020-06-25 01:05:08] |
|
We are checking on this again.
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-06-25 01:17:38] |
|
We are still not able to reproduce this at all. We still need to do the remote assistance session.
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-06-25 07:05:40] |
nosast - Posts: 312 |
Tested this under my Windows VM. With OpenGL it crashes (see clip above). With GDI just the interfaces freezes and I needed to force SC to close. While doing that SC asked if I really want to remove chart x, than chart y,.... So I killed in via Task manager. Somehow SC interprets the change in order quantities as a deletion command? Log: ESU20_FUT_CME [CB][M] Aligned Renko 5t #17 | Caught an unhandled exception in c_Chart::WindowProc. Message: 513, wParam: 1, lParam: 40960074 | 2020-06-25 02:01:27.553 Date Time Of Last Edit: 2020-06-25 07:06:54
|
[2020-06-25 08:02:54] |
|
This is not making any sense to us at all. And once an exception occurs, there will be unpredictable behavior going forward from that point. The answer is no to your question. 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-06-25 08:18:11] |
nosast - Posts: 312 |
Not sure if it helps but I was not able to reproduce this on test with version 2111.
|
[2020-06-25 23:45:22] |
|
User816220: Version 2127 has been released. If you can test, using the simplified procedure that we did in the remote assistance session, that would be good. Let us know if you still observe the same issue.
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-06-25 23:45:30
|
[2020-06-26 00:14:58] |
User816220 - Posts: 80 |
I'm not able to reproduce the issue with version 2127.
|
[2020-06-26 00:18:02] |
|
Therefore our tentative conclusion, that this is a Windows operating system bug, seems to be true. At least the problem is resolved. This issue is so far out in left field and being it is a stack corruption, strongly points to a lower level operating system level issue. 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-06-26 00:19:33
|
[2020-06-26 07:57:33] |
nosast - Posts: 312 |
2127 also fixed this issue on my machine.
|
[2020-06-26 08:01:36] |
|
There really can be no doubt at all, that this is a Windows bug. There is simply no other explanation. This functionality has not changed and has always been 100% solid, and the issue is strictly related to the displaying and repositioning of a dialog window to change the price and quantity. And the fact that it has resulted in a complete termination of Sierra Chart indicating a stack corruption is further indication that this is a Windows bug. Sierra Chart has no such stack corruption issues. We simply removed the code to reposition the dialog, if it is partially offscreen. That is all we did. We maintain our position that the Windows operating system is in a state of deterioration. 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-06-26 08:02:31
|
[2020-06-26 08:08:40] |
nosast - Posts: 312 |
As Sierra is currently only available for Windows I think we need to live with theses issues. But something has changed in versions later 2111 as I downgraded yesterday and could not reproduce this issue. Did not change anything at Windows system. So this dialog windows was handled differently by Windows in prior SC versions. |
[2020-06-26 08:50:32] |
|
But something has changed in versions later 2111 as I downgraded yesterday and could not reproduce this issue. So this dialog windows was handled differently by Windows in prior SC versions. This is a completely incorrect deduction. We have extensive experience with this. We cannot take the time to provide technical explanations. The order quantity and price dialog has not changed for like about 8+ years. 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-06-26 08:53:22
|
To post a message in this thread, you need to log in with your Sierra Chart account: