From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106533] r300_dri.so SIGSEGV in llvm_pipeline_generic under
Cinnamon
Date: Tue, 05 Jun 2018 02:18:00 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1044659719=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 66A086E109
for ; Tue, 5 Jun 2018 02:18:00 +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
--===============1044659719==
Content-Type: multipart/alternative; boundary="15281650800.80Ae95f.10810"
Content-Transfer-Encoding: 7bit
--15281650800.80Ae95f.10810
Date: Tue, 5 Jun 2018 02:18:00 +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=3D106533
--- Comment #6 from Michael Panzlaff ---
(In reply to Roland Scheidegger from comment #4)
> You have the same tcl-less chipset?
I'm sorry to say, but I don't really know what a tcl-less chipset is. I'm u=
sing
a Dell Latitude D531. Perhaps an lspci output helps?
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD/ATI] RS690 Host Brid=
ge
00:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RS690 PCI to PCI
Bridge (Internal gfx)
00:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RS690 PCI to PCI
Bridge (PCI Express Port 1)
00:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RS690 PCI to PCI
Bridge (PCI Express Port 2)
00:12.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600
Non-Raid-5 SATA
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB
(OHCI0)
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB
(OHCI1)
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB
(OHCI2)
00:13.3 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB
(OHCI3)
00:13.4 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB
(OHCI4)
00:13.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB
Controller (EHCI)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller
(rev 14)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB600 IDE
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia
(Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB600 PCI to LPC
Bridge
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI
Bridge
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Optero=
n]
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Optero=
n]
Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Optero=
n]
DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Optero=
n]
Miscellaneous Control
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
RS690M [Radeon Xpress 1200/1250/1270]
03:01.0 CardBus bridge: O2 Micro, Inc. Cardbus bridge (rev 21)
03:01.4 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
09:00.0 Ethernet controller: Broadcom Limited NetXtreme BCM5755M Gigabit
Ethernet PCI Express (rev 02)
0b:00.0 Network controller: Broadcom Limited BCM4311 802.11a/b/g (rev 01)
> This is also mesa 18.0? I'm just asking because according to the line
> numbers (r300_render_stencilref.c:113) it's doing two-sided stencil
> emulation, which I can't see how it could happen with the emulated clear
> (which definitely doesn't enable two-sided stencil), so that looks a litt=
le
> bit suspect. Although maybe the line numbers aren't quite accurate due to
> optimization...
I initially used mesa 18.0.? from Debian Unstable but my latest tests with =
the
stacktrace we're made using mesa from the git repository (master). I sadly
can't really help with the stencil stuff. I know a bit of OpenGL but I
literally have no idea about the implementation behind it.
> You could try setting (with a debug build) DRAW_USE_LLVM=3D"0" and see if=
this
> fixes the crash - and if it still crashes it should be easier to figure o=
ut
> what pointer is zero.
Still segfaults. Here is a stacktrace:
#0 util_format_r32g32b32_float_fetch_rgba_float (dst=3D0x7fffffffde70, src=
=3D0x0,
i=3D0, j=3D0) at util/u_format_table.c:10080
#1 0x00007ffff24a9032 in generic_run_one (vert=3D0x4521aa0, instance_id=3D=
0,
start_instance=3D0, elt=3D0, tg=3D) at
translate/translate_generic.c:629
#2 generic_run (translate=3D0x49c8bc0, start=3D, count=3D, start_instance=3D0, instance_id=3D0, output_buffer=3D)
at translate/translate_generic.c:723
#3 0x00007ffff244e040 in fetch (output=3D, fetch_info=3D, fetch=3D
{void (char *, const struct draw_fetch_info *, struct pt_fetch *)}
0x7ffff244dec3 ) at
draw/draw_pt_fetch_shade_pipeline.c:161
#4 fetch_pipeline_generic (middle=3D0x2bb8f60,
fetch_info=3Dfetch_info@entry=3D0x7fffffffe010,
in_prim_info=3Din_prim_info@entry=3D0x7fffffffe030)
at draw/draw_pt_fetch_shade_pipeline.c:268
#5 0x00007ffff244e48d in fetch_pipeline_linear_run (middle=3D,
start=3D, count=3D, prim_flags=3D)
at draw/draw_pt_fetch_shade_pipeline.c:426
#6 0x00007ffff245368a in vsplit_segment_simple_linear (vsplit=3D0x2bb63a0,
vsplit=3D0x2bb63a0, icount=3D4, istart=3D0, flags=3D0) at draw/draw_pt_vspl=
it_tmp.h:226
#7 vsplit_run_linear (frontend=3D0x2bb63a0, start=3D0, count=3D4) at
draw/draw_split_tmp.h:60
#8 0x00007ffff244b4a8 in draw_pt_arrays (draw=3Ddraw@entry=3D0x2ba3980, pr=
im=3D6,
start=3D0, count=3Dcount@entry=3D4) at draw/draw_pt.c:149
#9 0x00007ffff244b9c4 in draw_vbo (draw=3D0x2ba3980, info=3D0x7fffffffe150,
info@entry=3D0x7fffffffe1f0) at draw/draw_pt.c:564
#10 0x00007ffff257a5c9 in r300_swtcl_draw_vbo (pipe=3D0x2b7aae0,
info=3D0x7fffffffe1f0) at r300_render.c:862
#11 0x00007ffff2439de7 in cso_draw_arrays (cso=3D,
mode=3Dmode@entry=3D6, start=3Dstart@entry=3D0, count=3Dcount@entry=3D4) at
cso_cache/cso_context.c:1724
#12 0x00007ffff222ec59 in st_draw_quad (st=3Dst@entry=3D0x2d3a290, x0=3Dx0@=
entry=3D-1,
y0=3Dy0@entry=3D-0.899999976, x1=3Dx1@entry=3D1, y1=3Dy1@entry=3D0.89999997=
6, z=3D1,=20
s0=3Ds0@entry=3D0, t0=3Dt0@entry=3D0, s1=3Ds1@entry=3D0, t1=3D0,
color=3Dcolor@entry=3D0x2d1692c, num_instances=3Dnum_instances@entry=3D1) at
state_tracker/st_draw.c:428
#13 0x00007ffff2213c39 in clear_with_quad (clear_buffers=3D,
ctx=3D0x2d14ca0) at state_tracker/st_cb_clear.c:293
#14 st_Clear (ctx=3D0x2d14ca0, mask=3D2) at state_tracker/st_cb_clear.c:445
#15 0x000000000049e364 in ?? ()
#16 0x0000000000481fd3 in ?? ()
#17 0x000000000048359f in ?? ()
#18 0x00007ffff6c9aa87 in __libc_start_main (main=3D0x40e130, argc=3D1,
argv=3D0x7fffffffe5f8, init=3D, fini=3D,=20
rtld_fini=3D, stack_end=3D0x7fffffffe5e8) at
../csu/libc-start.c:310
#19 0x000000000040f04a in ?? ()
> You could print out the shader (with a debug build) with
> GALLIVM_DEBUG=3Dtgsi,ir,asm to see what the assembly really might do. I t=
hink
> though this is trying to read a vertex buffer (for position probably) whi=
ch
> just isn't there.
I'll provide a new attachment with the output of that.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15281650800.80Ae95f.10810
Date: Tue, 5 Jun 2018 02:18:00 +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 # 6
on bug 10653=
3
from Michael Panzlaff
(In reply to Roland Scheidegger from comment #4)
> You have the same tcl-less chipset?
I'm sorry to say, but I don't really know what a tcl-less chipset is. I'm u=
sing
a Dell Latitude D531. Perhaps an lspci output helps?
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD/ATI] RS690 Host Brid=
ge
00:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RS690 PCI to PCI
Bridge (Internal gfx)
00:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RS690 PCI to PCI
Bridge (PCI Express Port 1)
00:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RS690 PCI to PCI
Bridge (PCI Express Port 2)
00:12.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600
Non-Raid-5 SATA
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB
(OHCI0)
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB
(OHCI1)
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB
(OHCI2)
00:13.3 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB
(OHCI3)
00:13.4 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB
(OHCI4)
00:13.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB
Controller (EHCI)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller
(rev 14)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB600 IDE
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia
(Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB600 PCI to LPC
Bridge
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI
Bridge
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Optero=
n]
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Optero=
n]
Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Optero=
n]
DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Optero=
n]
Miscellaneous Control
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
RS690M [Radeon Xpress 1200/1250/1270]
03:01.0 CardBus bridge: O2 Micro, Inc. Cardbus bridge (rev 21)
03:01.4 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
09:00.0 Ethernet controller: Broadcom Limited NetXtreme BCM5755M Gigabit
Ethernet PCI Express (rev 02)
0b:00.0 Network controller: Broadcom Limited BCM4311 802.11a/b/g (rev 01)
> This is also mesa 18.0? I'm just asking because =
according to the line
> numbers (r300_render_stencilref.c:113) it's doing two-sided stencil
> emulation, which I can't see how it could happen with the emulated cle=
ar
> (which definitely doesn't enable two-sided stencil), so that looks a l=
ittle
> bit suspect. Although maybe the line numbers aren't quite accurate due=
to
> optimization...
I initially used mesa 18.0.? from Debian Unstable but my latest tests with =
the
stacktrace we're made using mesa from the git repository (master). I sadly
can't really help with the stencil stuff. I know a bit of OpenGL but I
literally have no idea about the implementation behind it.
> You could try setting (with a debug build) DRAW_=
USE_LLVM=3D"0" and see if this
> fixes the crash - and if it still crashes it should be easier to figur=
e out
> what pointer is zero.
Still segfaults. Here is a stacktrace:
#0 util_format_r32g32b32_float_fetch_rgba_float (dst=3D0x7fffffffde70, src=
=3D0x0,
i=3D0, j=3D0) at util/u_format_table.c:10080
#1 0x00007ffff24a9032 in generic_run_one (vert=3D0x4521aa0, instance_id=3D=
0,
start_instance=3D0, elt=3D0, tg=3D<optimized out>) at
translate/translate_generic.c:629
#2 generic_run (translate=3D0x49c8bc0, start=3D<optimized out>, coun=
t=3D<optimized
out>, start_instance=3D0, instance_id=3D0, output_buffer=3D<optimized=
out>)
at translate/translate_generic.c:723
#3 0x00007ffff244e040 in fetch (output=3D<optimized out>, fetch_info=
=3D<optimized
out>, fetch=3D
{void (char *, const struct draw_fetch_info *, struct pt_fetch *)}
0x7ffff244dec3 <fetch_pipeline_generic+131>) at
draw/draw_pt_fetch_shade_pipeline.c:161
#4 fetch_pipeline_generic (middle=3D0x2bb8f60,
fetch_info=3Dfetch_info@entry=3D0x7fffffffe010,
in_prim_info=3Din_prim_info@entry=3D0x7fffffffe030)
at draw/draw_pt_fetch_shade_pipeline.c:268
#5 0x00007ffff244e48d in fetch_pipeline_linear_run (middle=3D<optimized=
out>,
start=3D<optimized out>, count=3D<optimized out>, prim_flags=3D=
<optimized out>)
at draw/draw_pt_fetch_shade_pipeline.c:426
#6 0x00007ffff245368a in vsplit_segment_simple_linear (vsplit=3D0x2bb63a0,
vsplit=3D0x2bb63a0, icount=3D4, istart=3D0, flags=3D0) at draw/draw_pt_vspl=
it_tmp.h:226
#7 vsplit_run_linear (frontend=3D0x2bb63a0, start=3D0, count=3D4) at
draw/draw_split_tmp.h:60
#8 0x00007ffff244b4a8 in draw_pt_arrays (draw=3Ddraw@entry=3D0x2ba3980=
, prim=3D6,
start=3D0, count=3Dcount@entry=3D4) at draw/draw_pt.c:149
#9 0x00007ffff244b9c4 in draw_vbo (draw=3D0x2ba3980, info=3D0x7fffffffe150,
info@entry=3D0x7fffffffe1f0) at draw/draw_pt.c:564
#10 0x00007ffff257a5c9 in r300_swtcl_draw_vbo (pipe=3D0x2b7aae0,
info=3D0x7fffffffe1f0) at r300_render.c:862
#11 0x00007ffff2439de7 in cso_draw_arrays (cso=3D<optimized out>,
mode=3Dmode@entry=3D6, start=3Dstart@entry=3D0, count=3Dcount@e=
ntry=3D4) at
cso_cache/cso_context.c:1724
#12 0x00007ffff222ec59 in st_draw_quad (st=3Dst@entry=3D0x2d3a290, x0=
=3Dx0@entry=3D-1,
y0=3Dy0@entry=3D-0.899999976, x1=3Dx1@entry=3D1, y1=3Dy1@entry=
=3D0.899999976, z=3D1,=20
s0=3Ds0@entry=3D0, t0=3Dt0@entry=3D0, s1=3Ds1@entry=3D0, t1=
=3D0,
color=3Dcolor@entry=3D0x2d1692c, num_instances=3Dnum_instances@entr=
y=3D1) at
state_tracker/st_draw.c:428
#13 0x00007ffff2213c39 in clear_with_quad (clear_buffers=3D<optimized ou=
t>,
ctx=3D0x2d14ca0) at state_tracker/st_cb_clear.c:293
#14 st_Clear (ctx=3D0x2d14ca0, mask=3D2) at state_tracker/st_cb_clear.c:445
#15 0x000000000049e364 in ?? ()
#16 0x0000000000481fd3 in ?? ()
#17 0x000000000048359f in ?? ()
#18 0x00007ffff6c9aa87 in __libc_start_main (main=3D0x40e130, argc=3D1,
argv=3D0x7fffffffe5f8, init=3D<optimized out>, fini=3D<optimized o=
ut>,=20
rtld_fini=3D<optimized out>, stack_end=3D0x7fffffffe5e8) at
../csu/libc-start.c:310
#19 0x000000000040f04a in ?? ()
> You could print out the shader (with a debug bui=
ld) with
> GALLIVM_DEBUG=3Dtgsi,ir,asm to see what the assembly really might do. =
I think
> though this is trying to read a vertex buffer (for position probably) =
which
> just isn't there.
I'll provide a new attachment with the output of that.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15281650800.80Ae95f.10810--
--===============1044659719==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1044659719==--