Bug 1358885 - [abrt] dnf: load_ext(): python3.5 killed by SIGABRT
Summary: [abrt] dnf: load_ext(): python3.5 killed by SIGABRT
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:a6110cad1b351cbc36847d4ae07...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-21 17:22 UTC by Jason Scalia
Modified: 2017-06-21 10:39 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-02 09:31:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: _var_log_dnf.log (122.72 KB, text/plain)
2016-07-21 17:22 UTC, Jason Scalia
no flags Details
File: backtrace (102.76 KB, text/plain)
2016-07-21 17:22 UTC, Jason Scalia
no flags Details
File: cgroup (250 bytes, text/plain)
2016-07-21 17:22 UTC, Jason Scalia
no flags Details
File: core_backtrace (7.92 KB, text/plain)
2016-07-21 17:22 UTC, Jason Scalia
no flags Details
File: dnf-makecache.log (423 bytes, text/plain)
2016-07-21 17:22 UTC, Jason Scalia
no flags Details
File: dso_list (10.62 KB, text/plain)
2016-07-21 17:22 UTC, Jason Scalia
no flags Details
File: environ (93 bytes, text/plain)
2016-07-21 17:22 UTC, Jason Scalia
no flags Details
File: limits (1.29 KB, text/plain)
2016-07-21 17:22 UTC, Jason Scalia
no flags Details
File: maps (49.48 KB, text/plain)
2016-07-21 17:22 UTC, Jason Scalia
no flags Details
File: mountinfo (3.09 KB, text/plain)
2016-07-21 17:22 UTC, Jason Scalia
no flags Details
File: namespaces (102 bytes, text/plain)
2016-07-21 17:22 UTC, Jason Scalia
no flags Details
File: open_fds (819 bytes, text/plain)
2016-07-21 17:22 UTC, Jason Scalia
no flags Details
File: proc_pid_status (1.05 KB, text/plain)
2016-07-21 17:22 UTC, Jason Scalia
no flags Details
File: var_log_messages (28 bytes, text/plain)
2016-07-21 17:22 UTC, Jason Scalia
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1463561 0 unspecified CLOSED system-python: /builddir/build/BUILD/hawkey-0.6.4/src/sack.c:354: load_ext: Assertion `ret == 0' failed. 2021-02-22 00:41:40 UTC

Internal Links: 1463561

Description Jason Scalia 2016-07-21 17:22:13 UTC
Description of problem:

When running dnf update as root or invoking via sudo, I receive the following error:

[root@nutshell ~]# dnf update
python3: /builddir/build/BUILD/hawkey-0.6.3/src/sack.c:326: load_ext: Assertion `ret == 0' failed.
Aborted (core dumped)


Performing the following temporarily fixes it:

dnf clean all

Confirm working:

dnf update

This seems to fix the issue temporarily (I can update packages as needed), however the next time dnf is run it returns the above.

Version-Release number of selected component:
dnf-1.1.9-2.fc24

Additional info:
reporter:       libreport-2.7.1
backtrace_rating: 4
cmdline:        /usr/bin/python3 /usr/bin/dnf makecache timer
crash_function: load_ext
executable:     /usr/bin/python3.5
global_pid:     5175
kernel:         4.6.3-300.fc24.x86_64
pkg_fingerprint: 73BD E983 81B4 6521
pkg_vendor:     Fedora Project
reproducible:   The problem occurs regularly
runlevel:       N 3
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (10 frames)
 #4 load_ext at /usr/src/debug/hawkey-0.6.3/src/sack.c:326
 #5 hy_sack_load_repo at /usr/src/debug/hawkey-0.6.3/src/sack.c:1012
 #6 load_repo at /usr/src/debug/hawkey-0.6.3/src/python/sack-py.c:455
 #7 PyCFunction_Call at /usr/src/debug/Python-3.5.1/Objects/methodobject.c:98
 #8 do_call at /usr/src/debug/Python-3.5.1/Python/ceval.c:4913
 #9 call_function at /usr/src/debug/Python-3.5.1/Python/ceval.c:4712
 #10 PyEval_EvalFrameEx at /usr/src/debug/Python-3.5.1/Python/ceval.c:3209
 #11 fast_function at /usr/src/debug/Python-3.5.1/Python/ceval.c:4783
 #12 call_function at /usr/src/debug/Python-3.5.1/Python/ceval.c:4710
 #13 PyEval_EvalFrameEx at /usr/src/debug/Python-3.5.1/Python/ceval.c:3209

Comment 1 Jason Scalia 2016-07-21 17:22:19 UTC
Created attachment 1182621 [details]
File: _var_log_dnf.log

Comment 2 Jason Scalia 2016-07-21 17:22:21 UTC
Created attachment 1182622 [details]
File: backtrace

Comment 3 Jason Scalia 2016-07-21 17:22:22 UTC
Created attachment 1182623 [details]
File: cgroup

Comment 4 Jason Scalia 2016-07-21 17:22:24 UTC
Created attachment 1182624 [details]
File: core_backtrace

Comment 5 Jason Scalia 2016-07-21 17:22:25 UTC
Created attachment 1182625 [details]
File: dnf-makecache.log

Comment 6 Jason Scalia 2016-07-21 17:22:26 UTC
Created attachment 1182626 [details]
File: dso_list

Comment 7 Jason Scalia 2016-07-21 17:22:28 UTC
Created attachment 1182627 [details]
File: environ

Comment 8 Jason Scalia 2016-07-21 17:22:29 UTC
Created attachment 1182628 [details]
File: limits

Comment 9 Jason Scalia 2016-07-21 17:22:31 UTC
Created attachment 1182629 [details]
File: maps

Comment 10 Jason Scalia 2016-07-21 17:22:32 UTC
Created attachment 1182630 [details]
File: mountinfo

Comment 11 Jason Scalia 2016-07-21 17:22:33 UTC
Created attachment 1182631 [details]
File: namespaces

Comment 12 Jason Scalia 2016-07-21 17:22:35 UTC
Created attachment 1182632 [details]
File: open_fds

Comment 13 Jason Scalia 2016-07-21 17:22:36 UTC
Created attachment 1182633 [details]
File: proc_pid_status

Comment 14 Jason Scalia 2016-07-21 17:22:37 UTC
Created attachment 1182634 [details]
File: var_log_messages

Comment 15 Michal Luscon 2016-08-01 11:32:59 UTC
Hi, does this happen with the system hawkey or your own checkout?

Comment 16 Jason Scalia 2016-08-01 13:14:16 UTC
Hello,

Thanks for the reply, system hawkey.


$ rpm -qi hawkey
Name        : hawkey
Version     : 0.6.3
Release     : 2.fc24
Architecture: x86_64
Install Date: Thu 23 Jun 2016 09:45:06 AM EDT
Group       : Unspecified
Size        : 172247
License     : LGPLv2+
Signature   : RSA/SHA256, Fri 29 Apr 2016 12:06:33 PM EDT, Key ID 73bde98381b46521
Source RPM  : hawkey-0.6.3-2.fc24.src.rpm
Build Date  : Fri 29 Apr 2016 06:58:50 AM EDT
Build Host  : buildhw-02.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : https://github.com/rpm-software-management/hawkey
Summary     : Library providing simplified C and Python API to libsolv
Description :
A Library providing simplified C and Python API to libsolv.

Comment 17 Štěpán Smetana 2016-08-02 09:31:09 UTC
Problem is caused by package https://www.cloudflare.com/static/misc/mod_cloudflare/centos/mod_cloudflare-el7-x86_64.latest.rpm
The package is built for RHEL7 or EPEL7 therefor some incompatibility is expected. If you will have same problem with the package that is build for fedora:24 please try to contact maintainers of the package.

Additionaly I provide steps to reproduce:
1. dnf install -y https://www.cloudflare.com/static/misc/mod_cloudflare/centos/mod_cloudflare-el7-x86_64.latest.rpm
2. dnf install X  // not fail
3. dnf install X  // fail

4. dnf clean metadata/dbcache
5. dnf install X  // not fail
6. dnf install X  // fail


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