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.salv...@linaro.org> 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.salv...@linaro.org> 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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1015292 Title: QT5 based applications fails with a segmentation fault with Pandaboard and the SGX driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-omap4-extras-graphics/+bug/1015292/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs