Bug 1225975 - [abrt] dnf: data_skip(): python2.7 killed by SIGSEGV
Summary: [abrt] dnf: data_skip(): python2.7 killed by SIGSEGV
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libsolv
Version: 22
Hardware: x86_64
OS: Unspecified
urgent
unspecified
Target Milestone: ---
Assignee: Honza Silhan
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:c43b8a8a78e1e46457bc64c2563...
: 1175906 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-28 15:19 UTC by Frank Büttner
Modified: 2015-06-29 15:32 UTC (History)
9 users (show)

Fixed In Version: libsolv-0.6.11-1.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-29 15:32:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (80.77 KB, text/plain)
2015-05-28 15:19 UTC, Frank Büttner
no flags Details
File: cgroup (333 bytes, text/plain)
2015-05-28 15:19 UTC, Frank Büttner
no flags Details
File: core_backtrace (8.46 KB, text/plain)
2015-05-28 15:19 UTC, Frank Büttner
no flags Details
File: dso_list (11.06 KB, text/plain)
2015-05-28 15:19 UTC, Frank Büttner
no flags Details
File: environ (1.88 KB, text/plain)
2015-05-28 15:19 UTC, Frank Büttner
no flags Details
File: limits (1.29 KB, text/plain)
2015-05-28 15:19 UTC, Frank Büttner
no flags Details
File: maps (53.04 KB, text/plain)
2015-05-28 15:19 UTC, Frank Büttner
no flags Details
File: mountinfo (3.24 KB, text/plain)
2015-05-28 15:19 UTC, Frank Büttner
no flags Details
File: namespaces (85 bytes, text/plain)
2015-05-28 15:19 UTC, Frank Büttner
no flags Details
File: open_fds (1.71 KB, text/plain)
2015-05-28 15:19 UTC, Frank Büttner
no flags Details
File: proc_pid_status (923 bytes, text/plain)
2015-05-28 15:20 UTC, Frank Büttner
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1220370 0 urgent CLOSED libsolv crash on dnf and PackageKit 2021-02-22 00:41:40 UTC

Internal Links: 1220370

Description Frank Büttner 2015-05-28 15:19:38 UTC
Description of problem:
simple try to run dnf update

Version-Release number of selected component:
dnf-1.0.0-1.fc22

Additional info:
reporter:       libreport-2.5.1
backtrace_rating: 4
cmdline:        /usr/bin/python -OO /bin/dnf update
crash_function: data_skip
executable:     /usr/bin/python2.7
global_pid:     22025
kernel:         4.0.4-301.fc22.x86_64
runlevel:       N 5
type:           CCpp
uid:            0
var_log_messages: [System Logs]:\n-- Logs begin at Mi 2014-12-10 00:36:12 CET, end at Do 2015-05-28 16:57:40 CEST. --

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 data_skip at /usr/src/debug/libsolv-99edb54e18f4971f50a359803633f44fdeb08428/src/repopack.h:246
 #1 data_skip_key at /usr/src/debug/libsolv-99edb54e18f4971f50a359803633f44fdeb08428/src/repodata.c:431
 #2 data_skip_schema at /usr/src/debug/libsolv-99edb54e18f4971f50a359803633f44fdeb08428/src/repodata.c:403
 #3 data_skip_key at /usr/src/debug/libsolv-99edb54e18f4971f50a359803633f44fdeb08428/src/repodata.c:426
 #4 get_data at /usr/src/debug/libsolv-99edb54e18f4971f50a359803633f44fdeb08428/src/repodata.c:508
 #5 repodata_search at /usr/src/debug/libsolv-99edb54e18f4971f50a359803633f44fdeb08428/src/repodata.c:962
 #6 repo_write_filtered at /usr/src/debug/libsolv-99edb54e18f4971f50a359803633f44fdeb08428/src/repo_write.c:1437
 #7 repo_write at /usr/src/debug/libsolv-99edb54e18f4971f50a359803633f44fdeb08428/src/repo_write.c:2083
 #8 write_main at /usr/src/debug/hawkey-0.5.7/py3/src/sack.c:426
 #9 hy_sack_load_repo at /usr/src/debug/hawkey-0.5.7/py3/src/sack.c:1004

Potential duplicate: bug 1175906

Comment 1 Frank Büttner 2015-05-28 15:19:43 UTC
Created attachment 1031331 [details]
File: backtrace

Comment 2 Frank Büttner 2015-05-28 15:19:45 UTC
Created attachment 1031332 [details]
File: cgroup

Comment 3 Frank Büttner 2015-05-28 15:19:47 UTC
Created attachment 1031333 [details]
File: core_backtrace

Comment 4 Frank Büttner 2015-05-28 15:19:48 UTC
Created attachment 1031334 [details]
File: dso_list

Comment 5 Frank Büttner 2015-05-28 15:19:50 UTC
Created attachment 1031335 [details]
File: environ

Comment 6 Frank Büttner 2015-05-28 15:19:51 UTC
Created attachment 1031336 [details]
File: limits

Comment 7 Frank Büttner 2015-05-28 15:19:54 UTC
Created attachment 1031337 [details]
File: maps

Comment 8 Frank Büttner 2015-05-28 15:19:55 UTC
Created attachment 1031338 [details]
File: mountinfo

Comment 9 Frank Büttner 2015-05-28 15:19:57 UTC
Created attachment 1031339 [details]
File: namespaces

Comment 10 Frank Büttner 2015-05-28 15:19:59 UTC
Created attachment 1031340 [details]
File: open_fds

Comment 11 Frank Büttner 2015-05-28 15:20:00 UTC
Created attachment 1031341 [details]
File: proc_pid_status

Comment 12 Honza Silhan 2015-06-01 11:14:20 UTC
Thanks for the report. Can you upload to some online storage /var/cache/dnf/x86_64/f22/ directory with all enabled repositories (or try `dnf update --disablerepo=* --enablerepo=<repo> -C` for each repo and upload only the crushing one), please? After  backing it up and can you run again `dnf update --refresh`? Does it work after redownloading new metadata?

Comment 13 Frank Büttner 2015-06-01 13:18:28 UTC
dnf update --refresh also crash.
The /dnf/x86_64/f22/ after call dnf update(and before dnf update --refresh)  have I uploaded to:
http://www48.zippyshare.com/v/wNqHyt9B/file.html

Comment 14 Michael Schröder 2015-06-01 17:00:28 UTC
It turned out that support for sha512 was missing in data_skip ;(

Fixed in libsolv with commit #3f1627007cecdbe4b8f8f41ab560cac02266fb37

Comment 15 Honza Silhan 2015-06-22 17:23:29 UTC
*** Bug 1175906 has been marked as a duplicate of this bug. ***

Comment 16 Honza Silhan 2015-06-22 17:43:37 UTC
Thanks, Michael. I am doing a new libsolv build.

Comment 17 Fedora Update System 2015-06-22 17:54:06 UTC
libsolv-0.6.11-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/libsolv-0.6.11-1.fc22

Comment 18 Fedora Update System 2015-06-24 15:55:22 UTC
Package libsolv-0.6.11-1.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libsolv-0.6.11-1.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-10561/libsolv-0.6.11-1.fc22
then log in and leave karma (feedback).

Comment 19 Frank Büttner 2015-06-25 07:03:42 UTC
 su -c 'yum update --enablerepo=updates-testing libsolv-0.6.11-1.fc22' is wrong in this case, because it will crash. It will call the broken dnf.
But yum-deprecated do the job.

Now dnf don't crash any more.
Only the package for F21 is missing, because there is the bug.

Comment 20 Fedora Update System 2015-06-27 12:42:42 UTC
libsolv-0.6.11-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 21 Frank Büttner 2015-06-27 13:00:34 UTC
F21 update still missing.

Comment 22 Honza Silhan 2015-06-29 15:32:30 UTC
I've done builds for f21/f22/rawhide. Frank, help it with karma [1] if you want it sooner.

[1] https://admin.fedoraproject.org/updates/FEDORA-2015-10648/libsolv-0.6.11-1.fc21


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