From: bugzilla-daemon@freedesktop.org
Subject: [Bug 103915] Undertale crashes on startup (compiling shaders?)
Date: Mon, 27 Nov 2017 12:42:53 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0005665820=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id EDC9C89FD1
for ; Mon, 27 Nov 2017 12:42:52 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0005665820==
Content-Type: multipart/alternative; boundary="15117865720.4cfACf.27824";
charset="UTF-8"
--15117865720.4cfACf.27824
Date: Mon, 27 Nov 2017 12:42:52 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D103915
--- Comment #4 from John Steele Scott ---
(In reply to Nicolai H=C3=A4hnle from comment #2)
> Could you try if it also happens with Mesa master?
The crash is still happening with master 043d14db30. Backtrace is similar b=
ut
slightly different, I've updated the attachment in comment 3.
> If yes, could you provide an apitrace?
I didn't have any luck here. I built a 32-bit build of apitrace, then set t=
he
steam launch options to "/home/toojays/src/apitrace/build/apitrace trace
%command%". This resulted in a trace file containing two bytes: "at".
Likewise when I tried launching steam like:
DEBUGGER=3D"/home/toojays/src/apitrace/build/apitrace trace --verbose" st=
eam
steam://rungameid/391540
I also tried running Undertale directly like:
LD_LIBRARY_PATH=3D/home/toojays/.local/share/Steam/ubuntu12_32/steam-runtim=
e/i386/lib/i386-linux-gnu:./lib
~/src/apitrace/build/apitrace trace ./runner
Still no good.
I can see from the core that apitrace had some data for us, but for some re=
ason
it couldn't get it out in time?
Thread 2 (Thread 0xf7009740 (LWP 18275)):
#0 snappy::internal::CompressFragment (input=3D,
input_size=3D, op=3D, table=3D,
table_size=3D) at
/home/toojays/src/apitrace/thirdparty/snappy/snappy.cc:511
#1 0xf7ce0f4f in snappy::Compress (reader=3D0xffa35974, writer=3D0xffa3596=
c) at
/home/toojays/src/apitrace/thirdparty/snappy/snappy.cc:876
#2 0xf7ce153b in snappy::RawCompress (input=3D0xf042e008
"\006\006\fprocess.name5/pool/toojays/steam/SteamApps/common/Undertale/runn=
er",
input_length=3D147412, compressed=3D0xf0303008
"\324\377\b\220\006\006\fprocess.name5/pool/toojays/steam/S\001\006\360\266=
Apps/common/Undertale/runner",
compressed_length=3D0xffa359bc) at
/home/toojays/src/apitrace/thirdparty/snappy/snappy.cc:1214
#3 0xf7cdc6c7 in SnappyOutStream::flushWriteCache (this=3D0x8c13f08) at
/home/toojays/src/apitrace/lib/trace/trace_ostream_snappy.cpp:175
#4 0xf7cdca1f in SnappyOutStream::flush (this=3D0x8c13f08) at
/home/toojays/src/apitrace/lib/trace/trace_ostream_snappy.cpp:163
#5 0xf7cdb561 in trace::LocalWriter::flush (this=3D0xf7f0b4e0
) at
/home/toojays/src/apitrace/lib/trace/trace_writer_local.cpp:243
#6 0xf7cdb59c in trace::exceptionCallback () at
/home/toojays/src/apitrace/lib/trace/trace_writer_local.cpp:61
#7 0xf7cdcd13 in os::signalHandler (sig=3D11, info=3D0xffa35b0c,
context=3D0xffa35b8c) at /home/toojays/src/apitrace/lib/os/os_posix.cpp:337
#8
#9 0x0834ed9c in ?? ()
#10 0x0834fb14 in operator new(unsigned int) ()
#11 0xefaf10a2 in ir_variable_refcount_visitor::get_variable_entry
(this=3D0xffa360fc, var=3D0x9106e88) at glsl/ir_variable_refcount.cpp:86
#12 0xefaf1100 in ir_variable_refcount_visitor::visit (this=3D0xffa360fc,
ir=3D0x9106e88) at glsl/ir_variable_refcount.cpp:97
#13 0xefaed8bb in visit_list_elements (v=3D0xffa360fc, l=3D0x910531c,
statement_list=3Dtrue) at glsl/ir_hv_accept.cpp:55
#14 0xefaed6fe in ir_hierarchical_visitor::run (this=3D0xffa360fc,
instructions=3D0x910531c) at glsl/ir_hierarchical_visitor.cpp:364
#15 0xefb8f586 in do_dead_code (instructions=3D0x910531c,
uniform_locations_assigned=3Dfalse) at glsl/opt_dead_code.cpp:51
#16 0xefb8f796 in do_dead_code_unlinked (instructions=3D0x8e845e0) at
glsl/opt_dead_code.cpp:190
#17 0xefacece4 in do_common_optimization (ir=3D0x8e845e0, linked=3Dfalse,
uniform_locations_assigned=3Dfalse, options=3D0x8dddde4, native_integers=3D=
true) at
glsl/glsl_parser_extras.cpp:2213
#18 0xefacf0e5 in opt_shader_and_create_symbol_table (ctx=3Dctx@entry=3D0x8=
ddd448,
source_symbols=3Dsource_symbols@entry=3D0x0, shader=3Dshader@entry=3D0x8e7b=
a60) at
glsl/glsl_parser_extras.cpp:1986
#19 0xefacf8a1 in _mesa_glsl_compile_shader (ctx=3D0x8ddd448, shader=3D0x8e=
7ba60,
dump_ast=3Dfalse, dump_hir=3Dfalse, force_recompile=3Dtrue) at
glsl/glsl_parser_extras.cpp:2069
#20 0xefb94273 in compile_shaders (ctx=3Dctx@entry=3D0x8ddd448, prog=3D, prog=3D) at glsl/shader_cache.cpp:73
#21 0xefb97381 in shader_cache_read_program_metadata (ctx=3D,
prog=3D) at glsl/shader_cache.cpp:1369
#22 0xefb09584 in link_shaders (ctx=3D0x8ddd448, prog=3D0x910e9e8) at
glsl/linker.cpp:4771
#23 0xefa58325 in _mesa_glsl_link_shader (ctx=3D0x8ddd448, prog=3D0x910e9e8=
) at
program/ir_to_mesa.cpp:3081
#24 0xef97798f in link_program (no_error=3D, shProg=3D, ctx=3D) at main/shaderapi.c:1171
#25 link_program_error (ctx=3D0x8ddd448, shProg=3D0x910e9e8) at
main/shaderapi.c:1249
#26 0xf7cd357a in glLinkProgram (program=3D12) at
/home/toojays/src/apitrace/build/wrappers/glxtrace.cpp:32011
#27 0x08306749 in ?? ()
#28 0x08306c52 in ?? ()
#29 0x08306cca in ?? ()
#30 0x082fff75 in ?? ()
#31 0x082fd633 in ?? ()
#32 0x081001fa in ?? ()
#33 0x081be8c3 in ?? ()
#34 0x082f7eda in ?? ()
#35 0x0831d356 in ?? ()
#36 0xf7267276 in __libc_start_main (main=3D0x831d180, argc=3D1, argv=3D0xf=
fa37a14,
init=3D0x8351350, fini=3D0x83513c0, rtld_fini=3D0xf7f26080 <_dl_fini>,
stack_end=3D0xffa37a0c) at ../csu/libc-start.c:291
#37 0x08051525 in ?? ()
Any ideas?
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15117865720.4cfACf.27824
Date: Mon, 27 Nov 2017 12:42:52 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Commen=
t # 4
on bug 10391=
5
from John Steele Scott
(In reply to Nicolai H=C3=A4hnle from comment #2)
> Could you try if it also happens with Mesa maste=
r?
The crash is still happening with master 043d14db30. Backtrace is similar b=
ut
slightly different, I've updated the attachment in comment 3.
> If yes, could you provide an apitrace?
I didn't have any luck here. I built a 32-bit build of apitrace, then set t=
he
steam launch options to "/home/toojays/src/apitrace/build/apitrace tra=
ce
%command%". This resulted in a trace file containing two bytes: "=
at".
Likewise when I tried launching steam like:
DEBUGGER=3D"/home/toojays/src/apitrace/build/apitrace trace --verbos=
e" steam
steam://rungameid/391540
I also tried running Undertale directly like:
LD_LIBRARY_PATH=3D/home/toojays/.local/share/Steam/ubuntu12_32/steam-runtim=
e/i386/lib/i386-linux-gnu:./lib
~/src/apitrace/build/apitrace trace ./runner
Still no good.
I can see from the core that apitrace had some data for us, but for some re=
ason
it couldn't get it out in time?
Thread 2 (Thread 0xf7009740 (LWP 18275)):
#0 snappy::internal::CompressFragment (input=3D<optimized out>,
input_size=3D<optimized out>, op=3D<optimized out>, table=3D<=
;optimized out>,
table_size=3D<optimized out>) at
/home/toojays/src/apitrace/thirdparty/snappy/snappy.cc:511
#1 0xf7ce0f4f in snappy::Compress (reader=3D0xffa35974, writer=3D0xffa3596=
c) at
/home/toojays/src/apitrace/thirdparty/snappy/snappy.cc:876
#2 0xf7ce153b in snappy::RawCompress (input=3D0xf042e008
"\006\006\fprocess.name5/pool/toojays/steam/SteamApps/common/Undertale=
/runner",
input_length=3D147412, compressed=3D0xf0303008
"\324\377\b\220\006\006\fprocess.name5/pool/toojays/steam/S\001\006\36=
0\266Apps/common/Undertale/runner",
compressed_length=3D0xffa359bc) at
/home/toojays/src/apitrace/thirdparty/snappy/snappy.cc:1214
#3 0xf7cdc6c7 in SnappyOutStream::flushWriteCache (this=3D0x8c13f08) at
/home/toojays/src/apitrace/lib/trace/trace_ostream_snappy.cpp:175
#4 0xf7cdca1f in SnappyOutStream::flush (this=3D0x8c13f08) at
/home/toojays/src/apitrace/lib/trace/trace_ostream_snappy.cpp:163
#5 0xf7cdb561 in trace::LocalWriter::flush (this=3D0xf7f0b4e0
<trace::localWriter>) at
/home/toojays/src/apitrace/lib/trace/trace_writer_local.cpp:243
#6 0xf7cdb59c in trace::exceptionCallback () at
/home/toojays/src/apitrace/lib/trace/trace_writer_local.cpp:61
#7 0xf7cdcd13 in os::signalHandler (sig=3D11, info=3D0xffa35b0c,
context=3D0xffa35b8c) at /home/toojays/src/apitrace/lib/os/os_posix.cpp:337
#8 <signal handler called>
#9 0x0834ed9c in ?? ()
#10 0x0834fb14 in operator new(unsigned int) ()
#11 0xefaf10a2 in ir_variable_refcount_visitor::get_variable_entry
(this=3D0xffa360fc, var=3D0x9106e88) at glsl/ir_variable_refcount.cpp:86
#12 0xefaf1100 in ir_variable_refcount_visitor::visit (this=3D0xffa360fc,
ir=3D0x9106e88) at glsl/ir_variable_refcount.cpp:97
#13 0xefaed8bb in visit_list_elements (v=3D0xffa360fc, l=3D0x910531c,
statement_list=3Dtrue) at glsl/ir_hv_accept.cpp:55
#14 0xefaed6fe in ir_hierarchical_visitor::run (this=3D0xffa360fc,
instructions=3D0x910531c) at glsl/ir_hierarchical_visitor.cpp:364
#15 0xefb8f586 in do_dead_code (instructions=3D0x910531c,
uniform_locations_assigned=3Dfalse) at glsl/opt_dead_code.cpp:51
#16 0xefb8f796 in do_dead_code_unlinked (instructions=3D0x8e845e0) at
glsl/opt_dead_code.cpp:190
#17 0xefacece4 in do_common_optimization (ir=3D0x8e845e0, linked=3Dfalse,
uniform_locations_assigned=3Dfalse, options=3D0x8dddde4, native_integers=3D=
true) at
glsl/glsl_parser_extras.cpp:2213
#18 0xefacf0e5 in opt_shader_and_create_symbol_table (ctx=3Dctx@entry=
=3D0x8ddd448,
source_symbols=3Dsource_symbols@entry=3D0x0, shader=3Dshader@entry=
=3D0x8e7ba60) at
glsl/glsl_parser_extras.cpp:1986
#19 0xefacf8a1 in _mesa_glsl_compile_shader (ctx=3D0x8ddd448, shader=3D0x8e=
7ba60,
dump_ast=3Dfalse, dump_hir=3Dfalse, force_recompile=3Dtrue) at
glsl/glsl_parser_extras.cpp:2069
#20 0xefb94273 in compile_shaders (ctx=3Dctx@entry=3D0x8ddd448, prog=3D=
<optimized
out>, prog=3D<optimized out>) at glsl/shader_cache.cpp:73
#21 0xefb97381 in shader_cache_read_program_metadata (ctx=3D<optimized o=
ut>,
prog=3D<optimized out>) at glsl/shader_cache.cpp:1369
#22 0xefb09584 in link_shaders (ctx=3D0x8ddd448, prog=3D0x910e9e8) at
glsl/linker.cpp:4771
#23 0xefa58325 in _mesa_glsl_link_shader (ctx=3D0x8ddd448, prog=3D0x910e9e8=
) at
program/ir_to_mesa.cpp:3081
#24 0xef97798f in link_program (no_error=3D<optimized out>, shProg=3D=
<optimized
out>, ctx=3D<optimized out>) at main/shaderapi.c:1171
#25 link_program_error (ctx=3D0x8ddd448, shProg=3D0x910e9e8) at
main/shaderapi.c:1249
#26 0xf7cd357a in glLinkProgram (program=3D12) at
/home/toojays/src/apitrace/build/wrappers/glxtrace.cpp:32011
#27 0x08306749 in ?? ()
#28 0x08306c52 in ?? ()
#29 0x08306cca in ?? ()
#30 0x082fff75 in ?? ()
#31 0x082fd633 in ?? ()
#32 0x081001fa in ?? ()
#33 0x081be8c3 in ?? ()
#34 0x082f7eda in ?? ()
#35 0x0831d356 in ?? ()
#36 0xf7267276 in __libc_start_main (main=3D0x831d180, argc=3D1, argv=3D0xf=
fa37a14,
init=3D0x8351350, fini=3D0x83513c0, rtld_fini=3D0xf7f26080 <_dl_fini>,
stack_end=3D0xffa37a0c) at ../csu/libc-start.c:291
#37 0x08051525 in ?? ()
Any ideas?
You are receiving this mail because:
- You are the assignee for the bug.
=
--15117865720.4cfACf.27824--
--===============0005665820==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0005665820==--