[Bf-committers] CVS Python assert failure on shutdown?

Early Ehlinger early at respower.com
Tue Mar 20 17:16:02 CET 2007


I'm assuming you're building a debug build, i.e., with -DNDEBUG turned 
off?  assert() only ever triggers in a debug build, so it could be 
silently failing on your end.

-- Early

Stephen Swaney wrote:
> On Mon, Mar 19, 2007 at 03:17:34PM -0600, Early Ehlinger wrote:
>   
>> If I do a build in "Blender Debug" mode using MSVC 7.1, launch Blender, 
>> and hit Ctrl+Q, then enter, I get the following assertion failure. 
>>
>> This is using a freshly downloaded copy of CVS sources, no patches, 
>> Python 2.5 installed.
>>
>> ---------------------------
>> Microsoft Visual C++ Runtime Library
>> ---------------------------
>> Assertion failed!
>>
>> Program: ...
>> File: ..\Modules\gcmodule.c
>> Line: 276
>>
>> Expression: gc->gc.gc_refs != 0
>>     
>
> This msg is coming from inside the Python source.
> Judging from the comments in the code there, it
> looks like the garbage collector is bailing when
> asked to delete an already deleted object.
>
> My guess is we have a bad refcount (missing incref?),
> probably due to the recent code cleanup.
>
> This behaviour does not show up here on loonix, so
> finding the problem will be interesting.
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.blender.org/pipermail/bf-committers/attachments/20070320/895a4935/attachment.html


More information about the Bf-committers mailing list