Chris Rankin wrote:
> Hi,
> 
> WoW has become extremely unstable with Mesa-git on my Radeon 9550 (Linux 
> 2.6.25, xf86-video-ati
> also from git). Are you seeing anything like this, please? (*cough* WoW works 
> fine with fglrx...)
> 
> Cheers,
> Chris
> 
> Unhandled exception: page fault on read access to 0x00000003 in 32-bit code 
> (0x7dd4b657).
> Register dump:
>  CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
>  EIP:7dd4b657 ESP:0032f654 EBP:0032f66c EFLAGS:00210202(   - 00      - -RI1)
>  EAX:ffffffff EBX:7de950bc ECX:00000000 EDX:7d0169f0
>  ESI:7bbd6708 EDI:7d0169f0
> Stack dump:
> 0x0032f654:  7d0169f0 00977ad4 00040000 7de950bc
> 0x0032f664:  7bbd6708 7de950bc 0032f69c 7dd4c5b3
> 0x0032f674:  7d0169f0 7d022684 00040000 7d022684
> 0x0032f684:  7de4b693 7ba9ec18 7d022684 7de950bc
> 0x0032f694:  60930e18 7ba9ec18 0032f6ec 7dccfd98
> 0x0032f6a4:  7d0169f0 00000de1 00000000 000083f2
> Backtrace:
> =>1 0x7dd4b657 _mesa_unmap_teximage_pbo+0xf(ctx=0x7d0169f0, unpack=0x7d022684)
> [/home/chris/Programs/mesa/src/mesa/main/texstore.c:2718] in r300_dri.so 
> (0x0032f66c)
>   2 0x7dd4c5b3 _mesa_store_compressed_teximage2d+0x107(ctx=<register EDI not 
> in topmost frame>,
> target=0xde1, level=0x0, internalFormat=0x83f2, width=0x200, height=0x200, 
> border=0x0,
> imageSize=0x40000, data=<register EAX not in topmost frame>, 
> texObj=0x7ba9ec18, texImage=<register
> ESI not in topmost frame>) 
> [/home/chris/Programs/mesa/src/mesa/main/texstore.c:3323] in
> r300_dri.so (0x0032f69c)
>   3 0x7dccfd98 r300CompressedTexImage2D+0xf4(ctx=0x7d0169f0, target=0xde1, 
> level=0x0,
> internalFormat=0x83f2, width=0x200, height=0x200, border=0x0, 
> imageSize=0x40000, data=0x977ad4,
> texObj=<register EDI not in topmost frame>, texImage=0x7bbd6708)
> [/home/chris/Programs/mesa/src/mesa/drivers/dri/r300/r300_tex.c:841] in 
> r300_dri.so (0x0032f6ec)
>   4 0x7dd407ab _mesa_CompressedTexImage2DARB+0x214(target=<register ESI not 
> in topmost frame>,
> level=0x0, internalFormat=0x83f2, width=0x200, height=0x200, border=0x0, 
> imageSize=0x40000,
> data=0x977ad4) [/home/chris/Programs/mesa/src/mesa/main/teximage.c:3499] in 
> r300_dri.so
> (0x0032f73c)
>   5 0x7ead627c wine_glCompressedTexImage2DARB+0xcc(target=0xde1, level=0x0, 
> internalformat=0x83f2,
> width=0x200, height=0x200, border=0x0, imageSize=0x40000, data=<register EDI 
> not in topmost
> frame>) [/home/chris/Programs/wine/dlls/opengl32/opengl_ext.c:925] in 
> opengl32 (0x0032f78c)
>   6 0x00641923 in wow (+0x241923) (0x0032f7ec)
>   7 0x00641aef in wow (+0x241aef) (0x0032f830)
>   8 0x00641b82 in wow (+0x241b82) (0x0032f840)
>   9 0x0063282c in wow (+0x23282c) (0x0032f84c)
>   10 0x0062f367 in wow (+0x22f367) (0x0032f860)
>   11 0x0062fe3e in wow (+0x22fe3e) (0x0032f884)
>   12 0x007891bd in wow (+0x3891bd) (0x0032fd84)
>   13 0x007893c7 in wow (+0x3893c7) (0x0032fd90)
>   14 0x0078b710 in wow (+0x38b710) (0x0032fdac)
>   15 0x007dbe2b in wow (+0x3dbe2b) (0x0032fddc)
>   16 0x007d930c in wow (+0x3d930c) (0x0032fe54)
>   17 0x007da7b1 in wow (+0x3da7b1) (0x0032fe6c)
>   18 0x00406228 in wow (+0x6228) (0x0032ff08)
>   19 0x7b872b47 start_process+0xc7(arg=0x0)
> [/home/chris/Programs/wine/dlls/kernel32/process.c:803] in kernel32 
> (0x0032ffe8)
>   20 0xb7e1e637 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
> 0x7dd4b657 _mesa_unmap_teximage_pbo+0xf 
> [/home/chris/Programs/mesa/src/mesa/main/texstore.c:2718]
> in r300_dri.so: cmpl  $0,0x4(%eax)
> 2718       if (unpack->BufferObj->Name) {

I'm guessing we're dereferencing a null/invalid pointer here.  What are 
the values of unpack and unpack->BufferObj?

It's funny a crash would happen there since the same pointers are 
dereferenced just before this in the call to 
_mesa_validate_pbo_compressed_teximage()

-Brian


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to