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

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [swrast] piglit occulsion-query-discard regression"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=69047">69047</a>
          </td>
        </tr>

        <tr>
          <th>Keywords</th>
          <td>regression
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>t_arceri@yahoo.com.au
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[swrast] piglit occulsion-query-discard regression
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>critical
          </td>
        </tr>

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

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

        <tr>
          <th>Reporter</th>
          <td>vlee@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Mesa core
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>mesa: ac8448dd9779478b570ef15f7232cfcf22f2d3db (master)

$ ./bin/occlusion-query-discard -auto
*** Error in `./bin/occlusion-query-discard': free(): invalid pointer:
0x00007fd3878517b8 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x80a46)[0x7fd387510a46]
mesa/src/mesa/libdricore/.libs/libdricore9.3.0-devel.so.1(+0x1807e4)[0x7fd3839867e4]
mesa/src/mesa/libdricore/.libs/libdricore9.3.0-devel.so.1(_mesa_DeleteQueries+0x208)[0x7fd383986d5b]
piglit/lib/libpiglitutil_gl.so(+0x80e33)[0x7fd387adbe33]
./bin/occlusion-query-discard(piglit_display+0x24b)[0x401311]
piglit/lib/libpiglitutil_gl.so(+0x74018)[0x7fd387acf018]
/usr/lib/x86_64-linux-gnu/libglut.so.3(+0x1ffc4)[0x7fd387269fc4]
/usr/lib/x86_64-linux-gnu/libglut.so.3(fgEnumWindows+0x39)[0x7fd38726d719]
/usr/lib/x86_64-linux-gnu/libglut.so.3(glutMainLoopEvent+0x11c)[0x7fd38726a45c]
/usr/lib/x86_64-linux-gnu/libglut.so.3(glutMainLoop+0xa1)[0x7fd38726ad81]
piglit/lib/libpiglitutil_gl.so(+0x74247)[0x7fd387acf247]
piglit/lib/libpiglitutil_gl.so(piglit_gl_test_run+0x92)[0x7fd387acd189]
./bin/occlusion-query-discard(main+0x67)[0x401053]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7fd3874b1ea5]
./bin/occlusion-query-discard[0x400f29]


(gdb) bt
#0  0x00007fd3874c7037 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007fd3874ca698 in __GI_abort () at abort.c:90
#2  0x00007fd3875045ab in __libc_message (do_abort=do_abort@entry=2,
fmt=fmt@entry=0x7fd387617860 "*** Error in `%s': %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:199
#3  0x00007fd387510a46 in malloc_printerr (ptr=0x7fd3878517b8 <main_arena+120>,
str=0x7fd387613825 "free(): invalid pointer", action=3)
    at malloc.c:4902
#4  _int_free (av=<optimized out>, p=0x7fd3878517a8 <main_arena+104>,
have_lock=0) at malloc.c:3758
#5  0x00007fd3839867e4 in _mesa_delete_query (ctx=0x7fd387f4a010, q=0x268e090)
at ../../../src/mesa/main/queryobj.c:129
#6  0x00007fd383986d5b in _mesa_DeleteQueries (n=1, ids=0x7fff4d3466d4) at
../../../src/mesa/main/queryobj.c:257
#7  0x00007fd387adbe33 in stub_glDeleteQueries (n=1, ids=0x7fff4d3466d4) at
piglit/tests/util/generated_dispatch.c:5548
#8  0x0000000000401311 in piglit_display () at
piglit/tests/general/occlusion-query-discard.c:122
#9  0x00007fd387acf018 in display () at
piglit/tests/util/piglit-framework-gl/piglit_glut_framework.c:60
#10 0x00007fd387269fc4 in fghRedrawWindow (window=0x2462140) at
freeglut_main.c:210
#11 fghcbDisplayWindow (window=0x2462140, enumerator=0x7fff4d3467c0) at
freeglut_main.c:227
#12 0x00007fd38726d719 in fgEnumWindows
(enumCallback=enumCallback@entry=0x7fd387269f20 <fghcbDisplayWindow>, 
    enumerator=enumerator@entry=0x7fff4d3467c0) at freeglut_structure.c:394
#13 0x00007fd38726a45c in fghDisplayAll () at freeglut_main.c:249
#14 glutMainLoopEvent () at freeglut_main.c:1450
#15 0x00007fd38726ad81 in glutMainLoop () at freeglut_main.c:1498
#16 0x00007fd387acf247 in run_test (gl_fw=0x7fd387dbc320 <glut_fw>, argc=1,
argv=0x7fff4d346b78)
    at piglit/tests/util/piglit-framework-gl/piglit_glut_framework.c:142
#17 0x00007fd387acd189 in piglit_gl_test_run (argc=1, argv=0x7fff4d346b78,
config=0x7fff4d346a60)
    at piglit/tests/util/piglit-framework-gl.c:141
#18 0x0000000000401053 in main (argc=1, argv=0x7fff4d346b78) at
piglit/tests/general/occlusion-query-discard.c:42


6d8dd59cf53d2f47b817d79204a52bb3a46e8c77 is the first bad commit
commit 6d8dd59cf53d2f47b817d79204a52bb3a46e8c77
Author: Timothy Arceri <<a href="mailto:t_arceri@yahoo.com.au">t_arceri@yahoo.com.au</a>>
Date:   Mon Aug 26 17:16:08 2013 +1000

    mesa: free object labels when deleting

    Signed-off-by: Timothy Arceri <<a href="mailto:t_arceri@yahoo.com.au">t_arceri@yahoo.com.au</a>>

    Reviewed-by: Brian Paul <<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>>

:040000 040000 b55eb77568b58c50433dad2ce7d9dbc83d9940df
d02f84ce03a49cc2d138229d1c8d9cbcdbe4d53b M    src
bisect run success</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>