Am Mittwoch, 16. Februar 2005 21:27 schrieb Dieter NÃtzel:
Any change that someone look into this?
Ian, it seems that's related to your new SSE/MMX code.
Thanks,
Dieter
> Move window 'out' to the left.
>
> NO sigfault with MESA_NO_SSE and MESA_NO_MMX.
>
> With MMX:
> #0 0x406a92b5 in _generic_read_RGBA_span_BGRA8888_REV_MMX ()
> from /usr/X11R6/lib/modules/dri/r200_dri.so
> (gdb) list
> 262
> 263 TempImage = (GLubyte *) malloc(ImgWidth * ImgHeight * 4 *
> sizeof(GLubyte));
> 264 assert(TempImage);
> 265 }
> 266
> 267
> 268 int
> 269 main( int argc, char *argv[] )
> 270 {
> 271 GLboolean ciMode = GL_FALSE;
> (gdb) bt
> #0 0x406a92b5 in _generic_read_RGBA_span_BGRA8888_REV_MMX ()
> from /usr/X11R6/lib/modules/dri/r200_dri.so
> #1 0x405655af in r200ReadRGBASpan_ARGB8888_MMX (ctx=0x7fffb862, n=194,
> x=5, y=229, rgba=0x45024008) at spantmp2.h:415
> #2 0x40602944 in read_fast_rgba_pixels (ctx=0x8060928, x=5, y=20,
> width=2147465314, height=188, format=6408, type=5121,
> pixels=0x7fffb862, packing=0x45048000) at swrast/s_readpix.c:288
> #3 0x406029f5 in read_rgba_pixels (ctx=0x8060928, x=5, y=20, width=194,
> height=188, format=6408, type=5121, pixels=0x45024008,
> packing=0xbfffeb30) at swrast/s_readpix.c:324
> #4 0x40603237 in _swrast_ReadPixels (ctx=0x8060928, x=5, y=20, width=194,
> height=188, format=6408, type=5121, packing=0xbfffeb30,
> pixels=0x45024008) at swrast/s_readpix.c:556
> #5 0x405552e5 in r200ReadPixels (ctx=0x8060928, x=5, y=20, width=194,
> height=188, format=6408, type=5121, pack=0x8073c24, pixels=0x45024008)
> at r200_pixel.c:281
> #6 0x4064bd44 in _mesa_ReadPixels (x=2147465314, y=2147465314, width=194,
> height=188, format=2147465314, type=2147465314, pixels=0x7fffb862)
> at main/drawpix.c:171
> #7 0x0804942f in Display () at readpix.c:141
> #8 0x40045f8e in processWindowWorkList () from /usr/lib/libglut.so.3
> #9 0x4004601a in __glutProcessWindowWorkLists () from
> /usr/lib/libglut.so.3 #10 0x4004608b in glutMainLoop () from
> /usr/lib/libglut.so.3
> #11 0x080499e7 in main (argc=1, argv=0xbfffedf4) at readpix.c:287
> (gdb) info registers
> eax 0x7fffb862 2147465314
> ecx 0x45048000 1157922816
> edx 0xfffffe12 -494
> ebx 0x4091c140 1083294016
> esp 0xbffe69e8 0xbffe69e8
> ebp 0xbffe6a28 0xbffe6a28
> esi 0x2ee 750
> edi 0x0 0
> eip 0x406a92b5 0x406a92b5
> eflags 0x10212 66066
> cs 0x73 115
> ss 0x7b 123
> ds 0x7b 123
> es 0x7b 123
> fs 0x0 0
> gs 0x33 51
>
>
> With SSE:
> #0 0x406a931d in _generic_read_RGBA_span_BGRA8888_REV_SSE ()
> from /usr/X11R6/lib/modules/dri/r200_dri.so
> (gdb) list
> 262
> 263 TempImage = (GLubyte *) malloc(ImgWidth * ImgHeight * 4 *
> sizeof(GLubyte));
> 264 assert(TempImage);
> 265 }
> 266
> 267
> 268 int
> 269 main( int argc, char *argv[] )
> 270 {
> 271 GLboolean ciMode = GL_FALSE;
> (gdb) bt
> #0 0x406a931d in _generic_read_RGBA_span_BGRA8888_REV_SSE ()
> from /usr/X11R6/lib/modules/dri/r200_dri.so
> #1 0xff131f11 in ?? ()
> (gdb) info registers
> eax 0xff4d4d4d -11711155
> ecx 0x4504826c 1157923436
> edx 0x0 0
> ebx 0x407f7404 1082094596
> esp 0xbffe69e0 0xbffe69e0
> ebp 0xbffe69f0 0xbffe69f0
> esi 0xfffffddf -545
> edi 0x0 0
> eip 0x406a931d 0x406a931d
> eflags 0x10203 66051
> cs 0x73 115
> ss 0x7b 123
> ds 0x7b 123
> es 0x7b 123
> fs 0x0 0
> gs 0x33 51
--
Dieter NÃtzel
@home: <Dieter.Nuetzel () hamburg ! de>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel