unity-system-compositor locked up in __libc_do_syscall()

Bug #1543594 reported by Michał Sawicz
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Unassigned
Mir
Fix Released
High
Andreas Pokorny
0.19
Fix Released
High
Andreas Pokorny
Unity System Compositor
Invalid
High
Unassigned
mir (Ubuntu)
Fix Released
High
Unassigned
unity-system-compositor (Ubuntu)
Invalid
High
Unassigned

Bug Description

This happened when I got an incoming call, couldn't wake the screen up, even though the phone worked fine otherwise.

powerd-cli list took ~20s to return

https://paste.ubuntu.com/15001777/ for u-s-c trace
https://paste.ubuntu.com/15001805/ tamer powerd trace

ProblemType: Crash
DistroRelease: Ubuntu 15.04
Package: unity-system-compositor 0.4.1+15.04.20160203-0ubuntu1 [origin: LP-PPA-ci-train-ppa-service-stable-phone-overlay]
Uname: Linux 3.4.67 armv7l
ApportVersion: 2.17.2-0ubuntu1.3touch1
Architecture: armhf
Date: Tue Feb 9 15:06:13 2016
ExecutablePath: /usr/sbin/unity-system-compositor
ExecutableTimestamp: 1454530118
GraphicsCard:

InstallationDate: Installed on 2016-02-06 (3 days ago)
InstallationMedia: Ubuntu 15.04 - armhf (20160206-020305)
ProcCmdline: unity-system-compositor --disable-overlays=false --spinner=/usr/bin/unity-system-compositor-spinner --file /run/mir_socket --from-dm-fd 10 --to-dm-fd 13 --vt 1
ProcCwd: /
ProcEnviron:

Signal: 6
SourcePackage: unity-system-compositor
StacktraceTop:
 __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:46
 __lll_lock_wait (futex=futex@entry=0x6402fc, private=0) at lowlevellock.c:46
 __GI___pthread_mutex_lock (mutex=0x6402fc) at pthread_mutex_lock.c:80
 __gthread_mutex_lock (__mutex=0x6402fc) at /usr/include/arm-linux-gnueabihf/c++/4.9/bits/gthr-default.h:748
 lock (this=0x6402fc) at /usr/include/c++/4.9/mutex:135
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

version.libdrm: libdrm2 2.4.60-2
version.lightdm: lightdm 1.14.4-0ubuntu1
version.mesa: libegl1-mesa-dev N/A

Related branches

Revision history for this message
Michał Sawicz (saviq) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

Stacktrace:
 #0 0xb6d89d44 in ?? ()
 No symbol table info available.
 #1 0xb6d8795c in ?? ()
 No symbol table info available.
 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
StacktraceTop:
 ?? ()
 ?? ()

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in unity-system-compositor (Ubuntu):
status: New → Invalid
Revision history for this message
Apport retracing service (apport) wrote : Crash report cannot be processed
Download full text (3.6 KiB)

Thank you for your report!

However, processing it in order to get sufficient information for the
developers failed (it does not generate a useful symbolic stack trace). This
might be caused by some outdated packages which were installed on your system
at the time of the report:

package libmirplatform11 does not exist, ignoring
no debug symbol package found for libusb-0.1-4
systemd version 219-7ubuntu6vividtouch1 required, but 219-7ubuntu6 is available
libsystemd0 version 219-7ubuntu6vividtouch1 required, but 219-7ubuntu6 is available
libandroid-properties1 version 0.1.0+git20151016+6d424c9-0ubuntu5~overlay1 required, but 0.1.0+git20131207+e452e83-0ubuntu39 is available
no debug symbol package found for libandroid-properties1
package libmircookie2 does not exist, ignoring
package libmirserver37 does not exist, ignoring
no debug symbol package found for cgmanager
unity-system-compositor version 0.4.1+15.04.20160203-0ubuntu1 required, but 0.0.5+15.04.20150227-0ubuntu1 is available
no debug symbol package found for unity-system-compositor
no debug symbol package found for libgpg-error0
no debug symbol package found for dmsetup
no debug symbol package found for libisc-export95
package libmirprotobuf3 does not exist, ignoring
no debug symbol package found for shared-mime-info
udev version 219-7ubuntu6vividtouch1 required, but 219-7ubuntu6 is available
no debug symbol package found for sysvinit-utils
no debug symbol package found for libcgmanager0
libpam-systemd version 219-7ubuntu6vividtouch1 required, but 219-7ubuntu6 is available
no debug symbol package found for libselinux1
libudev1 version 219-7ubuntu6vividtouch1 required, but 219-7ubuntu6 is available
no debug symbol package found for libdevmapper1.02.1
no debug symbol package found for gpgv
no debug symbol package found for libbz2-1.0
no debug symbol package found for debianutils
no debug symbol package found for libelf1
no debug symbol package found for libapparmor1
no debug symbol package found for libisccfg-export90
no debug symbol package found for initscripts
no debug symbol package found for libdns-export100
no debug symbol package found for gnupg
package libmirclient9 does not exist, ignoring
no debug symbol package found for ifupdown
no debug symbol package found for libcryptsetup4
no debug symbol package found for libprotobuf-lite9
no debug symbol package found for libaudit1
no debug symbol package found for libsemanage1
no debug symbol package found for libkmod2
no debug symbol package found for libxkbcommon0
no debug symbol package found for libirs-export91
package libmircommon5 does not exist, ignoring
no debug symbol package found for perl-base
no debug symbol package found for iproute2
no debug symbol package found for libhybris
no debug symbol package found for liblttng-ust0
libudev1 version 219-7ubuntu6vividtouch1 required, but 219-7ubuntu6 is available
no debug symbol package found for libhardware2
no debug symbol package found for libhybris-common1
libandroid-properties1 version 0.1.0+git20151016+6d424c9-0ubuntu5~overlay1 required, but 0.1.0+git20131207+e452e83-0ubuntu39 is available
no debug symbol package found for libandroid-properties1
no debug symbol package found for...

Read more...

tags: removed: need-armhf-retrace
Michał Sawicz (saviq)
information type: Private → Public
Changed in unity-system-compositor (Ubuntu):
status: Invalid → New
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

One of the threads is waiting on a lock in Mir's SystemCompositorWindowManager::add_display() - I see no other thread touching that lock, and there's a bug in the lock handling of that class. (See linked branch.)

The SystemCompositorWindowManager::remove_surface() bug may not be the whole problem but needs to be eliminated.

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

Bug 1536662 would manifest similarly if you didn't wait the full 30 seconds. Although I can't yet see evidence of bug 1536662 in the stack traces.

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

Can you point out the branch or revision where this was fixed?

Revision history for this message
Alberto Aguirre (albaguirre) wrote :

lp:mir r3288

Changed in mir (Ubuntu):
importance: Undecided → High
status: New → Fix Released
no longer affects: mir/0.20
Changed in mir:
assignee: nobody → Andreas Pokorny (andreas-pokorny)
Changed in canonical-devices-system-image:
importance: Undecided → High
milestone: none → 9.1
status: New → Fix Committed
Changed in mir:
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
Stephen M. Webb (bregma)
Changed in unity-system-compositor:
status: New → Invalid
Changed in unity-system-compositor (Ubuntu):
status: New → Invalid
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.