Bug#405803: Blender extrusion makes X SIGSEGV
Cyril Brulebois
cyril.brulebois at enst-bretagne.fr
Wed Feb 21 18:10:41 CET 2007
Hi,
we received in the Debian BTS a bugreport about Blender making Xorg
SIGSEGV, and by having a closer look at xorg-server (1.1.1), it looks
like there's something wrong with the initialization of a span
structure. Following Michel Dänzer's suggestion, I'm forwarding this
report to you.
By checking the headers, we've got:
GLuint z[MAX_WIDTH]; // s_context.h
And:
#define MAX_WIDTH 4096 // config.h
There are also some asserts:
ASSERT(span->end <= MAX_WIDTH); // s_span.c
But during the initialization (s_linetemp.h and s_context.h), end is set
to numPixels, which is MAX2(dx, dy), with dx=1 and dy=10398.
Then, in the direct_depth_test_pixels16 function (s_depth.c), the SEGV
occurs when z[i] is read, with i=4096.
This happens on Linux as well as on GNU/kFreeBSD, with the nv driver
(and no DRI).
You might want to refer to the original bugreport in the Debian BTS[1],
to the last message I wrote there[2], and to a backtrace[3].
1. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405803
2. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405803;msg=33
3. http://kibi.sysif.net/pub/bugreports/blender-sid-kfreebsd.trace
I'm also willing to test patches if you want me to.
Cheers,
--
Cyril Brulebois
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-mesa-devel/attachments/20070221/7e712e15/attachment.pgp
More information about the Pkg-mesa-devel
mailing list