Skip to contentSkip to conversation

New: [r600g] SIGSEGV src/gallium/drivers/r600/r600_state.c:237

Bug 32887 [email protected] 1 participant 4 messages Jan 7, 2011 – Mar 8, 2011

lore
Share & tools
lore
#0 lore raw

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

Summary: [r600g] SIGSEGV
src/gallium/drivers/r600/r600_state.c:237
Product: Mesa
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: Drivers/Gallium/r600
AssignedTo: [email protected]
ReportedBy: [email protected]

mesa: 6d9ca78ef7bf831b9b63f4bda68623cbae627508 (master)

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

Run piglit fbo-generatemipmap-formats test.

$ ./bin/fbo-generatemipmap-formats -auto

Using test set: Core formats
Testing 3
Testing 4
Testing GL_RGB
Testing GL_RGBA
Testing GL_ALPHA
Probe at (129,1)
Expected: 1.000000 1.000000 1.000000 0.250000
Observed: 1.000000 1.000000 1.000000 0.000000
Testing GL_LUMINANCE
Probe at (1,1)
Expected: 1.000000 1.000000 1.000000 1.000000
Observed: 0.000000 0.000000 0.000000 1.000000
Testing GL_LUMINANCE_ALPHA
Testing GL_INTENSITY
Probe at (1,1)
Expected: 1.000000 1.000000 1.000000 1.000000
Observed: 0.000000 0.000000 0.000000 0.000000
Testing GL_ALPHA4
Probe at (129,1)
Expected: 1.000000 1.000000 1.000000 0.250000
Observed: 1.000000 1.000000 1.000000 0.000000
Testing GL_ALPHA8
Probe at (129,1)
Expected: 1.000000 1.000000 1.000000 0.250000
Observed: 1.000000 1.000000 1.000000 0.000000
Testing GL_ALPHA12
Segmentation fault (core dumped)

Program terminated with signal 11, Segmentation fault.
#0 0x01108338 in r600_draw_common (draw=0xbf9537b4) at src/gallium/drivers/r600/r600_state.c:237
237 if (rctx->vertex_elements->count <
rctx->vs_shader->shader.bc.nresource) {
(gdb) bt
#0 0x01108338 in r600_draw_common (draw=0xbf9537b4) at src/gallium/drivers/r600/r600_state.c:237
#1 0x011087c9 in r600_draw_vbo (ctx=0x8fdad50, info=0xbf953c34) at src/gallium/drivers/r600/r600_state.c:307
#2 0x0125fbcd in st_draw_vbo (ctx=0x92ec4b0, arrays=0x932e590, prims=0xbf953cdc, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=3) at src/mesa/state_tracker/st_draw.c:732
#3 0x012e5961 in vbo_draw_arrays (ctx=0x92ec4b0, mode=7, start=0, count=4, numInstances=1) at src/mesa/vbo/vbo_exec_array.c:588
#4 0x012e5ac8 in vbo_exec_DrawArrays (mode=7, start=0, count=4) at src/mesa/vbo/vbo_exec_array.c:619

#5  0x0804d636 in piglit_draw_rect_tex ()
#6  0x0804b4e3 in draw_mipmap ()
#7  0x0804bbd9 in test_format ()
#8  0x0804bd02 in piglit_display ()
#9  0x0804de93 in display ()

#10 0x00a8b820 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
#11 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
#12 0x00a8f660 in fgEnumWindows (enumCallback=0xa8b790 <fghcbDisplayWindow>, enumerator=0xbf953f88) at freeglut_structure.c:394
#13 0x00a8bcdb in fghDisplayAll () at freeglut_main.c:249
#14 glutMainLoopEvent () at freeglut_main.c:1450
#15 0x00a8c605 in glutMainLoop () at freeglut_main.c:1498
#16 0x0804e03c in main ()
(gdb) frame 0
#0 0x01108338 in r600_draw_common (draw=0xbf9537b4) at src/gallium/drivers/r600/r600_state.c:237
237 if (rctx->vertex_elements->count <
rctx->vs_shader->shader.bc.nresource) {
(gdb) print rctx->vertex_elements
$1 = (struct r600_vertex_element *) 0x0

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 32887] [r600g] SIGSEGV src/gallium/drivers/r600/r600_state.c:237

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

--- Comment #1 from Vinson Lee <[email protected]> 2011-01-06 18:00:24 PST --- 876effb0e717e8e64050662f6ffa286c22065f5c is the first bad commit commit 876effb0e717e8e64050662f6ffa286c22065f5c

Author: Dave Airlie <[email protected]>
Date:   Fri Dec 24 17:33:41 2010 +1000

r600g: hack around property unknown issues.

should fix https://bugs.freedesktop.org/show_bug.cgi?id=32619

Need to add proper support for properties later.

:040000 040000 fcc05c38e5c4f2c44622a99f64bc09dd3c6af879
f84be8bf6e3f262d1f5dd2d2445b73f434a2d0b3 M src
bisect run success

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 32887] [r600g] SIGSEGV src/gallium/drivers/r600/r600_state.c:237

In reply to [email protected]

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

Jerome Glisse <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Jerome Glisse <[email protected]> 2011-03-07 11:46:29 PST --- This should be fixed now, closing, reopen if you still have the issue with lastest master

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 32887] [r600g] SIGSEGV src/gallium/drivers/r600/r600_state.c:237

In reply to [email protected]

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

Vinson Lee <[email protected]> changed:

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

--- Comment #3 from Vinson Lee <[email protected]> 2011-03-07 21:24:41 PST ---
mesa: 51db2045b488477230d9a31b60779f90f0f4bf64 (master)

Verified fixed.

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