tiomap-dev team mailing list archive
-
tiomap-dev team
-
Mailing list archive
-
Message #01669
[Bug 1015292] Re: QT5 based applications fails with a segmentation fault with Pandaboard and the SGX driver
If the pointer is also checked at the xorg side, it works as expected.
Tested with the patch:
commit 6e83934da0288e9a182c0f7982871ea5eaff1cec
Author: Ricardo Salveti de Araujo <ricardo.salveti@xxxxxxxxxx>
Date: Wed Jun 20 20:19:09 2012 -0300
randr: first check pSrcPriv before using the pointer at RRFirstOutput
Fix a seg fault in case pSrcPriv fails to be allocated at
ProcRRGetScreenInfo, which later calls RRFirstOutput.
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@xxxxxxxxxx>
diff --git a/randr/randr.c b/randr/randr.c
index 4d4298a..9432819 100644
--- a/randr/randr.c
+++ b/randr/randr.c
@@ -446,6 +446,9 @@ RRFirstOutput(ScreenPtr pScreen)
RROutputPtr output;
int i, j;
+ if (!pSrcPriv)
+ return NULL;
+
if (pScrPriv->primaryOutput && pScrPriv->primaryOutput->crtc)
return pScrPriv->primaryOutput;
** Also affects: xorg-server (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of TI OMAP
Developers, which is subscribed to ubuntu-omap4-extras-graphics.
https://bugs.launchpad.net/bugs/1015292
Title:
QT5 based applications fails with a segmentation fault with Pandaboard
and the SGX driver
Status in Ubuntu OMAP4 graphics addons:
New
Status in “pvr-omap4” package in Ubuntu:
Confirmed
Status in “xorg-server” package in Ubuntu:
New
Bug description:
While testing Qt 5 support on Ubuntu, and validating the support for
OpenGL ES2.0 with Pandaboard, I couldn't start Snowshoe (Qt 5 - webkit
based browser) as it gives a segmentation fault and also breaks the
X11 server (with the pvr driver).
After a quick check with Snowball (Mali 400), it worked properly and
as expected, so this could probably be related with the current SGX
driver available for Pandaboard.
How to reproduce the issue:
1) Enable https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-daily
2) Install 'snowshoe-mobile' package
3) Run snowshoe: $ PATH=/opt/qt5/bin:$PATH; snowshoe
This is with Ubuntu 12.04 with pvr-omap4 1.7.10.0.1.21-0ubuntu1 (from
archive) and also 1.7.15.0.1.57-1 from TI's PPA.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-omap4-extras-graphics/+bug/1015292/+subscriptions
References