Bug 1375895

Summary: [abrt] PackageKit: repo_internalize_trigger(): packagekitd killed by SIGSEGV (via dnf_package_get_size)
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: libdnfAssignee: Marek Blaha <mblaha>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 28CC: adam.chance10, alecbcs, awilliam, contato.viniciusdonatto, damian.kostyra, diogocamposwd, dmach, iv.tihon, jmracek, jonathan, jorgeml, jwilliams, klember, linuxbugs, maximilianmarkwort, mblaha, mikhail.v.gavrilov, mluscon, modestukasai, mryodatak, novak.david, oppiet35, p30hacker, paulim.hardware, rdieter, rhughes, riototype, robert.hancock, rpm-software-management, smparrish, strelok5771, tcfxfzoi, timothy.m.butterworth, whr778, xzj8b3
Target Milestone: ---Keywords: Reopened, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/d37ed5d4c9aaed8d90a0084374c83a5bd25490d6
Whiteboard: abrt_hash:2cc1f311e00821e42f1504c37e8f0deed19b1612;VARIANT_ID=workstation;
Fixed In Version: libdnf-0.22.0-5.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-22 16:12:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: mountinfo
none
File: namespaces
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Kamil Páral 2016-09-14 08:05:39 UTC
Version-Release number of selected component:
PackageKit-1.1.4-0.4.20160901.fc25

Additional info:
reporter:       libreport-2.8.0
backtrace_rating: 4
cmdline:        /usr/libexec/packagekitd --verbose
crash_function: repo_internalize_trigger
executable:     /usr/libexec/packagekitd
global_pid:     1727
kernel:         4.8.0-0.rc5.git1.1.fc25.x86_64
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (6 frames)
 #0 repo_internalize_trigger at /usr/src/debug/PackageKit-1.1.4-20160901/libhif-9cf4fb312b0b8fe09ade037a8e502cb042328033/libdnf/hy-repo.c:60
 #1 lookup_num at /usr/src/debug/PackageKit-1.1.4-20160901/libhif-9cf4fb312b0b8fe09ade037a8e502cb042328033/libdnf/hy-package.c:138
 #2 dnf_package_get_size at /usr/src/debug/PackageKit-1.1.4-20160901/libhif-9cf4fb312b0b8fe09ade037a8e502cb042328033/libdnf/hy-package.c:789
 #3 backend_get_details_thread at pk-backend-dnf.c:1808
 #4 pk_backend_job_thread_setup at pk-backend-job.c:813
 #5 g_thread_proxy at gthread.c:784

Comment 1 Kamil Páral 2016-09-14 08:05:45 UTC
Created attachment 1200741 [details]
File: backtrace

Comment 2 Kamil Páral 2016-09-14 08:05:46 UTC
Created attachment 1200742 [details]
File: cgroup

Comment 3 Kamil Páral 2016-09-14 08:05:47 UTC
Created attachment 1200743 [details]
File: core_backtrace

Comment 4 Kamil Páral 2016-09-14 08:05:49 UTC
Created attachment 1200744 [details]
File: dso_list

Comment 5 Kamil Páral 2016-09-14 08:05:50 UTC
Created attachment 1200745 [details]
File: environ

Comment 6 Kamil Páral 2016-09-14 08:05:51 UTC
Created attachment 1200746 [details]
File: exploitable

Comment 7 Kamil Páral 2016-09-14 08:05:53 UTC
Created attachment 1200747 [details]
File: limits

Comment 8 Kamil Páral 2016-09-14 08:05:55 UTC
Created attachment 1200748 [details]
File: maps

Comment 9 Kamil Páral 2016-09-14 08:05:56 UTC
Created attachment 1200749 [details]
File: mountinfo

Comment 10 Kamil Páral 2016-09-14 08:05:58 UTC
Created attachment 1200750 [details]
File: namespaces

Comment 11 Kamil Páral 2016-09-14 08:05:59 UTC
Created attachment 1200751 [details]
File: open_fds

Comment 12 Kamil Páral 2016-09-14 08:06:00 UTC
Created attachment 1200752 [details]
File: proc_pid_status

Comment 13 Kamil Páral 2016-09-14 08:06:02 UTC
Created attachment 1200753 [details]
File: var_log_messages

Comment 14 Ivan Tyshchenko 2016-11-01 09:59:24 UTC
*** Bug 1390523 has been marked as a duplicate of this bug. ***

Comment 15 whr778 2017-03-28 14:19:43 UTC
*** Bug 1436738 has been marked as a duplicate of this bug. ***

Comment 16 Damian Kostyra 2017-03-31 19:29:42 UTC
*** Bug 1438071 has been marked as a duplicate of this bug. ***

Comment 17 Paulim_hed 2017-04-07 02:26:02 UTC
*** Bug 1439982 has been marked as a duplicate of this bug. ***

Comment 18 Andrey 2017-05-24 14:15:48 UTC
*** Bug 1455237 has been marked as a duplicate of this bug. ***

Comment 19 Fedora End Of Life 2017-11-16 15:11:32 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 20 Fedora End Of Life 2017-12-12 10:12:37 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 21 Adam Williamson 2018-09-26 19:27:10 UTC
This has been reported at least up to libdnf 0.11.1 in current Fedora 28. Most recent report is https://bugzilla.redhat.com/show_bug.cgi?id=1596303 , with backtrace:

Thread no. 1 (6 frames)
 #0 repo_internalize_trigger at /usr/src/debug/libdnf-0.11.1-3.fc28.x86_64/libdnf/hy-repo.c:59
 #1 lookup_num at /usr/src/debug/libdnf-0.11.1-3.fc28.x86_64/libdnf/hy-package.c:138
 #2 dnf_package_get_size at /usr/src/debug/libdnf-0.11.1-3.fc28.x86_64/libdnf/hy-package.c:805
 #3 backend_get_details_thread at pk-backend-dnf.c:1958
 #4 pk_backend_job_thread_setup at pk-backend-job.c:813
 #5 g_thread_proxy at gthread.c:784

which is clearly the same thing.

Comment 22 Adam Williamson 2018-09-26 19:27:39 UTC
*** Bug 1536071 has been marked as a duplicate of this bug. ***

Comment 23 Adam Williamson 2018-09-26 19:28:08 UTC
*** Bug 1471597 has been marked as a duplicate of this bug. ***

Comment 24 Adam Williamson 2018-09-26 19:29:06 UTC
*** Bug 1579633 has been marked as a duplicate of this bug. ***

Comment 25 Adam Williamson 2018-09-26 19:46:45 UTC
This one looks like it might perhaps be a bit like the get_location() crasher fixed in https://github.com/rpm-software-management/libdnf/pull/206 ? A corresponding change to lookup_num() might fix it.

Comment 27 Fedora Update System 2018-10-15 12:28:06 UTC
dnf-plugins-core-4.0.0-1.fc29 dnf-4.0.4-1.fc29 libdnf-0.22.0-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-2789f6b6e7

Comment 28 Fedora Update System 2018-10-15 18:22:37 UTC
dnf-4.0.4-1.fc29, dnf-plugins-core-4.0.0-1.fc29, libdnf-0.22.0-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-2789f6b6e7

Comment 29 Fedora Update System 2018-10-17 13:01:06 UTC
dnf-4.0.4-1.fc29 dnf-plugins-core-4.0.0-2.fc29 libdnf-0.22.0-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-2789f6b6e7

Comment 30 Fedora Update System 2018-10-17 23:30:11 UTC
dnf-4.0.4-1.fc29, dnf-plugins-core-4.0.0-2.fc29, libdnf-0.22.0-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-2789f6b6e7

Comment 31 Fedora Update System 2018-10-18 14:05:54 UTC
anaconda-29.24.6-1.fc29 dnf-4.0.4-1.fc29 dnf-plugins-core-4.0.0-2.fc29 libblockdev-2.20-2.fc29 libdnf-0.22.0-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-2789f6b6e7

Comment 32 Fedora Update System 2018-10-20 19:21:39 UTC
anaconda-29.24.7-1.fc29, dnf-4.0.4-1.fc29, dnf-plugins-core-4.0.0-2.fc29, libblockdev-2.20-2.fc29, libdnf-0.22.0-5.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-2789f6b6e7

Comment 33 Fedora Update System 2018-10-22 16:12:34 UTC
anaconda-29.24.7-1.fc29, dnf-4.0.4-1.fc29, dnf-plugins-core-4.0.0-2.fc29, libblockdev-2.20-2.fc29, libdnf-0.22.0-5.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.