[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#902246: alien-arena crashes with SIGSEGV on ppc64el with amdgpu graphics



Control: reassign 902246 libglx-mesa0
Control: forwarded 902246 https://bugs.freedesktop.org/show_bug.cgi?id=107012
Control: tags 902246 + upstream

On Sat, 23 Jun 2018 at 15:15:54 -0500, Timothy Pearson wrote:
> When alien-arena loads a map, right before the gameplay starts, we get a
> SIGSEGV and the game quits

(mesa maintainers: see below for backtrace)

On Sat, 23 Jun 2018 at 16:35:22 -0500, Timothy Pearson wrote:
> This was actually a bug in mesa.  See
> https://bugs.freedesktop.org/show_bug.cgi?id=107012

Thanks. Which version of mesa?

(If possible please use reportbug to report Debian bugs - that
automatically gives package maintainers a lot of useful information,
like the versions of the relevant dependencies, which in this case would
hopefully have included mesa.)

I've sent a comment on the proposed patch to the upstream bug.

Regards,
    smcv

> > Thread 1 "alienarena" received signal SIGSEGV, Segmentation fault.
> > 0x00007ffff1ba5ec4 in llvm::Value::getContext() const () from /usr/lib/powerpc64le-linux-gnu/libLLVM-6.0.so.1
> > (gdb) bt
> > #0  0x00007ffff1ba5ec4 in llvm::Value::getContext() const () from /usr/lib/powerpc64le-linux-gnu/libLLVM-6.0.so.1
> > #1  0x00007ffff1ba7db8 in llvm::Value::setNameImpl(llvm::Twine const&) () from /usr/lib/powerpc64le-linux-gnu/libLLVM-6.0.so.1
> > #2  0x00007ffff1ba8140 in llvm::Value::setName(llvm::Twine const&) () from /usr/lib/powerpc64le-linux-gnu/libLLVM-6.0.so.1
> > #3  0x00007ffff1b27b60 in llvm::ExtractValueInst::init(llvm::ArrayRef<unsigned int>, llvm::Twine const&) () from /usr/lib/powerpc64le-linux-gnu/libLLVM-6.0.so.1
> > #4  0x00007ffff1aae6f0 in LLVMBuildExtractValue () from /usr/lib/powerpc64le-linux-gnu/libLLVM-6.0.so.1
> > #5  0x00007ffff5a7b2e4 in si_build_ps_prolog_function (ctx=0x7fffffffa120, key=0x7fffffffe3f2) at ../../../../../src/gallium/drivers/radeonsi/si_shader.c:7722
> > #6  0x00007ffff5a7f8c8 in si_get_shader_part (sscreen=0x10b67dbc0, list=0x10b67e108, type=PIPE_SHADER_FRAGMENT, prolog=true, key=0x7fffffffe3f2, tm=0x10b635f80, debug=0x10c7050a8, build=0x7ffff5a7ab40 <si_build_ps_prolog_function>,
> >     name=0x7ffff5c78420 "Fragment Shader Prolog") at ../../../../../src/gallium/drivers/radeonsi/si_shader.c:7154
> > #7  0x00007ffff5a825c0 in si_shader_select_ps_parts (debug=0x10c7050a8, shader=0x10c7050a0, tm=0x10b635f80, sscreen=0x10b67dbc0) at ../../../../../src/gallium/drivers/radeonsi/si_shader.c:7924
> > #8  si_shader_create (sscreen=0x10b67dbc0, tm=0x10b635f80, shader=0x10c7050a0, debug=0x10c7050a8) at ../../../../../src/gallium/drivers/radeonsi/si_shader.c:8114
> > #9  0x00007ffff5aa21b0 in si_build_shader_variant (shader=0x10c7050a0, thread_index=<optimized out>, low_priority=<optimized out>) at ../../../../../src/gallium/drivers/radeonsi/si_state_shaders.c:1510
> > #10 0x00007ffff5aa4fdc in si_shader_select_with_key (thread_index=-1, key=0x7fffffffe54e, compiler_state=0x7fffffffe6c0, state=0x10b5ed490, sscreen=0x10b67dbc0) at ../../../../../src/gallium/drivers/radeonsi/si_state_shaders.c:1772
> > #11 si_shader_select (ctx=0x10b5ec830, state=0x10b5ed490, compiler_state=0x7fffffffe6c0) at ../../../../../src/gallium/drivers/radeonsi/si_state_shaders.c:1790
> > #12 0x00007ffff5aa5c28 in si_update_shaders (sctx=0x10b5ec830) at ../../../../../src/gallium/drivers/radeonsi/si_state_shaders.c:3242
> > #13 0x00007ffff5a9e2a0 in si_draw_vbo (ctx=0x10b5ec830, info=0x10b6372e8) at ../../../../../src/gallium/drivers/radeonsi/si_state_draw.c:1331
> > #14 0x00007ffff57513e8 in tc_call_draw_vbo (pipe=<optimized out>, payload=<optimized out>) at ../../../../src/gallium/auxiliary/util/u_threaded_context.c:2012
> > #15 0x00007ffff574e134 in tc_batch_execute (thread_index=0, job=<optimized out>) at ../../../../src/gallium/auxiliary/util/u_threaded_context.c:96
> > #16 _tc_sync (tc=0x10b636bd0, func=<optimized out>, info=<optimized out>) at ../../../../src/gallium/auxiliary/util/u_threaded_context.c:207
> > #17 0x00007ffff5752468 in tc_texture_subdata (_pipe=0x10b636bd0, resource=0x10c704890, level=<optimized out>, usage=<optimized out>, box=0x7fffffffea50, data=0x10ca68650, stride=<optimized out>, layer_stride=<optimized out>)
> >     at ../../../../src/gallium/auxiliary/util/u_threaded_context.c:1717
> > #18 0x00007ffff5423a30 in st_TexSubImage (ctx=0x10b75ef60, dims=2, texImage=0x10c70d300, xoffset=0, yoffset=<optimized out>, zoffset=<optimized out>, width=<optimized out>, height=<optimized out>, depth=<optimized out>,
> >     format=<optimized out>, type=<optimized out>, pixels=<optimized out>, unpack=<optimized out>) at ../../../src/mesa/state_tracker/st_cb_texture.c:1434
> > #19 0x00007ffff5425d14 in st_TexImage (ctx=0x10b75ef60, dims=<optimized out>, texImage=0x10c70d300, format=<optimized out>, type=<optimized out>, pixels=0x10ca68650, unpack=0x10b7684e8)
> >     at ../../../src/mesa/state_tracker/st_cb_texture.c:1651
> > #20 0x00007ffff5386f40 in teximage (no_error=false, pixels=0x10ca68650, imageSize=0, type=5121, format=6408, border=0, depth=<optimized out>, height=<optimized out>, width=<optimized out>, internalFormat=4, level=0, target=3553,
> >     dims=2, compressed=0 '\000', ctx=0x10b75ef60) at ../../../src/mesa/main/teximage.c:3101
> > #21 teximage_err (ctx=0x10b75ef60, compressed=0 '\000', dims=2, target=<optimized out>, level=<optimized out>, internalFormat=<optimized out>, width=<optimized out>, height=<optimized out>, depth=1, border=0, format=6408, type=5121,
> >     imageSize=0, pixels=0x10ca68650) at ../../../src/mesa/main/teximage.c:3128
> > #22 0x00007ffff5388e9c in _mesa_TexImage2D (target=<optimized out>, level=<optimized out>, internalFormat=<optimized out>, width=<optimized out>, height=<optimized out>, border=<optimized out>, format=<optimized out>,
> >     type=<optimized out>, pixels=0x10ca68650) at ../../../src/mesa/main/teximage.c:3166
> > #23 0x00000001000970b4 in ?? ()
> > #24 0x0000000100097a9c in ?? ()
> > #25 0x00000001000987fc in ?? ()
> > #26 0x00000001000cbeec in ?? ()
> > #27 0x00000001000a4a5c in ?? ()
> > #28 0x00000001000a6624 in ?? ()
> > #29 0x00000001000a6998 in ?? ()
> > #30 0x000000010004a564 in ?? ()
> > #31 0x0000000100043014 in ?? ()
> > #32 0x0000000100036678 in ?? ()
> > #33 0x0000000100083b50 in ?? ()
> > #34 0x0000000100012778 in ?? ()
> > #35 0x00007ffff74a429c in generic_start_main (main=0x100012650, argc=<optimized out>, argv=0x7ffffffffab8, auxvec=0x7ffffffffb78, init=<optimized out>, rtld_fini=<optimized out>, stack_end=<optimized out>, fini=<optimized out>)
> >     at ../csu/libc-start.c:310
> > #36 0x00007ffff74a4498 in __libc_start_main (argc=<optimized out>, argv=<optimized out>, ev=<optimized out>, auxvec=<optimized out>, rtld_fini=<optimized out>, stinfo=<optimized out>, stack_on_entry=<optimized out>)
> >     at ../sysdeps/unix/sysv/linux/powerpc/libc-start.c:116
> > #37 0x0000000000000000 in ?? ()


Reply to: