Previous Thread  Next Thread

chat icon bf-blender Linux-glibc2.2.5-python2.3 (20040421)

Michel

Posted: Wed Apr 21, 2004 9:06 pm
Joined: 16 Oct 2002
Posts: 209
Hi,

Here's another Blender build. IanWill has spent quite some time on figuring out the problem with regards to the crashes on various Linux systems.
Thanks must go to Blendix as well for he experienced the same crashes on his system, but helped IanWill with providing crash information.

In any case, it should now be possible to run blender on a system which has Python 2.2 installed. Python scripts requiring external Python modules won't run unless you have Python 2.3 installed. Blender should not crash anymore.

As usual, get the builds here.

Please, let me know by replying to this post if the crash at startup is gone.
Thank you all for testing!!!

With regards,
Michel
_________________
You can have one of two things: Progress or Progress Reports.

Last edited by Michel on Tue Apr 27, 2004 9:41 pm; edited 1 time in total
Reply with quote


raphael

Posted: Thu Apr 22, 2004 8:50 am
Joined: 26 May 2003
Posts: 34
Hello Michel,
i still have a Seg Fault on startup.
(Mandrake 10, Gforce with Nvidia drivers, AMD proc.)
Reply with quote


OTO

Posted: Thu Apr 22, 2004 9:46 am
Joined: 16 Oct 2002
Posts: 426
Hello

Exactly the same as raphael to me

Bye
Reply with quote


mox

Posted: Thu Apr 22, 2004 11:19 am
Joined: 16 Oct 2002
Posts: 8
seg fault

mdk 9.2
kernel 2.4.22
ati radeone 9200
PIV 2.4
Reply with quote


korc

Posted: Thu Apr 22, 2004 6:45 pm
Joined: 20 Oct 2002
Posts: 1
using with debian unstable on athlon / ati (opensource drivers)

it's not crashing, but seems to miscalculate object coordinates

test file:
http://korc.artun.ee/blender_233_gametest.blend

usually box bounces correct, but sometimes it just falls through, sometimes it acts if plane would be higher than actually set (about 1 unit). (just start/stop like 10 or more times)

or is this kind of behaviour normal for this build?

Last edited by korc on Fri May 07, 2004 3:06 pm; edited 1 time in total
Reply with quote


block01cube

Posted: Thu Apr 22, 2004 10:45 pm
Joined: 17 Apr 2004
Posts: 15
It starts up fine for me on Mandrake 9.2.

Thanks!!

b01c
Reply with quote


willian

Posted: Fri Apr 23, 2004 6:38 am
Joined: 13 Jan 2003
Posts: 20
Hi,

Those who still get crashes on startup can help us a lot if they copy these lines to a file called debug.txt, put it at blender's dir and run there a one-line command, as explained in the file contents below (note it's not an executable file, the command to execute is written in step 2):

# --- here starts file debug.txt
# 1) Save this file as debug.txt at Blender's dir
#
# 2) In Blender's dir run this command from a bash shell prompt:
# gdb ./blender --command=debug.txt --batch &> gdb-results.txt
#
# 3) The results were saved at the file gdb-results.txt, please send it to us
#
# Commands to gdb start here:
echo PYTHON INFO:\n\n
shell python2.3 -c "print 'Found python2.3 executable'"
shell python -c "import sys; print 'EXECUTABLE:', sys.executable"
shell python -c "import sys; print 'VERSION:', sys.version"
shell python -c "import sys; print 'PATH:', sys.path, '\n'"
echo LINKED LIBS:\n\n
shell ldd ./blender
echo \n\n
echo RUNNING BLENDER:\n\n
run
bt
kill
quit
# --- here ends file debug.txt

The command can be executed by a normal user, no root privileges needed, and won't harm the system in any way, it just uses the gdb debugging program to print some data about your python installation and the linked libraries and crash in blender. So, naturally, you need gdb installed. It's a standard component, though -- if it's not installed and you still want to try, you should have it in one of your distro's cd.

Thanks in advance. If you run this procedure, a file called gdb-results.txt will be created. Then please post it here.

--
IanWill
Reply with quote


raphael

Posted: Fri Apr 23, 2004 8:50 am
Joined: 26 May 2003
Posts: 34
Hello,

Here's my gdb-results.txt



(no debugging symbols found)...Using host libthread_db library "/lib/i686/libthread_db.so.1".
PYTHON INFO:

Found python2.3 executable
EXECUTABLE: /usr/bin/python
VERSION: 2.3.3 (#2, Feb 17 2004, 11:45:40)
[GCC 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)]
PATH: ['', '/usr/lib/python23.zip', '/usr/lib/python2.3', '/usr/lib/python2.3/plat-linux2', '/usr/lib/python2.3/lib-tk', '/usr/lib/python2.3/lib-dynload', '/usr/lib/python2.3/site-packages', '/usr/lib/python2.3/site-packages/Numeric', '/usr/lib/python2.3/site-packages/PIL', '/usr/lib/python2.3/site-packages/gtk-2.0']

LINKED LIBS:

libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x4002d000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40043000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40051000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40134000)
libutil.so.1 => /lib/libutil.so.1 (0x4013c000)
libdl.so.2 => /lib/libdl.so.2 (0x4013f000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40142000)
libz.so.1 => /lib/libz.so.1 (0x40193000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x401a4000)
libGL.so.1 => /usr/lib/tls/libGL.so.1 (0x40237000)
libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x40294000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x40320000)
libm.so.6 => /lib/i686/libm.so.6 (0x40362000)
libc.so.6 => /lib/i686/libc.so.6 (0x40385000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x404ca000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4051f000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40528000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x4053f000)
libaudio.so.2 => /usr/X11R6/lib/libaudio.so.2 (0x405ec000)
libGLcore.so.1 => /usr/lib/tls/libGLcore.so.1 (0x40603000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40ab9000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40b79000)


RUNNING BLENDER:

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 3840)]
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...'import site' failed; use -v for traceback

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 3840)]
0x08510acd in PyObject_GC_Del ()
#0 0x08510acd in PyObject_GC_Del ()
#1 0x084c13e5 in PyDict_Values ()
#2 0x0851037e in Py_GetPath ()
#3 0x0851090f in _PyObject_GC_Malloc ()
#4 0x085109b5 in _PyObject_GC_New ()
#5 0x084c23ba in PyCFunction_NewEx ()
#6 0x08508150 in Py_InitModule4 ()
#7 0x082a384e in NMesh_Init ()
#8 0x08291a02 in M_Blender_Init ()
#9 0x0827d4d4 in initBlenderApi2_2x ()
#10 0x0827a6b6 in BPY_start_python ()
#11 0x080e69fe in main ()



good luck

Raphael

ps: is there an @mail where we coult send this file ?
Reply with quote


mox

Posted: Fri Apr 23, 2004 10:20 am
Joined: 16 Oct 2002
Posts: 8
seg fault

mdk 9.2
kernel 2.4.22
ati radeone 9200
PIV 2.4

and this is the result of the command you suggest:


(no debugging symbols found)...PYTHON INFO:

Found python2.3 executable
EXECUTABLE: /usr/bin/python
VERSION: 2.3 (#2, Aug 31 2003, 17:27:29)
[GCC 3.3.1 (Mandrake Linux 9.2 3.3.1-1mdk)]
PATH: ['', '/usr/lib/python2.3', '/usr/lib/python2.3/plat-linux2', '/usr/lib/python2.3/lib-tk', '/usr/lib/python2.3/lib-dynload', '/usr/lib/python2.3/site-packages', '/usr/lib/python2.3/site-packages/Numeric', '/usr/lib/python2.3/site-packages/PIL', '/usr/lib/python2.3/site-packages/gtk-2.0', '/usr/lib/python23.zip']

LINKED LIBS:

libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40027000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4003d000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4004b000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x4012e000)
libutil.so.1 => /lib/libutil.so.1 (0x40136000)
libdl.so.2 => /lib/libdl.so.2 (0x40139000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x4013c000)
libz.so.1 => /lib/libz.so.1 (0x4018c000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x4019a000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x40219000)
libm.so.6 => /lib/i686/libm.so.6 (0x40263000)
libc.so.6 => /lib/i686/libc.so.6 (0x40286000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x403b6000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4040a000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40413000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x4042b000)
libaudio.so.2 => /usr/X11R6/lib/libaudio.so.2 (0x404cd000)


RUNNING BLENDER:

'import site' failed; use -v for traceback
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x0851ea9d in PyObject_GC_Del ()
#0 0x0851ea9d in PyObject_GC_Del ()
#1 0x084cf3b5 in PyDict_Values ()
#2 0x0851e34e in Py_GetPath ()
#3 0x0851e8df in _PyObject_GC_Malloc ()
#4 0x0851e985 in _PyObject_GC_New ()
#5 0x084d038a in PyCFunction_NewEx ()
#6 0x08516120 in Py_InitModule4 ()
#7 0x082b181e in NMesh_Init ()
#8 0x0829f9d2 in M_Blender_Init ()
#9 0x0828b4a4 in initBlenderApi2_2x ()
#10 0x08288686 in BPY_start_python ()
#11 0x080f49ce in main ()
#12 0x4029bc57 in __libc_start_main () from /lib/i686/libc.so.6


Thank you for the work!
Reply with quote


OTO

Posted: Fri Apr 23, 2004 11:04 am
Joined: 16 Oct 2002
Posts: 426
Hello

here's my debug file:

(no debugging symbols found)...Using host libthread_db library "/lib/tls/libthread_db.so.1".
PYTHON INFO:

Found python2.3 executable
EXECUTABLE: /usr/bin/python
VERSION: 2.3.3 (#2, Dec 23 2003, 08:50:31)
[GCC 3.3.1 (Mandrake Linux 9.2 3.3.1-4mdk)]
PATH: ['', '/usr/lib/python23.zip', '/usr/lib/python2.3', '/usr/lib/python2.3/plat-linux2', '/usr/lib/python2.3/lib-tk', '/usr/lib/python2.3/lib-dynload', '/usr/lib/python2.3/site-packages', '/usr/lib/python2.3/site-packages/Numeric', '/usr/lib/python2.3/site-packages/PIL', '/usr/lib/python2.3/site-packages/gtk-2.0']

LINKED LIBS:

linux-gate.so.1 => (0xffffe000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40029000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4003f000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4004e000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40130000)
libutil.so.1 => /lib/libutil.so.1 (0x40138000)
libdl.so.2 => /lib/libdl.so.2 (0x4013b000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4013e000)
libz.so.1 => /lib/libz.so.1 (0x4014e000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x40160000)
libGL.so.1 => /usr/lib/tls/libGL.so.1 (0x401f1000)
libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x4024e000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x402da000)
libm.so.6 => /lib/tls/libm.so.6 (0x40324000)
libc.so.6 => /lib/tls/libc.so.6 (0x40347000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40490000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x404e4000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x404ed000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x40504000)
libaudio.so.2 => /usr/X11R6/lib/libaudio.so.2 (0x405b1000)
libGLcore.so.1 => /usr/lib/tls/libGLcore.so.1 (0x405c9000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40a7e000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40b3e000)


RUNNING BLENDER:

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[Thread debugging using libthread_db enabled]
[New Thread 1085569984 (LWP 4877)]
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...'import site' failed; use -v for traceback

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1085569984 (LWP 4877)]
0x08510acd in PyObject_GC_Del ()
#0 0x08510acd in PyObject_GC_Del ()
#1 0x084c13e5 in PyDict_Values ()
#2 0x0851037e in Py_GetPath ()
#3 0x0851090f in _PyObject_GC_Malloc ()
#4 0x085109b5 in _PyObject_GC_New ()
#5 0x084c23ba in PyCFunction_NewEx ()
#6 0x08508150 in Py_InitModule4 ()
#7 0x082a384e in NMesh_Init ()
#8 0x08291a02 in M_Blender_Init ()
#9 0x0827d4d4 in initBlenderApi2_2x ()
#10 0x0827a6b6 in BPY_start_python ()
#11 0x080e69fe in main ()
Reply with quote


willian

Posted: Fri Apr 23, 2004 2:21 pm
Joined: 13 Jan 2003
Posts: 20
Hi guys,

Thanks a lot for the debug info, that really helps. Ok, indeed this looks like initialization trouble, something changed from python 2.2 to 2.3 and it affects module initialization order, seemingly -- worse: varies depending on platform and even distro. Just a guess, though...

I made further changes to try to assure all internal pytypes are initialized before needed. We have to wait for a new build for you to try, but first:

Please try setting the $PYTHON variable to the python executable in /usr/bin/python (according to the debug info you sent):
export PYTHON="/usr/bin/python" in bash.

Then tell us if that fixes the crash, please.

--
IanWill
Reply with quote


OTO

Posted: Fri Apr 23, 2004 2:49 pm
Joined: 16 Oct 2002
Posts: 426
Hi

I've made the export command and unfortunatelly no good result.
Bye
Reply with quote


Riker

Posted: Sat Apr 24, 2004 2:43 am
Joined: 17 Aug 2003
Posts: 5
Don't know if this helps, but your build works great in Mandrake 10 C.E.

Riker
Reply with quote


Napoleon

Posted: Sat Apr 24, 2004 6:19 pm
Joined: 27 Jan 2004
Posts: 63
Well this is different. I don't get the seg fault problem but what i get is the message :
Error loading /home/napoleon/blender-2.32-linux-glibc2.2.5-i386/blender failed <invalid read error>

When i move the mouse, blender starts and seems to work alright.I have Slack 9.1 running Xfce 4.05,xfree864.4.0. When i start from xterm i get no such errors.

Thnx
Reply with quote


mox

Posted: Mon Apr 26, 2004 1:33 pm
Joined: 16 Oct 2002
Posts: 8
I've made the export command and unfortunatelly no good result.

byz
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group