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?
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/verticaljo urnal.cpp: 129 unity8- PQzVl4/ unity8- 8.12+15. 04.20160707/ plugins/ Dash/verticaljo urnal.cpp ::addItemToView (this=0x105a898, modelIndex=0, item=0x1810ef0) at /build/ unity8- PQzVl4/ unity8- 8.12+15. 04.20160707/ plugins/ Dash/verticaljo urnal.cpp: 129 w::createItem (this=this@ entry=0x105a898 , modelIndex=0, asynchronous= asynchronous@ entry=false) at /build/ unity8- PQzVl4/ unity8- 8.12+15. 04.20160707/ plugins/ Dash/abstractda shview. cpp:252 w::addVisibleIt ems (this=0x105a898, fillFromY=0, fillToY=389, asynchronous= <optimized out>) at /build/ unity8- PQzVl4/ unity8- 8.12+15. 04.20160707/ plugins/ Dash/abstractda shview. cpp:221 w::refill (this=0x105a898) at /build/ unity8- PQzVl4/ unity8- 8.12+15. 04.20160707/ plugins/ Dash/abstractda shview. cpp:186 w::updatePolish (this=0x105a898) at /build/ unity8- PQzVl4/ unity8- 8.12+15. 04.20160707/ plugins/ Dash/abstractda shview. cpp:324 vate::polishIte ms() () from /usr/lib/ arm-linux- gnueabihf/ libQt5Quick. so.5 arm-linux- gnueabihf/ libQt5Quick. so.5
129 in /build/
$22149 = 22149
#0 VerticalJournal
#1 0xeac150d2 in AbstractDashVie
#2 0xeac152c0 in AbstractDashVie
#3 0xeac15332 in AbstractDashVie
#4 0xeac15392 in AbstractDashVie
#5 0xec8c6ee0 in QQuickWindowPri
#6 0xec8a8da2 in ?? () from /usr/lib/
So, is this perhaps related to the Vertical Journal?