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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture i686
Severity High
Priority Normal
Reported Version 2007.08.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

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

Closed by  Roman Kyrylych (Romashka)
Saturday, 27 December 2008, 14:05 GMT
Reason for closing:  Fixed
Comment by Tobias Kieslich (tobias) - Monday, 17 September 2007, 17:22 GMT
works fine for me, on 3 very different machines
one of which is very uptodate (core instead of current)
Comment by kezar (kezar) - Monday, 17 September 2007, 17:49 GMT
I use core too.
VirtualBox was running maybe it makes some changes.
I installed cvs after that cause I needed it. I'll try again on another computer.
Comment by kezar (kezar) - Monday, 17 September 2007, 19:12 GMT
Same problem 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⎼⎼␊┤⎼ ␍␊ ⎽␊±└␊┼├▒├␋⎺┼
Comment by hdp (hdp) - Monday, 17 September 2007, 19:17 GMT
Same here:

Cannot register scripts in menus, no scripts dir available.
Expected default dir at: `w#ËÀvÌ^N­<80>/usr/bin
Comment by Corrado Primier (bardo) - Tuesday, 18 September 2007, 15:54 GMT
I confirm it, though it makes no sense to report the strings I get, it garbles my whole prompt...
Comment by hdp (hdp) - Tuesday, 18 September 2007, 20:42 GMT
gdb output:

#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
Comment by Tobias Kieslich (tobias) - Tuesday, 18 September 2007, 21:04 GMT
okay, that is an old bug which is closed as not resolveable
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
Comment by Andi Clemens (TheGrudge) - Tuesday, 18 September 2007, 21:21 GMT
I also get a segfault for if I try to open a file:

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.
Comment by hdp (hdp) - Tuesday, 18 September 2007, 23:01 GMT
Just copy (as Tobias mentioned) /usr/share/blender to your ~.
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.
Comment by Andi Clemens (TheGrudge) - Tuesday, 18 September 2007, 23:06 GMT
I did this, but it doesn't solve the problem. I guess I will complete deinstall all blender related stuff and reinstall it again. Maybe this will work.
Comment by Andi Clemens (TheGrudge) - Tuesday, 18 September 2007, 23:19 GMT
Ok now after reinstalling all dependencies and blender itself it is working!!
Comment by kezar (kezar) - Tuesday, 18 September 2007, 23:58 GMT
In fact the ABS Blender does not have the problem. Maybe a simple re-build of the binary version would be enough to solve it.
Comment by Leonardo (sud_crow) - Friday, 04 April 2008, 05:52 GMT
The bug has appeared again in 2.45 on two clean different systems (x86_64).
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.
Comment by Uwe (jada) - Sunday, 20 July 2008, 22:42 GMT
Crashes, No but start up with a very ugly GUI!
Comment by Tobias Kieslich (tobias) - Monday, 21 July 2008, 00:21 GMT
Uwe, I know you contacted me with the GUI stuff but you did not provide any helpful information, such as a screenshot of the gui, an out put of blender when started from the console and some proof that you system actually provides some hardware acceleration, since blender does use opengl to draw the gui. I have freeglut installed myself. And I don't get any warnings. Also your issue and this bug are not related in any way!
Comment by Uwe (jada) - Monday, 21 July 2008, 01:15 GMT
OK I have taken some screenshots also details from xorg.

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.
Comment by Jud (judfilm) - Thursday, 04 December 2008, 09:34 GMT
  • Field changed: Status (Unconfirmed → Assigned)
Does this still happen with blender 2.48a?
Comment by Glenn Matthys (RedShift) - Friday, 05 December 2008, 12:02 GMT
Works for me. No crashing when I use file -> open.
Comment by Uwe (jada) - Friday, 05 December 2008, 18:03 GMT
works fine now with newest version.

Loading...