Public bug reported:

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)

** Affects: content-hub (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

** Attachment added: "backtrace.txt"
   
https://bugs.launchpad.net/bugs/1293463/+attachment/4028074/+files/backtrace.txt

** Description changed:

  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" 
+ 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)

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

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/content-hub/+bug/1293463/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to