Bug 1049104

Summary: [abrt] list_resize(): python2.7 killed by SIGSEGV
Product: [Fedora] Fedora Reporter: mdmpsyd <mdmpsyd>
Component: pythonAssignee: Matej Stuchlik <mstuchli>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: bkabrda, dmalcolm, ivazqueznet, jberan, jonathansteffan, jzeleny, kdudka, mstuchli, pnemade, rholy, tmlcoch, tomspur, tradej
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/187a1ab24d93e867f0281dd329d16e6b31025c3c
Whiteboard: abrt_hash:48be3ebb2fb3b6a5c13d5ae6b4bd6acc3e9be7e4
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-29 14:13:49 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: 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: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description mdmpsyd@gmail.com 2014-01-07 02:36:42 UTC
Version-Release number of selected component:
dnf-0.4.10-1.fc20

Additional info:
reporter:       libreport-2.1.10
backtrace_rating: 4
cmdline:        /usr/bin/python /usr/bin/dnf -v makecache timer
crash_function: list_resize
executable:     /usr/bin/python2.7
kernel:         3.12.6-300.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (10 frames)
 #3 list_resize at /usr/src/debug/Python-2.7.5/Objects/listobject.c:62
 #4 app1 at /usr/src/debug/Python-2.7.5/Objects/listobject.c:286
 #5 r_object at /usr/src/debug/Python-2.7.5/Python/marshal.c:823
 #10 PyMarshal_ReadObjectFromString at /usr/src/debug/Python-2.7.5/Python/marshal.c:1183
 #11 PyMarshal_ReadLastObjectFromFile at /usr/src/debug/Python-2.7.5/Python/marshal.c:1144
 #12 read_compiled_module at /usr/src/debug/Python-2.7.5/Python/import.c:801
 #13 load_source_module at /usr/src/debug/Python-2.7.5/Python/import.c:1072
 #14 load_module at /usr/src/debug/Python-2.7.5/Python/import.c:1906
 #15 import_submodule at /usr/src/debug/Python-2.7.5/Python/import.c:2700
 #16 ensure_fromlist at /usr/src/debug/Python-2.7.5/Python/import.c:2606

Comment 1 mdmpsyd@gmail.com 2014-01-07 02:36:47 UTC
Created attachment 846381 [details]
File: backtrace

Comment 2 mdmpsyd@gmail.com 2014-01-07 02:36:49 UTC
Created attachment 846382 [details]
File: cgroup

Comment 3 mdmpsyd@gmail.com 2014-01-07 02:36:51 UTC
Created attachment 846383 [details]
File: core_backtrace

Comment 4 mdmpsyd@gmail.com 2014-01-07 02:36:53 UTC
Created attachment 846384 [details]
File: dso_list

Comment 5 mdmpsyd@gmail.com 2014-01-07 02:36:55 UTC
Created attachment 846385 [details]
File: environ

Comment 6 mdmpsyd@gmail.com 2014-01-07 02:36:56 UTC
Created attachment 846386 [details]
File: exploitable

Comment 7 mdmpsyd@gmail.com 2014-01-07 02:36:58 UTC
Created attachment 846387 [details]
File: limits

Comment 8 mdmpsyd@gmail.com 2014-01-07 02:37:00 UTC
Created attachment 846388 [details]
File: maps

Comment 9 mdmpsyd@gmail.com 2014-01-07 02:37:02 UTC
Created attachment 846389 [details]
File: open_fds

Comment 10 mdmpsyd@gmail.com 2014-01-07 02:37:03 UTC
Created attachment 846390 [details]
File: proc_pid_status

Comment 11 mdmpsyd@gmail.com 2014-01-07 02:37:05 UTC
Created attachment 846391 [details]
File: var_log_messages

Comment 12 Ales Kozumplik 2014-01-07 07:12:37 UTC
A crash in the masrshalling module under read_compiled_module(). Reassigning to Python.

Comment 13 Zdeněk Pavlas 2014-01-07 08:47:16 UTC
This crashed in an apparently valid realloc() call, implying something has corrupted the heap.  Unfortunately without a reliable reproducer it's not possible to find the root cause.  It might be any C module..

I saw similar mysterious crashes in urlgrabber's external downloader, where the only C modules loaded are libcurl+pycurl, so IF the root cause is the same, it's a libcurl bug (DNF does not use the pycurl layer).

Comment 14 Bohuslav "Slavek" Kabrda 2014-01-07 09:35:58 UTC
I'm afraid the information here is not sufficient to fix this, I'd need a working reproducer. I'll leave this bug open for a week and if I don't get a reproducer by then, I'll close.

Comment 15 Ales Kozumplik 2014-01-07 12:08:05 UTC
related bug 1047548

Comment 16 Ales Kozumplik 2014-01-07 12:23:19 UTC
from IRC:

<zpavlas> sometimes it crashes directly in yum, but this case is
different in that the crash happens in the external downloader.. an it
has no custom C imports apart from pycurl.. so either the hardware is
faulty, or there's a bug in python core libraries, or in
pycurl/libcurl.  I consider libcurl the primary suspect, because the
bindings are relatively small and straightforward.. also, librepo skips
the pycurl layer, and talks to libcurl directly, and so


CCing tmlcoch and kdudka who might prefer being aware of this.

Comment 17 Kamil Dudka 2014-01-07 12:31:54 UTC
If this is reproducible, please try it with a more recent version of pycurl (preferably the one from rawhide yum repository).

Comment 18 Fedora Admin XMLRPC Client 2015-05-12 12:02:42 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 19 Fedora End Of Life 2015-05-29 10:21:55 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. 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 '20'.

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 20 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 2015-06-29 14:13:49 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 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.