[Bf-python] Blender, Python, and Irix

Chris Want cwant at ualberta.ca
Wed Nov 10 04:14:55 CET 2004


Blender has been extremely unstable on Irix
for a while now, and it seems that the problem
is related to python. I thought that the problem
might have arisen from the transition from
python 2.2 to python 2.3, but I hacked blender
to link with python 2.2 again and it doesn't fix
the problems. Most of the problems are unpredictable
and hard to diagnose, but scriplinks appear to cause
a lot of the problems. One problem that is fairly
easy to reproduce is that blender seems to always
crash when closing the application. Here is a
backtrace:

dbx version 7.3.4 (86441_Nov11 MR) Nov 11 2002 11:31:55
Core from signal SIGBUS: Bus error
(dbx) where

Thread 0x10000
 >  0 PyObject_ClearWeakRefs(0x10a50e58, 0xb8, 0x0, 0xfffffffe, 0x64, 
0x0, 0x41, 0x10ac7f20) 
["/usr/people/cwant/blender/Python-2.3.3/Objects/weakrefobject.c":737, 
0x107805a0]
    1 type_dealloc(0x10a50e58, 0xb8, 0x0, 0xfffffffe, 0x64, 0x0, 0x41, 
0x10ac7f20) 
["/usr/people/cwant/blender/Python-2.3.3/Objects/typeobject.c":2088, 
0x1072e638]
    2 insertdict(0x10acac90, 0x10ac7f20, 0x817383c0, 0x109c9708, 0x64, 
0x0, 0x41, 0x10ac7f20) 
["/usr/people/cwant/blender/Python-2.3.3/Objects/dictobject.c":379, 
0x1075b814]
    3 PyDict_SetItem(0x10acac90, 0x10ac7f20, 0x109c9708, 0xfffffffe, 
0x64, 0x0, 0x41, 0x10ac7f20) 
["/usr/people/cwant/blender/Python-2.3.3/Objects/dictobject.c":533, 
0x1075bc08]
    4 _PyModule_Clear(0x10a50e58, 0xb8, 0x0, 0xfffffffe, 0x64, 0x0, 
0x41, 0x10ac7f20) 
["/usr/people/cwant/blender/Python-2.3.3/Objects/moduleobject.c":136, 
0x107a3114]
    5 PyImport_Cleanup(0x10a50e58, 0xb8, 0x0, 0xfffffffe, 0x64, 0x0, 
0x41, 0x10ac7f20) 
["/usr/people/cwant/blender/Python-2.3.3/Python/import.c":438, 0x1074bd84]
    6 Py_Finalize(0x10a50e58, 0xb8, 0x0, 0xfffffffe, 0x64, 0x0, 0x41, 
0x10ac7f20) 
["/usr/people/cwant/blender/Python-2.3.3/Python/pythonrun.c":349, 
0x1070d658]
    7 BPY_end_python(0x10a50e58, 0xb8, 0x0, 0xfffffffe, 0x64, 0x0, 0x41, 
0x10ac7f20) 
["/usr/people/cwant/blender/bf-blender/blender/source/blender/python/BPY_interface.c":170
More (n if no)?n

I hope this is enough information to point to something
obvious... if not, I'll have to remove python support for
the irix build.

Regards,
Chris




More information about the Bf-python mailing list