[Bf-python] Re: Python script code crashes Blender 2.36 && CVS/HEAD (Linux; self-compiled gcc (GCC) 3.3.4)

Stephen Swaney sswaney at centurytel.net
Sun Feb 13 19:24:36 CET 2005


On Sun, Feb 13, 2005 at 06:14:37PM +0100, Melchior FRANZ wrote:
> 
> The good news: it doesn't happen always.

Actually, this is worse news.  It usually means bugs with pointers,
object scope and reference counting.

> The bad news:  it doesn't only happen with my script, but it did also with
>                newacexport.py.

In a way, *this* is good news.  It probably means the bug is not in
*your* code; an object going out of scope and later referenced, for
example.

> 
> A run of the valgrind debugger (http://valgrind.kde.org/) shows a lot of
> potentially dangerous bugs in Blender/Python. So the crash shouldn't really
> come as a surprise.

Valgrind, Purify and similar tools report many things that may or may
not be bad.  You need to filter thru a lot of junk to get to the good
stuff and not make judgements before the fact.

-- 
Stephen Swaney			
sswaney at centurytel.net




More information about the Bf-python mailing list