Bug 28889 - [regression] wine game crash
[regression] wine game crash
Status: RESOLVED FIXED
Product: Mesa
Classification: Unclassified
Component: Mesa core
git
x86 (IA32) Linux (All)
: medium major
Assigned To: mesa-dev
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-02 07:02 UTC by Fabio Pedretti
Modified: 2010-07-02 07:20 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Pedretti 2010-07-02 07:02:23 UTC
Wine game Panzes II with r300g driver crashes with:

=>0 0x00000000 (0x0032ee34)
  1 0x7da4f46c st_destroy_context+0x3b(st=0x7d55e908) [/home/fabio/sorgenti/ati-drivers/mesa-master/src/mesa/state_tracker/st_context.c:219] in r300_dri.so (0x0032ee84)
  2 0x7da4f46c st_destroy_context+0x3b(st=0x7d54a358) [/home/fabio/sorgenti/ati-drivers/mesa-master/src/mesa/state_tracker/st_context.c:219] in r300_dri.so (0x0032eea4)
  3 0x7da0c9fd st_context_destroy+0x1c(stctxi=0x7d54a358) [/home/fabio/sorgenti/ati-drivers/mesa-master/src/mesa/state_tracker/st_manager.c:594] in r300_dri.so (0x0032eec4)
  4 0x7d91eb80 dri_destroy_context+0x4f(cPriv=0x7d7eecf0) [/home/fabio/sorgenti/ati-drivers/mesa-master/src/gallium/state_trackers/dri/drm/dri_context.c:113] in r300_dri.so (0x0032eee4)
  5 0x7d919897 driDestroyContext+0x26(pcp=0x7d7eecf0) [/home/fabio/sorgenti/ati-drivers/mesa-master/src/gallium/targets/dri-radeong/../../../../src/mesa/drivers/dri/common/dri_util.c:572] in r300_dri.so (0x0032ef04)
  6 0x7e279a09 dri2DestroyContext+0x28(context=0x7d703368, psc=0x7d73ad88, dpy=0x7d71e758) [/home/fabio/sorgenti/ati-drivers/mesa-master/src/glx/dri2_glx.c:107] in libgl.so.1 (0x0032efc4)
  7 0x7e252e96 DestroyContext+0xa5(dpy=0x7d71e758, gc=0x7d7d0f28) [/home/fabio/sorgenti/ati-drivers/mesa-master/src/glx/glxcmds.c:584] in libgl.so.1 (0x0032f184)
  8 0x7e5313b0 in winex11 (+0x413af) (0x0032f1d4)
  9 0x7ec7dc59 wglGetProcAddress+0x68() in gdi32 (0x0032f224)
  10 0x7e89fd67 in wined3d (+0x4fd66) (0x0032f8c4)
  11 0x7e93ba03 WineDirect3DCreate+0x62() in wined3d (0x0032f904)
  12 0x7e989ced Direct3DCreate9+0x5c() in d3d9 (0x0032f934)
  13 0x005414e6 in panzers_phase_2 (+0x1414e5) (0x0032fc28)
  14 0x0040fa22 in panzers_phase_2 (+0xfa21) (0x0032fc2c)
  15 0x7b84f8f0 in kernel32 (+0x3f8ef) (0x0040fa22)

A git bisect reveals that:
1d298a3764cef6a7119524fdc8f3c0d2589d6070 is the first bad commit
commit 1d298a3764cef6a7119524fdc8f3c0d2589d6070
Author: Brian Paul <brianp@vmware.com>
Date:   Thu Jul 1 11:43:18 2010 -0600

    gallium/cso: unbind sampler views in cso_release_all()

:040000 040000 796a5692b52495fda4e234de6e234e0127177e6e e82a2161aadcfd15e892ef133438da314b462226 M	src
Comment 1 Brian Paul 2010-07-02 07:09:14 UTC
Commit e845765f0f8791a0e6c2e54b91ebf9f0e831d19f should fix this.
Please verify and close this bug if it's OK.
Comment 2 Fabio Pedretti 2010-07-02 07:20:59 UTC
Confirmed fixed.