Previous Thread  Next Thread

chat icon Segmentation fault for 2.5 svn

palz

Posted: Sat Mar 20, 2010 12:06 pm
Joined: 20 Mar 2010
Posts: 11
Hi all
i'm experiencing problems running blender 2.5 on linux
i get
Code:
Blender 2.52 (sub 0) Build
Build: "2010-03-09" "16:58:31" "linux2" "dynamic"
argv[0] = ./blender
argv[1] = -d
read file
  Version 251 sub 0

ordered
 OBCube
 OBLamp
 OBCamera
Segmentation fault

in both precompiled and freshly built-from-svn versions
what could be the problem?
Reply with quote


appultaart

Posted: Sat Mar 27, 2010 12:48 am
Joined: 01 Nov 2008
Posts: 9
Hi,

I experience the same problems (Ubuntu 64-bit) as described by first poster; both for the svn version (currently svn 27780) and for the 2.50 alpha 2 downloaded from blender.org.

The program starts, I see the window being built (window border, top window where 'Blender' is written and the min-max-close buttons. Then the Segmentation fault comes in.

When I run the svn-compiled file with gdb, I get the following:
$gdb ./blender
(gdb) start
Temporary breakpoint 1 at 0x6c8ca0
[Thread debugging using libthread_db enabled]
(...)
Temporary breakpoint 1, 0x000000000006c8ca0 in main()

(gdb) continue
Continuing.

Program received signal_SIGSEGV, Segmentation Fault.
0x00000000000e316a6 in GHOST_SetTitle ()

(gdb) backtrace
#0 0x0...0e316a6 in GHOST_SetTitle ()
#1 0x0...06cac50 in wm_windows_title ()
#2 0x0...06cb607 in wm_window_add_ghostwindows()
#3 0x0...06d62f4 in WM_check ()
#4 0x0...06d77c0 in WM_read_homefile ()
#5 0x0...06cbbac in WM_init ()
#6 0x0...06c8e1a in main ()

(gdb) quit

Any ideas?
Reply with quote


appultaart

Posted: Sat Mar 27, 2010 1:13 am
Joined: 01 Nov 2008
Posts: 9
Update:

this appears not to be a Blender-related issue.

I noticed as of this afternoon, Compiz is not working and cannot be activated. The pre-compiled blender 2.50 alpha2 is working fine on an older version of Ubuntu.

I upgraded a bunch of Xserver and GTK+ packages after lunch - this is when my Compiz stopped working and Blender most likely also... Will look into fixing that...
Reply with quote


stiv

Posted: Sat Mar 27, 2010 2:06 am
Joined: 05 Aug 2003
Posts: 3493
Occasionally, development versions of Blender have problems with the startup file. Try deleting the .B25.blend file in your home directory.

Also worth noting if there are display problems - Compiz (and compositing window managers, in general) often have problems with OpenGL applications like Blender. Turning off Compiz/Aero/KDE4 desktop effects often helps.
Reply with quote


appultaart

Posted: Sat Mar 27, 2010 4:05 am
Joined: 01 Nov 2008
Posts: 9
[SOLVED] @stiv: your remark made me check whether the 'glxgears' program was working; it's a nice indicator if my video card is set up correctly. 'glxgears' was not working.

So, I booted into console mode; uninstalled and re-installed the binary NVidia driver I was already running (195.36.15) from command line. After reboot, openGL works again, Compiz and Blender 2.5 and all. Great!
Reply with quote


palz

Posted: Fri Apr 02, 2010 6:06 pm
Joined: 20 Mar 2010
Posts: 11
today i updated from svn
just the same picture
compiz is off on my system i believe, cause there are no window-effects or smth like that
glxgears work nice
Reply with quote


stiv

Posted: Fri Apr 02, 2010 10:13 pm
Joined: 05 Aug 2003
Posts: 3493
1) delete your ~/.B25.blend

2) run blender in the debugger to see where it is crashing
Reply with quote


palz

Posted: Mon Apr 05, 2010 12:28 am
Joined: 20 Mar 2010
Posts: 11
the .B25.blend was not there, maybe because i had never successfully run blender on this OS installation.

Code:
(gdb) run
Starting program: /home/cd/Загрузки/blender/install/linux2/blender
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00eb7f8d in ?? () from /lib/ld-linux.so.2


Code:
(gdb) backtrace
#0  0x00eb7f8d in ?? () from /lib/ld-linux.so.2
#1  0x00ebc326 in ?? () from /lib/ld-linux.so.2
#2  0x00ec1fc0 in ?? () from /lib/ld-linux.so.2
#3  0x08580212 in GPU_state_init ()
#4  0x082bc50c in wm_window_add_ghostwindows ()
#5  0x082b2560 in WM_check ()
#6  0x082c1973 in WM_read_homefile ()
#7  0x082c442a in WM_init ()
#8  0x082b0ec3 in main ()


actually i'm not yet very familiar with debugging process, what some other useful information can i pull out here? just give me a hint.
Reply with quote


DrJamesWright

Posted: Sun Jul 04, 2010 10:50 am
Joined: 04 Jul 2010
Posts: 1
stiv wrote:
1) delete your ~/.B25.blend

2) run blender in the debugger to see where it is crashing


I did this and now it works fine.
Reply with quote


palz

Posted: Mon Jul 05, 2010 4:00 pm
Joined: 20 Mar 2010
Posts: 11
i still have no success in running even the latest svn version 252 sub 5
the output is just hte same as in my first post
Reply with quote


stiv

Posted: Mon Jul 05, 2010 6:17 pm
Joined: 05 Aug 2003
Posts: 3493
Can you run other OpenGL applications like glxgears?
Reply with quote


palz

Posted: Tue Jul 06, 2010 9:13 am
Joined: 20 Mar 2010
Posts: 11
yes, glxgears works fine
Reply with quote


teejay

Posted: Sun Aug 01, 2010 5:25 pm
Joined: 01 Aug 2010
Posts: 2
http://www.blender.org/forum/viewtopic.php?t=17632
Hope it helps. Very Happy
Reply with quote


palz

Posted: Fri Sep 03, 2010 2:38 pm
Joined: 20 Mar 2010
Posts: 11
I've got still no success running the latest SVN.
I can build with no errors but when i run i get the same segmentation fault as described above.
Reply with quote


stiv

Posted: Fri Sep 03, 2010 6:07 pm
Joined: 05 Aug 2003
Posts: 3493
This part looks like the culprit:
Quote:
#3 0x08580212 in GPU_state_init ()


If you are compiling blender yourself, build it debug and you can see exactly where in the source code it is failing. It appears to be graphics related.
Reply with quote


Goto page 1, 2  Next
 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group