[Bf-committers] Crash when quitting Blender

Brecht Van Lommel brechtvanlommel at pandora.be
Mon Dec 11 22:27:37 CET 2006


Hi,

Chris Want wrote:
> Alexander Ewering wrote:
>>
>> I get the following Python-related crash when quitting Blender (even if I
>> didn't do anything apart from quitting):
>>
>> 0x088de1ba in PyType_IsSubtype ()
>> (gdb) bt
>> #0  0x088de1ba in PyType_IsSubtype ()
>> #1  0x088ce8da in PyDict_Clear ()
>> #2  0x083f6b49 in BPY_clear_script ()
>> #3  0x083f56c8 in BPY_end_python ()
>> #4  0x08257617 in exit_usiblender ()
>> #5  0x08181700 in screenmain ()
>> #6  0x081483ce in main ()
>> (gdb)
>>
>> Python bug?
> 
> No problem here -- maybe try a clean build.
>

I had the same crash, and there was a bug report with it in the tracker 
also. The problem is that the dependencies of BPY_interface.c aren't 
checked correct, so it will not recompile if the headers it includes 
change. This is because it is compiled with the Makefile from api2_2x, 
but is located one directory up. The dependency checking seems to work 
only for files in the directory itself (nan_compile.mk, around line 258).

Anyway, not sure if this is worth fixing now that there is CMake.

Brecht.


More information about the Bf-committers mailing list