WPF / Pism crash after taking snapshot

Resharper Ultimate:  2016.3.2
DotMemory:  2016.3.2
Visual studio 2017
Windows 7
Prism 6.3.0
Ninject

The issue is as follows. 

Start up software using the dotmemory startup project memory profiling.
Get Snapshot
Enter page: 
Page fails to load, and going back crashes the software.

If I don't take a snapshot, everything works fine.  Also if I enter the page, exit, take another snaphot and enter the page, it also works fine.

After playing around for a while, it looks like the problem is (in part at least) with ninject.  I removed some parameters from the viewmodel constructor and there's no more crash, I'm just wondering how taking a snapshot could somehow interfere with IoC.  Does anyone have any ideas?

1 comment
Comment actions Permalink

I've put a more detailed version of this question on stackoverflow.  

https://stackoverflow.com/questions/43679629/dotmemory-snapshot-crashing-application

 

Might even be something prism related rather than just ninject, still investigating.

0

Please sign in to leave a comment.