Segmentation fault for 2.5 svn

User-contributed CVS development builds. Please test and give feedback!

Moderators: jesterKing, stiv

palz
Posts: 11
Joined: Sat Mar 20, 2010 12:00 pm

Segmentation fault for 2.5 svn

Postby palz » Sat Mar 20, 2010 12:06 pm

Hi all
i'm experiencing problems running blender 2.5 on linux
i get

Code: Select all

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?

appultaart
Posts: 9
Joined: Sat Nov 01, 2008 2:40 pm
Location: Netherlands

Postby appultaart » Sat Mar 27, 2010 12:48 am

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?

appultaart
Posts: 9
Joined: Sat Nov 01, 2008 2:40 pm
Location: Netherlands

Postby appultaart » Sat Mar 27, 2010 1:13 am

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...

stiv
Posts: 3646
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Postby stiv » Sat Mar 27, 2010 2:06 am

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.

appultaart
Posts: 9
Joined: Sat Nov 01, 2008 2:40 pm
Location: Netherlands

Postby appultaart » Sat Mar 27, 2010 4:05 am

[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!

palz
Posts: 11
Joined: Sat Mar 20, 2010 12:00 pm

Postby palz » Fri Apr 02, 2010 7:06 pm

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

stiv
Posts: 3646
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Postby stiv » Fri Apr 02, 2010 11:13 pm

1) delete your ~/.B25.blend

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

palz
Posts: 11
Joined: Sat Mar 20, 2010 12:00 pm

Postby palz » Mon Apr 05, 2010 1:28 am

the .B25.blend was not there, maybe because i had never successfully run blender on this OS installation.

Code: Select all

(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: Select all

(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.

DrJamesWright
Posts: 1
Joined: Sun Jul 04, 2010 11:48 am

Postby DrJamesWright » Sun Jul 04, 2010 11:50 am

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.

palz
Posts: 11
Joined: Sat Mar 20, 2010 12:00 pm

Postby palz » Mon Jul 05, 2010 5:00 pm

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

stiv
Posts: 3646
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Postby stiv » Mon Jul 05, 2010 7:17 pm

Can you run other OpenGL applications like glxgears?

palz
Posts: 11
Joined: Sat Mar 20, 2010 12:00 pm

Postby palz » Tue Jul 06, 2010 10:13 am

yes, glxgears works fine

teejay
Posts: 2
Joined: Sun Aug 01, 2010 4:14 pm

Postby teejay » Sun Aug 01, 2010 6:25 pm


palz
Posts: 11
Joined: Sat Mar 20, 2010 12:00 pm

Postby palz » Fri Sep 03, 2010 3:38 pm

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.

stiv
Posts: 3646
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Postby stiv » Fri Sep 03, 2010 7:07 pm

This part looks like the culprit:
#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.


Return to “Testing Builds”

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests