unity-system-compositor crashes if libhybris installed on desktop

Bug #1210798 reported by Timo Jyrinki
166
This bug affects 28 people
Affects Status Importance Assigned to Milestone
Mir
Invalid
High
Unassigned
Unity System Compositor
Invalid
High
Unassigned
libhybris (Ubuntu)
Fix Released
High
Unassigned

Bug Description

unity-system-compositor crashes if libhybris installed on PCs. This is correct because libhybris only supports Android.
Short-term fix: remove libhybris.
Long-term fix: See bug 1232962.

Installed unity-system-compositor, rebooted and logged in. Asus Zenbook UX31 with Sandy Bridge graphics.

ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: unity-system-compositor 0.0.1+13.10.20130810.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.10.0-6.17-generic 3.10.3
Uname: Linux 3.10.0-6-generic x86_64
ApportVersion: 2.12-0ubuntu3
Architecture: amd64
CrashCounter: 1
Date: Sat Aug 10 17:21:31 2013
Disassembly: => 0x0: Cannot access memory at address 0x0
ExecutablePath: /usr/sbin/unity-system-compositor
InstallationDate: Installed on 2012-03-16 (511 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120316)
MarkForUpload: True
ProcCmdline: /usr/sbin/unity-system-compositor --from-dm-fd 10 --to-dm-fd 13 --vt 7
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
SegvAnalysis:
 Segfault happened at: 0x0: Cannot access memory at address 0x0
 PC (0x00000000) not located in a known VMA region (needed executable region)!
SegvReason: executing NULL VMA
Signal: 11
SourcePackage: unity-system-compositor
StacktraceTop:
 ?? ()
 eglGetDisplay () from /usr/lib/x86_64-linux-gnu/libhybris-egl/libEGL.so.1
 mir::graphics::gbm::helpers::EGLHelper::setup_internal(mir::graphics::gbm::helpers::GBMHelper const&, bool) () from /usr/lib/x86_64-linux-gnu/libmirplatformgraphics.so
 mir::graphics::gbm::helpers::EGLHelper::setup(mir::graphics::gbm::helpers::GBMHelper const&) () from /usr/lib/x86_64-linux-gnu/libmirplatformgraphics.so
 mir::graphics::gbm::GBMDisplay::GBMDisplay(std::shared_ptr<mir::graphics::gbm::GBMPlatform> const&, std::shared_ptr<mir::graphics::gbm::VideoDevices> const&, std::shared_ptr<mir::graphics::DisplayConfigurationPolicy> const&, std::shared_ptr<mir::graphics::DisplayReport> const&) () from /usr/lib/x86_64-linux-gnu/libmirplatformgraphics.so
Title: unity-system-compositor crashed with SIGSEGV in eglGetDisplay()
UpgradeStatus: Upgraded to saucy on 2013-06-04 (66 days ago)
UserGroups:

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :
description: updated
tags: removed: need-amd64-retrace
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :
information type: Private → Public
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote : Re: unity-system-compositor crashes if libhybris installed on x86

After uninstalling libhybris & friends, it started not crashing. Running u-s-c now successfully.

summary: - unity-system-compositor crashed with SIGSEGV in eglGetDisplay()
+ unity-system-compositor crashes if libhybris installed on x86
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Looks like a problem in mir, not u-s-c but keeping task open so others can find it.

Changed in unity-system-compositor (Ubuntu):
status: New → Triaged
Changed in mir:
status: New → Triaged
importance: Undecided → High
Changed in unity-system-compositor (Ubuntu):
importance: Undecided → High
affects: unity-system-compositor (Ubuntu) → unity-system-compositor
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Does anyone know why we even have libhybris for i386 and amd64?...
https://launchpad.net/ubuntu/+source/libhybris

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

This is now affected by qtlocation update that has Ubuntu plugin included, which depends on libubuntu-application-api1 and brings hybris in. So xmir/unity-system-compositor stops working if upgrading to that qtlocation version.

The update is currently only in a PPA, but is aimed for archives.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Ok, disabling qtlocation Ubuntu plugin on x86 until this is resolved, with aim to re-enable it later.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This is not a bug in Mir. It's a packaging mistake. And I've proposed a solution in bug 1232962.

Changed in mir:
status: Triaged → Invalid
Changed in unity-system-compositor:
status: Triaged → Invalid
description: updated
Revision history for this message
Kai Mast (kai-mast) wrote :

Can confirm this on trusty

Kai Mast (kai-mast)
tags: added: trusty
summary: - unity-system-compositor crashes if libhybris installed on x86
+ unity-system-compositor crashes if libhybris installed on desktop
Changed in libhybris (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It seems duplicates are occurring recently due to bug 1291761.

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

With libhybris 0.1.0+git20131207+e452e83-0ubuntu10 it's not a problem if the package is installed as the EGL/GLES drivers have a lower alternatives priority, so it'll not replace the mesa one by default (we force libhybris as default only when producing ubuntu touch images).

Changed in libhybris (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.