Bug 107352

Summary: Android: i965/miptree null pointer dereference with Google Playstore
Product: Mesa Reporter: Mauro Rossi <issor.oruam>
Component: Drivers/DRI/i965Assignee: Intel 3D Bugs Mailing List <intel-3d-bugs>
Status: RESOLVED MOVED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: major    
Priority: medium CC: lemody
Version: git   
Hardware: x86-64 (AMD64)   
OS: other   
Whiteboard:
i915 platform: i915 features:
Attachments: logcat with segfault
addr2line of segfault
dmesg of segfault
Proposed patch tested on mesa git and mesa 18.1 branch

Description Mauro Rossi 2018-07-23 20:02:45 UTC
Created attachment 140798 [details]
logcat with segfault

Hi,
there are segfaults for null pointer dereference happening with Google Playstore.

Logs and patch by Chih-Wei Huang in the attachment
Tested by me and android-x86 users it can resolve the Google Play and other apps crashes.

Mauro Rossi
android-x86 team
Comment 1 Mauro Rossi 2018-07-23 20:03:23 UTC
Created attachment 140799 [details]
addr2line of segfault
Comment 2 Mauro Rossi 2018-07-23 20:03:49 UTC
Created attachment 140800 [details]
dmesg of segfault
Comment 3 Mauro Rossi 2018-07-23 20:10:52 UTC
Created attachment 140801 [details] [review]
Proposed patch tested on mesa git and mesa 18.1 branch

Proposed also for mesa stable 18.1.5
Comment 4 Tapani Pälli 2018-07-24 05:36:42 UTC
I guess in some point miptree creation has failed, it would be interesting to know why that happens. Which platform are you running on?
Comment 5 Mauro Rossi 2018-07-24 16:50:25 UTC
Hi Tapani,

the provided logs are referred to GM965 with GMA X3100,
but Chih-Wei Huang told that the problem happens also with other recent gpus
I will provide more info as soon available.

Mauro
Comment 6 Mauro Rossi 2018-07-25 19:50:03 UTC
Hi,
Chih-Wei Huang confirms the problem happens on SandyBridge, Baytrail, CherryTrail, Broxton.

Kind regards
Mauro
Comment 7 GitLab Migration User 2019-09-25 19:12:30 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1740.

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.