[Bf-committers] Problem (crashes) with blender cvs and dri on Linux/XFree86 4.2.x
Meino Christian Cramer
bf-committers@blender.org
Sun, 23 Feb 2003 07:41:06 +0100 (MET)
Hi,
since some time blender 2.26+ (cvs) crashes often. I checked the core
dump and found the following:
solfire:[mccramer]> gdb /usr/local/bin/blender core
GNU gdb 5.1.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)...
Core was generated by `/usr/local/bin/blender -nosound'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libblender_source.so.0...done.
Loaded symbols for /usr/local/lib/libblender_source.so.0
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/local/lib/libblender_intern.so.0...done.
Loaded symbols for /usr/local/lib/libblender_intern.so.0
Reading symbols from /opt/kde3/lib/libartsc.so.0...done.
Loaded symbols for /opt/kde3/lib/libartsc.so.0
Reading symbols from /usr/lib/libasound.so.2...done.
Loaded symbols for /usr/lib/libasound.so.2
Reading symbols from /usr/X11R6/lib/libGLU.so.1...done.
Loaded symbols for /usr/X11R6/lib/libGLU.so.1
Reading symbols from /usr/X11R6/lib/libGL.so.1...done.
Loaded symbols for /usr/X11R6/lib/libGL.so.1
Reading symbols from /usr/lib/libSDL-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL-1.2.so.0
Reading symbols from /usr/lib/libesd.so.0...done.
Loaded symbols for /usr/lib/libesd.so.0
Reading symbols from /usr/lib/libaudiofile.so.0...done.
Loaded symbols for /usr/lib/libaudiofile.so.0
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /lib/libutil.so.1...done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/local/lib/libpng.so.3...done.
Loaded symbols for /usr/local/lib/libpng.so.3
Reading symbols from /usr/lib/libcrypto.so.0.9.6...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.6
Reading symbols from /usr/lib/libssl.so.0.9.6...done.
Loaded symbols for /usr/lib/libssl.so.0.9.6
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libstdc++-libc6.2-2.so.3...done.
Loaded symbols for /usr/lib/libstdc++-libc6.2-2.so.3
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/X11R6/lib/modules/dri/radeon_dri.so...done.
Loaded symbols for /usr/X11R6/lib/modules/dri/radeon_dri.so
Reading symbols from /usr/X11R6/lib/X11/locale/common/xlcDef.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/common/xlcDef.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0 0x40b17265 in radeonUpdateTexLRU ()
from /usr/X11R6/lib/modules/dri/radeon_dri.so
It seems, that the radeon_dri module is the bad guy...
I tried XFree 4.2.0/4.2.1/4.2.1.1/4.2.99.3
Every version did the same EXCEPT 4.2.99.3 where drm cannot enabled.
glxgears has no problems to run.
glxinfo shows me:
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: VA Linux Systems, Inc.
OpenGL renderer string: Mesa DRI Radeon 20010402 AGP 4x x86/MMX/3DNow!
OpenGL version string: 1.2 Mesa 3.4.2
OpenGL extensions:
GL_ARB_multitexture, GL_ARB_transpose_matrix, GL_EXT_abgr,
GL_EXT_blend_func_separate, GL_EXT_clip_volume_hint,
GL_EXT_compiled_vertex_array, GL_EXT_histogram, GL_EXT_packed_pixels,
GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_stencil_wrap,
GL_EXT_texture3D, GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_object, GL_EXT_texture_lod_bias,
GL_EXT_vertex_array, GL_MESA_window_pos, GL_MESA_resize_buffers,
GL_NV_texgen_reflection, GL_PGI_misc_hints, GL_SGIS_pixel_texture,
GL_SGIS_texture_edge_clamp
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x23 24 tc 0 24 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x24 24 tc 0 24 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 Slow
0x25 24 tc 0 24 0 r y . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x26 24 tc 0 24 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x27 24 dc 0 24 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x28 24 dc 0 24 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 Slow
0x29 24 dc 0 24 0 r y . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x2a 24 dc 0 24 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
on 4.2.1.1 .
When blender is called with -d (debug) it produces the following
output (I removed dozens of "GHOST_EventPrinter:...." printouts
except those directly before and behind another line to shorten)
Script started on Sun Feb 23 07:30:39 2003
solfire:[mccramer]> /usr/local/bin/blender -d
Blender V 2.26
argv[0] = /usr/local/bin/blender
argv[1] = -d
# /usr/lib/python2.2/site.pyc matches /usr/lib/python2.2/site.py
import site # precompiled from /usr/lib/python2.2/site.pyc
# /usr/lib/python2.2/os.pyc matches /usr/lib/python2.2/os.py
import os # precompiled from /usr/lib/python2.2/os.pyc
import posix # builtin
# /usr/lib/python2.2/posixpath.pyc matches /usr/lib/python2.2/posixpath.py
import posixpath # precompiled from /usr/lib/python2.2/posixpath.pyc
# /usr/lib/python2.2/stat.pyc matches /usr/lib/python2.2/stat.py
import stat # precompiled from /usr/lib/python2.2/stat.pyc
# /usr/lib/python2.2/UserDict.pyc matches /usr/lib/python2.2/UserDict.py
import UserDict # precompiled from /usr/lib/python2.2/UserDict.pyc
# /usr/lib/python2.2/copy_reg.pyc matches /usr/lib/python2.2/copy_reg.py
import copy_reg # precompiled from /usr/lib/python2.2/copy_reg.pyc
# /usr/lib/python2.2/types.pyc matches /usr/lib/python2.2/types.py
import types # precompiled from /usr/lib/python2.2/types.pyc
# /usr/lib/python2.2/__future__.pyc matches /usr/lib/python2.2/__future__.py
import __future__ # precompiled from /usr/lib/python2.2/__future__.pyc
import _Blender # builtin
append to syspath:
append done
Created window
Mapped window
GHOST_EventPrinter::processEvent, time: 11874, type: GHOST_kEventKeyDown, key: F12
Created window
Mapped window
GHOST_EventPrinter::processEvent, time: 11887, type: GHOST_kEventWindowSize
GHOST_EventPrinter::processEvent, time: 15812, type: GHOST_kEventCursorButtonUp, button: 0
Created window
Mapped window
GHOST_EventPrinter::processEvent, time: 15833, type: GHOST_kEventWindowSize
GHOST_EventPrinter::processEvent, time: 15875, type: GHOST_kEventCursorMove, (x,y): (763,799)
Created avi: /home/mccramer/data/pool2/.render/0001_0250.avi
GHOST_EventPrinter::processEvent, time: 15911, type: GHOST_kEventCursorMove, (x,y): (763,798)
GHOST_EventPrinter::processEvent, time: 16803, type: GHOST_kEventCursorMove, (x,y): (671,313)
added frame 1 (frame 0 in avi): Time: 00:01.58
added frame 2 (frame 1 in avi): Time: 00:01.56
added frame 3 (frame 2 in avi): Time: 00:01.56
added frame 4 (frame 3 in avi): Time: 00:01.56
added frame 5 (frame 4 in avi): Time: 00:01.56
GHOST_EventPrinter::processEvent, time: 25244, type: GHOST_kEventKeyDown, key: Esc
GHOST_EventPrinter::processEvent, time: 26577, type: GHOST_kEventKeyDown, key: F12
Created window
Mapped window
GHOST_EventPrinter::processEvent, time: 26598, type: GHOST_kEventWindowSize
GHOST_EventPrinter::processEvent, time: 27561, type: GHOST_kEventWindowActivate
Segmentation fault (core dumped)
solfire:[mccramer]>
Script done on Sun Feb 23 07:31:14 2003
Unfortunately I dont know what is happening here really... Since the
problem arises with three different versions of XFree86 I think
blender /could/ be guilty, but...
Any hint is very welcome since a constantly crashing blender is a
little annoying... ;O)
If I can do anything else to catch the bug: PLEASE EMAIL ME!
Thank you very much in advance for any help !
Kind regards,
Meino
PS: My system:
Linux 2.4.20
XFRee86 4.2.0 and others (see above)
Radeon 7500 (Sapphire) with 64MB DDR RAM
EPoX 8K5A3+ (KT333) motherboard
Athlon XP 2400+
256 MB DDR RAM