Hi, When using Mesa from git, 'gliv' is segfaulting for me when setting the background to something other than black. Googling for parts of the backtrace, it appears that a patch by Claudio Matsuoka is already available but hasn't been applied yet:
http://helllabs.org/patch/20071001_mesa/mesa-7.0.1-read_rgba_span_rgb565_mmx.patch That patch is linked to from this story: http://helllabs.org/blog/20071002/mesa-quiz-spot-the-bug-with-patch And was also posted to the relevant bug: https://bugs.freedesktop.org/show_bug.cgi?id=12614 This was the backtrace from the gliv segfault: #0 _generic_read_RGBA_span_RGB565_MMX () at x86/read_rgba_span_x86.S:584 #1 0xb6c318a7 in viaReadRGBASpan_565_MMX (ctx=0x814ba20, rb=0xb52e0900, n=1024, x=0, y=719, values=0xbf96e380) at ../../../../../src/mesa/drivers/dri/common/spantmp2.h:427 #2 0xb6d17bf9 in fast_read_rgba_pixels (ctx=0x814ba20, x=0, y=0, width=1024, height=720, format=3214336896, type=2964598792, pixels=0xb0b43008, packing=0xbf976480, transferOps=0) at swrast/s_readpix.c:258 #3 0xb6d17ebd in read_rgba_pixels (ctx=0x814ba20, x=0, y=0, width=1024, height=720, format=6407, type=5121, pixels=0xb0b43008, packing=0xbf976480) at swrast/s_readpix.c:335 #4 0xb6d189b1 in _swrast_ReadPixels (ctx=0x814ba20, x=0, y=0, width=1024, height=720, format=6407, type=5121, packing=0xbf96e380, pixels=0xb0b43008) at swrast/s_readpix.c:619 #5 0xb6d7cf9f in _mesa_ReadPixels (x=-1255274240, y=-1255274240, width=1024, height=720, format=6407, type=5121, pixels=0xb0b43008) at main/drawpix.c:304 #6 0x08074cb5 in grab_image (im=0x0, matrix=0x400, new_mat=0x0, bg_is_black=0) at transition.c:215 #7 0x08074f8a in transition (im=0x81234c0) at transition.c:299 #8 0x080664d7 in render_next_image (im=0x81234c0) at next_image.c:178 #9 0x08066ce3 in load_direction (dir=1) at next_image.c:426 #10 0x08057293 in key_press_event (unused=0x80b2800, event=0xbf96e380) at callbacks.c:371 #11 0xb7c356ed in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #12 0x080b2800 in ?? () #13 0x08281c18 in ?? () #14 0x00000000 in ?? () Current language: auto; currently asm Applying Claudio's patch fixes the segfault for me. Benno ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
