unity8-dash crash when tapping on a scope in the overview without network connection

Bug #1370385 reported by Jean-Baptiste Lallement
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libqt-declarative (Ubuntu)
Invalid
Critical
Unassigned
unity8 (Ubuntu)
Invalid
Critical
Unassigned

Bug Description

TEST CASE:
1. On krillin rtm 14.09 #1, flash with --wipe do not configure Wifi
2. On the apps scope, bottom swipe to open the overview
3. Go the the 'All scopes' category
4. Tap on Amazon

ACTUAL RESULT
unity8-dash crashes (it's https://errors.ubuntu.com/oops/16ffcc92-3e3e-11e4-ade9-fa163e78b027 but there is no stacktrace)

EXPECTED RESULT
The Amazon scope opens and tells the user there is no network connection or scope requiring a network connection are greyed or something but in any case unity8-dash doesn't crash.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: unity8 8.00+14.10.20140908.1~rtm-0ubuntu1 [origin: Ubuntu RTM]
Uname: Linux 3.4.67 armv7l
ApportVersion: 2.14.7-0ubuntu1
Architecture: armhf
Date: Wed Sep 17 08:10:54 2014
InstallationDate: Installed on 2014-09-16 (1 days ago)
InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140916-030205)
SourcePackage: unity8
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Albert Astals Cid (aacid) wrote :

no stack trace? :/

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

Doesn't crash here :/

description: updated
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

marking incomplete until I find a reliable test case

Changed in unity8 (Ubuntu):
status: New → Incomplete
Revision history for this message
Victor Tuson Palau (vtuson) wrote :

reproduce by Joe and victorp at the first time using flight save mode

Changed in unity8 (Ubuntu):
importance: Undecided → Critical
status: Incomplete → Confirmed
summary: - unity8-dash when tapping on a scope in the overview without network
- connection
+ unity8-dash crash when tapping on a scope in the overview without
+ network connection
Revision history for this message
Albert Astals Cid (aacid) wrote :

Ok, my way to reproduce a "similar" crash

go to amazon
enable airplane mode
click something (works, well you get an empty screen, not really "working" but doesn't crash)
disable airplaine mode
click something (crashes)

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

So the backtrace points to a very bad code in QNetworkAccessCacheBackend. I've proposed the upstream fix at https://codereview.qt-project.org/#/c/95245/

Meanwhile i'll recompile qt for the phone with that patch and see if that gets it fixed totally or just partially

Changed in unity8 (Ubuntu):
assignee: nobody → Albert Astals Cid (aacid)
status: Confirmed → In Progress
Revision history for this message
Albert Astals Cid (aacid) wrote :

Yep, that qt patch fixes it, now need to get it accepted upstream and distro patched.

kevin gunn (kgunn72)
Changed in libqt-declarative (Ubuntu):
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Michael Zanetti (mzanetti)
Changed in unity8 (Ubuntu):
status: In Progress → Opinion
tags: added: touch-2014-10-02
Revision history for this message
Albert Astals Cid (aacid) wrote :

The bug is not in declarative.

FWIW the Qt bug is being tracked at https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1371472

kevin gunn (kgunn72)
tags: added: touch-2014-10-09
removed: touch-2014-10-02
Revision history for this message
Albert Astals Cid (aacid) wrote :
Changed in libqt-declarative (Ubuntu):
status: In Progress → Invalid
assignee: Michael Zanetti (mzanetti) → nobody
Changed in unity8 (Ubuntu):
status: Opinion → Invalid
assignee: Albert Astals Cid (aacid) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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