Freezes in uitk

Bug #1568016 reported by Michael Zanetti
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
Zoltan Balogh
ubuntu-ui-toolkit (Ubuntu)
Fix Released
Critical
Tim Peeters
ubuntu-ui-toolkit (Ubuntu RTM)
Fix Released
Critical
Tim Peeters

Bug Description

Ever since moving to uitk 1.3, I see occational freezes, mostly related to page push/pop operations. This happens very randomly but causes the app to freeze and requires a restart.

I've triggered such freezes in many situations in all sorts of different apps but never could really reproduce it. There is definitely a race condition involved. Such freezes seem to happen most likely directly after app startup when pressing a button in the toolbar while stuff is still loading, but not only. I've also seen it happening in the middle of using an app.

Now a friend of mine wrote an app and managed to get into a situation where it reliably triggers a freeze. I am not sure if this is the same as I'm observing or if its a different one. However, it is a freeze and might lead us to the real reason. Attached you'll find an archive that allows reproducing at least that one variant of the freeze.

Related branches

Revision history for this message
Michael Zanetti (mzanetti) wrote :
Revision history for this message
Tim Peeters (tpeeters) wrote :

Confirmed by running 'qmlscene Main.qml' in the attached archive, then clicking 'Continue' and then 'Kill' button. The result is that the UI is not responsive, I cannot click the 'Continue' button any more.

Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Confirmed
importance: Undecided → Critical
Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: nobody → Tim Peeters (tpeeters)
status: Confirmed → In Progress
Revision history for this message
Tim Peeters (tpeeters) wrote :

The dialog is created with the context of the Page. When closing the dialog, it starts to fade out, and then the page is popped (and destroyed) before the dialog fade-out is finished. This makes the context of the dialog invalid, and the ScriptAction that makes the dialog invisible (and destroys it) is not executed. Because of this, the dialog stays active (but with opacity 0) and blocks events from getting to the active page.

Changed in canonical-devices-system-image:
milestone: none → 11
assignee: nobody → Zoltan Balogh (bzoltan)
importance: Undecided → Critical
Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit (Ubuntu RTM):
status: New → In Progress
assignee: nobody → Tim Peeters (tpeeters)
importance: Undecided → Critical
Changed in canonical-devices-system-image:
status: New → In Progress
Tim Peeters (tpeeters)
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Changed in ubuntu-ui-toolkit (Ubuntu):
status: In Progress → Fix Committed
Changed in ubuntu-ui-toolkit (Ubuntu RTM):
status: In Progress → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

This bug was fixed in the package ubuntu-ui-toolkit 1.3.1949+15.04.20160421 in https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/stable-phone-overlay

---------------

ubuntu-ui-toolkit (1.3.1949+15.04.20160421) vivid; urgency=medium

  [ Zoltan Balogh ]
  * Make pep8 happy with all the python scripts of the UITK project.
    Fixes LP: #1454322, LP: #1572981

  [ Tim Peeters ]
  * Update Header.flickable docs. Fixes LP: #1572525
  * Fix app freeze after closing Dialog/Popover. Fixes LP: #1568016.
  * Fix the tests for focus restoration in tst_focus.qml. Fixes LP: #1572983
  * Update PageStack unit tests to use PageHeader. Fixes LP: #1572988

  [ Pierre Bertet ]
  * Minor optimization on the palette values declaration.

  [ Christian Dywan ]
  * Allow SEGFAULTing tests to be flagged as exceptions. Fixes LP: #1572990

  [ CI Train Bot ]
  * No-change rebuild.

 -- Zoltan Balogh <email address hidden> Thu, 21 Apr 2016 12:06:31 +0000

Changed in ubuntu-ui-toolkit (Ubuntu RTM):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-ui-toolkit - 1.3.1984+16.10.20160527.2

---------------
ubuntu-ui-toolkit (1.3.1984+16.10.20160527.2) yakkety; urgency=medium

  [ Christian Dywan ]
  * Slimmer frame for TextFields: 0.5dp. Fixes LP: #1578190.

  [ Albert Astals Cid ]
  * Add override
    The override specifier (since C++11) specifies that a virtual function
    overrides another virtual function. In a member function declaration or
    definition, override ensures that the function is virtual and is overriding
    a virtual function from the base class.

  [ Tim Peeters ]
  * Fix reference error in PullToRefreshStyle. Fixes LP: #1582843
  * Mark Tab, Tabs, TabBar, PageHeadConfiguration, PageHeadSections,
    PageHeadState, ToolbarButton, ToolbarItems as deprecated in the
    documentation. Fixes LP: #1566735, LP: #1566741.

  [ CI Train Bot ]
  * Resync trunk.

 -- Zoltan Balogh <email address hidden> Fri, 27 May 2016 07:08:44 +0000

Changed in ubuntu-ui-toolkit (Ubuntu):
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
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

Remote bug watches

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