content-hub-service crashes when requesting "unknown" peers

Bug #1293463 reported by Simon K
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
content-hub (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Steps to reproduce:
1. create new qml project in Ubuntu-SDK
2. Paste the following line into the "MainView" block:
Component.onCompleted: {ContentHub.knownSourcesForType(ContentType.Picture);}
3. Run the Program using the "Run" command

What is expected to happen:
Nothing, "ContentHub.knownSourcesForType(ContentType.Picture);" shouldn't do anything and shouldn't return anything since "Picture" is no valid type (it has to be "Pictures" in order to do something).

What actually happens:
the process "content-hub-service" crashes with the following output:

virtual void Registry::enumerate_known_peers_for_type(com::ubuntu::content::Type, const std::function<void(const com::ubuntu::content::Peer&)>&) "pictures"
virtual void Registry::enumerate_known_peers_for_type(com::ubuntu::content::Type, const std::function<void(const com::ubuntu::content::Peer&)>&) "unknown"

(process:31017): GLib-GIO-ERROR **: Settings schema 'com.ubuntu.content.hub.all' does not contain a key named 'unknown'
Trace/Breakpoint ausgelöst (Speicherabzug geschrieben)

PS: see the attached "backtrace.txt" for a backtrace.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: content-hub 0.0+14.04.20140307-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
Uname: Linux 3.13.0-17-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Mar 17 10:36:36 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-09-27 (170 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Beta amd64 (20130925.1)
SourcePackage: content-hub
UpgradeStatus: Upgraded to trusty on 2014-01-26 (49 days ago)

Related branches

Revision history for this message
Simon K (octav14n) wrote :
description: updated
Revision history for this message
Ken VanDine (ken-vandine) wrote :

The fix on this will be landing soon.

Changed in content-hub (Ubuntu):
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Ken VanDine (ken-vandine) wrote :

This was fixed in content-hub=0.0+14.04.20140402-0ubuntu1

Changed in content-hub (Ubuntu):
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.