| Summary: | glean case api2 abort | ||
|---|---|---|---|
| Product: | Mesa | Reporter: | Shuang He <shuang.he> |
| Component: | Drivers/DRI/i965 | Assignee: | haihao <haihao.xiang> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | CC: | dri-devel |
| Version: | unspecified | ||
| Hardware: | Other | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| Attachments: |
xorg conf
xorg log |
||
Backtrace:
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x4694c159 in raise () from /lib/libc.so.6
#2 0x4694d6e3 in abort () from /lib/libc.so.6
#3 0x46980a1b in __libc_message () from /lib/libc.so.6
#4 0x46987f18 in _int_free () from /lib/libc.so.6
#5 0x4698b41d in free () from /lib/libc.so.6
#6 0xb7b5a3c2 in _mesa_free (ptr=0x8124148) at main/imports.c:85
#7 0xb7bcfc2a in _mesa_delete_program (ctx=0x8181ae0, prog=0x8700078)
at shader/program.c:320
#8 0xb7bd909f in _mesa_clear_shader_program_data (ctx=0x8181ae0,
shProg=0x8607640) at shader/shader_api.c:82
#9 0xb7bd9163 in _mesa_free_shader_program_data (ctx=0x8181ae0,
shProg=0x8607640) at shader/shader_api.c:119
#10 0xb7bd91f4 in _mesa_free_shader_program (ctx=0x8181ae0, shProg=0x8607640)
at shader/shader_api.c:143
#11 0xb7b24539 in delete_shader_cb (id=9, data=0x8607640, userData=0x8181ae0)
at main/context.c:640
#12 0xb7b46424 in _mesa_HashDeleteAll (table=0x813bc98,
callback=0xb7b244fb <delete_shader_cb>, userData=0x8181ae0)
at main/hash.c:275
#13 0xb7b24351 in free_shared_state (ctx=0x8181ae0, ss=0x83e9f40)
at main/context.c:724
#14 0xb7b25166 in _mesa_free_context_data (ctx=0x8181ae0)
---Type <return> to continue, or q <return> to quit---
at main/context.c:1266
#15 0xb7ac3f78 in intelDestroyContext (driContextPriv=0x83de2d8)
at intel_context.c:719
#16 0xb7ab806e in driDestroyContext (context=0x8136674)
at ../common/dri_util.c:646
#17 0xb7eaba4b in DestroyContext (dpy=0x80ff710, gc=0x81365c0) at glxcmds.c:537
#18 0xb7eabc4e in glXDestroyContext (dpy=0x80ff710, gc=0x81365c0)
at glxcmds.c:571
#19 0x080578c5 in ~RenderingContext (this=0xbfd9bc44) at rc.cpp:152
#20 0x0805adc5 in GLEAN::BaseTest<GLEAN::MultiTestResult>::run (
this=0x80f0340, environment=@0xbfd9bcb0) at tbase.h:272
#21 0x0805498b in main (argc=6, argv=0xbfd9bdf4) at main.cpp:128
Created attachment 14631 [details]
xorg conf
Created attachment 14632 [details]
xorg log
fixed in mesa 3ffd11f71d021f672b9bc15b3c39c155a0e2fecb & de1e9880f8b239768293f7f434a9117dfab20162 verified, thanks |
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.
System Environment: -------------------------- --Platform: Q965 --Architecture(32-bit,64-bit,compatiblity): all --2D driver: commit 6935c732c351585f31e2094c4201a00e3d5529b3 --3D driver: commit 9bd2cb7f90ac434ec5be7d388f899976bf902dc1 --Xserver: commit aec0d06469a2fa7440fdd5ee03dc256a68704e77 --Drm: commit e87cec19687089f9f268ec0eb81b57e6fb8de6a9 Bug detailed description: ------------------------- run glean case api2 will abort Reproduce steps: ---------------- 1. start X 2. ./glean -r test -t +api2 Current result: ---------------- [root@x-q965 glean]# ./glean -o -r test -t +api2 FAILURE: GL_STENCIL_BACK_FUNC query returned wrong value (at tapi2.cpp:786) FAILURE: GL_STENCIL_BACK_WRITEMASK query returned wrong value (at tapi2.cpp:884) FAILURE: glDrawBuffers failed (at tapi2.cpp:947) FAILURE: glCreateShader failed (fragment) (at tapi2.cpp:334) FAILURE: glCreateShader failed (fragment) (at tapi2.cpp:334) FAILURE: glCreateShader failed (fragment) (at tapi2.cpp:334) FAILURE: glCreateShader failed (fragment) (at tapi2.cpp:334) api2: FAIL rgba8, db, z24, s8, win+pmap, id 33 2 tests passed, 7 tests failed. api2: PASS rgba8, db, z24, s8, win+pmap, id 34 9 tests passed, 0 tests failed. *** glibc detected *** ./glean: free(): invalid next size (normal): 0x08124148 *** ======= Backtrace: ========= /lib/libc.so.6[0x46987f18] /lib/libc.so.6(__libc_free+0x79)[0x4698b41d] /opt/X11R7/lib/dri/i965_dri.so(_mesa_free+0x1d)[0xb7b2c3c2] /opt/X11R7/lib/dri/i965_dri.so(_mesa_delete_program+0x32)[0xb7ba1c2a] /opt/X11R7/lib/dri/i965_dri.so(_mesa_clear_shader_program_data+0x45)[0xb7bab09f] /opt/X11R7/lib/dri/i965_dri.so(_mesa_free_shader_program_data+0x58)[0xb7bab163] /opt/X11R7/lib/dri/i965_dri.so(_mesa_free_shader_program+0x29)[0xb7bab1f4] /opt/X11R7/lib/dri/i965_dri.so[0xb7af6539] /opt/X11R7/lib/dri/i965_dri.so(_mesa_HashDeleteAll+0x62)[0xb7b18424] /opt/X11R7/lib/dri/i965_dri.so[0xb7af6351] /opt/X11R7/lib/dri/i965_dri.so(_mesa_free_context_data+0x152)[0xb7af7166] /opt/X11R7/lib/dri/i965_dri.so(intelDestroyContext+0x13b)[0xb7a95f78] /opt/X11R7/lib/dri/i965_dri.so[0xb7a8a06e] /opt/X11R7/lib/libGL.so.1[0xb7e7da4b] /opt/X11R7/lib/libGL.so.1(glXDestroyContext+0x11)[0xb7e7dc4e] ./glean[0x80578c5] ./glean[0x805adc5] ./glean[0x805498b] /lib/libc.so.6(__libc_start_main+0xdc)[0x469397e4] ./glean(__gxx_personality_v0+0x10d)[0x804e141] ======= Memory map: ======== 08048000-080e7000 r-xp 00000000 08:02 2777676 /home/graphics/glean/src/glean/glean 080e7000-080f1000 rw-p 0009e000 08:02 2777676 /home/graphics/glean/src/glean/glean 080f1000-08791000 rw-p 080f1000 00:00 0 [heap] 46097000-460b0000 r-xp 00000000 08:02 2972133 /lib/ld-2.4.so 460b0000-460b1000 r--p 00018000 08:02 2972133 /lib/ld-2.4.so 460b1000-460b2000 rw-p 00019000 08:02 2972133 /lib/ld-2.4.so 468a0000-468f4000 r-xp 00000000 08:02 1387306 /usr/lib/libtiff.so.3.7.4 468f4000-468f6000 rw-p 00054000 08:02 1387306 /usr/lib/libtiff.so.3.7.4 46924000-46a50000 r-xp 00000000 08:02 2972139 /lib/libc-2.4.so 46a50000-46a53000 r--p 0012b000 08:02 2972139 /lib/libc-2.4.so 46a53000-46a54000 rw-p 0012e000 08:02 2972139 /lib/libc-2.4.so 46a54000-46a57000 rw-p 46a54000 00:00 0 46a59000-46a7c000 r-xp 00000000 08:02 2972140 /lib/libm-2.4.so 46a7c000-46a7d000 r--p 00022000 08:02 2972140 /lib/libm-2.4.so 46a7d000-46a7e000 rw-p 00023000 08:02 2972140 /lib/libm-2.4.so 46a80000-46a82000 r-xp 00000000 08:02 2972141 /lib/libdl-2.4.so 46a82000-46a83000 r--p 00001000 08:02 2972141 /lib/libdl-2.4.so 46a83000-46a84000 rw-p 00002000 08:02 2972141 /lib/libdl-2.4.so 46b8d000-46b9f000 r-xp 00000000 08:02 1398844 /usr/lib/libz.so.1.2.3 46b9f000-46ba0000 rw-p 00011000 08:02 1398844 /usr/lib/libz.so.1.2.3 46bb9000-46bd8000 r-xp 00000000 08:02 2972142 /lib/libexpat.so.0.5.0 46bd8000-46bda000 rw-p 0001e000 08:02 2972142 /lib/libexpat.so.0.5.0 46c4c000-46c5c000 r-xp 00000000 08:02 2972143 /lib/libpthread-2.4.so 46c5c000-46c5d000 r--p 0000f000 08:02 2972143 /lib/libpthread-2.4.so 46c5d000-46c5e000 rw-p 00010000 08:02 2972143 /lib/libpthread-2.4.so 46c5e000-46c60000 rw-p 46c5e000 00:00 0 46d1b000-46d26000 r-xp 00000000 08:02 2972144 /lib/libgcc_s-4.1.0-20060304.so.1 46d26000-46d27000 rw-p 0000a000 08:02 2972144 /lib/libgcc_s-4.1.0-20060304.so.1 46d29000-46e0b000 r-xp 00000000 08:02 1398859 /usr/lib/libstdc++.so.6.0.8 46e0b000-46e0f000 r--p 000e2000 08:02 1398859 /usr/lib/libstdc++.so.6.0.8 46e0f000-46e10000 rw-p 000e6000 08:02 1398859 /usr/lib/libstdc++.so.6.0.8 46e10000-46e16000 rw-p 46e10000 00:00 0 46e18000-46e39000 r-xp 00000000 08:02 1398845 /usr/lib/libjpeg.so.62.0.0 46e39000-46e3a000 rw-p 00020000 08:02 1398845 /usr/lib/libjpeg.so.62.0.0 b3700000-b3721000 rw-p b3700000 00:00 0 b3721000-b3800000 ---p b3721000 00:00 0 b386b000-b3d6b000 rw-s 00b62000 00:0f 13936 /dev/dri/card0 b3d6b000-b43ab000 rw-s 00022000 00:0f 13936 /dev/dri/card0 b43ab000-b4538000 rw-p b43ab000 00:00 0 b4657000-b4658000 rw-s 01090000 00:0f 13936 /dev/dri/card0 b4658000-b4659000 rw-s 0108f000 00:0f 13936 /dev/dri/card0 b4659000-b465a000 rw-s 0108e000 00:0f 13936 /dev/dri/card0 b465b000-b465c000 rw-s 0108c000 00:0f 13936 /dev/dri/card0 b465c000-b465d000 rw-s 0108b000 00:0f 13936 /dev/dri/card0 b465d000-b465e000 rw-s 0108a000 00:0f 13936 /dev/dri/card0 b465e000-b465f000 rw-s 01089000 00:0f 13936 /dev/dri/card0 b465f000-b4660000 rw-s 01088000 00:0f 13936 /dev/dri/card0 b4666000-b4667000 rw-s 01081000 00:0f 13936 /dev/dri/card0 b466a000-b466b000 rw-s 0107d000 00:0f 13936 /dev/dri/card0 b466b000-b666b000 rw-s ce000000 00:0f 13936 /dev/dri/card0 b666b000-b6b6b000 rw-s c077f000 00:0f 13936 /dev/dri/card0 b6b6b000-b706b000 rw-s c0c7f000 00:0f 13936 /dev/dri/card0 b706b000-b756b000 rw-s c1200000 00:0f 13936 /dev/dri/card0 b756b000-b7a6b000 rw-s c1200000 00:0f 13936 /dev/dri/card0 b7a6b000-b7ca6000 r-xp 00000000 08:02 4276294 /opt/X11R7/lib/dri/i965_dri.so b7ca6000-b7cbb000 rw-p 0023b000 08:02 4276294 /opt/X11R7/lib/dri/i965_dri.so b7cbb000-b7cc8000 rw-p b7cbb000 00:00 0 b7cc8000-b7ccc000 r-xp 00000000 08:02 793640 /opt/X11R7/lib/libXdmcp.so.6.0.0 b7ccc000-b7ccd000 rw-p 00003000 08:02 793640 /opt/X11R7/lib/libXdmcp.so.6.0.0 b7ccd000-b7cce000 rw-p b7ccd000 00:00 0 b7cce000-b7cd0000 r-xp 00000000 08:02 793627 /opt/X11R7/lib/libXau.so.6.0.0 b7cd0000-b7cd1000 rw-p 00001000 08:02 793627 /opt/X11R7/lib/libXau.so.6.0.0 b7cd1000-b7ce5000 r-xp 00000000 08:02 793592 /opt/X11R7/lib/libICE.so.6.3.0 b7ce5000-b7ce7000 rw-p 00013000 08:02 793592 /opt/X11R7/lib/libICE.so.6.3.0 b7ce7000-b7ce8000 rw-p b7ce7000 00:00 0 b7ce8000-b7cef000 r-xp 00000000 08:02 793558 /opt/X11R7/lib/libSM.so.6.0.0 b7cef000-b7cf0000 rw-p 00006000 08:02 793558 /opt/X11R7/lib/libSM.so.6.0.0 b7cf0000-b7d3c000 r-xp 00000000 08:02 787628 /opt/X11R7/lib/libXt.so.6.0.0 b7d3c000-b7d40000 rw-p 0004b000 08:02 787628 /opt/X11R7/lib/libXt.so.6.0.0 b7d40000-b7d47000 r-xp 00000000 08:02 793562 /opt/X11R7/lib/libdrm.so.2.3.0 b7d47000-b7d48000 rw-p 00007000 08:02 793562 /opt/X11R7/lib/libdrm.so.2.3.0 b7d48000-b7d49000 rw-p b7d48000 00:00 0 b7d49000-b7d4d000 r-xp 00000000 08:02 787576 /opt/X11R7/lib/libXfixes.so.3.1.0 b7d4d000-b7d4e000 rw-p 00003000 08:02 787576 /opt/X11R7/lib/libXfixes.so.3.1.0 b7d4e000-b7d50000 r-xp 00000000 08:02 793701 /opt/X11R7/lib/libXdamage.so.1.1.0 b7d50000-b7d51000 rw-p 00001000 08:02 793701 /opt/X11R7/lib/libXdamage.so.1.1.0 b7d51000-b7d55000 r-xp 00000000 08:02 793647 /opt/X11R7/lib/libXxf86vm.so.1.0.0 b7d55000-b7d56000 rw-p 00003000 08:02 793647 /opt/X11R7/lib/libXxf86vm.so.1.0.0 b7d56000-b7d57000 rw-p b7d56000 00:00 0 b7d57000-b7e3f000 r-xp 00000000 08:02 793668 /opt/X11R7/lib/libX11.so.6.2.0 b7e3f000-b7e43000 rw-p 000e8000 08:02 793668 /opt/X11R7/lib/libX11.so.6.2.0 b7e43000-b7e50000 r-xp 00000000 08:02 793522 /opt/X11R7/lib/libXext.so.6.4.0 b7e50000-b7e51000 rw-p 0000c000 08:02 793522 /opt/X11R7/lib/libXext.so.6.4.0 b7e51000-b7e52000 rw-p b7e51000 00:00 0 b7e52000-b7e66000 r-xp 00000000 08:02 793687 /opt/X11R7/lib/libXmu.so.6.2.0 b7e66000-b7e67000 rw-p 00014000 08:02 793687 /opt/X11R7/lib/libXmu.so.6.2.0 b7e67000-b7ec8000 r-xp 00000000 08:02 793689 /opt/X11R7/lib/libGL.so.1.2 b7ec8000-b7ece000 rw-p 00060000 08:02 793689 /opt/X11R7/lib/libGL.so.1.2 b7ece000-b7ecf000 rw-p b7ece000 00:00 0 b7ecf000-b7f45000 r-xp 00000000 08:02 793577 /opt/X11R7/lib/libGLU.so.1.3.070100 b7f45000-b7f46000 rw-p 00076000 08:02 793577 /opt/X11R7/lib/libGLU.so.1.3.070100 b7f47000-b7f48000 rw-s 0107b000 00:0f 13936 /dev/dri/card0 b7f48000-b7f49000 rw-s 0107a000 00:0f 13936 /dev/dri/card0 b7f49000-b7f4a000 rw-s 01079000 00:0f 13936 /dev/dri/card0 b7f57000-b7f58000 rw-s 0106b000 00:0f 13936 /dev/dri/card0 b7f61000-b7f62000 rw-p b7f61000 00:00 0 b7f62000-b7f64000 rw-s f8842000 00:0f 13936 /dev/dri/card0 b7f64000-b7f65000 rw-p b7f64000 00:00 0 bfce6000-bfd11000 rw-p bffd5000 00:00 0 [stack] ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso] Aborted (core dumped) Expected result: ---------------- should run without error