Bug 101539

Summary: [Regresion] [IVB] Segment fault in recent commit in intel_miptree_level_has_hiz under Ivy bridge
Product: Mesa Reporter: mrc_munir <maximu>
Component: Drivers/DRI/i965Assignee: Intel 3D Bugs Mailing List <intel-3d-bugs>
Status: RESOLVED FIXED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description mrc_munir 2017-06-21 14:16:41 UTC
hello I'm using Mesa git with Antergos x86_64 + kernel 4.11.6

I detected Broken OpenGL found for me from  https://cgit.freedesktop.org/mesa/mesa/commit/?id=f60e23cb57724f001bfafdb577cedf660d6917e1

Starting program: /usr/bin/glxgears 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff438ca06 in intel_miptree_level_has_hiz (mt=0x0, level=0) at intel_mipmap_tree.c:1906
1906	   return mt->level[level].has_hiz;

if Reverted this commit it's working again (temporally solution)


Regards
Mrc.
Comment 1 Jason Ekstrand 2017-06-21 18:25:47 UTC
This should be fixed by the following commit:

commit 17918a037242d04b1a455a2f7a0b869e7a568456
Author: Jason Ekstrand <jason.ekstrand@intel.com>
Date:   Wed Jun 21 11:15:25 2017 -0700

    i965/miptree: Move isl_surf_get_(hiz|mcs)_surf out of the assert
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101535
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101538
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101539
    Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>

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.