Jim Rogers

Lives in Baton Rouge, LA, with two dogs, one cat, and one lovely wife. I'm a lead developer for GCR Incorporated.

Katrin and Jim

Month List

Zombie Exceptions

by Jim Jul 01, 2009 2:12 PM

I’ve occasionally seen this helpful exception message:

An unspecified error occurred on the render thread.

…emanating from the curiously-named framework method NotifyPartitionIsZombie. After much scratching of the head and fruitless searching of the web, I finally found a reproducible case and computer (this appears to happen only with particular video cards.)

image

That allowed me to track down this little bug in my code. I wonder if infinitely large drawing objects are going to be a problem?

Fixing this bug prevented the exception.

I can’t prove this, but my theory is that different video card drivers have different ways of handling infinitely large objects, when told to draw them. Or vanishingly small ones – I’ve seen this in that situation as well. Some drivers appear to make a stab at drawing these things, or simply ignore them, while others throw an exception.

So if you’re getting the NotifyPartitionIsZombie exception, you might try checking that you aren’t drawing something with impossible dimensions.

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading