title: An unspecified error occurred on the render thread. (NotifyPartitionIsZombie)
body: <p>OK here's the problem,
  I have a ContentControl3D object from <a href="http://thriple.codeplex.com/" rel="noreferrer">thriple</a>
  in that im creating a LibraryStack with images it runs fine, until i run the function where the LibraryStack gets created and filled. when i click on any of the objects inside i get the following error </p>
  
  <pre><code>An unspecified error occurred on the render thread.
  </code></pre>
  
  <p>with stacktrace</p>
  
  <pre><code>at System.Windows.Media.MediaContext.NotifyPartitionIsZombie(Int32 failureCode)
  at System.Windows.Media.MediaContext.NotifyChannelMessage()
  at System.Windows.Interop.HwndTarget.HandleMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
  at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled)
  at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp; handled)
  at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
  at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
  at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
  at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
  at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG&amp; msg)
  at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
  at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
  at System.Windows.Threading.Dispatcher.Run()
  at System.Windows.Application.RunDispatcher(Object ignore)
  at System.Windows.Application.RunInternal(Window window)
  at System.Windows.Application.Run(Window window)
  at System.Windows.Application.Run()
  at WelkoMap.App.Main() in F:\MediaGarde\Surface\Development\WelkoMap\WelkoMap\obj\Debug\App.g.cs:line 0
  at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
  at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
  at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
  at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
  at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  at System.Threading.ThreadHelper.ThreadStart()
  </code></pre>
  
  <p>here's the code that adds and creates the LibraryStack and fills it</p>
  
  <pre><code>public void ReplaceBackContent(List&lt;Image&gt; images, List&lt;MediaElement&gt; videos)
  {
      ContentControl3D control = this.TryFindParent&lt;ContentControl3D&gt;();
      if (control == null)
      {
          return;
      }
      LibraryStack stack = new LibraryStack();
  
      foreach (Image image in images)
      {
          if (image.Parent != null)
          {
              continue;
          }
          LibraryStackItem item = new LibraryStackItem();
          item.Content = image;
          stack.Items.Add(item);
  
      }
      control.BackContent = stack;
  }
  </code></pre>
  
  <p>Since it has the NotifyPartitionIsZombie error i already installed windows update KB967634 which had absolutely no effect at all</p>