Bug 1499576

Summary: [abrt] dnf: Py_FatalError(): python3.6 killed by SIGABRT
Product: [Fedora] Fedora Reporter: George R. Goffe <grgoffe>
Component: python3Assignee: Charalampos Stratakis <cstratak>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bkabrda, cstratak, dmach, ignatenko, ishcherb, jmracek, mcyprian, mhatina, mhroncok, pviktori, rkuska, rpm-software-management, tomspur, torsava, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/389a2e6bf431b9485a99dfd9e62db6361c4cbf25
Whiteboard: abrt_hash:85e0109e496e9c4d03217abe062acc648fee28e0;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-18 13:58:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: _var_log_dnf.log
none
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: cpuinfo
none
File: dnf-makecache.log
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description George R. Goffe 2017-10-08 21:48:12 UTC
Description of problem:
I had constructed a script to upgrade this system. One dnf -y --best upgrade command per package name. I had made an error by forgetting to include the "upgrade" command.

I saw this and attempted to ctrl-c out of the script. This didn't terminate the script which just went to the next upgrade attempt. I held
ctrl-c down with no termination of the script. Somewhere in all this ctrl-c activity dnf decided to abend. Hence this crash report.

Version-Release number of selected component:
dnf-2.7.2-1.fc28

Additional info:
reporter:       libreport-2.9.2
backtrace_rating: 4
cmdline:        /usr/bin/python3 /bin/dnf -y --best dleyna-connector-dbus.x86_64 dleyna-core.x86_64 dleyna-server.x86_64
crash_function: Py_FatalError
executable:     /usr/bin/python3.6
journald_cursor: s=7d9a7af1699f42418950ba839d0a9795;i=218696;b=5a597e8597744e1590b0d7eae9510a49;m=f5bef2481;t=55b0f39a6cef5;x=410f382ca1bfe83a
kernel:         4.14.0-0.rc3.git1.1.fc28.x86_64
rootdir:        /
runlevel:       N 3
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (6 frames)
 #2 Py_FatalError at /usr/src/debug/python3-3.6.2-19.fc28.x86_64/Python/pylifecycle.c:1648
 #3 _Py_InitializeEx_Private at /usr/src/debug/python3-3.6.2-19.fc28.x86_64/Python/pylifecycle.c:640
 #4 Py_InitializeEx at /usr/src/debug/python3-3.6.2-19.fc28.x86_64/Python/pylifecycle.c:660
 #5 Py_Initialize at /usr/src/debug/python3-3.6.2-19.fc28.x86_64/Python/pylifecycle.c:666
 #6 Py_Main at /usr/src/debug/python3-3.6.2-19.fc28.x86_64/Modules/main.c:703
 #9 _start

Comment 1 George R. Goffe 2017-10-08 21:48:19 UTC
Created attachment 1335971 [details]
File: _var_log_dnf.log

Comment 2 George R. Goffe 2017-10-08 21:48:20 UTC
Created attachment 1335972 [details]
File: backtrace

Comment 3 George R. Goffe 2017-10-08 21:48:21 UTC
Created attachment 1335973 [details]
File: cgroup

Comment 4 George R. Goffe 2017-10-08 21:48:22 UTC
Created attachment 1335974 [details]
File: core_backtrace

Comment 5 George R. Goffe 2017-10-08 21:48:23 UTC
Created attachment 1335975 [details]
File: cpuinfo

Comment 6 George R. Goffe 2017-10-08 21:48:24 UTC
Created attachment 1335976 [details]
File: dnf-makecache.log

Comment 7 George R. Goffe 2017-10-08 21:48:25 UTC
Created attachment 1335977 [details]
File: dso_list

Comment 8 George R. Goffe 2017-10-08 21:48:26 UTC
Created attachment 1335978 [details]
File: environ

Comment 9 George R. Goffe 2017-10-08 21:48:27 UTC
Created attachment 1335979 [details]
File: limits

Comment 10 George R. Goffe 2017-10-08 21:48:28 UTC
Created attachment 1335980 [details]
File: maps

Comment 11 George R. Goffe 2017-10-08 21:48:29 UTC
Created attachment 1335981 [details]
File: open_fds

Comment 12 George R. Goffe 2017-10-08 21:48:30 UTC
Created attachment 1335982 [details]
File: proc_pid_status

Comment 13 George R. Goffe 2017-10-08 21:48:31 UTC
Created attachment 1335983 [details]
File: var_log_messages

Comment 14 Igor Gnatenko 2017-10-11 11:19:19 UTC
> #2  0x00007f6a12c217e8 in Py_FatalError (msg=msg@entry=0x7f6a12e2c778 "Py_Initialize: can't initialize sys standard streams") at /usr/src/debug/python3-3.6.2-19.fc28.x86_64/Python/pylifecycle.c:1648

Doesn't seem to be dnf related... Also probably impossible to reproduce.

Comment 15 George R. Goffe 2017-10-12 16:01:22 UTC
Igor,

Thanks foryour response.

This was one of those "abrt" created bugs. I guess that abrt guessed wrong?

George...

Comment 16 Petr Viktorin (pviktori) 2018-01-18 13:58:39 UTC
I don't see a way to reproduce this :(
If anyone can reproduce, please re-open.