Bug 76484 - [radeonsi] Strike Suit Zero fail to start
Summary: [radeonsi] Strike Suit Zero fail to start
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 77449
  Show dependency treegraph
 
Reported: 2014-03-22 17:20 UTC by Laurent carlier
Modified: 2019-09-25 17:50 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Laurent carlier 2014-03-22 17:20:30 UTC
* mesa-git
 OpenGL renderer string: Gallium 0.4 on AMD PITCAIRN
 OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.2.0-devel (git-e5f6b6d)
* llvm-3.5svn

Game is segfaulting when started

the backtrace:
(gdb) bt
#0  0xf7fdb425 in __kernel_vsyscall ()
#1  0xf7930816 in raise () from /usr/lib32/libc.so.6
#2  0xf7931fa3 in abort () from /usr/lib32/libc.so.6
#3  0x083f80c5 in mspace_free (msp=0xd9683018, mem=0xbfde728) at ../XII/Code/Core/Memory/dlmalloc.cpp:5700
#4  0x083f474b in cDynamicPartition::Free (this=0xbf4dd80, lpMem=0xbfde728) at ../XII/Code/Core/Memory/Partition.cpp:645
#5  0x083f37d9 in CustomDelete (ptr=0xbfde728) at ../XII/Code/Core/Memory/MemoryManager.cpp:995
#6  CustomDelete (ptr=0xbfde728) at ../XII/Code/Core/Memory/MemoryManager.cpp:979
#7  0x083f386f in operator delete (ptr=0xbfde728) at ../XII/Code/Core/Memory/MemoryManager.cpp:1036
#8  0xd4a7186c in ?? () from /usr/lib32/libLLVM-3.5.0svn.so
#9  0xd3fdfd33 in LLVMDisposeMemoryBuffer () from /usr/lib32/libLLVM-3.5.0svn.so
#10 0xd60075d6 in radeon_llvm_compile (M=M@entry=0xd9684170, binary=binary@entry=0xffff81b0, gpu_family=0xd60e916d "pitcairn", dump=dump@entry=0) at radeon_llvm_emit.c:132
#11 0xd5ff1480 in si_compile_llvm (sctx=sctx@entry=0xbf95e10, shader=shader@entry=0xbfdb218, mod=0xd9684170) at si_shader.c:2302
#12 0xd5ff1d45 in si_pipe_shader_create (ctx=ctx@entry=0xbf95e10, shader=shader@entry=0xbfdb218) at si_shader.c:2577
#13 0xd5ff7ddc in si_shader_select (ctx=ctx@entry=0xbf95e10, sel=sel@entry=0xbfdb0d8) at si_state.c:2114
#14 0xd5ff7f0b in si_create_shader_state (ctx=0xbf95e10, state=0xffffcba8, pipe_shader_type=1) at si_state.c:2146
#15 0xd5eef7a1 in ureg_create_shader (ureg=ureg@entry=0xbfbfe80, pipe=pipe@entry=0xbf95e10, so=so@entry=0x0) at tgsi/tgsi_ureg.c:1719
#16 0xd5f1b9a2 in ureg_create_shader_with_so_and_destroy (so=0x0, pipe=0xbf95e10, p=0xbfbfe80) at ./tgsi/tgsi_ureg.h:138
#17 ureg_create_shader_and_destroy (pipe=0xbf95e10, p=0xbfbfe80) at ./tgsi/tgsi_ureg.h:147
#18 util_make_empty_fragment_shader (pipe=pipe@entry=0xbf95e10) at util/u_simple_shaders.c:392
#19 0xd5f000bb in util_blitter_create (pipe=pipe@entry=0xbf95e10) at util/u_blitter.c:294
#20 0xd5feb88f in si_create_context (screen=0xbf95948, priv=0x0) at si_pipe.c:173
#21 0xd5febc3d in radeonsi_screen_create (ws=ws@entry=0xbf95328) at si_pipe.c:458
#22 0xd5c81098 in create_screen (fd=5) at drm_target.c:43
#23 0xd600c5bc in dri2_init_screen (sPriv=0xbf95198) at dri2.c:1088
#24 0xd5c822b6 in driCreateNewScreen2 (scrn=0, fd=5, extensions=0xbf71708, driver_extensions=0xd619be24 <__driDriverExtensions>, driver_configs=0xffffd0c0, data=0xbf71750) at dri_util.c:159
#25 0xf7f53b63 in dri2CreateScreen (screen=0, priv=0xbf70590) at dri2_glx.c:1247
#26 0xf7f2c574 in AllocAndFetchScreenConfigs (priv=0xbf70590, dpy=0xbf57de8) at glxext.c:779
#27 __glXInitialize (dpy=dpy@entry=0xbf57de8) at glxext.c:888
#28 0xf7f28aad in GetGLXPrivScreenConfig (dpy=dpy@entry=0xbf57de8, scrn=scrn@entry=0, ppriv=ppriv@entry=0xffffd174, ppsc=ppsc@entry=0xffffd178) at glxcmds.c:172
#29 0xf7f2932e in GetGLXPrivScreenConfig (ppsc=0xffffd178, ppriv=0xffffd174, scrn=0, dpy=0xbf57de8) at glxcmds.c:168
#30 glXChooseVisual (dpy=0xbf57de8, screen=0, attribList=0xffffd2f4) at glxcmds.c:1249
#31 0xf7cb8f81 in X11_GL_GetVisual (screen=0, display=0xbf57de8, _this=0xbf573e0) at ../src/video/x11/SDL_x11opengl.c:488
#32 X11_GL_InitExtensions (_this=0xbf573e0) at ../src/video/x11/SDL_x11opengl.c:300
#33 0xf7cb97ba in X11_GL_LoadLibrary (_this=0xbf573e0, path=<optimized out>) at ../src/video/x11/SDL_x11opengl.c:220
#34 0xf7ca1573 in SDL_GL_LoadLibrary (path=0x0) at ../src/video/SDL_video.c:2302
#35 0xf7ca2e87 in SDL_CreateWindow (title=0xf7ccd14e "OpenGL test", x=-32, y=-32, w=32, h=32, flags=10) at ../src/video/SDL_video.c:1210
#36 0xf7ca2d63 in ShouldUseTextureFramebuffer () at ../src/video/SDL_video.c:170
#37 SDL_VideoInit (driver_name=<optimized out>) at ../src/video/SDL_video.c:516
#38 0xf7c02bec in SDL_InitSubSystem (flags=25120) at ../src/SDL.c:158
#39 0xf7c02cb9 in SDL_Init (flags=8736) at ../src/SDL.c:243
#40 0x084756ac in cRenderer::DeviceInit (this=0xbb05f60 <gcRenderer>) at ../XII/Code/Render/Renderer/OpenGL/RendererGL.cpp:160
#41 0x0847707d in cRendererBase::Init (this=0xbb05f60 <gcRenderer>) at ../XII/Code/Render/Renderer/Renderer.cpp:97
#42 0x083f9bb6 in cTask::PerformInit (this=0xbb05f60 <gcRenderer>) at ../XII/Code/Core/Task/Task.cpp:70
#43 0x083f1900 in cKernel::Boot (this=0x8e75400 <gcKernel>) at ../XII/Code/Core/Kernel.cpp:118
#44 0x08084231 in main (argc=1, argv=0xffffd704) at ../XII/Code/Core/Platform/Unix/StartupUnix.cpp:45
Comment 1 Michel Dänzer 2014-04-16 07:44:16 UTC
Looks like there's some kind of C++ memory management mixup between the game and LLVM. Tom, any ideas?
Comment 2 majedjawad 2015-01-24 11:04:47 UTC
This is my first bug report. Hopefully this help.

Strike Suit zero doesn't start with radeonsi. However, it does work with the older radeon driver.

For the radeonsi:

$glxinfo | grep ^OpenGL | egrep 'version|renderer'

OpenGL renderer string: Gallium 0.4 on AMD PITCAIRN
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.5.0-devel (git-94e7b59 2015-01-24 trusty-oibaf-ppa)
OpenGL core profile shading language version string: 3.30
OpenGL version string: 3.0 Mesa 10.5.0-devel (git-94e7b59 2015-01-24 trusty-oibaf-ppa)
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.5.0-devel (git-94e7b59 2015-01-24 trusty-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00



GDB output:

Reading symbols from ./StrikeSuitZero...done.
(gdb) run
Starting program: /home/maj/Downloads/linux/main/binary/StrikeSuitZero 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Running Tasks: 
22
     PRIO  NAME                        STATUS
  1)  205: MemoryManager             - [Idle]
  2)  204: ValkyrieEarlyLoad         - [Idle]
  3)  202: Filesystem                - [Idle]
  4)  201: cAsyncLoaderManager       - [Idle]
  5)  200: RendererBase              - [Idle]
  6)  160: RenderStateManager        - [Idle]
  7)  157: cCameraManager            - [Idle]
  8)  153: GLSLManager               - [Idle]
  9)  152: EffectManager             - [Idle]
 10)  150: PostProcess               - [Idle]
 11)  145: MaterialManager           - [Idle]
 12)  120: InputManager              - [Idle]
 13)  110: DebugRender               - [Idle]
 14)  100: CommandLine               - [Idle]
 15)  100: AutoObjectManager         - [Idle]
 16)  100: Sambuca                   - [Idle]
 17)  100: LightingManager           - [Idle]
 18)  100: Localisation              - [Idle]
 19)  100: TaskManager               - [Idle]
 20)  100: Kernel                    - [Idle]
 21)   55: Valkyrie                  - [Idle]
 22)    0: PartitionRenderer         - [Idle]
----------------------
Memory Stores:
	-"Main": 487.00 MB (16 bytes of partitions' alignment)
	-"Sound": 42.00 MB (1024 bytes of partitions' alignment)
Memory Store "Main" (0x0xd8e44008-0x0xf7544008) 487.00 MB
	-Linear Partition      Xii2 Transient1 (0xd8e44010-0xd9244010) 4.00 MB (ACTIVE)
	-Linear Partition      Xii2 Transient2 (0xd9244010-0xd9644010) 4.00 MB (ACTIVE)
	-Dynamic ThreadSafe Partition         Xii2 General (0xd9644010-0xd9844010) 2.00 MB (ACTIVE)
	-TLSF Partition             Xii2 LUA (0xd9844010-0xdb644010) 30.00 MB (ACTIVE)
	-Dynamic Partition         Xii2 ToLua++ (0xdb644010-0xdbe44010) 8.00 MB (ACTIVE)
	-Linear Partition   Xii2 StaticEffects (0xdbe44010-0xdbe5d010) 0.10 MB (ACTIVE)
	-Linear Partition   Xii2 ShaderManager (0xdbe5d010-0xdbeda010) 0.49 MB (ACTIVE)
	-Dynamic Partition         Xii2 Scratch (0xdbeda010-0xdd0da010) 18.00 MB (ACTIVE)
	-Dynamic Partition       Xii2 XmlReader (0xdd0da010-0xdd3da010) 3.00 MB (ACTIVE)
	-Linear Partition    Xii2 Localisation (0xdd3da010-0xdd5da010) 2.00 MB (ACTIVE)
	-Dynamic Partition         Xii2 Physics (0xdd5da010-0xde7da010) 18.00 MB (ACTIVE)
	-Linear Partition           Xii2 Input (0xde7da010-0xde80c010) 0.20 MB (ACTIVE)
	-Dynamic Partition    Xii2 SoundManager (0xde80c010-0xdeafa010) 2.93 MB (ACTIVE)
	-Dynamic ThreadSafe Partition Xii2 Sambuca dynamic (0xdeafa010-0xe02fa010) 24.00 MB (ACTIVE)
	-Dynamic ThreadSafe Partition   Xii2 Sambuca fixed (0xe02fa010-0xe1afa010) 24.00 MB (ACTIVE)
	-Dynamic Partition        Xii2 Skeletal (0xe1afa010-0xe1bfa010) 1.00 MB (ACTIVE)
	-TLSF Partition              Xii2 UI (0xe1bfa010-0xeb1fa010) 150.00 MB (ACTIVE)
	-Dynamic Partition             Xii2 HUD (0xeb1fa010-0xeb2fa010) 1.00 MB (ACTIVE)
	-Linear Partition     Xii2 PostProcess (0xeb2fa010-0xeb3fa010) 1.00 MB (ACTIVE)
	-Dynamic Partition         Xii2 GBuffer (0xeb3fa010-0xeb413010) 0.10 MB (ACTIVE)
	-Dynamic Partition        Xii2 Renderer (0xeb413010-0xeb42c010) 0.10 MB (ACTIVE)
	-Dynamic Partition Xii2 ResourceManager (0xeb42c010-0xeb477010) 0.29 MB (ACTIVE)
	-Dynamic Partition Xii2 Message Delivery (0xeb477010-0xeb677010) 2.00 MB (ACTIVE)
	-Dynamic Partition   CollisionMesh Pool (0xeb677010-0xec277010) 12.00 MB (ACTIVE)
	-Dynamic Partition          Script Pool (0xec277010-0xec477010) 2.00 MB (ACTIVE)
	-Dynamic Partition           Model Pool (0xec477010-0xec577010) 1.00 MB (ACTIVE)
	-Dynamic Partition            Mesh Pool (0xec577010-0xec60d010) 0.59 MB (ACTIVE)
	-Dynamic Partition         Texture Pool (0xec60d010-0xec68a010) 0.49 MB (ACTIVE)
	-Dynamic Partition            Font Pool (0xec68a010-0xec78a010) 1.00 MB (ACTIVE)
	-Dynamic Partition        Skeleton Pool (0xec78a010-0xec98a010) 2.00 MB (ACTIVE)
	-Dynamic Partition          Prefab Pool (0xec98a010-0xecd72010) 3.91 MB (ACTIVE)
	-Dynamic Partition            Xii2 Quad (0xecd72010-0xece72010) 1.00 MB (ACTIVE)
	-Linear Partition         Xii2 Shaders (0xece72010-0xed0e3010) 2.44 MB (ACTIVE)
	-Linear Partition      Loading Screens (0xed0e3010-0xed1e3010) 1.00 MB (ACTIVE)
	-Dynamic Partition    Behaviour Manager (0xed1e3010-0xee0e3010) 15.00 MB (ACTIVE)
	-Dynamic Partition          Scene Block (0xee0e3010-0xee2e3010) 2.00 MB (ACTIVE)
	-Dynamic Partition      AI Avoid Meshes (0xee2e3010-0xee2fc010) 0.10 MB (ACTIVE)
	-Dynamic Partition          ROAResource (0xee2fc010-0xee3fc010) 1.00 MB (ACTIVE)
	-Dynamic Partition     Portal Rendering (0xee3fc010-0xee4fc010) 1.00 MB (ACTIVE)
	-Dynamic Partition             Variants (0xee4fc010-0xef9fc010) 21.00 MB (ACTIVE)
	-Dynamic Partition          VideoPlayer (0xef9fc010-0xf12fc010) 25.00 MB (ACTIVE)
	-Dynamic Partition        Level Manager (0xf12fc010-0xf1379010) 0.49 MB (ACTIVE)
	-Dynamic Partition      Model Instances (0xf1379010-0xf14f0010) 1.46 MB (ACTIVE)
	-Dynamic Partition Launch Tube Behaviour (0xf14f0010-0xf1554010) 0.39 MB (ACTIVE)
	-Dynamic Partition          ECM Jammers (0xf1554010-0xf1554410) 0.00 MB (ACTIVE)
	-Dynamic Partition               Squads (0xf1554410-0xf1754410) 2.00 MB (ACTIVE)
	-Dynamic Partition           Lua Errors (0xf1754410-0xf176d410) 0.10 MB (ACTIVE)
	-Dynamic Partition Targetable Dictionary (0xf176d410-0xf186d410) 1.00 MB (ACTIVE)
Memory Store "Sound" (0x0xd6443008-0x0xd8e43008) 42.00 MB
Memory Manager Created
[New Thread 0xd6442b40 (LWP 10709)]
[New Thread 0xd6421b40 (LWP 10710)]
[New Thread 0xd6400b40 (LWP 10711)]
[New Thread 0xd63dfb40 (LWP 10712)]
[New Thread 0xd3ab2b40 (LWP 10713)]
Initalising Renderer
Best mode = 1920x1080 60Hz, Delta = 333.333333
Best mode = 1920x1080 60Hz, Delta = 333.333333
Best mode = 1920x1080 59Hz, Delta = 333.333333
Best mode = 1920x1080 50Hz, Delta = 333.333333
Best mode = 1920x1080 30Hz, Delta = 333.333333
Best mode = 1920x1080 29Hz, Delta = 333.333333
Best mode = 1920x1080 25Hz, Delta = 333.333333
Best mode = 1440x900 59Hz, Delta = 113.333333
Best mode = 1280x1024 60Hz, Delta = 101.333333
Best mode = 1280x800 59Hz, Delta = 26.666667
Best mode = 1280x720 60Hz, Delta = 0.000000

Program received signal SIGABRT, Aborted.
0xf7fdacf5 in ?? ()
(gdb) bt
Python Exception <class 'gdb.MemoryError'> Cannot access memory at address 0x29d4: 
#0  0xf7fdacf5 in ?? ()
Cannot access memory at address 0x29d4
(gdb) c
Continuing.
[Thread 0xd3ab2b40 (LWP 10713) exited]
[Thread 0xd63dfb40 (LWP 10712) exited]
[Thread 0xd6400b40 (LWP 10711) exited]
[Thread 0xd6421b40 (LWP 10710) exited]
[Thread 0xd6442b40 (LWP 10709) exited]

Program terminated with signal SIGABRT, Aborted.
The program no longer exists.
(gdb) q
Comment 3 Vladimir Usikov 2016-01-01 08:42:38 UTC
kernel 4.3.1, llvm/mesa - git

Running Tasks: 
22
     PRIO  NAME                        STATUS
  1)  205: MemoryManager             - [Idle]
  2)  204: ValkyrieEarlyLoad         - [Idle]
  3)  202: Filesystem                - [Idle]
  4)  201: cAsyncLoaderManager       - [Idle]
  5)  200: RendererBase              - [Idle]
  6)  160: RenderStateManager        - [Idle]
  7)  157: cCameraManager            - [Idle]
  8)  153: GLSLManager               - [Idle]
  9)  152: EffectManager             - [Idle]
 10)  150: PostProcess               - [Idle]
 11)  145: MaterialManager           - [Idle]
 12)  120: InputManager              - [Idle]
 13)  110: DebugRender               - [Idle]
 14)  100: CommandLine               - [Idle]
 15)  100: AutoObjectManager         - [Idle]
 16)  100: Sambuca                   - [Idle]
 17)  100: LightingManager           - [Idle]
 18)  100: Localisation              - [Idle]
 19)  100: TaskManager               - [Idle]
 20)  100: Kernel                    - [Idle]
 21)   55: Valkyrie                  - [Idle]
 22)    0: PartitionRenderer         - [Idle]
----------------------
[S_API FAIL] SteamAPI_Init() failed; Sys_LoadModule failed to load: /home/behem0th/.steam/bin32/steamclient.so
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.
Memory Stores:
        -"Main": 487.00 MB (16 bytes of partitions' alignment)
        -"Sound": 42.00 MB (1024 bytes of partitions' alignment)
Memory Store "Main" (0x0xd841a008-0x0xf6b1a008) 487.00 MB
        -Linear Partition      Xii2 Transient1 (0xd841a010-0xd881a010) 4.00 MB (ACTIVE)
        -Linear Partition      Xii2 Transient2 (0xd881a010-0xd8c1a010) 4.00 MB (ACTIVE)
        -Dynamic ThreadSafe Partition         Xii2 General (0xd8c1a010-0xd8e1a010) 2.00 MB (ACTIVE)
        -TLSF Partition             Xii2 LUA (0xd8e1a010-0xdac1a010) 30.00 MB (ACTIVE)
        -Dynamic Partition         Xii2 ToLua++ (0xdac1a010-0xdb41a010) 8.00 MB (ACTIVE)
        -Linear Partition   Xii2 StaticEffects (0xdb41a010-0xdb433010) 0.10 MB (ACTIVE)
        -Linear Partition   Xii2 ShaderManager (0xdb433010-0xdb4b0010) 0.49 MB (ACTIVE)
        -Dynamic Partition         Xii2 Scratch (0xdb4b0010-0xdc6b0010) 18.00 MB (ACTIVE)                                                                                                
        -Dynamic Partition       Xii2 XmlReader (0xdc6b0010-0xdc9b0010) 3.00 MB (ACTIVE)                                                                                                 
        -Linear Partition    Xii2 Localisation (0xdc9b0010-0xdcbb0010) 2.00 MB (ACTIVE)                                                                                                  
        -Dynamic Partition         Xii2 Physics (0xdcbb0010-0xdddb0010) 18.00 MB (ACTIVE)                                                                                                
        -Linear Partition           Xii2 Input (0xdddb0010-0xddde2010) 0.20 MB (ACTIVE)                                                                                                  
        -Dynamic Partition    Xii2 SoundManager (0xddde2010-0xde0d0010) 2.93 MB (ACTIVE)                                                                                                 
        -Dynamic ThreadSafe Partition Xii2 Sambuca dynamic (0xde0d0010-0xdf8d0010) 24.00 MB (ACTIVE)                                                                                     
        -Dynamic ThreadSafe Partition   Xii2 Sambuca fixed (0xdf8d0010-0xe10d0010) 24.00 MB (ACTIVE)                                                                                     
        -Dynamic Partition        Xii2 Skeletal (0xe10d0010-0xe11d0010) 1.00 MB (ACTIVE)                                                                                                 
        -TLSF Partition              Xii2 UI (0xe11d0010-0xea7d0010) 150.00 MB (ACTIVE)                                                                                                  
        -Dynamic Partition             Xii2 HUD (0xea7d0010-0xea8d0010) 1.00 MB (ACTIVE)                                                                                                 
        -Linear Partition     Xii2 PostProcess (0xea8d0010-0xea9d0010) 1.00 MB (ACTIVE)                                                                                                  
        -Dynamic Partition         Xii2 GBuffer (0xea9d0010-0xea9e9010) 0.10 MB (ACTIVE)                                                                                                 
        -Dynamic Partition        Xii2 Renderer (0xea9e9010-0xeaa02010) 0.10 MB (ACTIVE)                                                                                                 
        -Dynamic Partition Xii2 ResourceManager (0xeaa02010-0xeaa4d010) 0.29 MB (ACTIVE)                                                                                                 
        -Dynamic Partition Xii2 Message Delivery (0xeaa4d010-0xeac4d010) 2.00 MB (ACTIVE)                                                                                                
        -Dynamic Partition   CollisionMesh Pool (0xeac4d010-0xeb84d010) 12.00 MB (ACTIVE)                                                                                                
        -Dynamic Partition          Script Pool (0xeb84d010-0xeba4d010) 2.00 MB (ACTIVE)                                                                                                 
        -Dynamic Partition           Model Pool (0xeba4d010-0xebb4d010) 1.00 MB (ACTIVE)                                                                                                 
        -Dynamic Partition            Mesh Pool (0xebb4d010-0xebbe3010) 0.59 MB (ACTIVE)                                                                                                 
        -Dynamic Partition         Texture Pool (0xebbe3010-0xebc60010) 0.49 MB (ACTIVE)                                                                                                 
        -Dynamic Partition            Font Pool (0xebc60010-0xebd60010) 1.00 MB (ACTIVE)                                                                                                 
        -Dynamic Partition        Skeleton Pool (0xebd60010-0xebf60010) 2.00 MB (ACTIVE)
        -Dynamic Partition          Prefab Pool (0xebf60010-0xec348010) 3.91 MB (ACTIVE)
        -Dynamic Partition            Xii2 Quad (0xec348010-0xec448010) 1.00 MB (ACTIVE)
        -Linear Partition         Xii2 Shaders (0xec448010-0xec6b9010) 2.44 MB (ACTIVE)
        -Linear Partition      Loading Screens (0xec6b9010-0xec7b9010) 1.00 MB (ACTIVE)
        -Dynamic Partition    Behaviour Manager (0xec7b9010-0xed6b9010) 15.00 MB (ACTIVE)
        -Dynamic Partition          Scene Block (0xed6b9010-0xed8b9010) 2.00 MB (ACTIVE)
        -Dynamic Partition      AI Avoid Meshes (0xed8b9010-0xed8d2010) 0.10 MB (ACTIVE)
        -Dynamic Partition          ROAResource (0xed8d2010-0xed9d2010) 1.00 MB (ACTIVE)
        -Dynamic Partition     Portal Rendering (0xed9d2010-0xedad2010) 1.00 MB (ACTIVE)
        -Dynamic Partition             Variants (0xedad2010-0xeefd2010) 21.00 MB (ACTIVE)
        -Dynamic Partition          VideoPlayer (0xeefd2010-0xf08d2010) 25.00 MB (ACTIVE)
        -Dynamic Partition        Level Manager (0xf08d2010-0xf094f010) 0.49 MB (ACTIVE)
        -Dynamic Partition      Model Instances (0xf094f010-0xf0ac6010) 1.46 MB (ACTIVE)
        -Dynamic Partition Launch Tube Behaviour (0xf0ac6010-0xf0b2a010) 0.39 MB (ACTIVE)
        -Dynamic Partition          ECM Jammers (0xf0b2a010-0xf0b2a410) 0.00 MB (ACTIVE)
        -Dynamic Partition               Squads (0xf0b2a410-0xf0d2a410) 2.00 MB (ACTIVE)
        -Dynamic Partition           Lua Errors (0xf0d2a410-0xf0d43410) 0.10 MB (ACTIVE)
        -Dynamic Partition Targetable Dictionary (0xf0d43410-0xf0e43410) 1.00 MB (ACTIVE)
Memory Store "Sound" (0x0xd5a19008-0x0xd8419008) 42.00 MB
Memory Manager Created
Initalising Renderer
Best mode = 1920x1080 60Hz, Delta = 333.333333
Best mode = 1920x1080 59Hz, Delta = 333.333333
Best mode = 1920x1080 50Hz, Delta = 333.333333
Best mode = 1920x1080 30Hz, Delta = 333.333333
Best mode = 1920x1080 29Hz, Delta = 333.333333
Best mode = 1920x1080 25Hz, Delta = 333.333333
Best mode = 1680x1050 59Hz, Delta = 243.333333
Best mode = 1440x900 59Hz, Delta = 113.333333
Best mode = 1280x1024 75Hz, Delta = 101.333333
Best mode = 1280x1024 60Hz, Delta = 101.333333
Best mode = 1280x960 60Hz, Delta = 80.000000
Best mode = 1280x720 60Hz, Delta = 0.000000
- shaders/beam__lod0__0
- shaders/beam__lod0__0
- shaders/beam__lod0__1
- shaders/beam__lod0__1
- shaders/beam__lod0__2
- shaders/beam__lod0__2
- shaders/bullets__additive__0
- shaders/bullets__additive__0
- shaders/bullets__additive_instanced__0
- shaders/bullets__additive_instanced__0
- shaders/bullets__modulative__0
- shaders/bullets__modulative__0
- shaders/bullets__modulative_instanced__0
- shaders/bullets__modulative_instanced__0
- shaders/cegui__normal__0
- shaders/cegui__normal__0
- shaders/cegui__premultiplied__0
- shaders/cegui__premultiplied__0
- shaders/colour__default__0
- shaders/colour__default__0
- shaders/colour__fade__0
- shaders/colour__fade__0
- shaders/colour__noz__0
- shaders/colour__noz__0
- shaders/colour__profilebars__0
- shaders/colour__profilebars__0
- shaders/combinehdr__combinehdr__0
- shaders/combinehdr__combinehdr__0
- shaders/contrail__default__0
- shaders/contrail__default__0
- shaders/copy__copya__0
- shaders/copy__copya__0
- shaders/copy__normal__0
- shaders/copy__normal__0
- shaders/copy__scene__0
- shaders/copy__scene__0
- shaders/decal__default__0
- shaders/decal__default__0
- shaders/defaultfont__t0__0
- shaders/defaultfont__t0__0
- shaders/defaultfontstroke__t0__0
- shaders/defaultfontstroke__t0__0
- shaders/defaultfontstroke__t0__1
- shaders/defaultfontstroke__t0__1
- shaders/defaultfontstroke__t0__2
- shaders/defaultfontstroke__t0__2
- shaders/defaultfontstroke__t0__3
- shaders/defaultfontstroke__t0__3
- shaders/defaultfontstroke__t0__4
- shaders/defaultfontstroke__t0__4
- shaders/defaultquaddepth__t0__0
- shaders/defaultquaddepth__t0__0
- shaders/defaultquadnodepth__t0__0
- shaders/defaultquadnodepth__t0__0
- shaders/deferred__combine__0
- shaders/deferred__combine__0
- shaders/deferred__copy__0
- shaders/deferred__copy__0
- shaders/deferred__copydepth__0
- shaders/deferred__copydepth__0
- shaders/deferred__createscene__0
- shaders/deferred__createscene__0
- shaders/deferred__createscene_fog__0
- shaders/deferred__createscene_fog__0
- shaders/deferred__directionalns2__0
- shaders/deferred__directionalns2__0
- shaders/deferred__directionalns3__0
- shaders/deferred__directionalns3__0
- shaders/deferred__directionalns__0
- shaders/deferred__directionalns__0
- shaders/deferred__pointi__0
- shaders/deferred__pointi__0
- shaders/deferred__pointinside__0
- shaders/deferred__pointinside__0
- shaders/deferred__quad__0
- shaders/deferred__quad__0
- shaders/deferred__spot__0
- shaders/deferred__spot__0
- shaders/deferred__spotinside__0
- shaders/deferred__spotinside__0
- shaders/depth__linear__0
- shaders/depth__linear__0
- shaders/depth__linear_instanced__0
- shaders/depth__linear_instanced__0
- shaders/depth__skinned__0
- shaders/depth__skinned__0
- shaders/distortion__additive__0
- shaders/distortion__additive__0
- shaders/distortion_simple__additive__0
- shaders/distortion_simple__additive__0
- shaders/distortion_simplefresnel__additive__0
- shaders/distortion_simplefresnel__additive__0
- shaders/dof__computeblurfactor__0
- shaders/dof__computeblurfactor__0
- shaders/dof__dof__0
- shaders/dof__dof__0
- shaders/fxaa_high__create__0
- shaders/fxaa_high__create__0
- shaders/fxaa_low__create__0
- shaders/fxaa_low__create__0
- shaders/fxaa_med__create__0
- shaders/fxaa_med__create__0
- shaders/gaussian__gblur__0
- shaders/gaussian__gblur__0
- shaders/gaussian__gsample__0
- shaders/gaussian__gsample__0
- shaders/hud__damagedirection__0
- shaders/hud__damagedirection__0
- shaders/layered_shader_ng__lod0__0
- shaders/layered_shader_ng__lod0__0
- shaders/lightflare__anamorphicflare__0
- shaders/lightflare__anamorphicflare__0
- shaders/lightflare__default__0
- shaders/lightflare__default__0
- shaders/lightflare__lens__0
- shaders/lightflare__lens__0
- shaders/minimal__default__0
- shaders/minimal__default__0
- shaders/motionblur__create__0
- shaders/motionblur__create__0
- shaders/mrt__clear__0
- shaders/mrt__clear__0
- shaders/oculus__warpleft__0
- shaders/oculus__warpleft__0
- shaders/oculus__warpright__0
- shaders/oculus__warpright__0
- shaders/par_scroll_z__additive__0
- shaders/par_scroll_z__additive__0
- shaders/par_scroll_z__addvtxa__0
- shaders/par_scroll_z__addvtxa__0
- shaders/par_scroll_z__modm__0
- shaders/par_scroll_z__modm__0
- shaders/par_scroll_z__modulate__0
- shaders/par_scroll_z__modulate__0
- shaders/particles__additive__0
- shaders/particles__additive__0
- shaders/particles__addvtxa__0
- shaders/particles__addvtxa__0
- shaders/particles__brighten__0
- shaders/particles__brighten__0
- shaders/particles__modulate__0
- shaders/particles__modulate__0
- shaders/particles_soft__additive__0
- shaders/particles_soft__additive__0
- shaders/particles_soft__additive_lod1__0
- shaders/particles_soft__additive_lod1__0
- shaders/particles_soft__modulate__0
- shaders/particles_soft__modulate__0
- shaders/particles_soft__modulate_lod1__0
- shaders/particles_soft__modulate_lod1__0
- shaders/particles_soft__trails__0
- shaders/particles_soft__trails__0
- shaders/particles_zbuffer__additive__0
- shaders/particles_zbuffer__additive__0
- shaders/particles_zbuffer__addnoz__0
- shaders/particles_zbuffer__addnoz__0
- shaders/particles_zbuffer__modnoz__0
- shaders/particles_zbuffer__modnoz__0
- shaders/particles_zbuffer__modulate__0
- shaders/particles_zbuffer__modulate__0
- shaders/particlesscrolling__additive__0
- shaders/particlesscrolling__additive__0
- shaders/particlesscrolling__additive_instanced__0
- shaders/particlesscrolling__additive_instanced__0
- shaders/particlesscrolling__addvtxa__0
- shaders/particlesscrolling__addvtxa__0
- shaders/particlesscrolling__addvtxa_instanced__0
- shaders/particlesscrolling__addvtxa_instanced__0
- shaders/particlesscrolling__modm__0
- shaders/particlesscrolling__modm__0
- shaders/particlesscrolling__modm_instanced__0
- shaders/particlesscrolling__modm_instanced__0
- shaders/particlesscrolling__modulate__0
- shaders/particlesscrolling__modulate__0
- shaders/particlesscrolling__modulate_instanced__0
- shaders/particlesscrolling__modulate_instanced__0
- shaders/particlesscrolling__modulatebackground__0
- shaders/particlesscrolling__modulatebackground__0
- shaders/particlesscrolling__modulatebackground_instanced__0
- shaders/particlesscrolling__modulatebackground_instanced__0
- shaders/particlesscrolling__modztest__0
- shaders/particlesscrolling__modztest__0
- shaders/particlesscrolling__modztest_instanced__0
- shaders/particlesscrolling__modztest_instanced__0
- shaders/partppmask__mask__0
- shaders/partppmask__mask__0
- shaders/pp__brightpassfilter__0
- shaders/pp__brightpassfilter__0
- shaders/pp__calculateluminance__0
- shaders/pp__calculateluminance__0
- shaders/pp__combinehdr__0
- shaders/pp__combinehdr__0
- shaders/pp__sample4x4__0
- shaders/pp__sample4x4__0
- shaders/pp__sampleluminance__0
- shaders/pp__sampleluminance__0
- shaders/pp__sampleluminancefinal__0
- shaders/pp__sampleluminancefinal__0
- shaders/quad__quad__0
- shaders/quad__quad__0
- shaders/query__query__0
- shaders/query__query__0
- shaders/radialblur__radialblur__0
- shaders/radialblur__radialblur__0
- shaders/radialblur__radialblurflare__0
- shaders/radialblur__radialblurflare__0
- shaders/radialblur__radialblurflarehit__0
- shaders/radialblur__radialblurflarehit__0
- shaders/radialblur__radialblurhit__0
- shaders/radialblur__radialblurhit__0
- shaders/shader_ng__lod0__0
- shaders/shader_ng__lod0__0
- shaders/shader_ng__lod0_instanced__0
- shaders/shader_ng__lod0_instanced__0
- shaders/shader_ng__skinninglod0__0
- shaders/shader_ng__skinninglod0__0
- shaders/shader_ng_noemissive__lod0__0
- shaders/shader_ng_noemissive__lod0__0
- shaders/shader_ng_noemissive__lod0_instanced__0
- shaders/shader_ng_noemissive__lod0_instanced__0
- shaders/shader_ng_noemissive__skinninglod0__0
- shaders/shader_ng_noemissive__skinninglod0__0
- shaders/shader_ng_vtxcolor__lod0__0
- shaders/shader_ng_vtxcolor__lod0__0
- shaders/shader_ng_vtxcolor__skinninglod0__0
- shaders/shader_ng_vtxcolor__skinninglod0__0
- shaders/shader_ngs__lod0__0
- shaders/shader_ngs__lod0__0
- shaders/shader_ngs__lod0_instanced__0
- shaders/shader_ngs__lod0_instanced__0
- shaders/shader_ngs__skinninglod0__0
- shaders/shader_ngs__skinninglod0__0
- shaders/shader_ngs_vtxcolor__lod0__0
- shaders/shader_ngs_vtxcolor__lod0__0
- shaders/shader_ngs_vtxcolor__skinninglod0__0
- shaders/shader_ngs_vtxcolor__skinninglod0__0
- shaders/shader_translucent__lod0__0
- shaders/shader_translucent__lod0__0
- shaders/shader_translucent__lod0_instanced__0
- shaders/shader_translucent__lod0_instanced__0
- shaders/shader_v__lod0__0
- shaders/shader_v__lod0__0
- shaders/shader_v__lod0_instanced__0
- shaders/shader_v__lod0_instanced__0
- shaders/shader_vml__lod0__0
- shaders/shader_vml__lod0__0
- shaders/shader_vov__lod0__0
- shaders/shader_vov__lod0__0
- shaders/shader_vov__lod0_instanced__0
- shaders/shader_vov__lod0_instanced__0
- shaders/shader_vovn__lod0__0
- shaders/shader_vovn__lod0__0
- shaders/shader_vovn__lod0_instanced__0
- shaders/shader_vovn__lod0_instanced__0
- shaders/shader_vovn__skinninglod0__0
- shaders/shader_vovn__skinninglod0__0
- shaders/shadow__base__0
- shaders/shadow__base__0
- shaders/shadow__base_instanced__0
- shaders/shadow__base_instanced__0
- shaders/shadow__blurh__0
- shaders/shadow__blurh__0
- shaders/shadow__blurv__0
- shaders/shadow__blurv__0
- shaders/shadow__skinned__0
- shaders/shadow__skinned__0
- shaders/shield__lod0__0
- shaders/shield__lod0__0
- shaders/shield__skinninglod0__0
- shaders/shield__skinninglod0__0
- shaders/shield_soft__lod0__0
- shaders/shield_soft__lod0__0
- shaders/simple__debugsphere__0
- shaders/simple__debugsphere__0
- shaders/simple__technique0__0
- shaders/simple__technique0__0
- shaders/simplefont__technique0__0
- shaders/simplefont__technique0__0
- shaders/skybox__modulate__0
- shaders/skybox__modulate__0
- shaders/stealthring__debugsphere__0
- shaders/stealthring__debugsphere__0
- shaders/stealthring__technique0__0
- shaders/stealthring__technique0__0
- shaders/theora__t0__0
- shaders/theora__t0__0
- shaders/vovn_clamp__lod0__0
- shaders/vovn_clamp__lod0__0
- shaders/vovn_clamp__skinninglod0__0
- shaders/vovn_clamp__skinninglod0__0
shaders/bullets__additive maps to shaders/bullets__additive_instanced
shaders/bullets__modulative maps to shaders/bullets__modulative_instanced
shaders/depth__linear maps to shaders/depth__linear_instanced
shaders/particlesscrolling__additive maps to shaders/particlesscrolling__additive_instanced
shaders/particlesscrolling__addvtxa maps to shaders/particlesscrolling__addvtxa_instanced
shaders/particlesscrolling__modm maps to shaders/particlesscrolling__modm_instanced
shaders/particlesscrolling__modulate maps to shaders/particlesscrolling__modulate_instanced
shaders/particlesscrolling__modulatebackground maps to shaders/particlesscrolling__modulatebackground_instanced
shaders/particlesscrolling__modztest maps to shaders/particlesscrolling__modztest_instanced
shaders/shader_ng__lod0 maps to shaders/shader_ng__lod0_instanced
shaders/shader_ng_noemissive__lod0 maps to shaders/shader_ng_noemissive__lod0_instanced
shaders/shader_ngs__lod0 maps to shaders/shader_ngs__lod0_instanced
shaders/shader_translucent__lod0 maps to shaders/shader_translucent__lod0_instanced
shaders/shader_v__lod0 maps to shaders/shader_v__lod0_instanced
shaders/shader_vov__lod0 maps to shaders/shader_vov__lod0_instanced
shaders/shader_vovn__lod0 maps to shaders/shader_vovn__lod0_instanced
shaders/shadow__base maps to shaders/shadow__base_instanced
Аварийный останов (core dumped)
Comment 4 Vladimir Usikov 2016-01-01 11:52:01 UTC
(gdb) bt
#0  0xf7fd9be5 in __kernel_vsyscall ()
#1  0xf7823e66 in raise () from /usr/lib32/libc.so.6
#2  0xf78254e7 in abort () from /usr/lib32/libc.so.6
#3  0x083fa235 in mspace_free (msp=0xd94fc018, mem=0xc042d98) at ../XII/Code/Core/Memory/dlmalloc.cpp:5700
#4  0x083f68bb in cDynamicPartition::Free (this=0xbf585b0, lpMem=0xc042d98) at ../XII/Code/Core/Memory/Partition.cpp:645
#5  0x083f5949 in CustomDelete (ptr=0xc042d98) at ../XII/Code/Core/Memory/MemoryManager.cpp:995
#6  CustomDelete (ptr=0xc042d98) at ../XII/Code/Core/Memory/MemoryManager.cpp:979
#7  0x083f59df in operator delete (ptr=0xc042d98) at ../XII/Code/Core/Memory/MemoryManager.cpp:1036
#8  0xd2fc7f0a in ?? () from /usr/lib32/libLLVM-3.8svn.so
#9  0xd3076f54 in LLVMDisposeMemoryBuffer () from /usr/lib32/libLLVM-3.8svn.so
#10 0xd5d2a13c in radeon_llvm_compile (M=0xd94fe4b0, binary=0xd3acf40, gpu_family=0xd5e127a4 "tahiti", dump_ir=false, dump_asm=false, tm=0xd9516ee0) at radeon_llvm_emit.c:206
#11 0xd5ce77c2 in si_compile_llvm (sscreen=0xbfd3b20, shader=0xd3acf28, tm=0xd9516ee0, mod=0xd94fe4b0) at si_shader.c:3893
#12 0xd5ce839f in si_shader_create (sscreen=0xbfd3b20, tm=0xd9516ee0, shader=0xd3acf28) at si_shader.c:4191
#13 0xd5cf4acb in si_shader_select (ctx=0xc127538, state=0xc127dc0) at si_state_shaders.c:619
#14 0xd5cf6695 in si_update_shaders (sctx=0xc127538) at si_state_shaders.c:1524
#15 0xd5cf0e45 in si_draw_vbo (ctx=0xc127538, info=0xffffd0c0) at si_state_draw.c:800
#16 0xd5c26499 in util_draw_arrays (start=0, count=3, mode=15, pipe=0xc127538) at ./util/u_draw.h:63
#17 util_draw_vertex_buffer (pipe=0xc127538, cso=0x0, vbuf=0xbfb3e30, vbuf_slot=0, offset=1024, prim_type=15, num_verts=3, num_attribs=2) at util/u_draw_quad.c:68
#18 0xd5d1a210 in r600_draw_rectangle (blitter=0xc1a43a8, x1=0, y1=0, x2=4, y2=4, depth=1, type=UTIL_BLITTER_ATTRIB_COLOR, attrib=0xc1aeeec) at r600_pipe_common.c:114
#19 0xd5c1eed7 in util_blitter_clear_custom (blitter=0xc1a43a8, width=<optimized out>, height=<optimized out>, num_layers=1, clear_buffers=4, color=0xc1aeeec, depth=1, stencil=0, 
    custom_dsa=0x0, custom_blend=0x0) at util/u_blitter.c:1317
#20 0xd5c205e3 in util_blitter_clear (blitter=<optimized out>, width=<optimized out>, height=<optimized out>, num_layers=<optimized out>, clear_buffers=<optimized out>, 
    color=<optimized out>, depth=<optimized out>, stencil=0) at util/u_blitter.c:1333
#21 0xd5cd4f70 in si_clear (ctx=0xc127538, buffers=4, color=0xc1aeeec, depth=1, stencil=0) at si_blit.c:416
#22 0xd5a718f8 in st_Clear (ctx=0xc1adba8, mask=256) at state_tracker/st_cb_clear.c:539
#23 0xd59186ba in _mesa_Clear (mask=16384) at main/clear.c:224
#24 0x084786ef in cRenderer::Clear (this=0xbb0c0c0 <gcRenderer>, lColour=..., lbClearDepth=false) at ../XII/Code/Render/Renderer/OpenGL/RendererGL.cpp:302
#25 0x084a952a in cTexture::OnRendererDeviceInit (this=0xba83c20 <gcPostProcess+174048>) at ../XII/Code/Render/Texture/OpenGL/TextureGL.cpp:249
#26 0x084a9e21 in cTexture::InitRenderTarget (this=0xba83c20 <gcPostProcess+174048>, lpPartition=0xbf589f0, luWidth=4, luHeight=4, lPixFormat=ePF_R16G16B16A16, lpPolicy=0x0, luFlags=0)
    at ../XII/Code/Render/Texture/Texture.cpp:187
#27 0x0846f6e0 in cPostProcess::AddRenderTarget (this=0xba59440 <gcPostProcess>, lTarget=..., lWidth=4, lHeight=4, lPixelFormat=ePF_R16G16B16A16)
    at ../XII/Code/Render/PostProcess/PostProcess.cpp:214
#28 0x0846fa87 in cPostProcess::Init (this=0xba59440 <gcPostProcess>) at ../XII/Code/Render/PostProcess/PostProcess.cpp:260
#29 0x083fbd76 in cTask::PerformInit (this=0xba59440 <gcPostProcess>) at ../XII/Code/Core/Task/Task.cpp:70
#30 0x083f3a70 in cKernel::Boot (this=0x8e7b4a0 <gcKernel>) at ../XII/Code/Core/Kernel.cpp:118
#31 0x08084681 in main (argc=1, argv=0xffffd6d4) at ../XII/Code/Core/Platform/Unix/StartupUnix.cpp:45
Comment 5 Nicolai Hähnle 2016-01-04 15:32:11 UTC
Judging by the backtraces, the game overrides the C++ operator delete in a way that gets confused with LLVM (which is also a C++ library) and then crashes. Probably it's a game bug.

Your best bet for working around this problem is to link LLVM statically (i.e. convince the LLVM build to statically link against libstdc++, and then statically link LLVM into Mesa).
Comment 6 GitLab Migration User 2019-09-25 17:50:20 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1209.


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.