FS#8039 - Blender crashes on file open
Attached to Project:
Arch Linux
Opened by kezar (kezar) - Monday, 17 September 2007, 14:15 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 27 December 2008, 14:05 GMT
Opened by kezar (kezar) - Monday, 17 September 2007, 14:15 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 27 December 2008, 14:05 GMT
|
Details
Description:
Blender returns a segfault when trying to launch the open file dialog. Additional info: * package version(s) : blender 2.44-1 Steps to reproduce: File > Open or type F1. |
This task depends upon
one of which is very uptodate (core instead of current)
VirtualBox was running maybe it makes some changes.
I installed cvs after that cause I needed it. I'll try again on another computer.
Here is the debug :
[~]$ blender -d
Blender 2.44 (sub 0) Build
argv[0] = blender
argv[1] = -d
Compiled with Python version 2.5.1.
Checking for installed Python... got it!
Color depth r 8 g 8 b 8
Aux buffers: 4
read file
Version 242 sub 4
read file
Version 241 sub 0
ordered
OBCube
OBLamp
OBCamera
File .Blanguages not found
Registering scripts in Blender menus ...
Cannot register scripts in menus, no scripts dir available.
Expected default dir at: `w#�v/┤⎽⎼/␉␋┼
C⎺┌⎺⎼ ␍␊⎻├ ⎼ 8 ± 8 ␉ 8
A┤│ ␉┤°°␊⎼⎽: 4
C⎺┌⎺⎼ ␍␊⎻├ ⎼ 8 ± 8 ␉ 8
A┤│ ␉┤°°␊⎼⎽: 4
C⎺┌⎺⎼ ␍␊⎻├ ⎼ 8 ± 8 ␉ 8
A┤│ ␉┤°°␊⎼⎽: 4
C⎺┌⎺⎼ ␍␊⎻├ ⎼ 8 ± 8 ␉ 8
A┤│ ␉┤°°␊⎼⎽: 4
E⎼⎼␊┤⎼ ␍␊ ⎽␊±└␊┼├▒├␋⎺┼
Cannot register scripts in menus, no scripts dir available.
Expected default dir at: `w#ËÀvÌ^N<80>/usr/bin
#0 0x081bce34 in drawfilespace ()
#1 0x08268365 in scrarea_do_windraw ()
#2 0x081a7ceb in screenmain ()
#3 0x0816a4c7 in main ()
The function drawfilespace is located in blender-2.44/source/blender/src/filesel.c
if blender does not find the scripts in its user dir (.blender/scripts) it barfs. The second dir it looks for is the directory of the blender binary (/usr), so this is not an option. There seems to be no way to redirect it and make it search in /usr/share/blender which would be ideal. Blender is just not made to live in an actual linux system, it's more static and supposed to run out of ~/bin. I did not get any input on a solution for this issue the last time and prolly won't resolve it this time
Blender 2.44 (sub 0) Build
argv[0] = blender
argv[1] = -d
Compiled with Python version 2.5.1.
Checking for installed Python... got it!
Ignoring Xlib error: error code 169 request code 146
Ignoring Xlib error: error code 169 request code 146
Color depth r 8 g 8 b 8
Aux buffers: 0
read file
Version 242 sub 4
read file
Version 241 sub 0
ordered
OBCube
OBLamp
OBCamera
File .Blanguages not found
Registering scripts in Blender menus ...
Getting menu data for scripts from file:
/home/andi/.blender/Bpymenus
Color depth r 8 g 8 b 8
Aux buffers: 0
Color depth r 8 g 8 b 8
Aux buffers: 0
Color depth r 8 g 8 b 8
Aux buffers: 0
Segmentation fault
I'm building blender from ABS now maybe it will work for me.
This leaves the question to me, why did I never noticed this until 2.44 and why does it works on other distributions (in this case ubuntu) without any problems.
To fix:
"cp -R /usr/share/blender ~/.blender"
I dont know how to include de hidden files, but you have to copy those too.
Then, change the permissions on the "scripts" directory to every file to allow execution:
"chmod -R o+x scripts"
That should work.
I was google around, there are several issues on my box now. One is blender, but from your information I think my Blender Problem is related to Catalyst & the latest Xorg.
It is a clean Install 2008.06, because my old Archlinux Box have crashed.
start1.jpg (137.2 KiB)
start2.jpg (108.6 KiB)
Xorg.0.log (51 KiB)