Bug 107352 - Android: i965/miptree null pointer dereference with Google Playstore
Summary: Android: i965/miptree null pointer dereference with Google Playstore
Status: NEW
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) other
: medium major
Assignee: Intel 3D Bugs Mailing List
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-23 20:02 UTC by Mauro Rossi
Modified: 2018-07-25 19:50 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
logcat with segfault (565.69 KB, text/plain)
2018-07-23 20:02 UTC, Mauro Rossi
Details
addr2line of segfault (2.62 KB, text/plain)
2018-07-23 20:03 UTC, Mauro Rossi
Details
dmesg of segfault (126.13 KB, text/plain)
2018-07-23 20:03 UTC, Mauro Rossi
Details
Proposed patch tested on mesa git and mesa 18.1 branch (3.42 KB, patch)
2018-07-23 20:10 UTC, Mauro Rossi
Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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


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.