Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Charts Crashing: Write lock may not be acquired with read lock held.
Collapse
X
-
Update on Data Box - I have been opening the Data Box a few times yesterday and today when I needed to view indicator details etc by mousing over the chart
And as expected I just got my first write lock in over a week running workspace without the data box. I have been mousing over extensively without the data box for a week without a single write lock.
NOT sure it matter Ryan S but I am using a crosshair when mousing over chart
Comment
-
Yes I am loading only 2-3 days of data for NQ or non-time based charts for that matter. For now it is better than frozen charts and having to restart the machine. I've had to close out trades through the phone app because of this problem.Originally posted by DTSSTS View Postandyt10s So you think keep the data load at 3 days could help? on NQ MNQ
Comment
-
Has anyone improved or cured the chart freeze issues by uninstalling 8.1.x and reinstalling? Fed up with chart freezing in 8.1.1.7 with read/write lock errors, I tried to go back to a pre SQLite 8.0 version (8.0.26.1). After uninstalling 8.1.1.7, I rebooted, then installed 8.0.26.1, then replaced ca.pem files for CQG data. On NT start, I got an error message "Unable to connect to DB: Index was out of range.". It was becoming a lot of time to fix, so I uninstalled 8.0.26.1, rebooted, then reinstalled 8.1.1.7. Since reinstalling 8.1.1.7, over a week now, there has not been one chart freeze. Who knows if uninstall/reinstall is a total cure, but so far so good. Will post an update if that changes.
Comment
-
Thanks Ryan,Originally posted by NinjaTrader_RyanS View PostHello,
A fix has been slated for the next public release of NinjaTrader Desktop. At this time there is no planned release date but I will update this thread when a release is available for download.
how about an update every few days or at least weekly? Thanks.
Comment
-
Hello,
our Quality Assurance and our Software Development were finally able to isolate, identify and fix this issue. The fix will be available with next update of NinjaTrader 8.
I apologize for the inconvenience and thanks to everybody here for contributing to identify the issue!
The key information was that the downgrade to R26.1 fixes it!Last edited by NinjaTrader_Christian; 02-12-2024, 07:30 AM.ChristianSenior Software Developer
- Likes 4
Comment
-
It's definitely an improvement, but not a total cure. Got the first chart freeze today right at the regular session close during the highest trade rates with chart lag. Task Manager end task required to close frozen NT.Originally posted by Lancer View PostSince reinstalling 8.1.1.7, over a week now, there has not been one chart freeze. Who knows if uninstall/reinstall is a total cure, but so far so good. Will post an update if that changes.
Great to hear that a fix will be in the next release.Last edited by Lancer; 02-15-2024, 03:32 PM.
- Likes 1
Comment
-
Update - I'm still getting chart freezes. No pattern to it; could happen at any time, while in use or unattended. Yesterday it froze once, and today it froze once again, and before yesterday there were freezes as well. Typical behavior of the active symbol tab charts all stopping while the inactive (non-visible tab symbols) charts are all running normally, with Market Analyzer, DOM, and T&S all running normally. But click a few things, or start to open menus, etc., and the whole workspace freezes, and Task Manager > End Task is required to close NinjaTrader. A fix for this can't come soon enough.
Fortunately I have an old lifetime license, and can still use NinjaTrader 7.Last edited by Lancer; 02-29-2024, 01:39 PM.
Comment
-
Is there any update on when this fix is going to be released? Rather than waiting for the next general release, could a patch-release not be created that only has this fix in it, given that this is such a high-impact issue for so many users?
- Likes 1
Comment
-
Hi,
I'm having troubles with the read/write lock errors.
It's related to an indicator I've built, which uses multiple/ many data series.
It freezes/ and displays the error with the indicator loaded and when I zoom in/ out of the chart or pane across.
- I just went back to version 26 and still got the error.
So I think it's specific to my code. & Not the general issue discussed above.
( I just re-wrote the whole thing from scratch with more simplicity & it's still causing the error)
ChatGPT suggested using lock blocks to manually specify how the memory is used.
Does anyone have an example of this that I can refer to?
- is it necessary? Or is it the wrong approach?
Edit: My solution was using circular buffers, instead of arrays
Cheers,Last edited by yertle; 03-20-2024, 05:17 AM.
Comment
-
Yertle,Originally posted by yertle View PostHi,
I'm having troubles with the read/write lock errors.
It's related to an indicator I've built, which uses multiple/ many data series.
It freezes/ and displays the error with the indicator loaded and when I zoom in/ out of the chart or pane across.
- I just went back to version 26 and still got the error.
So I think it's specific to my code. & Not the general issue discussed above.
( I just re-wrote the whole thing from scratch with more simplicity & it's still causing the error)
ChatGPT suggested using lock blocks to manually specify how the memory is used.
Does anyone have an example of this that I can refer to?
- is it necessary? Or is it the wrong approach?
Cheers,
This has been happening to numerous users per this thread as you can see. I personally have numerous custom indicator codes but this is happening to empty charts when I use free bar types such as UniRenko and NinzaRenko bars. You might look into a test for yourself to see if it's doing that in your situation with bare charts. Search for the free bar types on your browser. Hopefully, you can report back to this thread with your results.
- Likes 1
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
80 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
46 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
29 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
32 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
66 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment