Bug 52360

Summary: [32bit/r600-llvm] Counter Strike 1.6 segfaults on start
Product: Mesa Reporter: David Heidelberg (okias) <david>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: R600_DUMP_SHADERS.log

Description David Heidelberg (okias) 2012-07-22 15:26:39 UTC
mesa-git, libdrm-git, kernel 3.5.0-rc7, llvm-3.1-r1

glxinfo32>
OpenGL renderer string: Gallium 0.4 on AMD SUMO
OpenGL version string: 2.1 Mesa 8.1-devel (git-f96405f)
OpenGL shading language version string: 1.30

winedbg Steam_2012_07_22__15_19_03_507.mdmp>
fixme:service:scmdatabase_autostart_services Auto-start service L"SkypeUpdate" failed to start: 2
WineDbg starting on minidump on pid 0008
  hl.exe was running on #4 Intel ??? (1.0) CPUs on Windows XP (2600)
    [on wine-1.5.9, on top of Linux (3.5.0-rc7_aWeSoM3)]
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
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7b1319f6 ESP:0033a088 EBP:00000001 EFLAGS:00210206(  R- --  I   - -P- )
 EAX:0033a138 EBX:7b614ff4 ECX:00000001 EDX:7b1a80d6
 ESI:0033a0fc EDI:0033a0fc
Stack dump:
0x0033a088:  7d957ff4 00000007 f74ebeab 7d957ff4
0x0033a098:  00000000 7cd0db6c 7d95f5f4 7d8bb47f
0x0033a0a8:  00000000 7d957ff4 7b14dcf5 f7566fd4
0x0033a0b8:  0033a138 0033a0fc 00000001 7b13087a
0x0033a0c8:  0033a0fc 7b1a80d6 00000001 00000000
0x0033a0d8:  7a400537 7b614ff4 7b130849 7b614ff4
000c: sel=0067 base=00000000 limit=00000000 32-bit r--
Backtrace:
=>0 0x7b1319f6 _ZNK4llvm9StringRef17find_first_not_ofES0_j+0x16() in r600_dri.so (0x00000001)
  1 0x7b13087a _ZN4llvm8getTokenENS_9StringRefES0_+0x39() in r600_dri.so (0x00000001)
  2 0x7b130925 _ZN4llvm11SplitStringENS_9StringRefERNS_15SmallVectorImplIS0_EES0_+0x44() in r600_dri.so (0x00000001)
  3 0x7a480198 AMDILSubtarget+0x14f(this=0x7cca326c, TT={npos=0x7cd178fc, Data=*** invalid address 0x7cd178fc ***, Length=0x11}, CPU={npos=0x7b14dcf5, Data=*** invalid address 0x7b14dcf5 ***, Length=0x7}, FS={npos=0x7d95f600, Data=*** invalid address 0x7d95f600 ***, Length=0}) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/radeon/AMDILSubtarget.cpp:41] in r600_dri.so (0x0033a2b0)
  4 0x7a40281d _ZN4llvm15AMDGPUSubtargetC1ENS_9StringRefES1_S1_+0x4e() in r600_dri.so (0x0033a310)
  5 0x7a401fb1 AMDGPUTargetMachine+0xd0(this=0x7cca3238, T=0x7b61c420, TT={npos=0x7cd178fc, Data=*** invalid address 0x7cd178fc ***, Length=0x11}, CPU={npos=0x7b14dcf5, Data=*** invalid address 0x7b14dcf5 ***, Length=0x7}, FS={npos=0x7d95f600, Data=*** invalid address 0x7d95f600 ***, Length=0}, Options={PrintMachineCode=0, NoFramePointerElim=0, NoFramePointerElimNonLeaf=0x1, LessPreciseFPMADOption=0, NoExcessFPPrecision=0x1, UnsafeFPMath=0, NoInfsFPMath=0x1, NoNaNsFPMath=0x1, HonorSignDependentRoundingFPMathOption=0x1, UseSoftFloat=0x1, NoZerosInBSS=0, JITExceptionHandling=0, JITEmitDebugInfo=0, JITEmitDebugInfoToDisk=0x1, GuaranteedTailCallOpt=0, DisableTailCalls=0x1, StackAlignmentOverride=0, RealignStack=0, DisableJumpTables=0, EnableFastISel=0, PositionIndependentExecutable=0, EnableSegmentedStacks=0, TrapFuncName={npos=0x2, _M_dataplus={_M_p=""}}, FloatABIType=3384244}, RM=Default, CM=Default, OptLevel=Default) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp:54] in r600_dri.so (0x0033a370)
  6 0x7a403047 RegisterTargetMachine<llvm::AMDGPUTargetMachine>::Allocator+0xb0(T=0x7b61c420, TT={npos=0x7cd178fc, Data=*** invalid address 0x7cd178fc ***, Length=0x11}, CPU={npos=0x7b14dcf5, Data=*** invalid address 0x7b14dcf5 ***, Length=0x7}, FS={npos=0x7d95f600, Data=*** invalid address 0x7d95f600 ***, Length=0}, Options=0x33a4cc, RM=Default, CM=Default, OL=Default) [/usr/include/llvm/Support/TargetRegistry.h:1031] in r600_dri.so (0x0033a400)
  7 0x7a400b79 Target::createTargetMachine+0x7c(this=0x7b61c420, Triple={npos=0x7cd178fc, Data=*** invalid address 0x7cd178fc ***, Length=0x11}, CPU={npos=0x7b14dcf5, Data=*** invalid address 0x7b14dcf5 ***, Length=0x7}, Features={npos=0x7d95f600, Data=*** invalid address 0x7d95f600 ***, Length=0}, Options=0x33a4cc, RM=Default, CM=Default, OL=Default) [/usr/include/llvm/Support/TargetRegistry.h:348] in r600_dri.so (0x0033a440)
  8 0x7a400195 radeon_llvm_compile+0x24c(M=0x7cc74e88, bytes=0x33dbe4, byte_count=0x33dbe0, gpu_family=*** invalid address 0x7b14dcf5 ***, dump=0) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/radeon/radeon_llvm_emit.cpp:108] in r600_dri.so (0x0033a560)
  9 0x7a3fcbab r600_llvm_compile+0x4c(mod=0x7cc74e88, inst_bytes=0x33dbe4, inst_byte_count=0x33dbe0, family=CHIP_SUMO, dump=0) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/r600/r600_llvm.c:321] in r600_dri.so (0x0033a5a0)
  10 0x7a3f052e r600_shader_from_tgsi+0x337(rctx=0x7cbd77d0, pipeshader=0x7cd01e00) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/r600/r600_shader.c:1240] in r600_dri.so (0x0033eb90)
  11 0x7a3ed886 r600_pipe_shader_create+0x223(ctx=0x7cbd77d0, shader=0x7cd01e00) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/r600/r600_shader.c:139] in r600_dri.so (0x0033ec10)
  12 0x7a3d6f88 r600_shader_select+0x10b(ctx=0x7cbd77d0, sel=0x7cc30118, dirty=0x0(nil)) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/r600/r600_state_common.c:633] in r600_dri.so (0x0033ec60)
  13 0x7a3d719b r600_create_shader_state+0x80(ctx=0x7cbd77d0, state=0x33ece0, pipe_shader_type=0) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/r600/r600_state_common.c:683] in r600_dri.so (0x0033eca0)
  14 0x7a3d7220 r600_create_shader_state_vs+0x31(ctx=0x7cbd77d0, state=0x33ece0) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/r600/r600_state_common.c:699] in r600_dri.so (0x0033ecc0)
  15 0x7a72e9c9 ureg_create_shader+0x9f(ureg=0x7ccfd7d8, pipe=0x7cbd77d0, so=(nil)) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/auxiliary/tgsi/tgsi_ureg.c:1662] in r600_dri.so (0x0033ed90)
  16 0x7a74a451 ureg_create_shader_with_so_and_destroy+0x30(p=0x7ccfd7d8, pipe=0x7cbd77d0, so=(nil)) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/auxiliary/./tgsi/tgsi_ureg.h:129] in r600_dri.so (0x0033edc0)
  17 0x7a74aa6d util_make_vertex_passthrough_shader_with_so+0x105(pipe=0x7cbd77d0, num_attribs=0x2, semantic_names=0x33ef10, semantic_indexes=0x33ef08, so=(nil)) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/auxiliary/util/u_simple_shaders.c:93] in r600_dri.so (0x0033ee10)
  18 0x7a74a961 util_make_vertex_passthrough_shader+0x3f(pipe=0x7cbd77d0, num_attribs=0x2, semantic_names=0x33ef10, semantic_indexes=0x33ef08) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/auxiliary/util/u_simple_shaders.c:59] in r600_dri.so (0x0033ee40)
  19 0x7a73624a util_blitter_create+0x62b(pipe=0x7cbd77d0) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/auxiliary/util/u_blitter.c:264] in r600_dri.so (0x0033efc0)
  20 0x7a3ba390 r600_create_context+0x421(screen=0x7cb10a40, priv=0x0(nil)) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/r600/r600_pipe.c:280] in r600_dri.so (0x0033f000)
  21 0x7a4a2072 st_api_create_context+0xa5(stapi=0x7b5c7760, smapi=0x7cb107f0, attribs=0x33f11c, error=0x33f118, shared_stctxi=(nil)) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/mesa/../../src/mesa/state_tracker/st_manager.c:631] in r600_dri.so (0x0033f0f0)
  22 0x7a488102 dri_create_context+0x19c(api=API_OPENGL, visual=0x7cb135e8, cPriv=0x7cc9aa90, major_version=0x1, minor_version=0, flags=0, error=0x33f1f4, sharedContextPrivate=0x0(nil)) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/state_trackers/dri/drm/dri_context.c:110] in r600_dri.so (0x0033f160)
  23 0x7a3b5946 dri2CreateContextAttribs+0x2a9(screen=0x7cb10728, api=0, config=0x7cb135e8, shared=(nil), num_attribs=0, attribs=0x0(nil), error=0x33f1f4, data=0x7cc9b150) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/targets/dri-r600/../../../../src/mesa/drivers/dri/common/dri_util.c:260] in r600_dri.so (0x0033f1c0)
  24 0x7a3b59c6 dri2CreateNewContextForAPI+0x55(screen=0x7cb10728, api=0, config=0x7cb135e8, shared=(nil), data=0x7cc9b150) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/targets/dri-r600/../../../../src/mesa/drivers/dri/common/dri_util.c:278] in r600_dri.so (0x0033f200)
  25 0x7a3b5a0c dri2CreateNewContext+0x3f(screen=0x7cb10728, config=0x7cb135e8, shared=(nil), data=0x7cc9b150) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/targets/dri-r600/../../../../src/mesa/drivers/dri/common/dri_util.c:286] in r600_dri.so (0x0033f230)
  26 0x7da2c9c0 dri2_create_context+0xf7(base=0x7cb03c90, config_base=0x7cb229c8, shareList=(nil), renderType=0x8014) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/glx/dri2_glx.c:213] in libgl.so.1 (0x0033f270)
  27 0x7d9f3bc6 CreateContext+0x9e(dpy=0x7cabbc78, generic_id=0x131, config=0x7cb229c8, shareList_user=(nil), allowDirect=0x1, code=0x3, renderType=0x8014, screen=0) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/glx/glxcmds.c:276] in libgl.so.1 (0x0033f2b0)
  28 0x7d9f3f8c glXCreateContext+0x105(dpy=0x7cabbc78, vis=0x7cb67098, shareList=(nil), allowDirect=0x1) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/glx/glxcmds.c:381] in libgl.so.1 (0x0033f310)
  29 0x7e95a1e2 in winex11 (+0x2a1e1) (0x0033f340)
  30 0x7e95a339 in winex11 (+0x2a338) (0x0033f3a0)
  31 0x7dafec33 in opengl32 (+0x6ec32) (0x0033f3e0)
...
Comment 1 David Heidelberg (okias) 2012-07-23 14:45:56 UTC
llvm with debug, mesa with debug and still this:


fixme:service:scmdatabase_autostart_services Auto-start service L"SkypeUpdate" failed to start: 2
WineDbg starting on minidump on pid 0008
  hl.exe was running on #4 Intel ??? (1.0) CPUs on Windows XP (2600)
    [on wine-1.5.9, on top of Linux (3.5.0-rc7_aWeSoM3)]
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
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7b1319f6 ESP:0033a088 EBP:00000001 EFLAGS:00210206(  R- --  I   - -P- )
 EAX:0033a138 EBX:7b614ff4 ECX:00000001 EDX:7b1a80d6
 ESI:0033a0fc EDI:0033a0fc
Stack dump:                                                                                                                                                 
0x0033a088:  7d955ff4 00000007 f749aeab 7d955ff4                                                                                                            
0x0033a098:  00000000 7d382af4 7d95d5f4 7d8b947f                                                                                                            
0x0033a0a8:  00000000 7d955ff4 7b14dcf5 f7515fd4                                                                                                            
0x0033a0b8:  0033a138 0033a0fc 00000001 7b13087a                                                                                                            
0x0033a0c8:  0033a0fc 7b1a80d6 00000001 00000000                                                                                                            
0x0033a0d8:  7a400537 7b614ff4 7b130849 7b614ff4                                                                                                            
000c: sel=0067 base=00000000 limit=00000000 32-bit r--                                                                                                      
Backtrace:                                                                                                                                                  
=>0 0x7b1319f6 _ZNK4llvm9StringRef17find_first_not_ofES0_j+0x16() in r600_dri.so (0x00000001)                                                               
  1 0x7b13087a _ZN4llvm8getTokenENS_9StringRefES0_+0x39() in r600_dri.so (0x00000001)                                                                       
  2 0x7b130925 _ZN4llvm11SplitStringENS_9StringRefERNS_15SmallVectorImplIS0_EES0_+0x44() in r600_dri.so (0x00000001)                                        
  3 0x7a480198 AMDILSubtarget+0x14f(this=0x7d342db4, TT={npos=0x7d2de39c, Data=*** invalid address 0x7d2de39c ***, Length=0x11}, CPU={npos=0x7b14dcf5, Data=*** invalid address 0x7b14dcf5 ***, Length=0x7}, FS={npos=0x7d95d600, Data=*** invalid address 0x7d95d600 ***, Length=0}) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/radeon/AMDILSubtarget.cpp:41] in r600_dri.so (0x0033a2b0)
  4 0x7a40281d _ZN4llvm15AMDGPUSubtargetC1ENS_9StringRefES1_S1_+0x4e() in r600_dri.so (0x0033a310)
  5 0x7a401fb1 AMDGPUTargetMachine+0xd0(this=0x7d342d80, T=0x7b61c420, TT={npos=0x7d2de39c, Data=*** invalid address 0x7d2de39c ***, Length=0x11}, CPU={npos=0x7b14dcf5, Data=*** invalid address 0x7b14dcf5 ***, Length=0x7}, FS={npos=0x7d95d600, Data=*** invalid address 0x7d95d600 ***, Length=0}, Options={PrintMachineCode=0, NoFramePointerElim=0, NoFramePointerElimNonLeaf=0x1, LessPreciseFPMADOption=0, NoExcessFPPrecision=0x1, UnsafeFPMath=0, NoInfsFPMath=0x1, NoNaNsFPMath=0x1, HonorSignDependentRoundingFPMathOption=0x1, UseSoftFloat=0x1, NoZerosInBSS=0, JITExceptionHandling=0, JITEmitDebugInfo=0, JITEmitDebugInfoToDisk=0x1, GuaranteedTailCallOpt=0, DisableTailCalls=0x1, StackAlignmentOverride=0, RealignStack=0, DisableJumpTables=0, EnableFastISel=0, PositionIndependentExecutable=0, EnableSegmentedStacks=0, TrapFuncName={npos=0x2, _M_dataplus={_M_p=""}}, FloatABIType=3384244}, RM=Default, CM=Default, OptLevel=Default) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp:54] in r600_dri.so (0x0033a370)
  6 0x7a403047 RegisterTargetMachine<llvm::AMDGPUTargetMachine>::Allocator+0xb0(T=0x7b61c420, TT={npos=0x7d2de39c, Data=*** invalid address 0x7d2de39c ***, Length=0x11}, CPU={npos=0x7b14dcf5, Data=*** invalid address 0x7b14dcf5 ***, Length=0x7}, FS={npos=0x7d95d600, Data=*** invalid address 0x7d95d600 ***, Length=0}, Options=0x33a4cc, RM=Default, CM=Default, OL=Default) [/usr/include/llvm/Support/TargetRegistry.h:1031] in r600_dri.so (0x0033a400)
  7 0x7a400b79 Target::createTargetMachine+0x7c(this=0x7b61c420, Triple={npos=0x7d2de39c, Data=*** invalid address 0x7d2de39c ***, Length=0x11}, CPU={npos=0x7b14dcf5, Data=*** invalid address 0x7b14dcf5 ***, Length=0x7}, Features={npos=0x7d95d600, Data=*** invalid address 0x7d95d600 ***, Length=0}, Options=0x33a4cc, RM=Default, CM=Default, OL=Default) [/usr/include/llvm/Support/TargetRegistry.h:348] in r600_dri.so (0x0033a440)
  8 0x7a400195 radeon_llvm_compile+0x24c(M=0x7d2950e0, bytes=0x33dbe4, byte_count=0x33dbe0, gpu_family=*** invalid address 0x7b14dcf5 ***, dump=0) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/radeon/radeon_llvm_emit.cpp:108] in r600_dri.so (0x0033a560)
  9 0x7a3fcbab r600_llvm_compile+0x4c(mod=0x7d2950e0, inst_bytes=0x33dbe4, inst_byte_count=0x33dbe0, family=CHIP_SUMO, dump=0) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/r600/r600_llvm.c:321] in r600_dri.so (0x0033a5a0)
  10 0x7a3f052e r600_shader_from_tgsi+0x337(rctx=0x7d2e5428, pipeshader=0x7d41e990) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/r600/r600_shader.c:1240] in r600_dri.so (0x0033eb90)
  11 0x7a3ed886 r600_pipe_shader_create+0x223(ctx=0x7d2e5428, shader=0x7d41e990) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/r600/r600_shader.c:139] in r600_dri.so (0x0033ec10)
  12 0x7a3d6f88 r600_shader_select+0x10b(ctx=0x7d2e5428, sel=0x7d33e118, dirty=0x0(nil)) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/r600/r600_state_common.c:633] in r600_dri.so (0x0033ec60)
  13 0x7a3d719b r600_create_shader_state+0x80(ctx=0x7d2e5428, state=0x33ece0, pipe_shader_type=0) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/r600/r600_state_common.c:683] in r600_dri.so (0x0033eca0)
  14 0x7a3d7220 r600_create_shader_state_vs+0x31(ctx=0x7d2e5428, state=0x33ece0) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/r600/r600_state_common.c:699] in r600_dri.so (0x0033ecc0)
  15 0x7a72e9c9 ureg_create_shader+0x9f(ureg=0x7d26b9c8, pipe=0x7d2e5428, so=(nil)) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/auxiliary/tgsi/tgsi_ureg.c:1662] in r600_dri.so (0x0033ed90)
  16 0x7a74a451 ureg_create_shader_with_so_and_destroy+0x30(p=0x7d26b9c8, pipe=0x7d2e5428, so=(nil)) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/auxiliary/./tgsi/tgsi_ureg.h:129] in r600_dri.so (0x0033edc0)
  17 0x7a74aa6d util_make_vertex_passthrough_shader_with_so+0x105(pipe=0x7d2e5428, num_attribs=0x2, semantic_names=0x33ef10, semantic_indexes=0x33ef08, so=(nil)) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/auxiliary/util/u_simple_shaders.c:93] in r600_dri.so (0x0033ee10)
  18 0x7a74a961 util_make_vertex_passthrough_shader+0x3f(pipe=0x7d2e5428, num_attribs=0x2, semantic_names=0x33ef10, semantic_indexes=0x33ef08) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/auxiliary/util/u_simple_shaders.c:59] in r600_dri.so (0x0033ee40)
  19 0x7a73624a util_blitter_create+0x62b(pipe=0x7d2e5428) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/auxiliary/util/u_blitter.c:264] in r600_dri.so (0x0033efc0)
  20 0x7a3ba390 r600_create_context+0x421(screen=0x7d21ea28, priv=0x0(nil)) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/drivers/r600/r600_pipe.c:280] in r600_dri.so (0x0033f000)
  21 0x7a4a2072 st_api_create_context+0xa5(stapi=0x7b5c7760, smapi=0x7d21e7d8, attribs=0x33f11c, error=0x33f118, shared_stctxi=(nil)) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/mesa/../../src/mesa/state_tracker/st_manager.c:631] in r600_dri.so (0x0033f0f0)
  22 0x7a488102 dri_create_context+0x19c(api=API_OPENGL, visual=0x7d2215d0, cPriv=0x7d458fb8, major_version=0x1, minor_version=0, flags=0, error=0x33f1f4, sharedContextPrivate=0x0(nil)) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/state_trackers/dri/drm/dri_context.c:110] in r600_dri.so (0x0033f160)
  23 0x7a3b5946 dri2CreateContextAttribs+0x2a9(screen=0x7d21e710, api=0, config=0x7d2215d0, shared=(nil), num_attribs=0, attribs=0x0(nil), error=0x33f1f4, data=0x7d3d2f58) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/targets/dri-r600/../../../../src/mesa/drivers/dri/common/dri_util.c:260] in r600_dri.so (0x0033f1c0)
  24 0x7a3b59c6 dri2CreateNewContextForAPI+0x55(screen=0x7d21e710, api=0, config=0x7d2215d0, shared=(nil), data=0x7d3d2f58) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/targets/dri-r600/../../../../src/mesa/drivers/dri/common/dri_util.c:278] in r600_dri.so (0x0033f200)
  25 0x7a3b5a0c dri2CreateNewContext+0x3f(screen=0x7d21e710, config=0x7d2215d0, shared=(nil), data=0x7d3d2f58) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/gallium/targets/dri-r600/../../../../src/mesa/drivers/dri/common/dri_util.c:286] in r600_dri.so (0x0033f230)
  26 0x7da2a9c0 dri2_create_context+0xf7(base=0x7d211c78, config_base=0x7d2309b0, shareList=(nil), renderType=0x8014) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/glx/dri2_glx.c:213] in libgl.so.1 (0x0033f270)
  27 0x7d9f1bc6 CreateContext+0x9e(dpy=0x7d1c9c78, generic_id=0x131, config=0x7d2309b0, shareList_user=(nil), allowDirect=0x1, code=0x3, renderType=0x8014, screen=0) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/glx/glxcmds.c:276] in libgl.so.1 (0x0033f2b0)
  28 0x7d9f1f8c glXCreateContext+0x105(dpy=0x7d1c9c78, vis=0x7d3acde0, shareList=(nil), allowDirect=0x1) [/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/glx/glxcmds.c:381] in libgl.so.1 (0x0033f310)
  29 0x7e94c1e2 in winex11 (+0x2c1e1) (0x0033f340)
  30 0x7e94c339 in winex11 (+0x2c338) (0x0033f3a0)
  31 0x7dafcc33 in opengl32 (+0x6cc32) (0x0033f3e0)
  32 0x7de9a00a in wined3d (+0x2a009) (0x0033f470)
  33 0x7df3bfcb in wined3d (+0xcbfca) (0x0033f5f0)
  34 0x7df3c530 wined3d_swapchain_create+0x6f() in wined3d (0x0033f640)
  35 0x7dfb5075 in ddraw (+0x5074) (0x0033f670)
  36 0x7dea91c7 wined3d_device_init_3d+0x106() in wined3d (0x0033f710)
  37 0x7dfbe593 in ddraw (+0xe592) (0x0033f7d0)
  38 0x7dfbdd2d in ddraw (+0xdd2c) (0x0033f800)
  39 0x7dfbe037 in ddraw (+0xe036) (0x0033f840)
  40 0x008b16a9 in sw (+0xb16a8) (0x0033f870)
  41 0x008b07e0 in sw (+0xb07df) (0x0033f884)
  42 0x008aeb37 in sw (+0xaeb36) (0x0033f8bc)
Comment 2 David Heidelberg (okias) 2012-12-21 18:17:24 UTC
Created attachment 71943 [details]
R600_DUMP_SHADERS.log

R600_DUMP_SHADERS=1

new kernel 3.7.1, mesa-git, llvm-git and still same problem
Comment 3 David Heidelberg (okias) 2013-05-03 21:10:53 UTC
kernel 3.7-3.9, drm-git, llvm-git, mesa-git.

Maybe it fixed some build change, fix in llvm or new gcc 4.8.

Fixed for me.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.