Bug 1036837

Summary: PackageKit crash using gnome-software
Product: [Fedora] Fedora Reporter: Giovanni Campagna <scampa.giovanni>
Component: PackageKitAssignee: Richard Hughes <rhughes>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: bochecha, jonathan, rdieter, rhughes, smparrish
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: PackageKit-0.8.14-2.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-14 02:44:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Giovanni Campagna 2013-12-02 17:46:53 UTC
Description of problem:
The current testing update of PackageKit (0.8.14-1.fc20) crashed when I opened gnome-software (from git) in the installed page.
Using the hawkey backend.

Version-Release number of selected component (if applicable):
0.8.14-1.fc20

Journal output:
dic 02 18:40:23 giovanni-laptop packagekitd[15780]: (packagekitd:15780): PackageKit-CRITICAL **: pk_package_set_id: assertion 'priv->package_id == NULL' failed
dic 02 18:40:23 giovanni-laptop packagekitd[15780]: **
dic 02 18:40:23 giovanni-laptop packagekitd[15780]: PackageKit:ERROR:pk-engine.c:1312:pk_engine_get_package_history: assertion failed: (ret)

Backtrace:
#0  0x00007fb75f10dc59 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007fb75f10f368 in __GI_abort () at abort.c:89
#2  0x00007fb75f9110ed in _g_log_abort () at gmessages.c:255
#3  0x00007fb75f92ec97 in g_assertion_message (domain=domain@entry=0x7fb760d2a294 "PackageKit", file=file@entry=0x7fb760d314bd "pk-engine.c", 
    line=line@entry=1312, func=func@entry=0x7fb760d32290 "pk_engine_get_package_history", message=message@entry=0x7fb7613dcde0 "assertion failed: (ret)")
    at gtestutils.c:2278
#4  0x00007fb75f92ecfa in g_assertion_message_expr (domain=0x7fb760d2a294 "PackageKit", file=0x7fb760d314bd "pk-engine.c", line=1312, 
    func=0x7fb760d32290 "pk_engine_get_package_history", expr=<optimized out>) at gtestutils.c:2293
#5  0x00007fb760d21cd7 in pk_engine_daemon_method_call ()
#6  0x00007fb75fefed51 in call_in_idle_cb (user_data=0x7fb7612aea60) at gdbusconnection.c:4868
#7  0x00007fb75f90a2a6 in g_main_dispatch (context=0x7fb76127eb50) at gmain.c:3066
#8  g_main_context_dispatch (context=context@entry=0x7fb76127eb50) at gmain.c:3642
#9  0x00007fb75f90a628 in g_main_context_iterate (context=0x7fb76127eb50, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at gmain.c:3713
#10 0x00007fb75f90aa3a in g_main_loop_run (loop=0x7fb76127ea70) at gmain.c:3907
#11 0x00007fb760d09bdc in main ()

Comment 1 Mathieu Bridon 2013-12-03 03:32:19 UTC
I get the exact same crash with the Yum backend as well.

    $ pkcon backend-details
    Name:		yum
    ...

When running GNOME Software, the PackageKit daemon crashes.

And I get the same output as Giovannin in the journal:

    Dec 03 11:30:23 here-be-frogs packagekitd[10322]: (packagekitd:10322): PackageKit-CRITICAL **: pk_package_set_id: assertion 'priv->package_id == NULL' failed
    Dec 03 11:30:23 here-be-frogs packagekitd[10322]: **
    Dec 03 11:30:23 here-be-frogs packagekitd[10322]: PackageKit:ERROR:pk-engine.c:1312:pk_engine_get_package_history: assertion failed: (ret)

Comment 2 Fedora Update System 2013-12-03 10:04:23 UTC
PackageKit-0.8.14-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/PackageKit-0.8.14-2.fc20

Comment 3 Fedora Update System 2013-12-03 18:23:16 UTC
Package PackageKit-0.8.14-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing PackageKit-0.8.14-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-22661/PackageKit-0.8.14-2.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-12-14 02:44:31 UTC
PackageKit-0.8.14-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.