From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 109060] android-x86 64bit builds crashes due to android/gralloc_handle.h
Date: Fri, 14 Dec 2018 00:05:31 +0000 [thread overview]
Message-ID: <bug-109060-502@http.bugs.freedesktop.org/> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1457 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109060
Bug ID: 109060
Summary: android-x86 64bit builds crashes due to
android/gralloc_handle.h
Product: DRI
Version: DRI git
Hardware: x86-64 (AMD64)
OS: other
Status: NEW
Severity: blocker
Priority: medium
Component: libdrm
Assignee: dri-devel@lists.freedesktop.org
Reporter: issor.oruam@gmail.com
Created attachment 142809
--> https://bugs.freedesktop.org/attachment.cgi?id=142809&action=edit
draft patch that solves the crashes
Hi,
there is a series of Android apps using 32bit libs on 64bit Android that are
crashing (Jackpal terminal, Sky Force, Olympus Rising, Vulkan V1, 3dmark
benchmarks and many others)
The cause is the difference in size of gralloc handle structs created by 32bit
libraries and 64bit architetures libraries.
The problem was observed and patched in gbm_gralloc in the past by Chih-Wei
Huang, but it was not taken into account in later evolution,
now with android/gralloc_handle.h in libdrm the problem is again present,
because the handle sizes in 32bit and 64bit are again different.
The attached draft patch solves the issue, tested on all apps that were
crashing
Please review and provide feedback
Mauro
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2996 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2018-12-14 0:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-14 0:05 bugzilla-daemon [this message]
2018-12-18 20:25 ` [Bug 109060] android-x86 64bit builds crashes due to android/gralloc_handle.h Robert Foss
2019-04-17 17:16 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-109060-502@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.