Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT 8.0.5.0 Write lock may not be acquired with read lock held

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    NT 8.0.5.0 Write lock may not be acquired with read lock held

    On NT 8.0.5.0 there is an issue in which a lock error is being reported (trace excerpt below) when bars are being disposed.

    2017-03-08 06:46:23:114 Cbi.Instrument.RequestBars (to Provider): instrument='ES 03-17' from='3/3/2017 12:00:00 AM' to='3/9/2017 12:00:00 AM' period='Daily'
    2017-03-08 06:46:24:609 Cbi.Instrument.RequestBars (to Provider): instrument='ES 03-17' from='3/8/2017 12:00:00 AM' to='3/9/2017 12:00:00 AM' period='Daily'
    2017-03-08 06:46:28:172 Cbi.Instrument.RequestBars (to Provider): instrument='YM 03-17' from='3/7/2017 10:00:00 AM' to='3/7/2017 11:59:59 PM' period='1 Tick'
    2017-03-08 06:46:28:895 Cbi.Instrument.RequestBars (to Provider): instrument='YM 03-17' from='3/8/2017 12:00:00 AM' to='3/8/2017 11:59:59 PM' period='1 Tick'
    2017-03-08 06:46:35:626 Cbi.Instrument.RequestBars (to Provider): instrument='YM 03-17' from='3/8/2017 6:00:00 AM' to='3/8/2017 11:59:59 PM' period='1 Tick'
    2017-03-08 07:50:57:811 *************** unhandled exception trapped ***************
    2017-03-08 07:50:57:811 Write lock may not be acquired with read lock held. This pattern is prone to deadlocks. Please ensure that read locks are released before taking a write lock. If an upgrade is necessary, use an upgrade lock in place of the read lock.
    2017-03-08 07:50:57:813 System.Threading.LockRecursionException: Write lock may not be acquired with read lock held. This pattern is prone to deadlocks. Please ensure that read locks are released before taking a write lock. If an upgrade is necessary, use an upgrade lock in place of the read lock.
    at System.Threading.ReaderWriterLockSlim.TryEnterWrit eLockCore(TimeoutTracker timeout)
    at System.Threading.ReaderWriterLockSlim.TryEnterWrit eLock(TimeoutTracker timeout)
    at NinjaTrader.Data.BarsSeries.Dispose()
    at NinjaTrader.Data.Bars.Dispose(Boolean disposing)
    at NinjaTrader.Data.Bars.Dispose()
    at NinjaTrader.Gui.Chart.ChartControl.<>c__DisplayCla ss539_2.<RefreshIndicators>b__9(Object o)
    at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.QueueUserWorkItemCallback.System. Threading.IThreadPoolWorkItem.ExecuteWorkItem()
    at System.Threading.ThreadPoolWorkQueue.Dispatch()
    Bruce DeVault
    QuantKey Trading Vendor Services
    NinjaTrader Ecosystem Vendor - QuantKey

    #2
    Hello Bruce DeVault,

    Thank you for your post,

    Is this error coming up when opening a Daily chart? If not, could you please let me know any additional steps needed to replicate on our end?

    In addition, could you please let me know if you see the same when launched in Safe Mode?


    1. Close NinjaTrader 8
    2. Hold the Ctrl Key + double click the NinjaTrader 8 icon (best done from the Desktop, continue to hold Ctrl until NT is launched).
    3. When launched, the NinjaTrader 8 splash screen that appears when loading should say Safe Mode.



    This will cause NinjaTrader to launch without custom items, your saved workspaces and also will Connect on Startup disabled.

    We look forward to assisting further.
    Eric B.NinjaTrader Customer Service

    Comment


      #3
      EricB,

      I believe this issue may be related to http://ninjatrader.com/support/forum...ad.php?t=97057 at which I posted instructions for how to reproduce the issue.
      .
      Bruce DeVault
      QuantKey Trading Vendor Services
      NinjaTrader Ecosystem Vendor - QuantKey

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by jclose, Today, 09:37 PM
      0 responses
      4 views
      0 likes
      Last Post jclose
      by jclose
       
      Started by WeyldFalcon, 08-07-2020, 06:13 AM
      10 responses
      1,413 views
      0 likes
      Last Post Traderontheroad  
      Started by firefoxforum12, Today, 08:53 PM
      0 responses
      10 views
      0 likes
      Last Post firefoxforum12  
      Started by stafe, Today, 08:34 PM
      0 responses
      10 views
      0 likes
      Last Post stafe
      by stafe
       
      Started by sastrades, 01-31-2024, 10:19 PM
      11 responses
      169 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Working...
      X