[regression] Logging in to Unity8 takes 25 seconds (the default DBus timeout)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Zoltan Balogh | ||
content-hub (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
qtmir (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
ubuntu-app-launch (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
High
|
Lukáš Tinkl | ||
unity-system-compositor (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
unity8 (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
[regression] Logging in to Unity8 takes 25 seconds (at least on the first login after a fresh boot) ...
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
<rebooted and try again>
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
Related branches
- ubuntu-sdk-build-bot: Approve (continuous-integration)
- Cris Dywan: Approve
- Arthur Mello (community): Approve
-
Diff: 323 lines (+79/-81)3 files modifiedsrc/UbuntuToolkit/privates/uccontenthub.cpp (+45/-45)
src/UbuntuToolkit/privates/uccontenthub_p.h (+17/-14)
tests/unit/contenthub/tst_contenthub.cpp (+17/-22)
Changed in ubuntu-app-launch (Ubuntu): | |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
Changed in qtmir (Ubuntu): | |
importance: | Undecided → High |
tags: | added: black-screen |
Changed in ubuntu-app-launch (Ubuntu): | |
status: | New → Invalid |
Changed in canonical-devices-system-image: | |
status: | New → Confirmed |
Changed in content-hub (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in unity-system-compositor (Ubuntu): | |
status: | New → Invalid |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Lukáš Tinkl (lukas-kde) |
Changed in qtmir (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in content-hub (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in unity8 (Ubuntu): | |
status: | Confirmed → Invalid |
tags: | added: unity8 |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Confirmed → Fix Committed |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Zoltan Balogh (bzoltan) |
Changed in canonical-devices-system-image: | |
milestone: | none → u8c-1 |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Two threads look suspicious during the hang:
Thread 1:
#0 pthread_ cond_wait@ @GLIBC_ 2.3.2 () unix/sysv/ linux/x86_ 64/pthread_ cond_wait. S:185 :wait(QMutex* , unsigned long) () x86_64- linux-gnu/ libQt5Core. so.5 x86_64- linux-gnu/ libQt5DBus. so.5 x86_64- linux-gnu/ libQt5DBus. so.5 x86_64- linux-gnu/ libQt5DBus. so.5 x86_64- linux-gnu/ libQt5DBus. so.5 :QDBusInterface (QString const&, QString const&, QString const&, QDBusConnection const&, QObject*) () x86_64- linux-gnu/ libQt5DBus. so.5 :UCContentHub( QObject* ) () x86_64- linux-gnu/ libUbuntuToolki t.so.5 x86_64- linux-gnu/ libUbuntuToolki t.so.5 :SingletonInsta nceInfo: :init(QQmlEngin e*) () x86_64- linux-gnu/ libQt5Qml. so.5 pper::toVariant () const () x86_64- linux-gnu/ libQt5Qml. so.5 x86_64- linux-gnu/ libQt5Qml. so.5 ngine:: toVariant( QV4::Value const&, int, bool) () from /usr/lib/ x86_64- linux-gnu/ libQt5Qml. so.5 :write( QQmlPropertyDat a const&, QV4::Value const&, bool, QFlags< QQmlPropertyPri vate::WriteFlag >) () x86_64- linux-gnu/ libQt5Qml. so.5 :update( QFlags< QQmlPropertyPri vate::WriteFlag >) () from /usr/lib/ x86_64- linux-gnu/ libQt5Qml. so.5 x86_64- linux-gnu/ libQt5Qml. so.5 ivate:: complete( QQmlEnginePriva te*, QQmlComponentPr ivate:: ConstructionSta te*) () x86_64- linux-gnu/ libQt5Qml. so.5 ivate:: completeCreate( ) () x86_64- linux-gnu/ libQt5Qml. so.5 :create( QQmlContext* ) () x86_64- linux-gnu/ libQt5Qml. so.5 :continueExecut e() () x86_64- linux-gnu/ libQt5Quick. so.5 te::execute( ) () x86_64- linux-gnu/ libQt5Quick. so.5 e2600, argc=2, 0x7ffe95fdf8f8, init=<optimised out>, fini=<optimised out>, fini=<optimised out>, stack_end= 0x7ffe95fdf8e8) libc-start. c:291
at ../sysdeps/
#1 0x00007f34c8fd2b4b in QWaitCondition:
from /usr/lib/
#2 0x00007f34c965dc7b in ?? () from /usr/lib/
#3 0x00007f34c961a0d5 in ?? () from /usr/lib/
#4 0x00007f34c961a8a5 in ?? () from /usr/lib/
#5 0x00007f34c962671d in ?? () from /usr/lib/
#6 0x00007f34c9626875 in QDBusInterface:
from /usr/lib/
#7 0x00007f348291b12b in UCContentHub:
from /usr/lib/
#8 0x00007f3482936598 in ?? ()
from /usr/lib/
#9 0x00007f34c9e52ea1 in QQmlType:
from /usr/lib/
#10 0x00007f34c9eb04c5 in QV4::QmlTypeWra
from /usr/lib/
#11 0x00007f34c9d886e6 in ?? () from /usr/lib/
#12 0x00007f34c9d88844 in QV4::ExecutionE
#13 0x00007f34c9ea83ae in QQmlBinding:
from /usr/lib/
#14 0x00007f34c9ea94e7 in QQmlBinding:
#15 0x00007f34c9eb3035 in ?? () from /usr/lib/
#16 0x00007f34c9e3d01e in QQmlComponentPr
from /usr/lib/
#17 0x00007f34c9e3d0e7 in QQmlComponentPr
from /usr/lib/
#18 0x00007f34c9e3cf50 in QQmlComponent:
from /usr/lib/
#19 0x00007f34cb97d553 in QQuickView:
from /usr/lib/
#20 0x00007f34cb97db1d in QQuickViewPriva
from /usr/lib/
#21 0x0000556b357e79c5 in ?? ()
#22 0x0000556b357e65b3 in ?? ()
#23 0x0000556b357e26c7 in ?? ()
#24 0x00007f34c85df3f1 in __libc_start_main (main=0x556b357
argv=
rtld_
at ../csu/
#25 0x0000556b357e2a1a in _start ()
Thread 11:
#0 pthread_ cond_wait@ @GLIBC_ 2.3.2 () unix/sysv/ linux/x86_ 64/pthread_ cond_wait. S:185 :wait(QMutex* , unsigned long) () x86_64- linux-gnu/ libQt5Core. so.5 :acquire( int) () x86_64- linux-gnu/ libQt5Core. so.5
at ../sysdeps/
#1 0x00007f34c8fd2b4b in QWaitCondition:
from /usr/lib/
#2 0x00007f34c8fcba23 in QSemaphore:
from /usr/lib/
#3 0x...