Bug 101675

Summary: Peace, Death! crashed on start-up
Product: Mesa Reporter: Timothy Arceri <t_arceri>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on: 105797    
Bug Blocks: 77449    

Description Timothy Arceri 2017-07-03 07:07:01 UTC
Crashes on LLVMpipe and radeonsi.

#0  0xf7fd4c89 in __kernel_vsyscall ()
#1  0xf76bd9a0 in raise () from /lib/libc.so.6
#2  0xf76bf067 in abort () from /lib/libc.so.6
#3  0xf76fc3ff in __libc_message () from /lib/libc.so.6
#4  0xf7705fde in _int_free () from /lib/libc.so.6
#5  0xf77098c3 in free () from /lib/libc.so.6
#6  0xf2441a0c in operator delete(void*) () from /lib/libLLVM-5.0svn.so
#7  0xf244050c in operator delete(void*, unsigned int) () from /lib/libLLVM-5.0svn.so
#8  0xf370ae33 in check_explicit_uniform_locations (ctx=<optimized out>, prog=<optimized out>) at glsl/linker.cpp:3485
#9  link_shaders (ctx=<optimized out>, prog=<optimized out>) at glsl/linker.cpp:4870
#10 0xf3648ecd in _mesa_glsl_link_shader (ctx=0x891b9f8, prog=0x895c798) at program/ir_to_mesa.cpp:3101
#11 0xf344e042 in create_new_program (key=0xffffacec, ctx=<optimized out>) at main/ff_fragment_shader.cpp:1126
#12 _mesa_get_fixed_func_fragment_program (ctx=<optimized out>) at main/ff_fragment_shader.cpp:1156
#13 0xf354b05d in update_program (ctx=ctx@entry=0x891b9f8) at main/state.c:134
#14 0xf354b355 in _mesa_update_state_locked (ctx=0x891b9f8) at main/state.c:348
#15 0xf354b452 in _mesa_update_state (ctx=0x891b9f8) at main/state.c:386
#16 0xf3563701 in teximage (no_error=false, pixels=0x0, imageSize=0, type=5121, format=6408, border=0, depth=<optimized out>, 
    height=<optimized out>, width=<optimized out>, internalFormat=32856, level=0, target=3553, dims=2, compressed=0 '\000', 
    ctx=0x891b9f8) at main/teximage.c:3035
#17 teximage_err (ctx=0x891b9f8, compressed=compressed@entry=0 '\000', dims=dims@entry=2, target=3553, level=0, 
    internalFormat=<optimized out>, width=2000, height=2000, depth=1, border=<optimized out>, format=6408, type=5121, 
    imageSize=0, pixels=0x0) at main/teximage.c:3084
#18 0xf3565c5a in _mesa_TexImage2D (target=3553, level=0, internalFormat=32856, width=2000, height=2000, border=0, 
    format=6408, type=5121, pixels=0x0) at main/teximage.c:3122
Comment 1 Timothy Arceri 2017-07-03 07:27:25 UTC
Note LLVM crashes at a different point, and running in valgrind the game starts up correctly.
Comment 2 Timothy Arceri 2017-07-03 09:21:33 UTC
Yeah it's spewing out a bunch of various valgrind issues:

   Conditional jump or move depends on uninitialised value

   Mismatched free() / delete / delete []

   Address 0x245c7100 is 0 bytes inside a block of size 512 alloc'd

And ever some OpenGL errors:

   Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)

Seems like probably just a buggy game.
Comment 3 GitLab Migration User 2019-09-25 17:59:32 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/1271.

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.