From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76044] New: [i915g+llvm] commit "gallium: Use C11 thread abstractions." breaks memento by conspiracy Date: Tue, 11 Mar 2014 21:37:46 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0022269704==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2BDD7FAAF4 for ; Tue, 11 Mar 2014 14:37:46 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0022269704== Content-Type: multipart/alternative; boundary="1394573865.DCe80.22948"; charset="us-ascii" --1394573865.DCe80.22948 Date: Tue, 11 Mar 2014 21:37:45 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D76044 Priority: medium Bug ID: 76044 Assignee: dri-devel@lists.freedesktop.org Summary: [i915g+llvm] commit "gallium: Use C11 thread abstractions." breaks memento by conspiracy Severity: normal Classification: Unclassified OS: Linux (All) Reporter: cme3000@gmail.com Hardware: x86 (IA32) Status: NEW Version: git Component: Drivers/Gallium/i915g Product: Mesa This commit breaks the intro memento by conspiracy (http://www.pouet.net/prod.php?which=3D24472). Backtrace with git-3330dec: glretrace: i915_prim_vbuf.c:477: draw_arrays_fallback: Assertion `0' failed. Program received signal SIGABRT, Aborted. 0xb7fde424 in __kernel_vsyscall () (gdb) bt #0 0xb7fde424 in __kernel_vsyscall () #1 0xb7b664d6 in __GI_raise (sig=3Dsig@entry=3D6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #2 0xb7b69853 in __GI_abort () at abort.c:89 #3 0xb7b5f857 in __assert_fail_base (fmt=3D0xb7c9a554 "%s%s%s:%u: %s%sAsse= rtion `%s' failed.\n%n", assertion=3Dassertion@entry=3D0xb7693f8a "0", file=3Dfile@entry=3D0xb775f5b3 "i915_prim_vbuf.c", line=3Dline@entry=3D477,= =20 function=3Dfunction@entry=3D0xb775f6ea <__PRETTY_FUNCTION__.9215> "draw_arrays_fallback") at assert.c:92 #4 0xb7b5f907 in __GI___assert_fail (assertion=3Dassertion@entry=3D0xb7693= f8a "0", file=3Dfile@entry=3D0xb775f5b3 "i915_prim_vbuf.c", line=3D477, function=3D0= xb775f6ea <__PRETTY_FUNCTION__.9215> "draw_arrays_fallback") at assert.c:101 #5 0xb7638d65 in draw_arrays_fallback (nr=3D, start=3D, render=3D) at i915_prim_vbuf.c:477 #6 i915_vbuf_render_draw_arrays (render=3D0x83a0ff0, start=3D, nr=3D4092) at i915_prim_vbuf.c:503 #7 0xb7417cf1 in draw_pt_emit_linear (emit=3D0x83a1cc0, vert_info=3D0xbfff= eff0, prim_info=3D0xbffff020) at draw/draw_pt_emit.c:258 #8 0xb75eee7d in emit (prim_info=3D0xbffff020, vert_info=3D0xbfffeff0, emi= t=3D{void (const struct draw_prim_info *, const struct draw_vertex_info *, struct pt_= emit *)} 0xb75eedd3 ) at draw/draw_pt_fetch_shade_pipeline_llvm.c:336 #9 llvm_pipeline_generic (in_prim_info=3D0xbffff020, fetch_info=3D0x0, middle=3D0x83ec5a0) at draw/draw_pt_fetch_shade_pipeline_llvm.c:468 #10 llvm_middle_end_linear_run (middle=3D0x83ec5a0, start=3D0, count=3D4092, prim_flags=3D0) at draw/draw_pt_fetch_shade_pipeline_llvm.c:532 #11 0xb74207a0 in vsplit_segment_simple_linear (vsplit=3D0x83d6f90, icount= =3D4092, istart=3D0, flags=3D0) at draw/draw_pt_vsplit_tmp.h:240 #12 vsplit_run_linear (frontend=3D0x83d6f90, start=3D0, count=3D4092) at draw/draw_split_tmp.h:60 #13 0xb7416fb7 in draw_pt_arrays (draw=3Ddraw@entry=3D0x840c650, prim=3D7, = start=3D0, count=3Dcount@entry=3D4092) at draw/draw_pt.c:149 #14 0xb741744a in draw_vbo (draw=3D0x840c650, info=3D0xbffff1d0, info@entry=3D0xbffff2c0) at draw/draw_pt.c:562 #15 0xb762c98e in i915_draw_vbo (pipe=3D0x83ebc38, info=3D0xbffff2c0) at i915_context.c:103 #16 0xb73ff258 in cso_draw_vbo (cso=3D0x8408db0, info=3Dinfo@entry=3D0xbfff= f2c0) at cso_cache/cso_context.c:1400 #17 0xb72d7690 in st_draw_vbo (ctx=3D0x84b7390, prims=3D0x84052b4, nr_prims= =3D2, ib=3D0x0, index_bounds_valid=3D1 '\001', min_index=3D0, max_index=3D4095, tfb_vertcount=3D0x0, indirect=3D0x0) at state_tracker/st_draw.c:286 #18 0xb72a238f in vbo_exec_vtx_flush (exec=3Dexec@entry=3D0x8404f04, keepUnmapped=3DkeepUnmapped@entry=3D0 '\000') at vbo/vbo_exec_draw.c:409 #19 0xb728d55c in vbo_exec_wrap_buffers (exec=3D0x8404f04) at vbo/vbo_exec_api.c:89 #20 vbo_exec_vtx_wrap (exec=3D0x8404f04) at vbo/vbo_exec_api.c:124 #21 0x080b5396 in _glVertex2f(float, float) () #22 0x080f9681 in retrace_glVertex2f(trace::Call&) () #23 0x0806ce8e in retrace::Retracer::retrace(trace::Call&) () #24 0x08063d37 in retrace::retraceCall(trace::Call*) () #25 0x08065994 in retrace::RelayRunner::runLeg(trace::Call*) () #26 0x0806587c in retrace::RelayRunner::runRace() () #27 0x08064053 in retrace::RelayRace::run() () #28 0x0806420f in retrace::mainLoop() () #29 0x08064985 in main () $ git bisect bad fd33a6bcd7f1271e80332379131e82e00fe10586 is the first bad commit commit fd33a6bcd7f1271e80332379131e82e00fe10586 Author: Jos=C3=A9 Fonseca Date: Fri Apr 26 08:03:33 2013 +0100 gallium: Use C11 thread abstractions. Note that PIPE_ROUTINE now returns an int. Reviewed-by: Brian Paul Reviewed-by: Chad Versace :040000 040000 dec5215b27af2e3f703e701e323dd5fdeba072eb a8b06eaa9746db86fa603a657a7b6a5dcd9e3633 M src Reverting this commit on top of master fixes this crash. --=20 You are receiving this mail because: You are the assignee for the bug. --1394573865.DCe80.22948 Date: Tue, 11 Mar 2014 21:37:45 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Priority medium
Bug ID 76044
Assignee dri-devel@lists.freedesktop.org
Summary [i915g+llvm] commit "gallium: Use C11 thread abstraction= s." breaks memento by conspiracy
Severity normal
Classification Unclassified
OS Linux (All)
Reporter cme3000@gmail.com
Hardware x86 (IA32)
Status NEW
Version git
Component Drivers/Gallium/i915g
Product Mesa

This commit breaks the intro memento by conspiracy
(http://www.pouet.n=
et/prod.php?which=3D24472).

Backtrace with git-3330dec:

glretrace: i915_prim_vbuf.c:477: draw_arrays_fallback: Assertion `0' failed.

Program received signal SIGABRT, Aborted.
0xb7fde424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fde424 in __kernel_vsyscall ()
#1  0xb7b664d6 in __GI_raise (sig=3Dsig@entry=3D6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#2  0xb7b69853 in __GI_abort () at abort.c:89
#3  0xb7b5f857 in __assert_fail_base (fmt=3D0xb7c9a554 "%s%s%s:%u: %s%=
sAssertion
`%s' failed.\n%n", assertion=3Dassertion@entry=3D0xb7693f8a "=
0",
file=3Dfile@entry=3D0xb775f5b3 "i915_prim_vbuf.c", line=3Dlin=
e@entry=3D477,=20
    function=3Dfunction@entry=3D0xb775f6ea <__PRETTY_FUNCTION__.9215=
>
"draw_arrays_fallback") at assert.c:92
#4  0xb7b5f907 in __GI___assert_fail (assertion=3Dassertion@entry=3D0xb=
7693f8a "0",
file=3Dfile@entry=3D0xb775f5b3 "i915_prim_vbuf.c", line=3D477=
, function=3D0xb775f6ea
<__PRETTY_FUNCTION__.9215> "draw_arrays_fallback") at asser=
t.c:101
#5  0xb7638d65 in draw_arrays_fallback (nr=3D<optimized out>, start=
=3D<optimized
out>, render=3D<optimized out>) at i915_prim_vbuf.c:477
#6  i915_vbuf_render_draw_arrays (render=3D0x83a0ff0, start=3D<optimized=
 out>,
nr=3D4092) at i915_prim_vbuf.c:503
#7  0xb7417cf1 in draw_pt_emit_linear (emit=3D0x83a1cc0, vert_info=3D0xbfff=
eff0,
prim_info=3D0xbffff020) at draw/draw_pt_emit.c:258
#8  0xb75eee7d in emit (prim_info=3D0xbffff020, vert_info=3D0xbfffeff0, emi=
t=3D{void
(const struct draw_prim_info *, const struct draw_vertex_info *, struct pt_=
emit
*)} 0xb75eedd3 <llvm_middle_end_linear_run+883>) at
draw/draw_pt_fetch_shade_pipeline_llvm.c:336
#9  llvm_pipeline_generic (in_prim_info=3D0xbffff020, fetch_info=3D0x0,
middle=3D0x83ec5a0) at draw/draw_pt_fetch_shade_pipeline_llvm.c:468
#10 llvm_middle_end_linear_run (middle=3D0x83ec5a0, start=3D0, count=3D4092,
prim_flags=3D0) at draw/draw_pt_fetch_shade_pipeline_llvm.c:532
#11 0xb74207a0 in vsplit_segment_simple_linear (vsplit=3D0x83d6f90, icount=
=3D4092,
istart=3D0, flags=3D0) at draw/draw_pt_vsplit_tmp.h:240
#12 vsplit_run_linear (frontend=3D0x83d6f90, start=3D0, count=3D4092) at
draw/draw_split_tmp.h:60
#13 0xb7416fb7 in draw_pt_arrays (draw=3Ddraw@entry=3D0x840c650, prim=
=3D7, start=3D0,
count=3Dcount@entry=3D4092) at draw/draw_pt.c:149
#14 0xb741744a in draw_vbo (draw=3D0x840c650, info=3D0xbffff1d0,
info@entry=3D0xbffff2c0) at draw/draw_pt.c:562
#15 0xb762c98e in i915_draw_vbo (pipe=3D0x83ebc38, info=3D0xbffff2c0) at
i915_context.c:103
#16 0xb73ff258 in cso_draw_vbo (cso=3D0x8408db0, info=3Dinfo@entry=3D0x=
bffff2c0) at
cso_cache/cso_context.c:1400
#17 0xb72d7690 in st_draw_vbo (ctx=3D0x84b7390, prims=3D0x84052b4, nr_prims=
=3D2,
ib=3D0x0, index_bounds_valid=3D1 '\001', min_index=3D0, max_index=3D4095,
tfb_vertcount=3D0x0, indirect=3D0x0) at state_tracker/st_draw.c:286
#18 0xb72a238f in vbo_exec_vtx_flush (exec=3Dexec@entry=3D0x8404f04,
keepUnmapped=3DkeepUnmapped@entry=3D0 '\000') at vbo/vbo_exec_draw.c:409
#19 0xb728d55c in vbo_exec_wrap_buffers (exec=3D0x8404f04) at
vbo/vbo_exec_api.c:89
#20 vbo_exec_vtx_wrap (exec=3D0x8404f04) at vbo/vbo_exec_api.c:124
#21 0x080b5396 in _glVertex2f(float, float) ()
#22 0x080f9681 in retrace_glVertex2f(trace::Call&) ()
#23 0x0806ce8e in retrace::Retracer::retrace(trace::Call&) ()
#24 0x08063d37 in retrace::retraceCall(trace::Call*) ()
#25 0x08065994 in retrace::RelayRunner::runLeg(trace::Call*) ()
#26 0x0806587c in retrace::RelayRunner::runRace() ()
#27 0x08064053 in retrace::RelayRace::run() ()
#28 0x0806420f in retrace::mainLoop() ()
#29 0x08064985 in main ()


$ git bisect bad
fd33a6bcd7f1271e80332379131e82e00fe10586 is the first bad commit
commit fd33a6bcd7f1271e80332379131e82e00fe10586
Author: Jos=C3=A9 Fonseca <jf=
onseca@vmware.com>
Date:   Fri Apr 26 08:03:33 2013 +0100

    gallium: Use C11 thread abstractions.

    Note that PIPE_ROUTINE now returns an int.

    Reviewed-by: Brian Paul <br=
ianp@vmware.com>
    Reviewed-by: Chad Versace <chad.versace@linux.intel.com>

:040000 040000 dec5215b27af2e3f703e701e323dd5fdeba072eb
a8b06eaa9746db86fa603a657a7b6a5dcd9e3633 M    src


Reverting this commit on top of master fixes this crash.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1394573865.DCe80.22948-- --===============0022269704== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0022269704==--