<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>high
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [SNB Regression]Piglit/glx/GLX_ARB_create_context/current with no framebuffer segfault"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=73010">73010</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[SNB Regression]Piglit/glx/GLX_ARB_create_context/current with no framebuffer segfault
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>huax.lu@intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/DRI/i965
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>System Environment:
--------------------------
Platform: Sandybridge
Libdrm:       
(master)libdrm-2.4.50-3-g068ea68b3f7ebd5efcfcc2f6ae417651423c8382
Mesa:        (master)7990ab58fa01cbebcefd63dd25af5fd6fdddf019
Xserver:        (master)xorg-server-1.14.99.905
Xf86_video_intel:       
(master)2.99.906-98-g9289e2c56b7f0cc78c5123691ad96611f0e04bed
Cairo:        (master)8e11a42e3e9b679dce97ac45cd8b47322536a253
Libva:        (staging)feb43645518a9c9c17c39a19c0b1998e99d2e156
Libva_intel_driver:        (staging)037b37bb5ba68e5628f4381b024ffac105408ddc
Kernel:    (drm-intel-nightly) 164a4cb4c1431a0689f85507868356fae24da638

Bug detailed description:
-------------------------
It segfaults on sandybridge with mesa master branch. It doesn't happen on 10.0
branch.

The latest known good commit: 37c24e6d867606e176a5164fc7ef1857862e76f8
The latest known bad commit: 7990ab58fa01cbebcefd63dd25af5fd6fdddf019

output:
Segmentation fault (core dumped)

(gdb) bt
#0  XQueryExtension (dpy=dpy@entry=0x10, name=name@entry=0xb7edf7ec
<dri2ExtensionName> "DRI2", major_opcode=major_opcode@entry=0xbfffef24,
    first_event=first_event@entry=0xbfffef28,
first_error=first_error@entry=0xbfffef2c) at QuExt.c:43
#1  0xb7d667ec in XInitExtension (dpy=dpy@entry=0x10,
name=name@entry=0xb7edf7ec <dri2ExtensionName> "DRI2") at InitExt.c:47
#2  0xb7b577b4 in XextAddDisplay (extinfo=0x80565c8, dpy=dpy@entry=0x10,
ext_name=0xb7edf7ec <dri2ExtensionName> "DRI2", hooks=0xb7edf800
<dri2ExtensionHooks>,
    nevents=nevents@entry=0, data=data@entry=0x0) at extutil.c:110
#3  0xb7ec0d7e in DRI2FindDisplay (dpy=dpy@entry=0x10) at dri2.c:81
#4  0xb7ec1937 in DRI2GetBuffersWithFormat (dpy=0x10, drawable=136957008,
width=width@entry=0x828e5b0, height=height@entry=0x828e5b4,
attachments=attachments@entry=0xbffff0e8,
    count=count@entry=0, outCount=outCount@entry=0xbffff108) at dri2.c:467
#5  0xb7ebecd7 in dri2GetBuffersWithFormat (driDrawable=0x828e598,
width=0x828e5b0, height=0x828e5b4, attachments=0xbffff0e8, count=0,
out_count=0xbffff108,
    loaderPrivate=0x4d250450 <main_arena+48>) at dri2_glx.c:894
#6  0xb794fe48 in intel_query_dri2_buffers (buffer_count=0xbffff0f8,
buffers=<synthetic pointer>, drawable=0x828e598, brw=0xb762a01c) at
brw_context.c:1196
#7  intel_update_dri2_buffers (drawable=0x828e598, brw=0xb762a01c) at
brw_context.c:1013
#8  intel_update_renderbuffers (context=context@entry=0x8061680,
drawable=drawable@entry=0x828e598) at brw_context.c:1069
#9  0xb7950278 in intel_prepare_render (brw=brw@entry=0xb762a01c) at
brw_context.c:1087
#10 0xb795045c in intelMakeCurrent (driContextPriv=0x8061680,
driDrawPriv=0x828e598, driReadPriv=0x828e598) at brw_context.c:932
#11 0xb78eb98e in driBindContext (pcp=0x8061680, pdp=0x828e598, prp=0x828e598)
at dri_util.c:539
#12 0xb7ec07ad in dri2_bind_context (context=0x8057320, old=0xb7edf660
<dummyContext>, draw=0, read=0) at dri2_glx.c:153
#13 0xb7e95b94 in MakeContextCurrent (dpy=0x804b008, draw=0, read=0,
gc_user=0x8057320) at glxcurrent.c:259
#14 0x08048eab in main (argc=3, argv=0xbffff334) at
/GFX/Test/Piglit/piglit/tests/spec/glx_arb_create_context/current-no-framebuffer.c:77


Reproduce steps:
----------------------------
1. xinit
2. ./bin/glx-create-context-current-no-framebuffer -fbo -auto</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>