Attaching stacktrace of all threads with debug symbols for unity-scopes-
api, unity-scopes-shell and unity8-private.

I can easily reproduce the problem on frieza with News scope, by just
pulling to refresh a couple of times. I wasn't able to reproduce it with
Nearby scope.

I've attached with gdb to the running dash and my attention was drawn by
VerticalJournal::addItemToView; a breakpoint + a simple gdb script to
count all calls when this problem is reproduced reveals that it's being
called repeatedly in a loop - I've counted 23000+ hits and it's growing
(with this bp and gdb overhead the dash runs much slower and I bet it
will take a while before it gets killed).

This is the backtrace when addItemToView breakpoint gets hit:

Breakpoint 2, VerticalJournal::addItemToView (this=0x105a898, modelIndex=0, 
item=0x1810ef0) at 
/build/unity8-PQzVl4/unity8-8.12+15.04.20160707/plugins/Dash/verticaljournal.cpp:129
129     in 
/build/unity8-PQzVl4/unity8-8.12+15.04.20160707/plugins/Dash/verticaljournal.cpp
$22149 = 22149
#0  VerticalJournal::addItemToView (this=0x105a898, modelIndex=0, 
item=0x1810ef0) at 
/build/unity8-PQzVl4/unity8-8.12+15.04.20160707/plugins/Dash/verticaljournal.cpp:129
#1  0xeac150d2 in AbstractDashView::createItem (this=this@entry=0x105a898, 
modelIndex=0, asynchronous=asynchronous@entry=false) at 
/build/unity8-PQzVl4/unity8-8.12+15.04.20160707/plugins/Dash/abstractdashview.cpp:252
#2  0xeac152c0 in AbstractDashView::addVisibleItems (this=0x105a898, 
fillFromY=0, fillToY=389, asynchronous=<optimized out>) at 
/build/unity8-PQzVl4/unity8-8.12+15.04.20160707/plugins/Dash/abstractdashview.cpp:221
#3  0xeac15332 in AbstractDashView::refill (this=0x105a898) at 
/build/unity8-PQzVl4/unity8-8.12+15.04.20160707/plugins/Dash/abstractdashview.cpp:186
#4  0xeac15392 in AbstractDashView::updatePolish (this=0x105a898) at 
/build/unity8-PQzVl4/unity8-8.12+15.04.20160707/plugins/Dash/abstractdashview.cpp:324
#5  0xec8c6ee0 in QQuickWindowPrivate::polishItems() () from 
/usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5
#6  0xec8a8da2 in ?? () from /usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5

So, is this perhaps related to the Vertical Journal?

** Attachment added: "dash.txt"
   
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1599754/+attachment/4697363/+files/dash.txt

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-shell in
Ubuntu.
https://bugs.launchpad.net/bugs/1599754

Title:
  Dash restarts in the middle while refreshing or navigating

Status in Canonical System Image:
  Confirmed
Status in frieza:
  New
Status in unity-scopes-shell package in Ubuntu:
  Confirmed

Bug description:
  current build number: 15
  device name: frieza
  channel: ubuntu-touch/rc/bq-aquaris-pd.en
  last update: 2016-07-04 18:00:02
  version version: 15
  version ubuntu: 20160629
  version tag: OTA-12-rc
  version device: 20160622.0
  version custom: 20160624--41-15-vivid

  Steps:
  1.Open news scope
  2.Change the number of results in scope setting repeatedly

  actual:
  Sometimes, scopes hangs in refreshing state for ~3 minutes, then dash restarts

  expected:
  no hang and dash restart

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1599754/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to