All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 32366] New: [r600g] SIGSEGV src/gallium/drivers/r600/r600_state.c:143
@ 2010-12-14  1:31 bugzilla-daemon
  2010-12-14  1:44 ` [Bug 32366] " bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2010-12-14  1:31 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=32366

           Summary: [r600g] SIGSEGV
                    src/gallium/drivers/r600/r600_state.c:143
           Product: Mesa
           Version: git
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: vlee@vmware.com


mesa: bb045d339b53f7ddd42bfca363e3d589b0ddcf20 (master)

chipset: RV620
system architecture: i686
libdrm-dev: 2.14.21-1ubuntu2.1
kernel version: 2.6.35-23-generic
Linux distribution: Ubuntu 10.10 i386

Run piglit draw-vertices test. The test now crashes but previously ran to
completion.

$ ./bin/draw-vertices
Ubyte colors - components: 3, stride: 3, offset: 0
Probe at (5,5)
  Expected: 1.000000 0.000000 0.000000
  Observed: 0.000000 0.000000 0.000000
Ubyte colors - components: 3, stride: 4, offset: 0
Ubyte colors - components: 4, stride: 4, offset: 0
Ubyte colors - components: 3, stride: 3, offset: 1
Probe at (65,5)
  Expected: 1.000000 0.000000 0.000000
  Observed: 0.000000 0.000000 0.000000
Ubyte colors - components: 3, stride: 4, offset: 1
Probe at (85,5)
  Expected: 1.000000 0.000000 0.000000
  Observed: 0.000000 1.000000 0.000000
Ubyte colors - components: 4, stride: 4, offset: 1
Probe at (105,5)
  Expected: 1.000000 0.000000 0.000000
  Observed: 0.000000 1.000000 0.000000
Ubyte colors - components: 3, stride: 3, offset: 2
Probe at (125,5)
  Expected: 1.000000 0.000000 0.000000
  Observed: 0.000000 0.000000 0.000000
Ubyte colors - components: 3, stride: 4, offset: 2
Probe at (145,5)
  Expected: 1.000000 0.000000 0.000000
  Observed: 0.000000 0.000000 1.000000
Ubyte colors - components: 4, stride: 4, offset: 2
Probe at (165,5)
  Expected: 1.000000 0.000000 0.000000
  Observed: 0.000000 0.000000 1.000000
Ubyte colors - components: 3, stride: 3, offset: 3
Probe at (185,5)
  Expected: 1.000000 0.000000 0.000000
  Observed: 0.000000 0.000000 0.000000
Ubyte colors - components: 3, stride: 4, offset: 3
Probe at (205,5)
  Expected: 1.000000 0.000000 0.000000
  Observed: 0.000000 0.000000 0.000000
Ubyte colors - components: 4, stride: 4, offset: 3
Probe at (225,5)
  Expected: 1.000000 0.000000 0.000000
  Observed: 0.000000 0.000000 0.000000
Short vertices - components: 2, stride: 4, offset: 0
Short vertices - components: 2, stride: 6, offset: 0
Short vertices - components: 3, stride: 6, offset: 0
Short vertices - components: 2, stride: 8, offset: 0
Short vertices - components: 3, stride: 8, offset: 0
Short vertices - components: 4, stride: 8, offset: 0
Short vertices - components: 2, stride: 4, offset: 2
Probe at (45,25)
  Expected: 1.000000 1.000000 1.000000
  Observed: 0.200000 0.200000 0.200000
Short vertices - components: 2, stride: 6, offset: 2
Probe at (65,25)
  Expected: 1.000000 1.000000 1.000000
  Observed: 0.200000 0.200000 0.200000
Short vertices - components: 3, stride: 6, offset: 2
Probe at (85,25)
  Expected: 1.000000 1.000000 1.000000
  Observed: 0.200000 0.200000 0.200000
Short vertices - components: 2, stride: 8, offset: 2
Probe at (105,25)
  Expected: 1.000000 1.000000 1.000000
  Observed: 0.200000 0.200000 0.200000
Short vertices - components: 3, stride: 8, offset: 2
Probe at (125,25)
  Expected: 1.000000 1.000000 1.000000
  Observed: 0.200000 0.200000 0.200000
Short vertices - components: 4, stride: 8, offset: 2
Probe at (145,25)
  Expected: 1.000000 1.000000 1.000000
  Observed: 0.200000 0.200000 0.200000
Int vertices
Double vertices
Segmentation fault (core dumped)


(gdb) bt
#0  0x01027b9f in r600_vertex_buffer_update (rctx=0x833fd40) at
src/gallium/drivers/r600/r600_state.c:143
#1  0x0102cdb1 in r600_bind_vertex_elements (ctx=0x833fd40, state=0x86f2138) at
src/gallium/drivers/r600/r600_state_common.c:129
#2  0x01030663 in r600_begin_vertex_translate (rctx=0x833fd40) at
src/gallium/drivers/r600/r600_translate.c:163
#3  0x01027bb5 in r600_vertex_buffer_update (rctx=0x833fd40) at
src/gallium/drivers/r600/r600_state.c:147
#4  0x0102cdb1 in r600_bind_vertex_elements (ctx=0x833fd40, state=0x86f0ca8) at
src/gallium/drivers/r600/r600_state_common.c:129
#5  0x01297a68 in cso_set_vertex_elements (ctx=0x86a4fd8, count=1,
states=0xbfb50604) at src/gallium/auxiliary/cso_cache/cso_context.c:1126
#6  0x0117e0eb in st_draw_vbo (ctx=0x86514a0, arrays=0x8693528,
prims=0xbfb50aac, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, 
    max_index=2) at src/mesa/state_tracker/st_draw.c:702
#7  0x01202f7d in vbo_draw_arrays (ctx=0x86514a0, mode=4, start=0, count=3,
numInstances=1) at src/mesa/vbo/vbo_exec_array.c:588
#8  0x012030e4 in vbo_exec_DrawArrays (mode=4, start=0, count=3) at
src/mesa/vbo/vbo_exec_array.c:619
#9  0x0804c206 in test_double_vertices ()
#10 0x0804c2cd in piglit_display ()
#11 0x0804e37f in display ()
#12 0x00125820 in fghRedrawWindow (window=DWARF-2 expression error: DW_OP_reg
operations must be used either alone or in conjuction with DW_OP_piece or
DW_OP_bit_piece.
) at freeglut_main.c:210
#13 fghcbDisplayWindow (window=DWARF-2 expression error: DW_OP_reg operations
must be used either alone or in conjuction with DW_OP_piece or DW_OP_bit_piece.
) at freeglut_main.c:227
#14 0x00129660 in fgEnumWindows (enumCallback=0x125790 <fghcbDisplayWindow>,
enumerator=0xbfb50cc8) at freeglut_structure.c:394
#15 0x00125cdb in fghDisplayAll () at freeglut_main.c:249
#16 glutMainLoopEvent () at freeglut_main.c:1450
#17 0x00126605 in glutMainLoop () at freeglut_main.c:1498
#18 0x0804e528 in main ()
(gdb) frame 0
#0  0x01027b9f in r600_vertex_buffer_update (rctx=0x833fd40) at
src/gallium/drivers/r600/r600_state.c:143
143        if (rctx->vertex_elements->incompatible_layout) {
(gdb) print rctx->vertex_elements
$1 = (struct r600_vertex_element *) 0x0

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 32366] [r600g] SIGSEGV src/gallium/drivers/r600/r600_state.c:143
  2010-12-14  1:31 [Bug 32366] New: [r600g] SIGSEGV src/gallium/drivers/r600/r600_state.c:143 bugzilla-daemon
@ 2010-12-14  1:44 ` bugzilla-daemon
  2010-12-14 18:53 ` bugzilla-daemon
  2010-12-15  2:15 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2010-12-14  1:44 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=32366

--- Comment #1 from Vinson Lee <vlee@vmware.com> 2010-12-13 17:44:01 PST ---
fa86fc564aea4e40c89f6fc889e6a5bf817634b3 is the first bad commit
commit fa86fc564aea4e40c89f6fc889e6a5bf817634b3
Author: Jerome Glisse <jglisse@redhat.com>
Date:   Fri Dec 3 20:47:02 2010 -0500

    r600g: build fetch shader from vertex elements

    Vertex elements change are less frequent than draw call, those to
    avoid rebuilding fetch shader to often build the fetch shader along
    vertex elements. This also allow to move vertex buffer setup out
    of draw path and make update to it less frequent.

    Shader update can still be improved to only update SPI regs (based
    on some rasterizer state like flat shading or point sprite ...).

    Signed-off-by: Jerome Glisse <jglisse@redhat.com>

:040000 040000 ebf22a869bb3385b6ee14acf5669ee4bdcd4f931
0fee279b293bd89ba4a56c2a925e252aafb02d86 M    src
bisect run success

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 32366] [r600g] SIGSEGV src/gallium/drivers/r600/r600_state.c:143
  2010-12-14  1:31 [Bug 32366] New: [r600g] SIGSEGV src/gallium/drivers/r600/r600_state.c:143 bugzilla-daemon
  2010-12-14  1:44 ` [Bug 32366] " bugzilla-daemon
@ 2010-12-14 18:53 ` bugzilla-daemon
  2010-12-15  2:15 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2010-12-14 18:53 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=32366

Jerome Glisse <glisse@freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Jerome Glisse <glisse@freedesktop.org> 2010-12-14 10:53:54 PST ---
Fix pushed

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 32366] [r600g] SIGSEGV src/gallium/drivers/r600/r600_state.c:143
  2010-12-14  1:31 [Bug 32366] New: [r600g] SIGSEGV src/gallium/drivers/r600/r600_state.c:143 bugzilla-daemon
  2010-12-14  1:44 ` [Bug 32366] " bugzilla-daemon
  2010-12-14 18:53 ` bugzilla-daemon
@ 2010-12-15  2:15 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2010-12-15  2:15 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=32366

Vinson Lee <vlee@vmware.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #3 from Vinson Lee <vlee@vmware.com> 2010-12-14 18:15:48 PST ---
mesa: a8ca30bc58b73203a83799149ca9d21bcdce74b5 (master)

piglit draw-vertices runs to completion.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-15  2:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-14  1:31 [Bug 32366] New: [r600g] SIGSEGV src/gallium/drivers/r600/r600_state.c:143 bugzilla-daemon
2010-12-14  1:44 ` [Bug 32366] " bugzilla-daemon
2010-12-14 18:53 ` bugzilla-daemon
2010-12-15  2:15 ` bugzilla-daemon

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.