FYI: Linux - Blender 2.51 (sub 0) Build, Segmentation fault

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

Moderators: jesterKing, stiv

glenn
Posts: 3
Joined: Thu Nov 26, 2009 3:27 am
Location: switzerland

FYI: Linux - Blender 2.51 (sub 0) Build, Segmentation fault

Postby glenn » Mon Mar 01, 2010 6:39 pm

For Your Information: if you run the new build 2.51 (Alpha 1) and it runs in this error: Segmentation fault.

Then run :

Code: Select all

./blender -d
Blender 2.51 (sub 0) Build
Build: "2010-02-18" "16:05:19" "linux2" "dynamic"
argv[0] = ./blender
argv[1] = -d
read file /home/dani/.B25.blend
  Version 250 sub 7
Segmentation fault

workaround on my linux box:
remove or rename your old .B25.blend file . (my preview version was: 2.5 Alpha 0)
and start again

thru2trot
Posts: 24
Joined: Sat May 15, 2010 7:19 pm

Postby thru2trot » Sat May 15, 2010 8:32 pm

Hello,

I really appreciate your post.. It offered some really good insight in me trying to run Blender version 2.5 Alpha2 on Ubuntu 10.04 Lucid Lynx alongside the previous version 2.49... Anyway, as my recent posts states on this matter, this is pretty much my dilemma.

In stumbling upon your file I ran the code:

Code: Select all

./blender -d



what exactly is this suppose to do? After running it, I ended up with this in the terminal and blender 2.5 Alpha2 launched successfully: First I went to the directory where the 2.5 Alpha2 executable is located, in this case I did:

Code: Select all

cd ~/source/blender-2.5-alpha2-linux-glibc27-i686


then ran:

Code: Select all

./blender -d



And, then I got this in the Terminal:

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
swin 1 added
swin 2 added
swin 3 added
swin 4 added
swin 5 added
swin 6 added
swin 7 added
swin 8 added
swin 9 added
swin 10 added
swin 11 added
swin 12 added
swin 13 added
set screen
found bundled python: /home/neduret/source/blender-2.5-alpha2-linux-glibc27-i686/.blender/python
SRNA Subclassed: 'Panel'
time properties_animviz 0.0004
SRNA Subclassed: 'Operator'
time properties_data_armature 0.0009
SRNA Subclassed: 'Menu'
SRNA Subclassed: 'Header'
time properties_data_armature_rigify 0.0025
time properties_data_bone 0.0005
time properties_data_camera 0.0003
time properties_data_curve 0.0006
time properties_data_empty 0.0001
time properties_data_lamp 0.0005
time properties_data_lattice 0.0002
time properties_data_mesh 0.0005
time properties_data_metaball 0.0004
time properties_data_modifier 0.0005
time properties_game 0.0007
time properties_material 0.0018
time properties_object 0.0005
time properties_object_constraint 0.0005
time properties_particle 0.0022
time properties_physics_cloth 0.0004
time properties_physics_common 0.0000
time properties_physics_field 0.0003
time properties_physics_fluid 0.0005
time properties_physics_smoke 0.0005
time properties_physics_softbody 0.0009
time properties_render 0.0008
time properties_scene 0.0010
time properties_texture 0.0014
time properties_world 0.0009
time space_buttons 0.0002
time space_console 0.0006
time space_dopesheet 0.0003
time space_filebrowser 0.0003
time space_graph 0.0003
time space_image 0.0009
time space_info 0.0000
time space_logic 0.0001
time space_nla 0.0006
time space_node 0.0002
time space_outliner 0.0002
time space_sequencer 0.0010
time space_text 0.0006
time space_time 0.0003
time space_userpref 0.0028
time space_view3d 0.0040
time space_view3d_toolbar 0.0013
SRNA Subclassed: 'Operator'
time add_armature_human 0.0007
time add_mesh_torus 0.0003
time console_python 0.0001
time console_shell 0.0001
time fcurve_euler_filter 0.0002
time image 0.0002
time mesh 0.0004
time object 0.0010
time object_align 0.0002
time object_randomize_transform 0.0002
time presets 0.0007
time screen_play_rendered_anim 0.0095
time sequencer 0.0002
time uv 0.0003
time uvcalc_follow_active 0.0002
time uvcalc_smart_project 0.0006
time vertexpaint_dirt 0.0002
time wm 0.0018
SRNA Subclassed: 'Panel'
time engine_render_pov 0.0069
SRNA Subclassed: 'Operator'
time export_3ds 0.0013
time export_fbx 0.0013
time export_mdd 0.0003
time export_obj 0.0005
time export_ply 0.0014
time export_x3d 0.0007
time import_anim_bvh 0.0004
time import_scene_3ds 0.0015
time import_scene_obj 0.0000
time import_shape_mdd 0.0002
SRNA Subclassed: 'Operator'
SRNA Subclassed: 'Operator'
SRNA Subclassed: 'Operator'
SRNA Subclassed: 'Operator'
SRNA Subclassed: 'Operator'
SRNA Subclassed: 'Operator'
SRNA Subclassed: 'Operator'
SRNA Subclassed: 'Operator'
SRNA Subclassed: 'Operator'
SRNA Subclassed: 'Operator'
SRNA Subclassed: 'Operator'
SRNA Subclassed: 'Operator'
time netrender 0.0430
Time 0.1278
SRNA Subclassed: 'Bone'
SRNA Subclassed: 'Context'
SRNA Subclassed: 'EditBone'
SRNA Subclassed: 'Header'
SRNA Subclassed: 'Macro'
SRNA Subclassed: 'Menu'
SRNA Subclassed: 'Mesh'
SRNA Subclassed: 'MeshEdge'
SRNA Subclassed: 'MeshFace'
SRNA Subclassed: 'Object'
SRNA Subclassed: 'Operator'
SRNA Subclassed: 'Panel'
SRNA Subclassed: 'PoseBone'
read file
  Version 250 sub 0
handle evt 0 win 0 op WM_OT_splash
swin 14 added
bpy.ops.wm.splash()
set drawable 1
ghost redraw
recalcob Cube
recalcdata Cube
set screen



In the same directory, I typed

Code: Select all

./blender


and blender 2.5 Alpha2 launched and I got this in the Terminal:

Code: Select all

found bundled python: /home/neduret/source/blender-2.5-alpha2-linux-glibc27-i686/.blender/python
*bpy stats* - tot exec: 182,  tot run: 0.0053sec,  average run: 0.000029sec,  tot usage 0.0256%


I then quit 2.5 Alpha2. , and typed:

Code: Select all

blender


then 2.49 launched successfully. I knew I could launch 2.49 like this without having to go to its directory, however is there a way to achieve the same for 2.5 Alpha2 without having to go to its directory?

Any help and clarity on this would be really appreciated.



________________________________________________________________

I am trying to install blender 2.5 Alpha2 along side version 2.49b on Ubuntu 10.04 Lucid Linux, and launch it from the terminal just like the 2.49b version that I installed using Linux's Synaptic Package Manager. This time, however I want to install it from source because the Blender 2.5 Alpha2 version is not available in the synaptic package manager. So I downloaded the tar source file which reads :

blender-2.5-alpha2-linux-glibc27-i686.tar.bz2



into my downloads folder. And then, in the Terminal, went to the Downloads directory:


Code: Select all

cd ~/Downloads



then typed:


Code: Select all

tar jxvf blender-2.5-alpha2-linux-glibc27-i686.tar.bz2 -C ~/source



Now, the instructions that I found in the source file after unpacking simply reads:



Linux, FreeBSD, Irix, Solaris: Unpack the distribution, copy the .blender directory from it to your home directory. Then run the Blender executable.
Install scripts by putting them in the .blender/scripts inside your home folder.



I did find the .blender file as stated in the above instructions in the source folder after I unpacked the software into the source directory in my HOME directory, however upon trying to copy it to my HOME directory, I received errors due to the fact that the .blender file already exists from my previous 2.49b install.

Now, in the Ubuntu book that I'm reading it says that the instructions above should have stated how to compile and install the software and that typically, the procedure to compile source code is as follows:


Code: Select all

./configure



and that this command runs a script to check whether all dependencies are met and the build environment is correct. It then says to run:

Code: Select all

make



in order to compile the software, and finally, run:

Code: Select all

sudo make install



My only question is in coming from a Mac background, On Mac OSX version 10.6, I have 2 different versions of blender installed on the same operating system naturally in 2 different directories so that they don't conflict. I just want to the same in Ubuntu 10.04.

Any help on this would be greatly appreciated.

Best Regards,

freesparks
Reply with quote

thru2trot
Posts: 24
Joined: Sat May 15, 2010 7:19 pm

Postby thru2trot » Sat May 15, 2010 8:39 pm

It's just really cumbersome to have to type:

Code: Select all

cd ~/source/blender-2.5-alpha2-linux-glibc27-i686$ ./blender


in order to launch 2.5 alpha2 each time I want to start working on it. Just want it to be easy like the previous version by going into to the Terminal and just typing blender.

Or is there a workaround?

Best Regards,

thru2trot

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

Postby stiv » Sat May 15, 2010 10:13 pm

Uh, add the directory to your PATH environment variable?

thru2trot
Posts: 24
Joined: Sat May 15, 2010 7:19 pm

Postby thru2trot » Sun May 16, 2010 8:20 am

Hello Stiv,

I must apologize. I completely forgot about adding that directory to my PATH. Would you be able to explain in detail how I go about doing this. On MAC, I simply created a .bash_profile file and placed that in my home directory. However, I am not too familiar on how to properly do this on a Linux platform.

Best Regards,

thru2trot

thru2trot
Posts: 24
Joined: Sat May 15, 2010 7:19 pm

Postby thru2trot » Sun May 16, 2010 10:20 am

Hello Stiv,

Please disregard last post. I simply created a .bash_profile file in my home directory, and added this to the file:

Code: Select all

export PATH="/my/path/to/blender2.5:${PATH}"


My only question now is how I go about launching version 2.49 like that as well, seeing that now I am only able to launch 2.5 alpha2 when I type blender in the terminal.

Thanks for you insight and help!!!

Best Regards,

thru2trot


Return to “Testing Builds”

Who is online

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