Bug 55986 - SIGSEGV in i830Enable (ctx=0x806a000, cap=2960, state=0 '\000') at i830_state.c:852
Summary: SIGSEGV in i830Enable (ctx=0x806a000, cap=2960, state=0 '\000') at i830_state...
Status: NEW
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i830 (show other bugs)
Version: 8.0
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-15 01:40 UTC by Shawn Landden
Modified: 2012-10-15 01:40 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Shawn Landden 2012-10-15 01:40:10 UTC
Ubuntu 12.04, mesa 8.0, GL_CULL_FACE? or GL_STENCIL_TEST + f92b2e5e90f456491fc15b3b9612381a83726606 ?


(gdb) run
Starting program: /usr/bin/glxgears 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x0055cf2b in ?? () from /usr/lib/i386-linux-gnu/dri/i915_dri.so
(gdb) quit
A debugging session is active.

	Inferior 1 [process 8056] will be killed.

Quit anyway? (y or n) y
nb@MakerStation:~$ gdb glxgears
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/glxgears...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/glxgears 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x0055cf2b in i830Enable (ctx=0x806a000, cap=2960, state=0 '\000')
    at i830_state.c:852
852	i830_state.c: No such file or directory.
(gdb) bt
#0  0x0055cf2b in i830Enable (ctx=0x806a000, cap=2960, state=0 '\000')
    at i830_state.c:852
#1  0x0055ef0a in i830_update_draw_buffer (intel=0x806a000) at i830_vtbl.c:831
#2  0x0057c103 in intel_draw_buffer (ctx=0x806a000)
    at ../../../../../src/mesa/drivers/dri/intel/intel_buffers.h:50
#3  intelMakeCurrent (driContextPriv=0x8058a30, driDrawPriv=0x823db98, 
    driReadPriv=0x823db98) at intel_context.c:881
#4  0x0055813b in driBindContext (pcp=0x8058a30, pdp=0x823db98, prp=0x823db98)
    at ../common/dri_util.c:330
#5  0x0017450d in dri2_bind_context (context=0x805abd8, old=0x1874e0, 
    draw=62914562, read=62914562) at dri2_glx.c:154
#6  0x0014bff2 in MakeContextCurrent (dpy=0x804e008, draw=62914562, 
    read=62914562, gc_user=0x805abd8) at glxcurrent.c:269
#7  0x0014c173 in glXMakeCurrent (dpy=0x804e008, draw=62914562, gc=0x805abd8)
    at glxcurrent.c:303
#8  0x0804a4f7 in ?? ()
#9  0x003054d3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#10 0x08049101 in ?? ()
(gdb) bt full
#0  0x0055cf2b in i830Enable (ctx=0x806a000, cap=2960, state=0 '\000')
    at i830_state.c:852
        irbStencil = 0x0
        hw_stencil = false
#1  0x0055ef0a in i830_update_draw_buffer (intel=0x806a000) at i830_vtbl.c:831
        ctx = 0x806a000
        fb = 0x823ae70
        colorRegions = {0x0, 0x8058a30, 0x823db01, 0x101b5f1, 0x806a000, 
          0x823db98, 0x172849, 0x186ff4}
        depthRegion = 0x0
        irbDepth = <optimized out>
        irbStencil = <optimized out>
#2  0x0057c103 in intel_draw_buffer (ctx=0x806a000)
    at ../../../../../src/mesa/drivers/dri/intel/intel_buffers.h:50
No locals.
#3  intelMakeCurrent (driContextPriv=0x8058a30, driDrawPriv=0x823db98, 
    driReadPriv=0x823db98) at intel_context.c:881
        fb = 0x823ae70
        readFb = <optimized out>
        intel = 0x806a000
#4  0x0055813b in driBindContext (pcp=0x8058a30, pdp=0x823db98, prp=0x823db98)
    at ../common/dri_util.c:330
No locals.
---Type <return> to continue, or q <return> to quit---
#5  0x0017450d in dri2_bind_context (context=0x805abd8, old=0x1874e0, 
    draw=62914562, read=62914562) at dri2_glx.c:154
        pcp = 0x805abd8
        psc = 0x8058a60
        pdraw = 0x805ad70
        pread = 0x805ad70
        pdp = <optimized out>
#6  0x0014bff2 in MakeContextCurrent (dpy=0x804e008, draw=62914562, 
    read=62914562, gc_user=0x805abd8) at glxcurrent.c:269
        gc = 0x805abd8
        oldGC = 0x1874e0
#7  0x0014c173 in glXMakeCurrent (dpy=0x804e008, draw=62914562, gc=0x805abd8)
    at glxcurrent.c:303
No locals.
#8  0x0804a4f7 in ?? ()
No symbol table info available.
#9  0x003054d3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#10 0x08049101 in ?? ()
No symbol table info available.
(gdb) info registers
eax            0x0	0
ecx            0x8	8
edx            0x55cb70	5622640
ebx            0x5b3ff4	5980148
esp            0xbfffefb0	0xbfffefb0
ebp            0x822ec10	0x822ec10
esi            0x806a000	134651904
edi            0x0	0
eip            0x55cf2b	0x55cf2b <i830Enable+955>
eflags         0x10246	[ PF ZF IF RF ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51
(gdb)


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.