From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 66349] New: Using SB shader optimization caused segfault in Serious Sam 3: BFE
Date: Sat, 29 Jun 2013 02:10:51 +0000 [thread overview]
Message-ID: <bug-66349-502@http.bugs.freedesktop.org/> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 5116 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=66349
Priority: medium
Bug ID: 66349
Assignee: dri-devel@lists.freedesktop.org
Summary: Using SB shader optimization caused segfault in
Serious Sam 3: BFE
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: thomas.lindroth@gmail.com
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa
Created attachment 81666
--> https://bugs.freedesktop.org/attachment.cgi?id=81666&action=edit
dmesg, xorg.log
When using R600_DEBUG=sb Serious Sam 3 will segfault in mesa during the intro.
Running without sb works. I'm using git mesa, libdrm, drm-next and
xf86-video-ati-7.1.0. Here is the backtrace.
Program received signal SIGSEGV, Segmentation fault.
0xf385b151 in r600_sb::regbits::clear (this=0xffe4b57c, index=4293178748) at
sb/sb_ra_init.cpp:131
131 sb/sb_ra_init.cpp: No such file or directory.
(gdb) bt
#0 0xf385b151 in r600_sb::regbits::clear (this=0xffe4b57c, index=4293178748)
at sb/sb_ra_init.cpp:131
#1 0xf385b25b in r600_sb::regbits::from_val_set (this=0xffe4b57c, sh=...,
vs=...) at sb/sb_ra_init.cpp:117
#2 0xf385bdaa in regbits (vs=..., sh=..., this=0xffe4b57c) at
sb/sb_ra_init.cpp:62
#3 r600_sb::ra_init::color (this=0xffe4bb18, v=0x15c62168) at
sb/sb_ra_init.cpp:471
#4 0xf385bf81 in r600_sb::ra_init::process_op (this=0xffe4bb18, n=0x15ca7948)
at sb/sb_ra_init.cpp:344
#5 0xf385bfdf in r600_sb::ra_init::ra_node (this=0xffe4bb18, c=0x15cba670) at
sb/sb_ra_init.cpp:294
#6 0xf385bff7 in r600_sb::ra_init::ra_node (this=0xffe4bb18, c=0x15cba608) at
sb/sb_ra_init.cpp:297
#7 0xf385bff7 in r600_sb::ra_init::ra_node (this=0xffe4bb18, c=0x15c8a4e8) at
sb/sb_ra_init.cpp:297
#8 0xf385c03d in r600_sb::ra_init::run (this=0xffe4bb18) at
sb/sb_ra_init.cpp:285
#9 0xf3847450 in r600_sb_bytecode_process (rctx=0xa60a300, bc=0x15c6c9f4,
pshader=0x15c6c9f0, dump_bytecode=0, optimize=2097152)
at sb/sb_core.cpp:220
#10 0xf38209f8 in r600_pipe_shader_create (ctx=0xa60a300, shader=0x15c6c9e8,
key=...) at r600_shader.c:179
#11 0xf38335b1 in r600_shader_select (ctx=0xa60a300, sel=<optimized out>,
dirty=0x0) at r600_state_common.c:750
#12 0xf38337ea in r600_create_shader_state (ctx=0xa60a300, state=<optimized
out>, pipe_shader_type=1) at r600_state_common.c:797
#13 0xf3833834 in r600_create_ps_state (ctx=0xa60a300, state=0x15c43c28) at
r600_state_common.c:807
#14 0xf365f051 in st_translate_fragment_program (st=0xa73f748, stfp=0x15c7a060,
key=0xffe4c648) at ../../src/mesa/state_tracker/st_program.c:768
#15 0xf365fd20 in st_get_fp_variant (st=0xa73f748, stfp=0x15c7a060,
key=0xffe4c648) at ../../src/mesa/state_tracker/st_program.c:805
#16 0xf3626b85 in update_fp (st=0xa73f748) at
../../src/mesa/state_tracker/st_atom_shader.c:92
#17 0xf3623912 in st_validate_state (st=0xa73f748) at
../../src/mesa/state_tracker/st_atom.c:221
#18 0xf36376fc in st_draw_vbo (ctx=0xa6f8b28, prims=0xffe4c7d8, nr_prims=1,
ib=0xffe4c7f0, index_bounds_valid=1 '\001', min_index=0,
max_index=3, tfb_vertcount=0x0) at
../../src/mesa/state_tracker/st_draw.c:210
#19 0xf360da07 in vbo_handle_primitive_restart (ctx=<optimized out>,
prim=<optimized out>, nr_prims=1, ib=0xffe4c7f0,
index_bounds_valid=1 '\001', min_index=0, max_index=3) at
../../src/mesa/vbo/vbo_exec_array.c:549
#20 0xf360e8ec in vbo_validated_drawrangeelements (ctx=0xa6f8b28, mode=4,
index_bounds_valid=1 '\001', start=0, end=3, count=6, type=5123,
indices=0x0, basevertex=0, numInstances=1, baseInstance=0) at
../../src/mesa/vbo/vbo_exec_array.c:968
#21 0xf360eaa7 in vbo_exec_DrawRangeElementsBaseVertex (mode=4, start=0, end=3,
count=6, type=5123, indices=0x0, basevertex=0)
at ../../src/mesa/vbo/vbo_exec_array.c:1076
#22 0xf360eaeb in vbo_exec_DrawRangeElements (mode=4, start=0, end=3, count=6,
type=5123, indices=0x0)
at ../../src/mesa/vbo/vbo_exec_array.c:1096
#23 0x08f0bf3d in ?? ()
#24 0x08a9f8b1 in ?? ()
#25 0x089a8459 in ?? ()
#26 0x089a188e in ?? ()
#27 0x08aadc5a in ?? ()
#28 0x08a9fb0a in ?? ()
#29 0x08a9fd56 in ?? ()
#30 0x08c8e65f in ?? ()
#31 0x08c9284a in ?? ()
#32 0x08b52309 in ?? ()
#33 0x08b66e96 in ?? ()
#34 0x08b92394 in ?? ()
---Type <return> to continue, or q <return> to quit---
#35 0x08b498de in ?? ()
#36 0x08b49a86 in ?? ()
#37 0x08b49be1 in ?? ()
#38 0x08d89685 in ?? ()
#39 0x08b4a23d in ?? ()
#40 0x08b45e77 in ?? ()
#41 0x08b47332 in ?? ()
#42 0x0888e7fa in ?? ()
#43 0x0888867e in ?? ()
#44 0x083e9df5 in ?? ()
#45 0x083ea964 in ?? ()
#46 0x0853f143 in ?? ()
#47 0x089143d0 in ?? ()
#48 0x083a017f in ?? ()
#49 0x083a0293 in ?? ()
#50 0x08a06046 in ?? ()
#51 0x08d85243 in ?? ()
#52 0x08d85678 in ?? ()
#53 0x0804f54b in ?? ()
#54 0xf755a943 in __libc_start_main (main=0x804f520, argc=1, ubp_av=0xffe4e114,
init=0x8f63330, fini=0x8f633a0, rtld_fini=0xf77964e0 <_dl_fini>,
stack_end=0xffe4e10c) at libc-start.c:226
#55 0x0838e785 in ?? ()
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 6581 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2013-06-29 2:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-29 2:10 bugzilla-daemon [this message]
2013-07-03 20:15 ` [Bug 66349] Using SB shader optimization caused segfault in Serious Sam 3: BFE bugzilla-daemon
2013-07-03 20:49 ` bugzilla-daemon
2013-07-04 18:54 ` bugzilla-daemon
2013-07-05 18:22 ` bugzilla-daemon
2013-07-06 6:41 ` bugzilla-daemon
2013-07-06 12:57 ` bugzilla-daemon
2013-07-06 18:00 ` bugzilla-daemon
2013-07-07 13:45 ` bugzilla-daemon
2013-07-07 17:57 ` bugzilla-daemon
2019-09-18 19:04 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-66349-502@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.