[Bug 1599754] Re: Dash restarts in the middle while refreshing or navigating

2016-07-08 Thread Pat McGowan
** Changed in: frieza
   Importance: Undecided => High

** Changed in: frieza
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1599754

Title:
  Dash restarts in the middle while refreshing or navigating

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1599754] Re: Dash restarts in the middle while refreshing or navigating

2016-07-08 Thread Michał Sawicz
Thanks Paweł, seems like the News scope is the only one using the
journal layout, and frieza is the only device where there's three
columns, so that might explain why it only happens there.

** Also affects: unity8 (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: unity8 (Ubuntu)
 Assignee: (unassigned) => Albert Astals Cid (aacid)

** Changed in: canonical-devices-system-image
   Importance: Critical => High

** Changed in: canonical-devices-system-image
 Assignee: Alejandro J. Cura (alecu) => Michał Sawicz (saviq)

** Changed in: unity-scopes-shell (Ubuntu)
   Status: Confirmed => Incomplete

** Changed in: canonical-devices-system-image
   Status: Confirmed => Triaged

** Changed in: unity8 (Ubuntu)
   Status: New => Triaged

** Changed in: unity-scopes-shell (Ubuntu)
 Assignee: Pawel Stolowski (stolowski) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1599754

Title:
  Dash restarts in the middle while refreshing or navigating

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1599754] Re: Dash restarts in the middle while refreshing or navigating

2016-07-08 Thread Pawel Stolowski
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=) 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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1599754

Title:
  Dash restarts in the middle while refreshing or navigating

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1599754] Re: Dash restarts in the middle while refreshing or navigating

2016-07-07 Thread Kyle Nitzsche
The log exceptions are due to handling cases where the incoming result
lacks art in the expected result attribute and we attempt to check other
result attributes to find it. This code was trying to access a result
attribute that did not exist in some cases and threw and execption.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1599754

Title:
  Dash restarts in the middle while refreshing or navigating

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1599754] Re: Dash restarts in the middle while refreshing or navigating

2016-07-07 Thread Kyle Nitzsche
filed bug 1599948 for the el pais related exception.

** No longer affects: canonical-scopes-project

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1599754

Title:
  Dash restarts in the middle while refreshing or navigating

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1599754] Re: Dash restarts in the middle while refreshing or navigating

2016-07-07 Thread Kyle Nitzsche
Seems the el pais related exception is not required for the core
symptom. I just simply rebooted and refreshed the news scope twice (with
el pais disabled in news). I saw no exceptions in the scope-
registry.log, but the hang on a long refresh followed by dash restart
did occur.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1599754

Title:
  Dash restarts in the middle while refreshing or navigating

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1599754] Re: Dash restarts in the middle while refreshing or navigating

2016-07-07 Thread Kyle Nitzsche
I find that the el pais scope reliably causes the log error in comment
#1 in both news scope and in today scope (dashboard).

Disabling el pais in both fixes it (no more exceptions).

** Also affects: canonical-scopes-project
   Importance: Undecided
   Status: New

** Changed in: canonical-scopes-project
   Status: New => Confirmed

** Changed in: canonical-scopes-project
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1599754

Title:
  Dash restarts in the middle while refreshing or navigating

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1599754] Re: Dash restarts in the middle while refreshing or navigating

2016-07-07 Thread Jean-Baptiste Lallement
I confirm that it is reproducible on OTA11.

** Changed in: canonical-devices-system-image
Milestone: 12 => 13

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1599754

Title:
  Dash restarts in the middle while refreshing or navigating

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1599754] Re: Dash restarts in the middle while refreshing or navigating

2016-07-07 Thread Michał Sawicz
Starting to suspect this is not a regression, have downgraded down to
101 for frieza rc-proposed and can reproduce the issue there.

** Description changed:

  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.Find a scope which asking a location service, like: nearby scope, news scope
  2.Change to different filters to reload the content
  3.Pull down to refresh the page repeatedly
  
  actual:
  Sometimes, scopes hangs in refreshing state for ~3 minutes, then dash restarts
  
  expected:
  no hang and dash restart
- 
- First image this happens on: frieza ubuntu-touch/rc/bq-aquaris-pd.en@126
- 
- The upgrade that breaks it:
- 
-  unity-plugin-scopes:armhf
-    from 0.5.7+15.04.20160617.1-0ubuntu1
-  to 0.5.7+15.04.20160624.2-0ubuntu1
- 
- The offending landing:
- https://requests.ci-train.ubuntu.com/#/ticket/1587

** Description changed:

  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.Find a scope which asking a location service, like: nearby scope, news scope
- 2.Change to different filters to reload the content
- 3.Pull down to refresh the page repeatedly
+ 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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1599754

Title:
  Dash restarts in the middle while refreshing or navigating

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1599754] Re: Dash restarts in the middle while refreshing or navigating

2016-07-07 Thread Alejandro J. Cura
** Changed in: unity-scopes-shell (Ubuntu)
 Assignee: (unassigned) => Pawel Stolowski (stolowski)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1599754

Title:
  Dash restarts in the middle while refreshing or navigating

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1599754] Re: Dash restarts in the middle while refreshing or navigating

2016-07-07 Thread Michał Sawicz
** Changed in: canonical-devices-system-image
 Assignee: Michał Sawicz (saviq) => Alejandro J. Cura (alecu)

** Also affects: unity-scopes-shell (Ubuntu)
   Importance: Undecided
   Status: New

** Description changed:

  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.Find a scope which asking a location service, like: nearby scope, news scope
  2.Change to different filters to reload the content
  3.Pull down to refresh the page repeatedly
  
  actual:
  Sometimes, scopes hangs in refreshing state for ~3 minutes, then dash restarts
  
  expected:
  no hang and dash restart
+ 
+ First image this happens on: frieza ubuntu-touch/rc/bq-aquaris-pd.en@126
+ 
+ The upgrade that breaks it:
+ 
+  unity-plugin-scopes:armhf
+from 0.5.7+15.04.20160617.1-0ubuntu1
+  to 0.5.7+15.04.20160624.2-0ubuntu1

** Changed in: unity-scopes-shell (Ubuntu)
   Status: New => Confirmed

** Description changed:

  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.Find a scope which asking a location service, like: nearby scope, news scope
  2.Change to different filters to reload the content
  3.Pull down to refresh the page repeatedly
  
  actual:
  Sometimes, scopes hangs in refreshing state for ~3 minutes, then dash restarts
  
  expected:
  no hang and dash restart
  
  First image this happens on: frieza ubuntu-touch/rc/bq-aquaris-pd.en@126
  
  The upgrade that breaks it:
  
-  unity-plugin-scopes:armhf
-from 0.5.7+15.04.20160617.1-0ubuntu1
-  to 0.5.7+15.04.20160624.2-0ubuntu1
+  unity-plugin-scopes:armhf
+    from 0.5.7+15.04.20160617.1-0ubuntu1
+  to 0.5.7+15.04.20160624.2-0ubuntu1
+ 
+ The offending landing:
+ https://requests.ci-train.ubuntu.com/#/ticket/1587

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1599754

Title:
  Dash restarts in the middle while refreshing or navigating

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs