I'm testing my sanpshotting process and I create multiple snapshots at one time. since the main app can have multiple runtimes that it could snapshot.
When i go to tear down the Isolates and creators i get this error # Debug check failed: CurrentPerIsolateThreadData()->isolate_ == this. I found after doing some testing that if i teardown the creators and isolates in the reverse order they were snapshotted in then there is no error. It seems like the snapshoot process isn't fully restoring something and thus the error occurs. I know I can code around it my destorying the isolate and creator as soon as i take the snapshot however this seems like a bug and I was planning on be able to have a app that can create snapshots while also having it's own runtime it's running and not sure if it would cause it problems. The basics of the flow is a runtime class is created which if the runtime is going to be snapshoted the runtime and created are paired and stored within the class. When the snapshot process is called the runtimes are looped over and a snapshot is created of each. When the runtime is torn down the isolate and creator are then destroyed. Note i'm storing the runtimes in a std::map so their order of iteration apparently can change so this creates the issue. I was able to test the order since the app class has it's main runtime and then the additional and by changing the order in which the main and hte additional runtime were torn down it worked, however adding a third the problem reoccured most likely due a possibly different order of iteration on the map. I looked for a way to try and pop the isolate or something and even tried entering and exiting but that didn't help. -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/v8-dev/5d6392f5-a26a-41a9-8d77-974032d0e69an%40googlegroups.com.