Bug 1033475 - [abrt] PackageKit-0.8.9-6.fc19: pk_transaction_db_defer_write_job_count_cb: Process /usr/libexec/packagekitd was killed by signal 5 (SIGTRAP)
Summary: [abrt] PackageKit-0.8.9-6.fc19: pk_transaction_db_defer_write_job_count_cb: P...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:75e7c753896f886d0b0856a7454...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-22 08:18 UTC by Thomas Lofgren
Modified: 2014-12-29 20:15 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-22 10:38:18 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (32.51 KB, text/plain)
2013-11-22 08:19 UTC, Thomas Lofgren
no flags Details
File: cgroup (155 bytes, text/plain)
2013-11-22 08:19 UTC, Thomas Lofgren
no flags Details
File: core_backtrace (14.57 KB, text/plain)
2013-11-22 08:19 UTC, Thomas Lofgren
no flags Details
File: dso_list (4.17 KB, text/plain)
2013-11-22 08:19 UTC, Thomas Lofgren
no flags Details
File: environ (92 bytes, text/plain)
2013-11-22 08:19 UTC, Thomas Lofgren
no flags Details
File: limits (1.29 KB, text/plain)
2013-11-22 08:19 UTC, Thomas Lofgren
no flags Details
File: maps (20.32 KB, text/plain)
2013-11-22 08:19 UTC, Thomas Lofgren
no flags Details
File: open_fds (376 bytes, text/plain)
2013-11-22 08:19 UTC, Thomas Lofgren
no flags Details
File: proc_pid_status (898 bytes, text/plain)
2013-11-22 08:19 UTC, Thomas Lofgren
no flags Details
File: var_log_messages (14.16 KB, text/plain)
2013-11-22 08:19 UTC, Thomas Lofgren
no flags Details

Description Thomas Lofgren 2013-11-22 08:18:57 UTC
Description of problem:
This happens in background. Guessing it happens whenever packagekitd is testing for updates. Sadly I don't have more information because it crashes in the middle of the night.

Version-Release number of selected component:
PackageKit-0.8.9-6.fc19

Additional info:
reporter:       libreport-2.1.9
backtrace_rating: 4
cmdline:        /usr/libexec/packagekitd
crash_function: pk_transaction_db_defer_write_job_count_cb
executable:     /usr/libexec/packagekitd
kernel:         3.11.8-200.fc19.x86_64
runlevel:       N 5
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (1 frames)
 #2 pk_transaction_db_defer_write_job_count_cb at pk-transaction-db.c:528

Potential duplicate: bug 880119

Comment 1 Thomas Lofgren 2013-11-22 08:19:05 UTC
Created attachment 827615 [details]
File: backtrace

Comment 2 Thomas Lofgren 2013-11-22 08:19:08 UTC
Created attachment 827616 [details]
File: cgroup

Comment 3 Thomas Lofgren 2013-11-22 08:19:12 UTC
Created attachment 827617 [details]
File: core_backtrace

Comment 4 Thomas Lofgren 2013-11-22 08:19:16 UTC
Created attachment 827620 [details]
File: dso_list

Comment 5 Thomas Lofgren 2013-11-22 08:19:20 UTC
Created attachment 827622 [details]
File: environ

Comment 6 Thomas Lofgren 2013-11-22 08:19:23 UTC
Created attachment 827624 [details]
File: limits

Comment 7 Thomas Lofgren 2013-11-22 08:19:26 UTC
Created attachment 827627 [details]
File: maps

Comment 8 Thomas Lofgren 2013-11-22 08:19:30 UTC
Created attachment 827629 [details]
File: open_fds

Comment 9 Thomas Lofgren 2013-11-22 08:19:34 UTC
Created attachment 827632 [details]
File: proc_pid_status

Comment 10 Thomas Lofgren 2013-11-22 08:19:37 UTC
Created attachment 827634 [details]
File: var_log_messages

Comment 11 Richard Hughes 2013-11-22 10:38:18 UTC
You've got some disk corruption going on: "failed to set job id: database disk image is malformed"

This might fix it:

rm /var/lib/PackageKit/transactions.db

Then reboot. I've added this to PackageKit as we don't need to abort the daemon just because we can't log the transaction:

commit 1af9673897abc949ada9f11db33e5f152ea3c517
Author: Richard Hughes <richard>
Date:   Fri Nov 22 10:36:46 2013 +0000

    Do not abort the daemon if we can't write to the transaction database
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1033475

:100644 100644 773d041... ff16029... M  src/pk-transaction-db.c

Richard.


Note You need to log in before you can comment on or make changes to this bug.