[Bug 44466] New: Assertion 'LLVMOffsetOfElement' when running Furmark with wine

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 4 14:49:10 PST 2012


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

             Bug #: 44466
           Summary: Assertion 'LLVMOffsetOfElement' when running Furmark
                    with wine
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel at lists.freedesktop.org
        ReportedBy: lordheavym at gmail.com


* Mesa (32 bit under 64 os) from git built with llvm 3.0
* Radeon HD 4850
* Last wine version

Mesa is built with llvm 3.0, the bug doesn't seem to occur with llvm 2.9

Here is the output:
[lordh at archMain FurMark_1.9.2]$ wine FurMark.exe 
err:module:load_builtin_dll failed to load .so lib for builtin L"winemp3.acm":
libmpg123.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou
dossier de ce type
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:win:EnumDisplayDevicesW ((null),0,0x33eaf0,0x00000000), stub!
err:wgl:X11DRV_wglGetPixelFormatAttribivARB (0x3b0): unexpected iPixelFormat(0)
vs nFormats(175), returns FALSE
Mesa: User error: GL_INVALID_ENUM in
glGetIntegerv(pname=GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS)
fixme:win:EnumDisplayDevicesW ((null),0,0x33e4c4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x33e4c4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33ec98,0x00000000), stub!
err:wgl:X11DRV_wglGetPixelFormatAttribivARB (0x3cc): unexpected iPixelFormat(0)
vs nFormats(175), returns FALSE
Mesa: User error: GL_INVALID_ENUM in
glGetIntegerv(pname=GL_MAX_GEOMETRY_UNIFORM_COMPONENTS)
fixme:win:EnumDisplayDevicesW ((null),0,0xf0e28c,0x00000000), stub!
err:wgl:X11DRV_wglGetPixelFormatAttribivARB (0x710): unexpected iPixelFormat(0)
vs nFormats(175), returns FALSE
Mesa: User error: GL_INVALID_ENUM in
glGetIntegerv(pname=GL_MAX_GEOMETRY_UNIFORM_COMPONENTS)
draw/draw_llvm.c:160:create_jit_texture_type: Assertion
`LLVMOffsetOfElement(target, texture_type, DRAW_JIT_TEXTURE_DATA) ==
__builtin_offsetof (struct draw_jit_texture, data)' failed.
wine: Unhandled exception 0x80000003 at address 0x7cb9cfea (thread 0025),
starting debugger...
fixme:dbghelp_dwarf:dwarf2_lookup_type Unable to load forward reference for tag
1f
fixme:dbghelp_dwarf:dwarf2_lookup_type Unable to load forward reference for tag
1f
fixme:dbghelp_dwarf:dwarf2_lookup_type Unable to load forward reference for tag
1f
fixme:dbghelp_dwarf:compute_location Only supporting one breg (ecx/18 ->
eax/17)
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9d
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9d
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9d
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9d
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9d
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9d
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9d
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9d
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9d
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9d
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9d
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9e
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9d
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9d
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9d
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9d
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9d
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 9d
_debug_assert_fail () at
/build/src/build/src/gallium/auxiliary/util/u_debug.c:278                       
0x7cb9cfea _debug_assert_fail+0x57
[/build/src/build/src/gallium/auxiliary/util/u_debug.c:278] in r600_dri.so: int
     $3                                                       
Unable to access file '/build/src/build/src/gallium/auxiliary/util/u_debug.c'   
Modules:                                                                        
Module  Address                 Debug info      Name (91 modules)               
PE        400000-  7db000       Deferred        furmark                         
PE        7e0000-  9c5000       Deferred        freeimage                       
PE      10000000-1022e000       Deferred        core3d                          
ELF     7b800000-7b9c4000       Deferred        kernel32<elf>                   
  \-PE  7b810000-7b9c4000       \               kernel32                        
ELF     7bc00000-7bcd2000       Deferred        ntdll<elf>                      
  \-PE  7bc10000-7bcd2000       \               ntdll                           
ELF     7bdc5000-7be00000       Deferred        usp10<elf>
  \-PE  7bdd0000-7be00000       \               usp10
ELF     7bf00000-7bf04000       Deferred        <wine-loader>
ELF     7c2d9000-7c400000       Deferred        libglsl.so
ELF     7c4b7000-7c742000       Deferred        libdricore.so
ELF     7c77d000-7db57000       Dwarf           r600_dri.so
ELF     7db57000-7db8d000       Deferred        uxtheme<elf>
  \-PE  7db60000-7db8d000       \               uxtheme
ELF     7dc2f000-7dc58000       Deferred        libexpat.so.1
ELF     7dc58000-7dc86000       Deferred        libfontconfig.so.1
ELF     7dc86000-7dc96000       Deferred        libxi.so.6
ELF     7dca1000-7dca6000       Deferred        libtxc_dxtn.so
ELF     7dca6000-7dcad000       Deferred        libffi.so.5
ELF     7dcad000-7dcb8000       Deferred        libxcursor.so.1
ELF     7ddd1000-7de81000       Deferred        winex11<elf>
  \-PE  7dde0000-7de81000       \               winex11
ELF     7de81000-7df1d000       Deferred        libfreetype.so.6
ELF     7df2b000-7df34000       Deferred        libxrandr.so.2
ELF     7df34000-7df58000       Deferred        imm32<elf>
  \-PE  7df40000-7df58000       \               imm32
ELF     7df58000-7df8c000       Deferred        ws2_32<elf>
  \-PE  7df60000-7df8c000       \               ws2_32
ELF     7df8c000-7dfff000       Deferred        shlwapi<elf>
  \-PE  7dfa0000-7dfff000       \               shlwapi
ELF     7dfff000-7e22a000       Deferred        shell32<elf>
  \-PE  7e010000-7e22a000       \               shell32
ELF     7e22a000-7e256000       Deferred        msvfw32<elf>
  \-PE  7e230000-7e256000       \               msvfw32
ELF     7e293000-7e296000       Deferred        libxcomposite.so.1
ELF     7e296000-7e29e000       Deferred        libxrender.so.1
ELF     7e29e000-7e2a1000       Deferred        libxinerama.so.1
ELF     7e2a1000-7e2b6000       Deferred        libz.so.1
ELF     7e2b6000-7e2d9000       Deferred        iphlpapi<elf>
  \-PE  7e2c0000-7e2d9000       \               iphlpapi
ELF     7e2d9000-7e356000       Deferred        rpcrt4<elf>
  \-PE  7e2e0000-7e356000       \               rpcrt4
ELF     7e356000-7e47d000       Deferred        ole32<elf>
  \-PE  7e370000-7e47d000       \               ole32
ELF     7e47d000-7e526000       Deferred        winmm<elf>
  \-PE  7e480000-7e526000       \               winmm
ELF     7e526000-7e52c000       Deferred        libuuid.so.1
ELF     7e52c000-7e543000       Deferred        libice.so.6
ELF     7e543000-7e54a000       Deferred        libsm.so.6
ELF     7e54a000-7e620000       Deferred        opengl32<elf>
  \-PE  7e560000-7e620000       \               opengl32
ELF     7e620000-7e629000       Deferred        librt.so.1
ELF     7e629000-7e62e000       Deferred        libxdmcp.so.6
ELF     7e62e000-7e63b000       Deferred        libdrm.so.2
ELF     7e63b000-7e653000       Deferred        libxcb.so.1
ELF     7e653000-7e664000       Deferred        libxcb-glx.so.0
ELF     7e664000-7e79c000       Deferred        libx11.so.6
ELF     7e79c000-7e7af000       Deferred        libxext.so.6
ELF     7e7af000-7e7dc000       Deferred        libglapi.so.0
ELF     7e7dc000-7e7f7000       Deferred        libgcc_s.so.1
ELF     7e8e0000-7e937000       Deferred        libgl.so.1
ELF     7e937000-7e9a4000       Deferred        libglu.so.1
ELF     7e9a5000-7e9b5000       Deferred        libbz2.so.1.0
ELF     7e9b5000-7e9df000       Deferred        msacm32<elf>
  \-PE  7e9c0000-7e9df000       \               msacm32
ELF     7ea04000-7eacd000       Deferred        gdi32<elf>
  \-PE  7ea10000-7eacd000       \               gdi32
ELF     7eacd000-7ec1f000       Deferred        user32<elf>
  \-PE  7eae0000-7ec1f000       \               user32
ELF     7ec1f000-7ed21000       Deferred        comctl32<elf>
  \-PE  7ec30000-7ed21000       \               comctl32
ELF     7ed21000-7ed8a000       Deferred        advapi32<elf>
  \-PE  7ed30000-7ed8a000       \               advapi32
ELF     7ef8a000-7ef97000       Deferred        libnss_files.so.2
ELF     7ef97000-7efc5000       Deferred        libm.so.6
ELF     7efc6000-7efc9000       Deferred        libxau.so.6
ELF     7efc9000-7efce000       Deferred        libxxf86vm.so.1
ELF     7efce000-7efe6000       Deferred        glu32<elf>
  \-PE  7efd0000-7efe6000       \               glu32
ELF     7efe6000-7f000000       Deferred        version<elf>
  \-PE  7eff0000-7f000000       \               version
ELF     f7482000-f7485000       Deferred        libx11-xcb.so.1
ELF     f7487000-f748c000       Deferred        libdl.so.2
ELF     f748c000-f762f000       Deferred        libc.so.6
ELF     f762f000-f764a000       Deferred        libpthread.so.0
ELF     f764a000-f7650000       Deferred        libxfixes.so.3
ELF     f7682000-f7685000       Deferred        libxdamage.so.1
ELF     f7685000-f77c8000       Dwarf           libwine.so.1
ELF     f77c9000-f77eb000       Deferred        ld-linux.so.2
ELF     f77eb000-f77ec000       Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files\Geeks3D\Benchmarks\FurMark_1.9.2\FurMark.exe
        00000025    0 <==
        00000009    0
0000000e services.exe
        0000001f    0
        0000001e    0
        00000019    0
        00000018    0
        00000017    0
        00000015    0
        00000010    0
        0000000f    0
00000012 winedevice.exe
        0000001a    0
        00000014    0
        00000013    0
0000001b plugplay.exe
        00000020    0
        0000001d    0
        0000001c    0
00000021 explorer.exe
        00000022    0
Backtrace:
=>0 0x7cb9cfea _debug_assert_fail+0x57(expr="LLVMOffsetOfElement(target,
texture_type, DRAW_JIT_TEXTURE_DATA) == __builtin_offsetof (struct
draw_jit_texture, data)", file="draw/draw_llvm.c", line=0xa0,
function="create_jit_texture_type")
[/build/src/build/src/gallium/auxiliary/util/u_debug.c:278] in r600_dri.so
(0x7c2b1744)
  1 0x7cc095a2 create_jit_types+0x315(llvm=0x7bbf9510)
[/build/src/build/src/gallium/auxiliary/draw/draw_llvm.c:158] in r600_dri.so
(0x7c2b1744)
  2 0x7cc0a312 draw_llvm_generate+0x106(llvm=0x7bbf9510, variant=0x7baa3af0,
elts=0) [/build/src/build/src/gallium/auxiliary/draw/draw_llvm.c:344] in
r600_dri.so (0x7c285518)
  3 0x7cc0cebd draw_llvm_create_variant+0x1d0(llvm=0x7bbf9510, num_inputs=0x3,
key=0xf0de60) [/build/src/build/src/gallium/auxiliary/draw/draw_llvm.c:447] in
r600_dri.so (0x783fc1e8)
  4 0x7cc0f971 llvm_middle_end_prepare+0x326(middle=0x7c28c9a0, in_prim=0,
opt=0x7, max_vertices=0x7ba6fe44)
[/build/src/build/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:174]
in r600_dri.so (0x00000000)
draw/draw_llvm.c:163:create_jit_texture_type: Assertion
`LLVMOffsetOfElement(target, texture_type, DRAW_JIT_TEXTURE_MIN_LOD) ==
__builtin_offsetof (struct draw_jit_texture, min_lod)' failed.
err:ntdll:RtlpWaitForCriticalSection section 0x7de7c2a0
"../../../wine/dlls/winex11.drv/x11drv_main.c: X11DRV_CritSection" wait timed
out in thread 0009, blocked by 0025, retrying (60 sec)

-- 
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