none
Deadlock in Dispose / SelectMany RRS feed

  • Question

  • Working with my Marble Diagram Generator I found in the sample

    Observable.Interval(TimeSpan.FromSeconds(1)).SelectMany(Observable.Interval(TimeSpan.FromSeconds(1))).Skip(3).Take(5)

    sometimes missing Dispose calls of some observables inside the SelectMany combinator.
    2 Working threads are in a deadlock situation:
     [In a sleep, wait, or join] 
    > mscorlib.dll!System.Threading.Monitor.Enter(object obj, ref bool lockTaken)
      System.Reactive.dll!System.Linq.Observable.Merge<long>.AnonymousMethod__250(long x = 0)

      [In a sleep, wait, or join] 
    > mscorlib.dll!System.Threading.Monitor.Enter(object obj, ref bool lockTaken)
      System.Reactive.dll!System.Disposables.LockDisposable.Dispose()

    Wednesday, December 30, 2009 8:15 AM

Answers

All replies