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

Attachment: pgpxV3qJyUdfW.pgp
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to