/usr/lib/arm-linux-gnueabihf/unity-scopes/scoperunner:6:__gnu_cxx::__verbose_terminate_handler:__cxxabiv1::__terminate:std::terminate:__cxxabiv1::__cxa_throw:unity::scopes::Variant::get_string

Bug #1357143 reported by errors.ubuntu.com bug bridge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Alejandro J. Cura
unity-scope-click (Ubuntu)
Fix Released
Critical
Alejandro J. Cura
unity-scope-click (Ubuntu RTM)
Fix Released
High
Alejandro J. Cura
unity-scopes-api (Ubuntu)
Invalid
Critical
Alejandro J. Cura

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding unity-scopes-api. This problem was most recently seen with version 0.6.1+14.10.20140809-0ubuntu1, the problem page at https://errors.ubuntu.com/problem/c88b5501559a748cac3331be6593ccad021d1580 contains more details.

Related branches

Changed in unity-scopes-api (Ubuntu):
status: New → Confirmed
importance: Undecided → Critical
tags: added: qa-daily-testing qasoak rtm14
Thomas Strehl (strehl-t)
Changed in unity-scopes-api (Ubuntu):
assignee: nobody → Alejandro J. Cura (alecu)
Revision history for this message
Alejandro J. Cura (alecu) wrote :

According to the trace, the problem seems to be caused by network failures, in index.cpp near line 214:

                    qDebug() << "Cannot get package details due to network error";
                    callback(PackageDetails(), click::Index::Error::NetworkError);

It seems that some of the new fields in the empty PackageDetails is not initialized properly and it's failing when the scope is trying to use it with unity::scopes::Variant::get_string.

Thomas Strehl (strehl-t)
tags: added: touch-2014-09-25
Revision history for this message
Alejandro J. Cura (alecu) wrote :

This crash has not happened again the past month, so it looks like it's no longer valid.

Changed in unity-scopes-api (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Thomas Strehl (strehl-t) wrote :
Changed in unity-scopes-api (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Michi Henning (michihenning) wrote :
Revision history for this message
Michi Henning (michihenning) wrote :

__terminate:std::terminate:__cxxabiv1::__cxa_throw:unity::scopes::Variant::get_string

That's a dead give-away: it looks like the code is trying to pull a string out of a Variant that doesn't contain a string, and the exception that is thrown because of this isn't caught, taking the program to terminate().

Changed in unity-scope-click (Ubuntu):
assignee: nobody → Alejandro J. Cura (alecu)
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-scope-click - 0.1.1+15.04.20150114-0ubuntu1

---------------
unity-scope-click (0.1.1+15.04.20150114-0ubuntu1) vivid; urgency=low

  [ Alejandro J. Cura ]
  * Check Variant for null value (LP: #1357143)
 -- Ubuntu daily release <email address hidden> Wed, 14 Jan 2015 19:27:00 +0000

Changed in unity-scope-click (Ubuntu):
status: Confirmed → Fix Released
Changed in canonical-devices-system-image:
importance: Undecided → High
milestone: none → ww05-2015
status: New → In Progress
Changed in unity-scope-click (Ubuntu RTM):
assignee: nobody → Alejandro J. Cura (alecu)
Changed in canonical-devices-system-image:
assignee: nobody → Alejandro J. Cura (alecu)
Changed in unity-scopes-api (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-scope-click - 0.1.1+15.04.20150119~rtm-0ubuntu1

---------------
unity-scope-click (0.1.1+15.04.20150119~rtm-0ubuntu1) 14.09; urgency=low

  [ Alejandro J. Cura ]
  * Check Variant for null value (LP: #1357143)
 -- Ubuntu daily release <email address hidden> Mon, 19 Jan 2015 13:09:06 +0000

Changed in unity-scope-click (Ubuntu RTM):
status: New → Fix Released
Changed in unity-scope-click (Ubuntu RTM):
importance: Undecided → High
Changed in canonical-devices-system-image:
status: In Progress → Fix Released
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.