Shell locks up

Bug #1227242 reported by Michal Hruby
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Shell can randomly lock up after a while of playing with it, see the attached trace of all threads when the lock up happened (of note are threads 5 and 13, which are waiting on a condition variable and semaphore).

Revision history for this message
Michal Hruby (mhr3) wrote :
Revision history for this message
Michał Sawicz (saviq) wrote :

It's obviously pretty difficult to reproduce. Thanks for the trace, Michal. Both look like Qt lockups, look like they will be pretty difficult to track down :/

Revision history for this message
Michał Sawicz (saviq) wrote :

One other effect of this seems to be "empty scope views". I.e. you can switch between scopes, but some of them are just empty.

Would be good to verify this still happens with Qt 5.1.

Revision history for this message
Michał Sawicz (saviq) wrote :

Please, anyone, put steps to reproduce, if found...

Changed in unity8:
status: New → Incomplete
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

I saw this twice in the past two days on image 60. In both cases the shell restarted first and then soon after when using it more it hung.
I had around 5 or 6 apps open, just using normally.

Revision history for this message
Albert Astals Cid (aacid) wrote :

In thread 5 we have QQuickRenderThreadSingleContextWindowManager which is gone in Qt 5.1 in a commit whose text says:

commit ebe8b9408cfcd953fae80514aa67e49221541bed
Author: Gunnar Sletta <email address hidden>
Date: Wed Dec 5 06:27:47 2012 -0800

    Complete rewrite of threaded render loop.

    This change starts using the superior implementation of the scene graph
    render loop which has been worked on in the scenegraph-playground
    project for a while. It uses a far more straightforward locking/sync
    paradigm compared to the existing one and is less deadlock and error
    prone. It also enables the scene graph thread to run on its own when
    the GUI thread is blocked, enabling threaded animations.

    This changes also introduces a naming change inside Qt Quick from
    "Window Manager" -> "Render Loop" as that fits better to what the
    code does.

    Change-Id: I1c2170ee04fcbef79660bd7dae6cace647cdb276
    Reviewed-by: Samuel Rødal <email address hidden>

Note the "is less deadlock and error prone"

Revision history for this message
Daniel Holbach (dholbach) wrote :

For me this happened in image 65 on maguro when I tried to close some apps. Saviq and tsdgeos have the core file of the unity8 process, when it happened.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Unity 8 because there has been no activity for 60 days.]

Changed in unity8:
status: Incomplete → Expired
Michał Sawicz (saviq)
affects: unity8 → unity8 (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

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