shutdown crash, TransformState::unref()

Any idea why I might be getting this crash when trying to close my Panda program?

First-chance exception at 0x02cbc226 (libpanda.dll) in python.exe: 0xC0000005: Access violation reading location 0x00000004.
Unhandled exception at 0x02cbc226 (libpanda.dll) in python.exe: 0xC0000005: Access violation reading location 0x00000004.
The thread 'CtrlRoutine' (0x6dc) has exited with code -1073741510 (0xc000013a).
The program '[3808] python.exe: Native' has exited with code -1073741510 (0xc000013a).

Screenshot from VS 2008:

This is after I updated to the latest source from CVS (yesterday). Last time I did a full source update was Sept. 4, 2010.

Also my frame time seems to be about 10% longer, but that is a whole other can of worms.

No obvious ideas. Are you building with threads enabled?

David

Ha! Yes that must be it.
During the merge, I missed the part where I disabled threads in makepanda due to the FMOD problems. Curiously it didn’t seem to crash with regards to FMOD, was that fixed?
I am recompiling, will let you know how it turns out.
That probably explains the frame rate difference as well.

Yes, disabling threads returns me to my previous performance and no crash on shutdown.
Thanks!