[Bug 28412] New: Thief 2 crashes in wine with the open source driver and not with fglrx

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 6 17:09:04 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=28412

           Summary: Thief 2 crashes in wine with the open source driver
                    and not with fglrx
           Product: Mesa
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/R600
        AssignedTo: dri-devel at lists.freedesktop.org
        ReportedBy: i30817 at gmail.com


Reproducing this from root is difficult, since there is another bug in the open
source driver that caused people not to use it to play this game. This the the 
http://bugs.winehq.org/show_bug.cgi?id=22427

However i encountered another bug when using the fglrx drivers:
http://bugs.winehq.org/show_bug.cgi?id=17900 
(name paulo in those comments)
And tried to see with a saved game at the right moment if it worked with the
open source driver to see if it was fglrx related.
It did work (with the normal in game black screen to the mission end menu) but
crashed at r600_dri.so as soon as i tried to enter a new level from that menu.

If i use the fglrx driver the situation is reversed with the black screen at
the menu - that can be overcome if you can click the right buttons in the dark.

The crash with the open source driver was this:
"wine: Unhandled page fault on read access to 0x7c9cb000 at address 0x7e1b5422
(thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x7c9cb000 in 32-bit code
(0x7e1b5422).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7e1b5422 ESP:0032a244 EBP:0032a2ac EFLAGS:00010202(  R- --  I   - - - )
 EAX:7c9caffd EBX:7e3b8ff4 ECX:0012bf00 EDX:76fd3a04
 ESI:00ffffff EDI:00000000
Stack dump:
0x0032a244:  000001df 0032a28c 0032a290 0032a288
0x0032a254:  0032a284 00000000 00000000 7e3b8ff4
0x0032a264:  00000001 00000000 00000280 000001df
0x0032a274:  000001df 00000000 0000027f 76fd3a04
0x0032a284:  00000000 00000000 7d48fc94 00000001
0x0032a294:  00000000 00000000 00000000 7e3b8ff4
Backtrace:
=>0 0x7e1b5422 in r600_dri.so (+0x5b422) (0x0032a2ac)
  1 0x7e28a8cb in r600_dri.so (+0x1308ca) (0x0032f33c)
  2 0x7e28ab36 _swrast_ReadPixels+0x225() in r600_dri.so (0x0032f39c)
  3 0x7e2bcc92 in r600_dri.so (+0x162c91) (0x0032f42c)
  4 0x7e222d90 _mesa_CopyTexImage2D+0x1bf() in r600_dri.so (0x0032f49c)
  5 0x7e53e957 in wined3d (+0xce956) (0x0032f52c)
  6 0x7e4dabd4 in wined3d (+0x6abd3) (0x0032f8dc)
  7 0x7e4acd8c in wined3d (+0x3cd8b) (0x0032f92c)
  8 0x7e5c00a4 in ddraw (+0x200a3) (0x0032f98c)
  9 0x7e5c019c in ddraw (+0x2019b) (0x0032f9ac)
  10 0x7e5b867c in ddraw (+0x1867b) (0x0032fa0c)
  11 0x005c3664 in thief2 (+0x1c3663) (0x00000004)
  12 0x00000000 (0x00000000)
0x7e1b5422: movl    0x0(%eax),%esi
Modules:
Module    Address            Debug info    Name (112 modules)
PE      400000-  7db000    Export          thief2
PE     6070000- 6094000    Deferred        convict.osm
PE     62b0000- 636e000    Deferred        ir50_32
PE    10000000-1006f000    Deferred        witch.osm
PE    1d240000-1d292000    Deferred        lgvid.ax
PE    68780000-687ef000    Deferred        tnhscript.osm
ELF    7b800000-7b93c000    Deferred        kernel32<elf>
  \-PE    7b810000-7b93c000    \               kernel32
ELF    7bc00000-7bcb8000    Deferred        ntdll<elf>
  \-PE    7bc10000-7bcb8000    \               ntdll
ELF    7be7f000-7bf00000    Deferred        msvcrt<elf>
  \-PE    7be90000-7bf00000    \               msvcrt
ELF    7bf00000-7bf04000    Deferred        <wine-loader>
ELF    7bf73000-7bf9e000    Deferred        msvcrt40<elf>
  \-PE    7bf80000-7bf9e000    \               msvcrt40
ELF    7bf9e000-7c000000    Deferred        shlwapi<elf>
  \-PE    7bfb0000-7c000000    \               shlwapi
ELF    7c024000-7c10c000    Deferred        oleaut32<elf>
  \-PE    7c040000-7c10c000    \               oleaut32
ELF    7c10c000-7c1f5000    Deferred        comctl32<elf>
  \-PE    7c120000-7c1f5000    \               comctl32
ELF    7c3b8000-7c3cd000    Deferred        avicap32<elf>
  \-PE    7c3c0000-7c3cd000    \               avicap32
ELF    7c3cd000-7c481000    Deferred        quartz<elf>
  \-PE    7c3e0000-7c481000    \               quartz
ELF    7c620000-7c642000    Deferred        devenum<elf>
  \-PE    7c630000-7c642000    \               devenum
ELF    7c642000-7c676000    Deferred        uxtheme<elf>
  \-PE    7c650000-7c676000    \               uxtheme
ELF    7c68b000-7c6b1000    Deferred        msvfw32<elf>
  \-PE    7c690000-7c6b1000    \               msvfw32
ELF    7d4fa000-7d510000    Deferred        midimap<elf>
  \-PE    7d500000-7d510000    \               midimap
ELF    7d510000-7d536000    Deferred        msacm32<elf>
  \-PE    7d520000-7d536000    \               msacm32
ELF    7dd37000-7dd3e000    Deferred        libasound_module_pcm_pulse.so
ELF    7dd3e000-7dd67000    Deferred        libvorbis.so.0
ELF    7dd67000-7de63000    Deferred        libvorbisenc.so.2
ELF    7de63000-7deb0000    Deferred        libflac.so.8
ELF    7deb0000-7dee9000    Deferred        libdbus-1.so.3
ELF    7deee000-7def5000    Deferred        libogg.so.0
ELF    7def5000-7df5d000    Deferred        libsndfile.so.1
ELF    7df5d000-7dfa8000    Deferred        libpulsecommon-0.9.21.so
ELF    7dfa8000-7dfea000    Deferred        libpulse.so.0
ELF    7dfee000-7dff7000    Deferred        libwrap.so.0
ELF    7dff7000-7e005000    Deferred        libxi.so.6
ELF    7e005000-7e00b000    Deferred        libxtst.so.6
ELF    7e00e000-7e0d6000    Deferred        libasound.so.2
ELF    7e0d6000-7e10d000    Deferred        winealsa<elf>
  \-PE    7e0e0000-7e10d000    \               winealsa
ELF    7e10d000-7e155000    Deferred        dsound<elf>
  \-PE    7e110000-7e155000    \               dsound
ELF    7e155000-7e15a000    Deferred        libdrm_radeon.so.1
ELF    7e15a000-7e3ca000    Export          r600_dri.so
ELF    7e3ca000-7e3d3000    Deferred        librt.so.1
ELF    7e3d3000-7e3de000    Deferred        libdrm.so.2
ELF    7e3de000-7e443000    Deferred        libgl.so.1
ELF    7e447000-7e460000    Deferred        msacm32<elf>
  \-PE    7e450000-7e460000    \               msacm32
ELF    7e460000-7e599000    Export          wined3d<elf>
  \-PE    7e470000-7e599000    \               wined3d
ELF    7e599000-7e5f1000    Export          ddraw<elf>
  \-PE    7e5a0000-7e5f1000    \               ddraw
ELF    7e5f1000-7e610000    Deferred        libgcc_s.so.1
ELF    7e610000-7e649000    Deferred        dinput<elf>
  \-PE    7e620000-7e649000    \               dinput
ELF    7e65f000-7e669000    Deferred        libxcursor.so.1
ELF    7e669000-7e66f000    Deferred        libxfixes.so.3
ELF    7e66f000-7e673000    Deferred        libxcomposite.so.1
ELF    7e673000-7e67b000    Deferred        libxrandr.so.2
ELF    7e67b000-7e685000    Deferred        libxrender.so.1
ELF    7e685000-7e68b000    Deferred        libxxf86vm.so.1
ELF    7e68b000-7e68f000    Deferred        libxinerama.so.1
ELF    7e68f000-7e6b1000    Deferred        imm32<elf>
  \-PE    7e6a0000-7e6b1000    \               imm32
ELF    7e6b1000-7e6b7000    Deferred        libxdmcp.so.6
ELF    7e6b7000-7e6bb000    Deferred        libxau.so.6
ELF    7e6bb000-7e6d5000    Deferred        libxcb.so.1
ELF    7e6d5000-7e7f2000    Deferred        libx11.so.6
ELF    7e7f2000-7e802000    Deferred        libxext.so.6
ELF    7e802000-7e81b000    Deferred        libice.so.6
ELF    7e81b000-7e824000    Deferred        libsm.so.6
ELF    7e824000-7e828000    Deferred        libxdamage.so.1
ELF    7e841000-7e8e3000    Deferred        winex11<elf>
  \-PE    7e850000-7e8e3000    \               winex11
ELF    7e937000-7e95e000    Deferred        libexpat.so.1
ELF    7e95e000-7e98e000    Deferred        libfontconfig.so.1
ELF    7e98e000-7ea04000    Deferred        libfreetype.so.6
ELF    7ea04000-7ea09000    Deferred        libuuid.so.1
ELF    7ea21000-7eb21000    Deferred        ole32<elf>
  \-PE    7ea40000-7eb21000    \               ole32
ELF    7eb21000-7eba9000    Deferred        winmm<elf>
  \-PE    7eb30000-7eba9000    \               winmm
ELF    7eba9000-7ec1d000    Deferred        rpcrt4<elf>
  \-PE    7ebc0000-7ec1d000    \               rpcrt4
ELF    7ec1d000-7ec77000    Deferred        advapi32<elf>
  \-PE    7ec30000-7ec77000    \               advapi32
ELF    7ec77000-7ed02000    Deferred        gdi32<elf>
  \-PE    7ec80000-7ed02000    \               gdi32
ELF    7ed02000-7ee33000    Deferred        user32<elf>
  \-PE    7ed10000-7ee33000    \               user32
ELF    7ef90000-7ef9c000    Deferred        libnss_files.so.2
ELF    7ef9c000-7efa6000    Deferred        libnss_nis.so.2
ELF    7efa6000-7efbd000    Deferred        libnsl.so.1
ELF    7efbd000-7efe3000    Deferred        libm.so.6
ELF    7efe6000-7effb000    Deferred        libz.so.1
ELF    f74c8000-f74cc000    Deferred        libdl.so.2
ELF    f74cc000-f7626000    Deferred        libc.so.6
ELF    f7627000-f7640000    Deferred        libpthread.so.0
ELF    f7655000-f765d000    Deferred        libnss_compat.so.2
ELF    f765d000-f779d000    Deferred        libwine.so.1
ELF    f779f000-f77bd000    Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\home\paulo\Desktop\Thief2\thief2.exe
    00000030   15
    0000002f   15
    00000020    0
    00000009    0 <==
0000000e services.exe
    0000001c    0
    00000014    0
    00000010    0
    0000000f    0
00000011 winedevice.exe
    00000018    0
    00000017    0
    00000013    0
    00000012    0
00000019 winedevice.exe
    0000001d    0
    0000001b    0
    0000001a    0
0000001e explorer.exe
    0000001f    0
Backtrace:
=>0 0x7e1b5422 in r600_dri.so (+0x5b422) (0x0032a2ac)
  1 0x7e28a8cb in r600_dri.so (+0x1308ca) (0x0032f33c)
  2 0x7e28ab36 _swrast_ReadPixels+0x225() in r600_dri.so (0x0032f39c)
  3 0x7e2bcc92 in r600_dri.so (+0x162c91) (0x0032f42c)
  4 0x7e222d90 _mesa_CopyTexImage2D+0x1bf() in r600_dri.so (0x0032f49c)
  5 0x7e53e957 in wined3d (+0xce956) (0x0032f52c)
  6 0x7e4dabd4 in wined3d (+0x6abd3) (0x0032f8dc)
  7 0x7e4acd8c in wined3d (+0x3cd8b) (0x0032f92c)
  8 0x7e5c00a4 in ddraw (+0x200a3) (0x0032f98c)
  9 0x7e5c019c in ddraw (+0x2019b) (0x0032f9ac)
  10 0x7e5b867c in ddraw (+0x1867b) (0x0032fa0c)
  11 0x005c3664 in thief2 (+0x1c3663) (0x00000004)
  12 0x00000000 (0x00000000)
fixme:d3d7:IDirect3DDeviceImpl_7_Release Material handle 1 not unset properly
fixme:winmm:MMDRV_Exit Closing while ll-driver open
err:mmtime:TIME_MMTimeStop Timer still active?!
"

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list