Bug 39943

Summary: [965GM] SIGSEGV brw_state_cache.c:21
Product: Mesa Reporter: Vinson Lee <vlee>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: RESOLVED INVALID QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: critical    
Priority: medium CC: christopher.m.penalver
Version: gitKeywords: NEEDINFO
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2011-08-08 15:03:26 UTC
System environment:
-- chipset: 965GM
-- system architecture: i686
-- xserver-xorg-video-intel: 2:2.15.0-3ubuntu2
-- mesa: db726b048e8858af226dbd0f0fda72d0be01394e (master)
-- libdrm-intel1: 2.4.26-1ubuntu1
-- kernel version: 3.0.0-7-generic
-- Linux distribution: Ubuntu 11.04 i386
-- Machine or mobo model: Macbook3,1


Crash observed while running VMware Workstation.

(gdb) bt
[...]
#13 0x04720d72 in brw_try_upload_using_copy (cache=0x7a78e07c, cache_id=BRW_VS_PROG, key=0x7ea3d90, key_size=40, data=<value optimized out>, data_size=960, aux=<value optimized out>, aux_size=37, 
    out_offset=0x7a78e770, out_aux=0x7a78e764) at brw_state_cache.c:219
#14 brw_upload_cache (cache=0x7a78e07c, cache_id=BRW_VS_PROG, key=0x7ea3d90, key_size=40, data=<value optimized out>, data_size=960, aux=<value optimized out>, aux_size=37, out_offset=0x7a78e770, 
    out_aux=0x7a78e764) at brw_state_cache.c:292
#15 0x047246d3 in do_vs_prog (brw=0x7a76f580, vp=<value optimized out>, key=0x7ea78c4) at brw_vs.c:108
#16 0x047248d6 in brw_upload_vs_prog (brw=0x7a76f580) at brw_vs.c:158
#17 0x04723559 in brw_validate_state (brw=0x7a76f580) at brw_state_upload.c:480
#18 0x0470c332 in brw_try_draw_prims (ctx=0x7a76f580, arrays=0xa3a46024, prim=0x7ea7a0c, nr_prims=1, ib=0x7ea7a20, index_bounds_valid=0 '\000', min_index=12, max_index=15) at brw_draw.c:340
#19 brw_draw_prims (ctx=0x7a76f580, arrays=0xa3a46024, prim=0x7ea7a0c, nr_prims=1, ib=0x7ea7a20, index_bounds_valid=0 '\000', min_index=12, max_index=15) at brw_draw.c:431
#20 0x04819664 in vbo_validated_drawrangeelements (ctx=0x7a76f580, mode=4, index_bounds_valid=0 '\000', start=4294967295, end=4294967295, count=6, type=5123, indices=0x828, basevertex=0, 
    numInstances=1) at vbo/vbo_exec_array.c:846
#21 0x048198d5 in vbo_exec_DrawElements (mode=4, count=6, type=5123, indices=0x828) at vbo/vbo_exec_array.c:1003
[...]
(gdb) print cache->bo->virtual
$5 = (void *) 0x0
(gdb) print item->offset
$6 = 29824
(gdb) print data
$7 = (const void *) 0x7e7cc0c
(gdb) print item->size
$8 = 960
Comment 1 Eric Anholt 2011-10-21 13:46:06 UTC
So, I'm assuming you have a dmesg report of a GPU hang before this?
Comment 2 Vinson Lee 2011-10-21 14:49:21 UTC
(In reply to comment #1)
> So, I'm assuming you have a dmesg report of a GPU hang before this?

I just saw this assert again but did not see anything in dmesg.
Comment 3 Eric Anholt 2012-08-13 05:32:26 UTC
OK, so any information on how to reproduce the problem?
Comment 4 Eric Anholt 2012-10-17 19:16:09 UTC
Are you running out of address space or something?
Comment 5 Christopher M. Penalver 2016-02-26 01:22:51 UTC
Vinson Lee, Ubuntu 11.04 reached EOL on October 28, 2012. For more on this, please see https://wiki.ubuntu.com/Releases .

If this is reproducible on a supported release, it will help immensely if you filed a new report with Ubuntu by ensuring you have the package xdiagnose installed, and that you click the Yes button for attaching additional debugging information running the following from a terminal:
ubuntu-bug xorg

Also, please feel free to subscribe me to it.

For more on why this is helpful, please see https://wiki.ubuntu.com/ReportingBugs.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.