Bug 96678 - Awesomenauts cannot launch AMD PITCAIRN
Summary: Awesomenauts cannot launch AMD PITCAIRN
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-26 01:46 UTC by Quentin Quaadgras
Modified: 2016-11-04 10:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Stacktrace of the crash (44.71 KB, text/plain)
2016-06-26 01:46 UTC, Quentin Quaadgras
Details
Padoka with R600_DEBUG set (23.71 KB, text/plain)
2016-07-04 02:33 UTC, Quentin Quaadgras
Details
Padoka with R600_DEBUG set (50.06 KB, text/plain)
2016-07-04 02:51 UTC, Quentin Quaadgras
Details
GDB bt full of the crash (dbg packages installed) (70.44 KB, text/plain)
2016-07-05 02:03 UTC, Quentin Quaadgras
Details
Valgrind output. (924.33 KB, text/plain)
2016-07-06 09:42 UTC, Quentin Quaadgras
Details
Complete Valgrind output (61.17 KB, text/plain)
2016-07-07 13:29 UTC, Quentin Quaadgras
Details
gdb (64.46 KB, text/plain)
2016-07-13 09:26 UTC, cosiekvfj
Details

Description Quentin Quaadgras 2016-06-26 01:46:19 UTC
Created attachment 124723 [details]
Stacktrace of the crash

The video game Awesomenauts crashes on startup when initialising OpenGL renderer. This is on AMD PITCAIRN (DRM 2.43.0 / 4.4.0-24-generic, LLVM 3.8.0)
Using mesa found in Ubuntu 16.04 and Mesa 12.1.0-devel (git-81978c6 2016-06-25 xenial-oibaf-ppa).

Crashes while trying to free an invalid pointer.
The game worked fine with a previous AMD card. (not radeonsi)
Comment 1 Nicolai Hähnle 2016-07-01 13:13:51 UTC
This is a crash while compiling a shader.

Could you please check whether the crash also occurs with latest LLVM? The padoka PPA has it. If it does, please provide the output with the environment variable R600_DEBUG=ps,vs,gs,tes,tcs,cs set.
Comment 2 Quentin Quaadgras 2016-07-04 02:33:04 UTC
Created attachment 124880 [details]
Padoka with R600_DEBUG set
Comment 3 Quentin Quaadgras 2016-07-04 02:34:22 UTC
(In reply to Nicolai Hähnle from comment #1)
> This is a crash while compiling a shader.
> 
> Could you please check whether the crash also occurs with latest LLVM? The
> padoka PPA has it. If it does, please provide the output with the
> environment variable R600_DEBUG=ps,vs,gs,tes,tcs,cs set.

I added the trace of the crash with the version of mesa and LLVM in the Padoka PPA.
There does not appear to be any difference.
Comment 4 Quentin Quaadgras 2016-07-04 02:50:20 UTC
Comment on attachment 124880 [details]
Padoka with R600_DEBUG set

SystemManager constructor starts
SystemManager constructor ends
Start SSL initialise
End SSL initialise
Checking current matchmaking beta state
SDLWindowAndEventManager constructor starts
Game version:  Version 3.1.5a
SDLWindowAndEventManager constructor ends
SDLWindowAndEventManager::run() starts
SDLWindowAndEventManager::createWindow() starts
LoadBinaryFile: "Data/Config.txt"
[Config]  Input:  version  =  2
[Config]  Input:  resolutionx  =  1920
[Config]  Input:  resolutiony  =  1080
[Config]  Input:  windowmode  =  windowed
[Config]  Input:  texturequality  =  low
[Config]  Input:  vsync  =  off
[Config]  Input:  backgroundquality  =  low
[Config]  Input:  sharpen  =  off
[Config]  Input:  multithreading  =  off
[Config]  Input:  supersampling  =  off
[Config]  xRes:  1920  yRes:  1080  textureQuality:  LOW  windowMode:  windowed
[Config]  vSyncEnabled:  0
[Config]  sharpen:  0  supersampling:  0  backgroundQuality  LOW  multithreading  0
GraphicsQualityHandler constructor starts
GraphicsQualityHandler constructor ends
GraphicsQualityHandler::setBackgroundsQuality switches from  MEDIUM  to  LOW
SDL_SetVideoMode starts
SDL_SetVideoMode ends
Resolution of actual screen:  1920  1080
unbindGLFromCallingThread starts, threadID:  4119840704
unbindGLFromCallingThread ends
SDLWindowAndEventManager::createWindow() ends
GameLoop constructor starts
Constructor of SteamLinuxSingleGameInstanceEnforcer starts
Main Thread ID is  3800734528
Thread that calls SceneManager::render Thread ID is  3800734528
SceneManager constructor starts
RenderThreadManager constructor starts
StatisticsManager constructor starts
StatisticsManager constructor ends
bindGLToCallingThread starts, threadID:  3800734528
bindGLToCallingThread ends
Renderer constructor starts
Renderer constructor ends
ShaderBasedRenderer constructor starts
ShaderBasedRenderer constructor ends
GLRenderer constructor starts
GLRenderer constructor ends
PCMacRenderer constructor starts
PCMacRenderer constructor ends
LinuxRenderer constructor starts
LinuxRenderer constructor ends
PCMacRenderer::initialise starts
OpenGL GL_VENDOR  X.Org
OpenGL GL_RENDERER  Gallium 0.4 on AMD PITCAIRN (DRM 2.43.0 / 4.4.0-28-generic, LLVM 3.9.0)
OpenGL GL_VERSION  3.0 Mesa 12.1.0-devel - padoka PPA (git-d8d6091)
OpenGL GL_EXTENSIONS  GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_fragment_shader GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_NV_fog_distance GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_depth_bounds_test GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_ATI_texture_compression_3dc GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_ATI_texture_mirror_once GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_texture_array GL_EXT_texture_compression_latc GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_AMD_performance_monitor GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_ATI_meminfo GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_texture_barrier GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_precision GL_ARB_texture_compression_bptc GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_NV_vdpau_interop GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_base_instance GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shader_atomic_counters GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_shader_trinary_minmax GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_framebuffer_no_attachments GL_ARB_invalidate_subdata GL_ARB_program_interface_query GL_ARB_robust_buffer_access_behavior GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_stencil_texturing GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_KHR_debug GL_AMD_pinned_memory GL_ARB_buffer_storage GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_seamless_cubemap_per_texture GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_stencil8 GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_integer_mix GL_NVX_gpu_memory_info GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_derivative_control GL_ARB_get_texture_sub_image GL_ARB_pipeline_statistics_query GL_ARB_shader_texture_image_samples GL_ARB_texture_barrier GL_EXT_polygon_offset_clamp GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_ARB_shader_atomic_counter_ops 
GLRenderer::initialiseGLRenderer starts
SHADER KEY
  prolog.color_two_side = 0
  prolog.poly_stipple = 0
  prolog.force_persample_interp = 0
  epilog.spi_shader_col_format = 0x0
  epilog.color_is_int8 = 0x0
  epilog.last_cbuf = 0
  epilog.alpha_func = 0
  epilog.alpha_to_one = 0
  epilog.poly_line_smoothing = 0
  epilog.clamp_color = 0
FRAG
PROPERTY FS_COLOR0_WRITES_ALL_CBUFS 1
DCL IN[0], COLOR, COLOR
DCL OUT[0], COLOR
  0: MOV OUT[0], IN[0]
  1: END
radeonsi: Compiling shader 1
TGSI shader LLVM IR:

; ModuleID = 'tgsi'
source_filename = "tgsi"
target triple = "amdgcn--"

define amdgpu_ps <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, float, float, float, float, float, float, float, float, float, float, float }> @main([17 x <16 x i8>] addrspace(2)* byval, [16 x <16 x i8>] addrspace(2)* byval, [32 x <8 x i32>] addrspace(2)* byval, [16 x <8 x i32>] addrspace(2)* byval, [16 x <4 x i32>] addrspace(2)* byval, float inreg, i32 inreg, <2 x i32>, <2 x i32>, <2 x i32>, <3 x i32>, <2 x i32>, <2 x i32>, <2 x i32>, float, float, float, float, float, i32, i32, float, i32, float, float, float, float) #0 {
main_body:
  %27 = bitcast float %5 to i32
  %28 = insertvalue <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, float, float, float, float, float, float, float, float, float, float, float }> undef, i32 %27, 10
  %29 = insertvalue <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, float, float, float, float, float, float, float, float, float, float, float }> %28, float %23, 11
  %30 = insertvalue <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, float, float, float, float, float, float, float, float, float, float, float }> %29, float %24, 12
  %31 = insertvalue <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, float, float, float, float, float, float, float, float, float, float, float }> %30, float %25, 13
  %32 = insertvalue <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, float, float, float, float, float, float, float, float, float, float, float }> %31, float %26, 14
  %33 = insertvalue <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, float, float, float, float, float, float, float, float, float, float, float }> %32, float %21, 24
  ret <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, float, float, float, float, float, float, float, float, float, float, float }> %33
}

attributes #0 = { "InitialPSInputAddr"="36983" }

SHADER KEY
  instance_divisors = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
  as_es = 0
  as_ls = 0
  export_prim_id = 0
VERT
PROPERTY NEXT_SHADER FRAG
DCL IN[0]
DCL IN[1]
DCL OUT[0], POSITION
DCL OUT[1], COLOR
DCL CONST[0..3]
DCL TEMP[0]
  0: MUL TEMP[0], IN[0].xxxx, CONST[0]
  1: MAD TEMP[0], IN[0].yyyy, CONST[1], TEMP[0]
  2: MAD TEMP[0], IN[0].zzzz, CONST[2], TEMP[0]
  3: MAD OUT[0], IN[0].wwww, CONST[3], TEMP[0]
  4: MOV OUT[1], IN[1]
  5: END
radeonsi: Compiling shader 2
TGSI shader LLVM IR:

; ModuleID = 'tgsi'
source_filename = "tgsi"
target triple = "amdgcn--"

define amdgpu_vs <{ float, float, float }> @main([17 x <16 x i8>] addrspace(2)* byval, [16 x <16 x i8>] addrspace(2)* byval, [32 x <8 x i32>] addrspace(2)* byval, [16 x <8 x i32>] addrspace(2)* byval, [16 x <4 x i32>] addrspace(2)* byval, [16 x <16 x i8>] addrspace(2)* byval, i32 inreg, i32 inreg, i32 inreg, i32, i32, i32, i32, i32, i32) {
main_body:
  %15 = getelementptr [16 x <16 x i8>], [16 x <16 x i8>] addrspace(2)* %1, i64 0, i64 0, !amdgpu.uniform !0
  %16 = load <16 x i8>, <16 x i8> addrspace(2)* %15, align 16, !tbaa !1
  %17 = call float @llvm.SI.load.const(<16 x i8> %16, i32 0)
  %18 = call float @llvm.SI.load.const(<16 x i8> %16, i32 4)
  %19 = call float @llvm.SI.load.const(<16 x i8> %16, i32 8)
  %20 = call float @llvm.SI.load.const(<16 x i8> %16, i32 12)
  %21 = call float @llvm.SI.load.const(<16 x i8> %16, i32 16)
  %22 = call float @llvm.SI.load.const(<16 x i8> %16, i32 20)
  %23 = call float @llvm.SI.load.const(<16 x i8> %16, i32 24)
  %24 = call float @llvm.SI.load.const(<16 x i8> %16, i32 28)
  %25 = call float @llvm.SI.load.const(<16 x i8> %16, i32 32)
  %26 = call float @llvm.SI.load.const(<16 x i8> %16, i32 36)
  %27 = call float @llvm.SI.load.const(<16 x i8> %16, i32 40)
  %28 = call float @llvm.SI.load.const(<16 x i8> %16, i32 44)
  %29 = call float @llvm.SI.load.const(<16 x i8> %16, i32 48)
  %30 = call float @llvm.SI.load.const(<16 x i8> %16, i32 52)
  %31 = call float @llvm.SI.load.const(<16 x i8> %16, i32 56)
  %32 = call float @llvm.SI.load.const(<16 x i8> %16, i32 60)
  %33 = getelementptr [16 x <16 x i8>], [16 x <16 x i8>] addrspace(2)* %5, i64 0, i64 0, !amdgpu.uniform !0
  %34 = load <16 x i8>, <16 x i8> addrspace(2)* %33, align 16, !tbaa !1
  %35 = call <4 x float> @llvm.SI.vs.load.input(<16 x i8> %34, i32 0, i32 %13)
  %36 = extractelement <4 x float> %35, i32 0
  %37 = extractelement <4 x float> %35, i32 1
  %38 = extractelement <4 x float> %35, i32 2
  %39 = extractelement <4 x float> %35, i32 3
  %40 = getelementptr [16 x <16 x i8>], [16 x <16 x i8>] addrspace(2)* %5, i64 0, i64 1, !amdgpu.uniform !0
  %41 = load <16 x i8>, <16 x i8> addrspace(2)* %40, align 16, !tbaa !1
  %42 = call <4 x float> @llvm.SI.vs.load.input(<16 x i8> %41, i32 0, i32 %14)
  %43 = extractelement <4 x float> %42, i32 0
  %44 = extractelement <4 x float> %42, i32 1
  %45 = extractelement <4 x float> %42, i32 2
  %46 = extractelement <4 x float> %42, i32 3
  %47 = fmul float %36, %17
  %48 = fmul float %36, %18
  %49 = fmul float %36, %19
  %50 = fmul float %36, %20
  %51 = fmul float %37, %21
  %52 = fadd float %51, %47
  %53 = fmul float %37, %22
  %54 = fadd float %53, %48
  %55 = fmul float %37, %23
  %56 = fadd float %55, %49
  %57 = fmul float %37, %24
  %58 = fadd float %57, %50
  %59 = fmul float %38, %25
  %60 = fadd float %59, %52
  %61 = fmul float %38, %26
  %62 = fadd float %61, %54
  %63 = fmul float %38, %27
  %64 = fadd float %63, %56
  %65 = fmul float %38, %28
  %66 = fadd float %65, %58
  %67 = fmul float %39, %29
  %68 = fadd float %67, %60
  %69 = fmul float %39, %30
  %70 = fadd float %69, %62
  %71 = fmul float %39, %31
  %72 = fadd float %71, %64
  %73 = fmul float %39, %32
  %74 = fadd float %73, %66
  %75 = and i32 %8, 1
  %76 = icmp eq i32 %75, 0
  br i1 %76, label %endif-block, label %if-true-block

if-true-block:                                    ; preds = %main_body
  %77 = call float @llvm.AMDGPU.clamp.(float %43, float 0.000000e+00, float 1.000000e+00)
  %78 = call float @llvm.AMDGPU.clamp.(float %44, float 0.000000e+00, float 1.000000e+00)
  %79 = call float @llvm.AMDGPU.clamp.(float %45, float 0.000000e+00, float 1.000000e+00)
  %80 = call float @llvm.AMDGPU.clamp.(float %46, float 0.000000e+00, float 1.000000e+00)
  br label %endif-block

endif-block:                                      ; preds = %main_body, %if-true-block
  %.06 = phi float [ %77, %if-true-block ], [ %43, %main_body ]
  %.05 = phi float [ %78, %if-true-block ], [ %44, %main_body ]
  %.04 = phi float [ %79, %if-true-block ], [ %45, %main_body ]
  %.0 = phi float [ %80, %if-true-block ], [ %46, %main_body ]
  %81 = bitcast i32 %11 to float
  %82 = insertvalue <{ float, float, float }> undef, float %81, 2
  call void @llvm.SI.export(i32 15, i32 0, i32 0, i32 32, i32 0, float %.06, float %.05, float %.04, float %.0)
  call void @llvm.SI.export(i32 15, i32 0, i32 1, i32 12, i32 0, float %68, float %70, float %72, float %74)
  ret <{ float, float, float }> %82
}

; Function Attrs: nounwind readnone
declare float @llvm.SI.load.const(<16 x i8>, i32) #0

; Function Attrs: nounwind readnone
declare <4 x float> @llvm.SI.vs.load.input(<16 x i8>, i32, i32) #0

; Function Attrs: readnone
declare float @llvm.AMDGPU.clamp.(float, float, float) #1

declare void @llvm.SI.export(i32, i32, i32, i32, i32, float, float, float, float)

attributes #0 = { nounwind readnone }
attributes #1 = { readnone }

!0 = !{}
!1 = !{!"const", null, i32 1}

*** Error in `./Awesomenauts.bin.x86': free(): invalid pointer: 0xe8294198 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x67257)[0xf630d257]
/lib/i386-linux-gnu/libc.so.6(+0x6d577)[0xf6313577]
/lib/i386-linux-gnu/libc.so.6(+0x6dd31)[0xf6313d31]
/usr/lib/i386-linux-gnu/libstdc++.so.6(_ZdlPvRKSt9nothrow_t+0x18)[0xf653ddd8]
/usr/lib/i386-linux-gnu/libLLVM-3.9.so(+0x6fa6ed)[0xe38456ed]
/usr/lib/i386-linux-gnu/libLLVM-3.9.so(+0x6faf15)[0xe3845f15]
/usr/lib/i386-linux-gnu/libLLVM-3.9.so(_ZN4llvm19MachineFunctionPass13runOnFunctionERNS_8FunctionE+0x89)[0xe37fefc9]
/usr/lib/i386-linux-gnu/libLLVM-3.9.so(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x208)[0xe36945e8]
/usr/lib/i386-linux-gnu/libLLVM-3.9.so(_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE+0x35)[0xe36949a5]
/usr/lib/i386-linux-gnu/libLLVM-3.9.so(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x34a)[0xe36941ea]
/usr/lib/i386-linux-gnu/libLLVM-3.9.so(_ZN4llvm6legacy11PassManager3runERNS_6ModuleE+0x1f)[0xe36943cf]
/usr/lib/i386-linux-gnu/libLLVM-3.9.so(+0x12786a8)[0xe43c36a8]
/usr/lib/i386-linux-gnu/libLLVM-3.9.so(LLVMTargetMachineEmitToMemoryBuffer+0xa6)[0xe43c39e6]
/usr/lib/i386-linux-gnu/dri/radeonsi_dri.so(+0x77585b)[0xe679e85b]
/usr/lib/i386-linux-gnu/dri/radeonsi_dri.so(+0x6a0ae0)[0xe66c9ae0]
/usr/lib/i386-linux-gnu/dri/radeonsi_dri.so(+0x6a2b79)[0xe66cbb79]
/usr/lib/i386-linux-gnu/dri/radeonsi_dri.so(+0x6b0352)[0xe66d9352]
/usr/lib/i386-linux-gnu/dri/radeonsi_dri.so(+0x21b16b)[0xe624416b]
/usr/lib/i386-linux-gnu/dri/radeonsi_dri.so(+0x21c284)[0xe6245284]
/usr/lib/i386-linux-gnu/dri/radeonsi_dri.so(+0x1aab7c)[0xe61d3b7c]
/usr/lib/i386-linux-gnu/dri/radeonsi_dri.so(+0x86703)[0xe60af703]
/usr/lib/i386-linux-gnu/dri/radeonsi_dri.so(+0x12596c)[0xe614e96c]
/usr/lib/i386-linux-gnu/dri/radeonsi_dri.so(+0x125a94)[0xe614ea94]
/usr/lib/i386-linux-gnu/dri/radeonsi_dri.so(+0x50769)[0xe6079769]
./Awesomenauts.bin.x86[0x879844b]
./Awesomenauts.bin.x86[0x853fc99]
./Awesomenauts.bin.x86[0x84aa3f4]
./Awesomenauts.bin.x86[0x83c1bbc]
./Awesomenauts.bin.x86[0x83c1de0]
./Awesomenauts.bin.x86[0x883a74f]
./Awesomenauts.bin.x86[0x83d0d75]
./Awesomenauts.bin.x86[0x824a1b3]
/lib/i386-linux-gnu/libpthread.so.0(+0x62b5)[0xf69db2b5]
/lib/i386-linux-gnu/libc.so.6(clone+0x6e)[0xf638d16e]
======= Memory map: ========
08048000-093ab000 r-xp 00000000 08:11 2373269                            /home/user/.steam/steam/steamapps/common/Awesomenauts/Awesomenauts.bin.x86
093ab000-093ba000 rw-p 01362000 08:11 2373269                            /home/user/.steam/steam/steamapps/common/Awesomenauts/Awesomenauts.bin.x86
093ba000-093de000 rw-p 00000000 00:00 0 
09fab000-0a27f000 rw-p 00000000 00:00 0                                  [heap]
e1f00000-e1fa6000 rw-p 00000000 00:00 0 
e1fa6000-e2000000 ---p 00000000 00:00 0 
e20a8000-e20a9000 rw-p 00000000 00:00 0 
e20a9000-e20aa000 ---p 00000000 00:00 0 
e20aa000-e28aa000 rw-p 00000000 00:00 0 
e28aa000-e28ab000 rwxp 00000000 00:00 0 
e28ab000-e28e0000 r-xp 00000000 08:11 4986725                            /usr/lib/i386-linux-gnu/libtxc_dxtn_s2tc.so.0.0.0
e28e0000-e28e1000 r--p 00034000 08:11 4986725                            /usr/lib/i386-linux-gnu/libtxc_dxtn_s2tc.so.0.0.0
e28e1000-e28e2000 rw-p 00035000 08:11 4986725                            /usr/lib/i386-linux-gnu/libtxc_dxtn_s2tc.so.0.0.0
e28e2000-e28e3000 ---p 00000000 00:00 0 
e28e3000-e30e3000 rw-p 00000000 00:00 0 
e30e3000-e30fd000 r-xp 00000000 08:11 791334                             /lib/i386-linux-gnu/libbsd.so.0.8.2
e30fd000-e30fe000 r--p 00019000 08:11 791334                             /lib/i386-linux-gnu/libbsd.so.0.8.2
e30fe000-e30ff000 rw-p 0001a000 08:11 791334                             /lib/i386-linux-gnu/libbsd.so.0.8.2
e30ff000-e3131000 r-xp 00000000 08:11 4986745                            /usr/lib/i386-linux-gnu/libedit.so.2.0.53
e3131000-e3132000 ---p 00032000 08:11 4986745                            /usr/lib/i386-linux-gnu/libedit.so.2.0.53
e3132000-e3133000 r--p 00032000 08:11 4986745                            /usr/lib/i386-linux-gnu/libedit.so.2.0.53
e3133000-e3134000 rw-p 00033000 08:11 4986745                            /usr/lib/i386-linux-gnu/libedit.so.2.0.53
e3134000-e3136000 rw-p 00000000 00:00 0 
e3136000-e313d000 r-xp 00000000 08:11 4986747                            /usr/lib/i386-linux-gnu/libffi.so.6.0.4
e313d000-e313e000 r--p 00006000 08:11 4986747                            /usr/lib/i386-linux-gnu/libffi.so.6.0.4
e313e000-e313f000 rw-p 00007000 08:11 4986747                            /usr/lib/i386-linux-gnu/libffi.so.6.0.4
e313f000-e3149000 r-xp 00000000 08:11 4986731                            /usr/lib/i386-linux-gnu/libpciaccess.so.0.11.1
e3149000-e314a000 r--p 00009000 08:11 4986731                            /usr/lib/i386-linux-gnu/libpciaccess.so.0.11.1
e314a000-e314b000 rw-p 0000a000 08:11 4986731                            /usr/lib/i386-linux-gnu/libpciaccess.so.0.11.1
e314b000-e5d52000 r-xp 00000000 08:11 4982422                            /usr/lib/i386-linux-gnu/libLLVM-3.9.so.1
e5d52000-e5d53000 ---p 02c07000 08:11 4982422                            /usr/lib/i386-linux-gnu/libLLVM-3.9.so.1
e5d53000-e5f61000 r--p 02c07000 08:11 4982422                            /usr/lib/i386-linux-gnu/libLLVM-3.9.so.1
e5f61000-e5f63000 rw-p 02e15000 08:11 4982422                            /usr/lib/i386-linux-gnu/libLLVM-3.9.so.1
e5f63000-e5f89000 rw-p 00000000 00:00 0 
e5f89000-e5fa3000 r-xp 00000000 08:11 4986739                            /usr/lib/i386-linux-gnu/libelf-0.165.so
e5fa3000-e5fa4000 r--p 00019000 08:11 4986739                            /usr/lib/i386-linux-gnu/libelf-0.165.so
e5fa4000-e5fa5000 rw-p 0001a000 08:11 4986739                            /usr/lib/i386-linux-gnu/libelf-0.165.so
e5fa5000-e5fae000 r-xp 00000000 08:11 4982431                            /usr/lib/i386-linux-gnu/libdrm_amdgpu.so.1.0.0
e5fae000-e5faf000 r--p 00008000 08:11 4982431                            /usr/lib/i386-linux-gnu/libdrm_amdgpu.so.1.0.0
e5faf000-e5fb0000 rw-p 00009000 08:11 4982431                            /usr/lib/i386-linux-gnu/libdrm_amdgpu.so.1.0.0
e5fb0000-e5fbc000 r-xp 00000000 08:11 4981090                            /usr/lib/i386-linux-gnu/libdrm_radeon.so.1.0.1
e5fbc000-e5fbd000 r--p 0000b000 08:11 4981090                            /usr/lib/i386-linux-gnu/libdrm_radeon.so.1.0.1
e5fbd000-e5fbe000 rw-p 0000c000 08:11 4981090                            /usr/lib/i386-linux-gnu/libdrm_radeon.so.1.0.1
e5fbe000-e5fc6000 r-xp 00000000 08:11 4982432                            /usr/lib/i386-linux-gnu/libdrm_nouveau.so.2.0.0
e5fc6000-e5fc7000 r--p 00007000 08:11 4982432                            /usr/lib/i386-linux-gnu/libdrm_nouveau.so.2.0.0
e5fc7000-e5fc8000 rw-p 00008000 08:11 4982432                            /usr/lib/i386-linux-gnu/libdrm_nouveau.so.2.0.0
e5fc8000-e5feb000 r-xp 00000000 08:11 4981091                            /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0
e5feb000-e5fec000 r--p 00022000 08:11 4981091                            /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0
e5fec000-e5fed000 rw-p 00023000 08:11 4981091                            /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0
e5fed000-e6027000 r-xp 00000000 08:11 4981914                            /usr/lib/i386-linux-gnu/libnettle.so.6.2
e6027000-e6028000 r--p 00039000 08:11 4981914                            /usr/lib/i386-linux-gnu/libnettle.so.6.2
e6028000-e6029000 rw-p 0003a000 08:11 4981914                            /usr/lib/i386-linux-gnu/libnettle.so.6.2
e6029000-e6993000 r-xp 00000000 08:11 4981260                            /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
e6993000-e6994000 ---p 0096a000 08:11 4981260                            /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
e6994000-e69b8000 r--p 0096a000 08:11 4981260                            /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
e69b8000-e69c1000 rw-p 0098e000 08:11 4981260                            /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so
e69c1000-e6bb6000 rw-p 00000000 00:00 0 
e6bb6000-e6bd5000 r-xp 00000000 08:11 786523                             /lib/i386-linux-gnu/libudev.so.1.6.4
e6bd5000-e6bd6000 r--p 0001e000 08:11 786523                             /lib/i386-linux-gnu/libudev.so.1.6.4
e6bd6000-e6bd7000 rw-p 0001f000 08:11 786523                             /lib/i386-linux-gnu/libudev.so.1.6.4
e6bd7000-e6be7000 rw-s 15d25e000 00:06 316                               /dev/dri/card0
e6be7000-e6bf7000 rw-s 16b8b0000 00:06 316                               /dev/dri/card0
e6bf7000-e6c78000 rw-p 00000000 00:00 0 
e6c78000-e6e78000 r--p 00000000 08:11 4857062                            /usr/lib/locale/locale-archive
e6e78000-e6e7d000 r-xp 00000000 08:11 791034                             /lib/i386-linux-gnu/libnss_dns-2.23.so
e6e7d000-e6e7e000 r--p 00004000 08:11 791034                             /lib/i386-linux-gnu/libnss_dns-2.23.so
e6e7e000-e6e7f000 rw-p 00005000 08:11 791034                             /lib/i386-linux-gnu/libnss_dns-2.23.so
e6e7f000-e6e8a000 r-xp 00000000 08:11 790950                             /lib/i386-linux-gnu/libnss_files-2.23.so
e6e8a000-e6e8b000 r--p 0000a000 08:11 790950                             /lib/i386-linux-gnu/libnss_files-2.23.so
e6e8b000-e6e8c000 rw-p 0000b000 08:11 790950                             /lib/i386-linux-gnu/libnss_files-2.23.so
e6e8c000-f5900000 rw-p 00000000 00:00 0 
f5900000-f5914000 r-xp 00000000 08:11 786470                             /lib/i386-linux-gnu/libgpg-error.so.0.17.0
f5914000-f5915000 r--p 00013000 08:11 786470                             /lib/i386-linux-gnu/libgpg-error.so.0.17.0
f5915000-f5916000 rw-p 00014000 08:11 786470                             /lib/i386-linux-gnu/libgpg-error.so.0.17.0
f5916000-f5917000 rw-p 00000000 00:00 0 
f5917000-f598a000 r-xp 00000000 08:11 786468                             /lib/i386-linux-gnu/libpcre.so.3.13.2
f598a000-f598b000 r--p 00072000 08:11 786468                             /lib/i386-linux-gnu/libpcre.so.3.13.2
f598b000-f598c000 rw-p 00073000 08:11 786468                             /lib/i386-linux-gnu/libpcre.so.3.13.2
f598c000-f59a0000 r-xp 00000000 08:11 790958                             /lib/i386-linux-gnu/libresolv-2.23.so
f59a0000-f59a1000 ---p 00014000 08:11 790958                             /lib/i386-linux-gnu/libresolv-2.23.so
f59a1000-f59a2000 r--p 00014000 08:11 790958                             /lib/i386-linux-gnu/libresolv-2.23.so
f59a2000-f59a3000 rw-p 00015000 08:11 790958                             /lib/i386-linux-gnu/libresolv-2.23.so
f59a3000-f59a5000 rw-p 00000000 00:00 0 
f59a5000-f5a1f000 r-xp 00000000 08:11 4982031                            /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.11
f5a1f000-f5a30000 r--p 00079000 08:11 4982031                            /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.11
f5a30000-f5a31000 rw-p 0008a000 08:11 4982031                            /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.11
f5a31000-f5a8f000 r-xp 00000000 08:11 4982039                            /usr/lib/i386-linux-gnu/libFLAC.so.8.3.0
f5a8f000-f5a90000 r--p 0005d000 08:11 4982039                            /usr/lib/i386-linux-gnu/libFLAC.so.8.3.0
f5a90000-f5a91000 rw-p 0005e000 08:11 4982039                            /usr/lib/i386-linux-gnu/libFLAC.so.8.3.0
f5a91000-f5aa8000 r-xp 00000000 08:11 786528                             /lib/i386-linux-gnu/libnsl-2.23.so
f5aa8000-f5aa9000 r--p 00016000 08:11 786528                             /lib/i386-linux-gnu/libnsl-2.23.so
f5aa9000-f5aaa000 rw-p 00017000 08:11 786528                             /lib/i386-linux-gnu/libnsl-2.23.so
f5aaa000-f5aad000 rw-p 00000000 00:00 0 
f5aad000-f5b58000 r-xp 00000000 08:11 786472                             /lib/i386-linux-gnu/libgcrypt.so.20.0.5
f5b58000-f5b59000 r--p 000aa000 08:11 786472                             /lib/i386-linux-gnu/libgcrypt.so.20.0.5
f5b59000-f5b5c000 rw-p 000ab000 08:11 786472                             /lib/i386-linux-gnu/libgcrypt.so.20.0.5
f5b5c000-f5b80000 r-xp 00000000 08:11 786466                             /lib/i386-linux-gnu/liblzma.so.5.0.0
f5b80000-f5b81000 r--p 00023000 08:11 786466                             /lib/i386-linux-gnu/liblzma.so.5.0.0
f5b81000-f5b82000 rw-p 00024000 08:11 786466                             /lib/i386-linux-gnu/liblzma.so.5.0.0
f5b82000-f5ba4000 r-xp 00000000 08:11 786474                             /lib/i386-linux-gnu/libselinux.so.1
f5ba4000-f5ba5000 ---p 00022000 08:11 786474                             /lib/i386-linux-gnu/libselinux.so.1
f5ba5000-f5ba6000 r--p 00022000 08:11 786474                             /lib/i386-linux-gnu/libselinux.so.1
f5ba6000-f5ba7000 rw-p 00023000 08:11 786474                             /lib/i386-linux-gnu/libselinux.so.1
f5ba7000-f5ba8000 rw-p 00000000 00:00 0 
f5ba8000-f5bad000 r-xp 00000000 08:11 4981883                            /usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
f5bad000-f5bae000 r--p 00004000 08:11 4981883                            /usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
f5bae000-f5baf000 rw-p 00005000 08:11 4981883                            /usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
f5baf000-f5c21000 r-xp 00000000 08:11 4982041                            /usr/lib/i386-linux-gnu/libsndfile.so.1.0.25
f5c21000-f5c22000 ---p 00072000 08:11 4982041                            /usr/lib/i386-linux-gnu/libsndfile.so.1.0.25
f5c22000-f5c23000 r--p 00072000 08:11 4982041                            /usr/lib/i386-linux-gnu/libsndfile.so.1.0.25
f5c23000-f5c24000 rw-p 00073000 08:11 4982041                            /usr/lib/i386-linux-gnu/libsndfile.so.1.0.25
f5c24000-f5c29000 rw-p 00000000 00:00 0 
f5c29000-f5c31000 r-xp 00000000 08:11 786481                             /lib/i386-linux-gnu/libwrap.so.0.7.6
f5c31000-f5c32000 r--p 00007000 08:11 786481                             /lib/i386-linux-gnu/libwrap.so.0.7.6
f5c32000-f5c33000 rw-p 00008000 08:11 786481                             /lib/i386-linux-gnu/libwrap.so.0.7.6
f5c33000-f5cbe000 r-xp 00000000 08:11 786475                             /lib/i386-linux-gnu/libsystemd.so.0.14.0
f5cbe000-f5cc0000 r--p 0008a000 08:11 786475                             /lib/i386-linux-gnu/libsystemd.so.0.14.0
f5cc0000-f5cc1000 rw-p 0008c000 08:11 786475                             /lib/i386-linux-gnu/libsystemd.so.0.14.0
f5cc1000-f5ce1000 r-xp 00000000 08:11 791336                             /lib/i386-linux-gnu/libtinfo.so.5.9
f5ce1000-f5ce3000 r--p 0001f000 08:11 791336                             /lib/i386-linux-gnu/libtinfo.so.5.9
f5ce3000-f5ce4000 rw-p 00021000 08:11 791336                             /lib/i386-linux-gnu/libtinfo.so.5.9
f5ce4000-f5d16000 r-xp 00000000 08:11 786644                             /lib/i386-linux-gnu/libncursesw.so.5.9
f5d16000-f5d17000 ---p 00032000 08:11 786644                             /lib/i386-linux-gnu/libncursesw.so.5.9
f5d17000-f5d18000 r--p 00032000 08:11 786644                             /lib/i386-linux-gnu/libncursesw.so.5.9
f5d18000-f5d19000 rw-p 00033000 08:11 786644                             /lib/i386-linux-gnu/libncursesw.so.5.9
f5d19000-f5e05000 r-xp 00000000 08:11 786642                             /lib/i386-linux-gnu/libslang.so.2.3.0
f5e05000-f5e08000 r--p 000eb000 08:11 786642                             /lib/i386-linux-gnu/libslang.so.2.3.0
f5e08000-f5e17000 rw-p 000ee000 08:11 786642                             /lib/i386-linux-gnu/libslang.so.2.3.0
f5e17000-f5e45000 rw-p 00000000 00:00 0 
f5e45000-f5e9c000 r-xp 00000000 08:11 791070                             /lib/i386-linux-gnu/libdbus-1.so.3.14.6
f5e9c000-f5e9d000 ---p 00057000 08:11 791070                             /lib/i386-linux-gnu/libdbus-1.so.3.14.6
f5e9d000-f5e9e000 r--p 00057000 08:11 791070                             /lib/i386-linux-gnu/libdbus-1.so.3.14.6
f5e9e000-f5e9f000 rw-p 00058000 08:11 791070                             /lib/i386-linux-gnu/libdbus-1.so.3.14.6
f5e9f000-f5ea0000 rw-p 00000000 00:00 0 
f5ea0000-f5eaa000 r-xp 00000000 08:11 786477                             /lib/i386-linux-gnu/libjson-c.so.2.0.0
f5eaa000-f5eab000 r--p 00009000 08:11 786477                             /lib/i386-linux-gnu/libjson-c.so.2.0.0
f5eab000-f5eac000 rw-p 0000a000 08:11 786477                             /lib/i386-linux-gnu/libjson-c.so.2.0.0
f5eac000-f5f32000 r-xp 00000000 08:11 5246207                            /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-8.0.so
f5f32000-f5f33000 r--p 00085000 08:11 5246207                            /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-8.0.so
f5f33000-f5f34000 rw-p 00086000 08:11 5246207                            /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-8.0.so
f5f34000-f5f39000 r-xp 00000000 08:11 4986703                            /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
f5f39000-f5f3a000 r--p 00004000 08:11 4986703                            /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
f5f3a000-f5f3b000 rw-p 00005000 08:11 4986703                            /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
f5f3b000-f5f3d000 r-xp 00000000 08:11 4986701                            /usr/lib/i386-linux-gnu/libXau.so.6.0.0
f5f3d000-f5f3e000 r--p 00001000 08:11 4986701                            /usr/lib/i386-linux-gnu/libXau.so.6.0.0
f5f3e000-f5f3f000 rw-p 00002000 08:11 4986701                            /usr/lib/i386-linux-gnu/libXau.so.6.0.0
f5f3f000-f5f40000 rw-p 00000000 00:00 0 
f5f40000-f5f69000 r-xp 00000000 08:11 786492                             /lib/i386-linux-gnu/libpng12.so.0.54.0
f5f69000-f5f6a000 r--p 00028000 08:11 786492                             /lib/i386-linux-gnu/libpng12.so.0.54.0
f5f6a000-f5f6b000 rw-p 00029000 08:11 786492                             /lib/i386-linux-gnu/libpng12.so.0.54.0
f5f6b000-f5f84000 r-xp 00000000 08:11 791329                             /lib/i386-linux-gnu/libz.so.1.2.8
f5f84000-f5f85000 r--p 00018000 08:11 791329                             /lib/i386-linux-gnu/libz.so.1.2.8
f5f85000-f5f86000 rw-p 00019000 08:11 791329                             /lib/i386-linux-gnu/libz.so.1.2.8
f5f86000-f604e000 r-xp 00000000 08:11 4986225                            /usr/lib/i386-linux-gnu/libcaca.so.0.99.19
f604e000-f604f000 r--p 000c7000 08:11 4986225                            /usr/lib/i386-linux-gnu/libcaca.so.0.99.19
f604f000-f6050000 rw-p 000c8000 08:11 4986225                            /usr/lib/i386-linux-gnu/libcaca.so.0.99.19
f6050000-f60a7000 r-xp 00000000 08:11 4982044                            /usr/lib/i386-linux-gnu/libpulse.so.0.19.0
f60a7000-f60a8000 ---p 00057000 08:11 4982044                            /usr/lib/i386-linux-gnu/libpulse.so.0.19.0
f60a8000-f60a9000 r--p 00057000 08:11 4982044                            /usr/lib/i386-linux-gnu/libpulse.so.0.19.0
f60a9000-f60aa000 rw-p 00058000 08:11 4982044                            /usr/lib/i386-linux-gnu/libpulse.so.0.19.0
f60aa000-f60ab000 rw-p 00000000 00:00 0 
f60ab000-f60af000 r-xp 00000000 08:11 4982043                            /usr/lib/i386-linux-gnu/libpulse-simple.so.0.1.0
f60af000-f60b0000 r--p 00003000 08:11 4982043                            /usr/lib/i386-linux-gnu/libpulse-simple.so.0.1.0
f60b0000-f60b1000 rw-p 00004000 08:11 4982043                            /usr/lib/i386-linux-gnu/libpulse-simple.so.0.1.0
f60b1000-f61c1000 r-xp 00000000 08:11 4982033                            /usr/lib/i386-linux-gnu/libasound.so.2.0.0
f61c1000-f61c2000 ---p 00110000 08:11 4982033                            /usr/lib/i386-linux-gnu/libasound.so.2.0.0
f61c2000-f61c6000 r--p 00110000 08:11 4982033                            /usr/lib/i386-linux-gnu/libasound.so.2.0.0
f61c6000-f61c7000 rw-p 00114000 08:11 4982033                            /usr/lib/i386-linux-gnu/libasound.so.2.0.0
f61c7000-f61d7000 r-xp 00000000 08:11 4991941                            /usr/lib/i386-linux-gnu/libdrm.so.2.4.0
f61d7000-f61d8000 r--p 0000f000 08:11 4991941                            /usr/lib/i386-linux-gnu/libdrm.so.2.4.0
f61d8000-f61d9000 rw-p 00010000 08:11 4991941                            /usr/lib/i386-linux-gnu/libdrm.so.2.4.0
f61d9000-f61de000 r-xp 00000000 08:11 4986719                            /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0
f61de000-f61df000 r--p 00004000 08:11 4986719                            /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0
f61df000-f61e0000 rw-p 00005000 08:11 4986719                            /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0
f61e0000-f6204000 r-xp 00000000 08:11 4986705                            /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
f6204000-f6205000 r--p 00023000 08:11 4986705                            /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
f6205000-f6206000 rw-p 00024000 08:11 4986705                            /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
f6206000-f6207000 rw-p 00000000 00:00 0 
f6207000-f620b000 r-xp 00000000 08:11 4986758                            /usr/lib/i386-linux-gnu/libxcb-dri2.so.0.0.0
f620b000-f620c000 r--p 00003000 08:11 4986758                            /usr/lib/i386-linux-gnu/libxcb-dri2.so.0.0.0
f620c000-f620d000 rw-p 00004000 08:11 4986758                            /usr/lib/i386-linux-gnu/libxcb-dri2.so.0.0.0
f620d000-f6225000 r-xp 00000000 08:11 4986762                            /usr/lib/i386-linux-gnu/libxcb-glx.so.0.0.0
f6225000-f6226000 ---p 00018000 08:11 4986762                            /usr/lib/i386-linux-gnu/libxcb-glx.so.0.0.0
f6226000-f6227000 r--p 00018000 08:11 4986762                            /usr/lib/i386-linux-gnu/libxcb-glx.so.0.0.0
f6227000-f6228000 rw-p 00019000 08:11 4986762                            /usr/lib/i386-linux-gnu/libxcb-glx.so.0.0.0
f6228000-f6229000 r-xp 00000000 08:11 4986756                            /usr/lib/i386-linux-gnu/libX11-xcb.so.1.0.0
f6229000-f622a000 r--p 00000000 08:11 4986756                            /usr/lib/i386-linux-gnu/libX11-xcb.so.1.0.0
f622a000-f622b000 rw-p 00001000 08:11 4986756                            /usr/lib/i386-linux-gnu/libX11-xcb.so.1.0.0
f622b000-f6230000 r-xp 00000000 08:11 4986713                            /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
f6230000-f6231000 r--p 00004000 08:11 4986713                            /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
f6231000-f6232000 rw-p 00005000 08:11 4986713                            /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
f6232000-f6234000 r-xp 00000000 08:11 4986711                            /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0
f6234000-f6235000 r--p 00001000 08:11 4986711                            /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0
f6235000-f6236000 rw-p 00002000 08:11 4986711                            /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0
f6236000-f6237000 rw-p 00000000 00:00 0 
f6237000-f624a000 r-xp 00000000 08:11 4986709                            /usr/lib/i386-linux-gnu/libXext.so.6.4.0
f624a000-f624b000 r--p 00012000 08:11 4986709                            /usr/lib/i386-linux-gnu/libXext.so.6.4.0
f624b000-f624c000 rw-p 00013000 08:11 4986709                            /usr/lib/i386-linux-gnu/libXext.so.6.4.0
f624c000-f625f000 r-xp 00000000 08:11 4981267                            /usr/lib/i386-linux-gnu/libglapi.so.0.0.0
f625f000-f6260000 ---p 00013000 08:11 4981267                            /usr/lib/i386-linux-gnu/libglapi.so.0.0.0
f6260000-f6262000 r--p 00013000 08:11 4981267                            /usr/lib/i386-linux-gnu/libglapi.so.0.0.0
f6262000-f6268000 rwxp 00015000 08:11 4981267                            /usr/lib/i386-linux-gnu/libglapi.so.0.0.0
f6268000-f6269000 r-xp 00000000 08:11 4986717                            /usr/lib/i386-linux-gnu/libxshmfence.so.1.0.0
f6269000-f626a000 r--p 00000000 08:11 4986717                            /usr/lib/i386-linux-gnu/libxshmfence.so.1.0.0
f626a000-f626b000 rw-p 00001000 08:11 4986717                            /usr/lib/i386-linux-gnu/libxshmfence.so.1.0.0
f626b000-f6270000 r-xp 00000000 08:11 4986766                            /usr/lib/i386-linux-gnu/libxcb-sync.so.1.0.0
f6270000-f6271000 ---p 00005000 08:11 4986766                            /usr/lib/i386-linux-gnu/libxcb-sync.so.1.0.0
f6271000-f6272000 r--p 00005000 08:11 4986766                            /usr/lib/i386-linux-gnu/libxcb-sync.so.1.0.0
f6272000-f6273000 rw-p 00006000 08:11 4986766                            /usr/lib/i386-linux-gnu/libxcb-sync.so.1.0.0
f6273000-f6275000 r-xp 00000000 08:11 4986764                            /usr/lib/i386-linux-gnu/libxcb-present.so.0.0.0
f6275000-f6276000 r--p 00001000 08:11 4986764                            /usr/lib/i386-linux-gnu/libxcb-present.so.0.0.0
f6276000-f6277000 rw-p 00002000 08:11 4986764                            /usr/lib/i386-linux-gnu/libxcb-present.so.0.0.0
f6277000-f6278000 rw-p 00000000 00:00 0 
f6278000-f627a000 r-xp 00000000 08:11 4986760                            /usr/lib/i386-linux-gnu/libxcb-dri3.so.0.0.0
f627a000-f627b000 r--p 00001000 08:11 4986760                            /usr/lib/i386-linux-gnu/libxcb-dri3.so.0.0.0
f627b000-f627c000 rw-p 00002000 08:11 4986760                            /usr/lib/i386-linux-gnu/libxcb-dri3.so.0.0.0
f627c000-f62a2000 r-xp 00000000 08:11 786462                             /lib/i386-linux-gnu/libexpat.so.1.6.0
f62a2000-f62a3000 ---p 00026000 08:11 786462                             /lib/i386-linux-gnu/libexpat.so.1.6.0
f62a3000-f62a5000 r--p 00026000 08:11 786462                             /lib/i386-linux-gnu/libexpat.so.1.6.0
f62a5000-f62a6000 rw-p 00028000 08:11 786462                             /lib/i386-linux-gnu/libexpat.so.1.6.0
f62a6000-f6455000 r-xp 00000000 08:11 791036                             /lib/i386-linux-gnu/libc-2.23.so
f6455000-f6456000 ---p 001af000 08:11 791036                             /lib/i386-linux-gnu/libc-2.23.so
f6456000-f6458000 r--p 001af000 08:11 791036                             /lib/i386-linux-gnu/libc-2.23.so
f6458000-f6459000 rw-p 001b1000 08:11 791036                             /lib/i386-linux-gnu/libc-2.23.so
f6459000-f645c000 rw-p 00000000 00:00 0 
f645c000-f6478000 r-xp 00000000 08:11 791328                             /lib/i386-linux-gnu/libgcc_s.so.1
f6478000-f6479000 rw-p 0001b000 08:11 791328                             /lib/i386-linux-gnu/libgcc_s.so.1
f6479000-f64cc000 r-xp 00000000 08:11 790974                             /lib/i386-linux-gnu/libm-2.23.so
f64cc000-f64cd000 r--p 00052000 08:11 790974                             /lib/i386-linux-gnu/libm-2.23.so
f64cd000-f64ce000 rw-p 00053000 08:11 790974                             /lib/i386-linux-gnu/libm-2.23.so
f64ce000-f64cf000 rw-p 00000000 00:00 0 
f64cf000-f663c000 r-xp 00000000 08:11 4988999                            /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
f663c000-f663d000 ---p 0016d000 08:11 4988999                            /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
f663d000-f6642000 r--p 0016d000 08:11 4988999                            /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
f6642000-f6643000 rw-p 00172000 08:11 4988999                            /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
f6643000-f6646000 rw-p 00000000 00:00 0 
f6646000-f66b8000 r-xp 00000000 08:11 4986239                            /usr/lib/i386-linux-gnu/libopenal.so.1.16.0
f66b8000-f66ba000 r--p 00072000 08:11 4986239                            /usr/lib/i386-linux-gnu/libopenal.so.1.16.0
f66ba000-f66bb000 rw-p 00074000 08:11 4986239                            /usr/lib/i386-linux-gnu/libopenal.so.1.16.0
f66bb000-f66bd000 rw-p 00000000 00:00 0 
f66bd000-f66c6000 r-xp 00000000 08:11 4986237                            /usr/lib/i386-linux-gnu/libvorbisfile.so.3.3.7
f66c6000-f66c7000 r--p 00008000 08:11 4986237                            /usr/lib/i386-linux-gnu/libvorbisfile.so.3.3.7
f66c7000-f66c8000 rw-p 00009000 08:11 4986237                            /usr/lib/i386-linux-gnu/libvorbisfile.so.3.3.7
f66c8000-f66f2000 r-xp 00000000 08:11 4982029                            /usr/lib/i386-linux-gnu/libvorbis.so.0.4.8
f66f2000-f66f3000 r--p 00029000 08:11 4982029                            /usr/lib/i386-linux-gnu/libvorbis.so.0.4.8
f66f3000-f66f4000 rw-p 0002a000 08:11 4982029                            /usr/lib/i386-linux-gnu/libvorbis.so.0.4.8
f66f4000-f66fb000 r-xp 00000000 08:11 4981903                            /usr/lib/i386-linux-gnu/libogg.so.0.8.2
f66fb000-f66fc000 r--p 00006000 08:11 4981903                            /usr/lib/i386-linux-gnu/libogg.so.0.8.2
f66fc000-f66fd000 rw-p 00007000 08:11 4981903                            /usr/lib/i386-linux-gnu/libogg.so.0.8.2
f66fd000-f66fe000 rw-p 00000000 00:00 0 
f66fe000-f670c000 r-xp 00000000 08:11 2361739                            /home/user/.steam/steam/steamapps/common/Awesomenauts/lib/libsteam_api.so
f670c000-f670d000 rw-p 0000e000 08:11 2361739                            /home/user/.steam/steam/steamapps/common/Awesomenauts/lib/libsteam_api.so
f670d000-f670e000 rw-p 00000000 00:00 0 
f670e000-f6711000 r-xp 00000000 08:11 791059                             /lib/i386-linux-gnu/libdl-2.23.so
f6711000-f6712000 r--p 00002000 08:11 791059                             /lib/i386-linux-gnu/libdl-2.23.so
f6712000-f6713000 rw-p 00003000 08:11 791059                             /lib/i386-linux-gnu/libdl-2.23.so
f6713000-f6859000 r-xp 00000000 08:11 4986707                            /usr/lib/i386-linux-gnu/libX11.so.6.3.0
f6859000-f685a000 ---p 00146000 08:11 4986707                            /usr/lib/i386-linux-gnu/libX11.so.6.3.0
f685a000-f685b000 r--p 00146000 08:11 4986707                            /usr/lib/i386-linux-gnu/libX11.so.6.3.0
f685b000-f685d000 rw-p 00147000 08:11 4986707                            /usr/lib/i386-linux-gnu/libX11.so.6.3.0
f685d000-f685e000 rw-p 00000000 00:00 0 
f685e000-f6877000 r-xp 00000000 08:11 4982023                            /usr/lib/i386-linux-gnu/libtheoradec.so.1.1.4
f6877000-f6878000 r--p 00018000 08:11 4982023                            /usr/lib/i386-linux-gnu/libtheoradec.so.1.1.4
f6878000-f6879000 rw-p 00019000 08:11 4982023                            /usr/lib/i386-linux-gnu/libtheoradec.so.1.1.4
f6879000-f6924000 r-xp 00000000 08:11 4982054                            /usr/lib/i386-linux-gnu/libfreetype.so.6.12.1
f6924000-f6928000 r--p 000aa000 08:11 4982054                            /usr/lib/i386-linux-gnu/libfreetype.so.6.12.1
f6928000-f6929000 rw-p 000ae000 08:11 4982054                            /usr/lib/i386-linux-gnu/libfreetype.so.6.12.1
f6929000-f692a000 rw-p 00000000 00:00 0 
f692a000-f699f000 r-xp 00000000 08:11 4986235                            /usr/lib/i386-linux-gnu/libSDL-1.2.so.0.11.4
f699f000-f69a0000 ---p 00075000 08:11 4986235                            /usr/lib/i386-linux-gnu/libSDL-1.2.so.0.11.4
f69a0000-f69a1000 r--p 00075000 08:11 4986235                            /usr/lib/i386-linux-gnu/libSDL-1.2.so.0.11.4
f69a1000-f69a2000 rw-p 00076000 08:11 4986235                            /usr/lib/i386-linux-gnu/libSDL-1.2.so.0.11.4
f69a2000-f69cc000 rw-p 00000000 00:00 0 
f69cc000-f69d3000 r-xp 00000000 08:11 791031                             /lib/i386-linux-gnu/librt-2.23.so
f69d3000-f69d4000 r--p 00006000 08:11 791031                             /lib/i386-linux-gnu/librt-2.23.so
f69d4000-f69d5000 rw-p 00007000 08:11 791031                             /lib/i386-linux-gnu/librt-2.23.so
f69d5000-f69ee000 r-xp 00000000 08:11 791035                             /lib/i386-linux-gnu/libpthread-2.23.so
f69ee000-f69ef000 r--p 00018000 08:11 791035                             /lib/i386-linux-gnu/libpthread-2.23.so
f69ef000-f69f0000 rw-p 00019000 08:11 791035                             /lib/i386-linux-gnu/libpthread-2.23.so
f69f0000-f69f2000 rw-p 00000000 00:00 0 
f69f2000-f6a61000 r-xp 00000000 08:11 2361700                            /home/user/.steam/steam/steamapps/common/Awesomenauts/lib/libCgGL.so
f6a61000-f6a64000 rw-p 0006e000 08:11 2361700                            /home/user/.steam/steam/steamapps/common/Awesomenauts/lib/libCgGL.so
f6a64000-f6a65000 rw-p 00000000 00:00 0 
f6a65000-f71ec000 r-xp 00000000 08:11 2360714                            /home/user/.steam/steam/steamapps/common/Awesomenauts/lib/libCg.so
f71ec000-f75ae000 rw-p 00786000 08:11 2360714                            /home/user/.steam/steam/steamapps/common/Awesomenauts/lib/libCg.so
f75ae000-f75e7000 rw-p 00000000 00:00 0 
f75e7000-f765e000 r-xp 00000000 08:11 4988420                            /usr/lib/i386-linux-gnu/libGLU.so.1.3.1
f765e000-f765f000 ---p 00077000 08:11 4988420                            /usr/lib/i386-linux-gnu/libGLU.so.1.3.1
f765f000-f7660000 r--p 00077000 08:11 4988420                            /usr/lib/i386-linux-gnu/libGLU.so.1.3.1
f7660000-f7661000 rw-p 00078000 08:11 4988420                            /usr/lib/i386-linux-gnu/libGLU.so.1.3.1
f7661000-f76c0000 r-xp 00000000 08:11 4980752                            /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0
f76c0000-f76c2000 r--p 0005e000 08:11 4980752                            /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0
f76c2000-f76c7000 rwxp 00060000 08:11 4980752                            /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0
f76c7000-f76c8000 rw-s 00000000 00:05 305760                             /memfd:xshmfence (deleted)
f76c8000-f76cf000 r--s 00000000 08:11 4983249                            /usr/lib/i386-linux-gnu/gconv/gconv-modules.cache
f76cf000-f76d9000 r-xp 00000000 08:11 4982088                            /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
f76d9000-f76da000 r--p 00009000 08:11 4982088                            /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
f76da000-f76db000 rw-p 0000a000 08:11 4982088                            /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
f76db000-f76e4000 r-xp 00000000 08:11 4984277                            /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
f76e4000-f76e5000 r--p 00008000 08:11 4984277                            /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
f76e5000-f76e6000 rw-p 00009000 08:11 4984277                            /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
f76e6000-f76e7000 r--p 0073e000 08:11 4857062                            /usr/lib/locale/locale-archive
f76e7000-f76e9000 rw-p 00000000 00:00 0 
f76e9000-f76eb000 r--p 00000000 00:00 0                                  [vvar]
f76eb000-f76ec000 r-xp 00000000 00:00 0                                  [vdso]
f76ec000-f770e000 r-xp 00000000 08:11 791032                             /lib/i386-linux-gnu/ld-2.23.so
f770e000-f770f000 rw-p 00000000 00:00 0 
f770f000-f7710000 r--p 00022000 08:11 791032                             /lib/i386-linux-gnu/ld-2.23.so
f7710000-f7711000 rw-p 00023000 08:11 791032                             /lib/i386-linux-gnu/ld-2.23.so
fff43000-fff64000 rw-p 00000000 00:00 0                                  [stack]
Aborted (core dumped)
Comment 5 Quentin Quaadgras 2016-07-04 02:51:16 UTC
Created attachment 124881 [details]
Padoka with R600_DEBUG set
Comment 6 Joost van Dongen 2016-07-04 10:16:24 UTC
Joost here, lead programmer on Awesomenauts. Based on these logs it seems like a driver problem since the crash is in an extremely early part of our OpenGL code, before we do anything exciting. Also, nothing recently changed in that part of our OpenGL code.

I'm not a Linux expert myself but it seems like you might not be running proprietary AMD drivers or something like that? Maybe try other drivers?

Based on these logs the crash is somewhere in this bit of code:

	GLint swapInterval = 0;
	switch (interval)
	{
		case VSI_ONE:	swapInterval = 1;	break;
		case VSI_TWO:	swapInterval = 2;	break;
		case VSI_NONE:
		default:							break;
	}	
	if (GLXEW_EXT_swap_control)
	{
		glXSwapIntervalEXT(glXGetCurrentDisplay(), glXGetCurrentDrawable(), swapInterval);
	}
	else if (GLXEW_SGI_swap_control)
	{
		glXSwapIntervalSGI(swapInterval);
	}

	glViewport(0, 0, windowWidth, windowHeight);
	glScissor(0, 0, windowWidth, windowHeight);
	glClearColor(0.f, 0.f, 0.f, 0.f);
	glEnable(GL_DEPTH_TEST);
    
	// perform an initial rendering to clear the screen on startup
	glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
	SDL_GL_SwapBuffers();

	glDisable(GL_CULL_FACE);
	glDisable(GL_DEPTH_TEST);

I don't see any shader code here so if the problem is that a shader isn't compiling then maybe glClear generates a basic shader to perform the clear, and fails at that?
Comment 7 Nicolai Hähnle 2016-07-04 16:00:43 UTC
Hi Joost, nice to see you here :)

He's indeed running the open-source radeonsi driver. The shader being compiled is very simple and probably from the glClear() call. Those don't usually crash, and I can compile the LLVM IR from the log here just fine.

Quentin: Could you please install debug packages of 32-bit LLVM and Mesa so that we can get a more informative backtrace?

With the debug packages installed, also try running the game from gdb, and produce a detailed backtrace using `bt full` after the crash.
Comment 8 Quentin Quaadgras 2016-07-05 02:03:41 UTC
Created attachment 124900 [details]
GDB bt full of the crash (dbg packages installed)

Thanks for providing some information Joost :)

@Nicolai
I have attached the gdb bt full trace.
Comment 9 Nicolai Hähnle 2016-07-06 09:21:29 UTC
Thanks.

The crash happens inside the implementation of std::stable_sort when called from LLVM. An internal buffer pointer seems to be corrupted. Since the buffer pointer lives on the stack I don't have a good explanation for this, just some hypotheses we can follow up on:

1. Joost, does Awesomenauts do anything non-standard when linking to libstdc++? Perhaps symbols get mixed up in a way that leads to the wrong code being executed. It wouldn't be the first time that problems come from there, although usually when games do that they just fail to load in the dynamic linker.

2. Quentin, you could try running the game with Valgrind and see if anything comes up. It's going to be slow, but if there is a stack-smashing bug here in LLVM (extremely unlikely, but whatever) then Valgrind should catch it.
Comment 10 Quentin Quaadgras 2016-07-06 09:42:47 UTC
Created attachment 124928 [details]
Valgrind output.

Here is the Valgrind output, the game started up correctly under Valgrind. It was taking a rather long time in the loading screen so I killed it. Hopefully the log contains some useful information.
Comment 11 cosiekvfj 2016-07-06 10:43:16 UTC
Can confirm on

Linux EasyNoteMZ35 4.4.13-1-MANJARO #1 SMP PREEMPT Wed Jun 8 09:21:59 UTC 2016 x86_64 GNU/Linux


Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org R300 Project (0x1002)
    Device: ATI RC410 (0x5a62)
    Version: 11.1.2
    Accelerated: yes
    Video memory: 128MB
    Unified memory: no
    Preferred profile: compat (0x2)
    Max core profile version: 0.0
    Max compat profile version: 2.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 2.0
OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI RC410
OpenGL version string: 2.1 Mesa 11.1.2
OpenGL shading language version string: 1.20


The weird thing is that game crash only with multithread off. With multithread on I can play.

http://pastebin.com/7EaGcn2B

http://pastebin.com/XHnF0Ur8

http://pastebin.com/gGxjWpde
Comment 12 cosiekvfj 2016-07-06 10:46:20 UTC
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RC410M [Mobility Radeon Xpress 200M]
Comment 13 Nicolai Hähnle 2016-07-06 12:16:06 UTC
Thank you for the additional info. Could you also attach the output with debug symbols installed?

When you say multithreading off vs. on, is that a setting of the game?

It seems increasingly likely that this is a problem related to libstdc++ linking or something else that Awesomenauts does.
Comment 14 cosiekvfj 2016-07-06 12:45:56 UTC
Yes of course. How to do that? :)

Yes, multithreading is a setting of the game.
Comment 15 cosiekvfj 2016-07-06 12:50:30 UTC
And I forgot to add that in my case game crash after the intro.
Comment 16 Nicolai Hähnle 2016-07-06 13:01:00 UTC
I'm not familiar with Manjaro Linux, but usually there is a package with a -dbg or similar suffix, e.g. mesa-dbg, llvm-dbg, something like that.

And yes, it's not surprising that the r300 driver crashes later because it doesn't usually use LLVM. My guess is that Awesomenauts hits a path where some of the software paths for vertex shading are used and then it crashes.
Comment 17 Quentin Quaadgras 2016-07-07 03:06:35 UTC
Multithreading setting has no effect for me, @Nicolai is there any workaround then? The game was running under Valgrind, I am not so familiar with the software, is it doing anything differently in regards to the libraries it loads?
Comment 18 Nicolai Hähnle 2016-07-07 06:51:43 UTC
Sorry, I don't know what the difference could be in the Valgrind runs. For completeness, could you try whether the game also crashes with LIBGL_ALWAYS_SOFTWARE=y?
Comment 19 Quentin Quaadgras 2016-07-07 06:54:58 UTC
LIBGL_ALWAYS_SOFTWARE=y results in the game correctly launching.
Comment 20 Michel Dänzer 2016-07-07 07:50:38 UTC
Presumably it works with valgrind because it prevents the fatal effect of the bad memory access which causes the problem. Note that valgrind stopped logging errors after 1000 instances of the same (presumably harmless) issue in the Awesomenauts code. Maybe there's some way to suppress those, so we can see the problem?
Comment 21 Bart van Heukelom 2016-07-07 09:44:28 UTC
Another Awesomenauts developer here. I don't know much about our OpenGL code, but I do about our Linux version. Our linking options in CMakeLists are as follows:

SET_TARGET_PROPERTIES(Awesomenauts
    PROPERTIES
    LINK_FLAGS_RELEASE "-Wl,--allow-shlib-undefined,-s,-x"

We don't do anything special with libstdc++
Comment 22 Nicolai Hähnle 2016-07-07 13:03:51 UTC
Valgrind has options --gen-suppressions and --suppressions to help with suppressing unrelated errors. The first option will output suggested suppression statements that need to be put into a file that can be loaded with the suppressions option on a second run. Based on the Valgrind log, something like

{
   <insert_a_suppression_name_here>
   Memcheck:Cond
   obj:/home/user/.steam/steam/steamapps/common/Awesomenauts/Awesomenauts.bin.x86
}

should actually be sufficient as a suppression file.
Comment 23 Quentin Quaadgras 2016-07-07 13:29:36 UTC
Created attachment 124944 [details]
Complete Valgrind output

I added --error-limit=no and then deleted the 1000 harmless conditional errors from before. This looks better.
Comment 24 cosiekvfj 2016-07-13 09:26:24 UTC
Created attachment 125049 [details]
gdb

Do I need also lib32-llvm-db?
Comment 25 Quentin Quaadgras 2016-07-23 11:16:08 UTC
Any conclusions on this?
Comment 26 Quentin Quaadgras 2016-07-23 11:31:42 UTC
I just by chance tried running awesomenauts through the command line again after updating to a recent daily build and the game is now running. It is still not running within the steam client but this is a good sign.
Comment 27 Marek Olšák 2016-10-26 10:51:40 UTC
(In reply to Quentin Quaadgras from comment #26)
> I just by chance tried running awesomenauts through the command line again
> after updating to a recent daily build and the game is now running. It is
> still not running within the steam client but this is a good sign.

So is this fixed for you?
Comment 28 Quentin Quaadgras 2016-10-27 05:47:26 UTC
Yes
Comment 29 Nicolai Hähnle 2016-11-04 10:15:56 UTC
Closing as per previous comment.


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.