Note that there are some explanatory texts on larger screens.

plurals
  1. POTaskPoolScheduler throws Win32Exception (0x80004005): Access is denied (XP, Rx2)
    text
    copied!<p>I'm using Reactive Framework 2 but it suddenly throws throws Win32Exception from TaskPoolScheduler on an XP machine, but it looks not reproducible. The stacktrace is quite limited, any idea?</p> <pre><code>2013-07-02 15:19:38,209 [31] ERROR MyUnhandledExceptionHandler : AppDomainUnhandledException System.ComponentModel.Win32Exception (0x80004005): Access is denied at System.Reactive.Concurrency.TaskPoolScheduler.&lt;&gt;c_DisplayClass2`1.&lt;&gt;cDisplayClass4.&lt;Schedule&gt;b_1() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() </code></pre> <p>It should be from Rx v1, since the callstack is so "empty":</p> <pre><code>// decompiled by ILSpy public IDisposable Schedule&lt;TState&gt;(TState state, Func&lt;IScheduler, TState, IDisposable&gt; action) { if (action == null) { throw new ArgumentNullException("action"); } SerialDisposable d = new SerialDisposable(); CancellationDisposable cancellationDisposable = new CancellationDisposable(); d.Disposable = cancellationDisposable; this.taskFactory.StartNew(delegate { try { d.Disposable = action(this, state); } catch (Exception ex) { Exception ex2; Exception ex = ex2; Thread thread = new Thread(delegate { throw ex; // Here }); thread.Start(); thread.Join(); } }, cancellationDisposable.Token); return d; } </code></pre> <p>Thanks</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload