Bug 950263

Summary: [abrt] python-urlgrabber-3.9.1-24.fc18: update_refs: Process /usr/bin/python2.7 was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Honza Brázdil <jbrazdil>
Component: python-urlgrabberAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: james.antill, packaging-team-maint, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:7d8220fad4fc9fd76b9c7b7cb579da630b4e7cf6
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-11 09:04:41 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: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Honza Brázdil 2013-04-09 23:52:43 UTC
Version-Release number of selected component:
python-urlgrabber-3.9.1-24.fc18

Additional info:
backtrace_rating: 4
cmdline:        /usr/bin/python /usr/libexec/urlgrabber-ext-down
crash_function: update_refs
executable:     /usr/bin/python2.7
kernel:         3.8.5-201.fc18.x86_64
uid:            0
ureports_counter: 1

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 update_refs at /usr/src/debug/Python-2.7.3/Modules/gcmodule.c:292
 #1 collect at /usr/src/debug/Python-2.7.3/Modules/gcmodule.c:873
 #2 collect_generations at /usr/src/debug/Python-2.7.3/Modules/gcmodule.c:996
 #3 _PyObject_GC_Malloc at /usr/src/debug/Python-2.7.3/Modules/gcmodule.c:1457
 #5 _PyObject_GC_New at /usr/src/debug/Python-2.7.3/Modules/gcmodule.c:1467
 #6 PySeqIter_New at /usr/src/debug/Python-2.7.3/Objects/iterobject.c:20
 #7 PyObject_GetIter at /usr/src/debug/Python-2.7.3/Objects/abstract.c:3079
 #8 PyEval_EvalFrameEx at /usr/src/debug/Python-2.7.3/Python/ceval.c:2557
 #9 gen_send_ex at /usr/src/debug/Python-2.7.3/Objects/genobject.c:84
 #10 PyIter_Next at /usr/src/debug/Python-2.7.3/Objects/abstract.c:3107

Comment 1 Honza Brázdil 2013-04-09 23:52:48 UTC
Created attachment 733396 [details]
File: backtrace

Comment 2 Honza Brázdil 2013-04-09 23:52:51 UTC
Created attachment 733397 [details]
File: cgroup

Comment 3 Honza Brázdil 2013-04-09 23:52:53 UTC
Created attachment 733398 [details]
File: core_backtrace

Comment 4 Honza Brázdil 2013-04-09 23:52:56 UTC
Created attachment 733399 [details]
File: dso_list

Comment 5 Honza Brázdil 2013-04-09 23:52:59 UTC
Created attachment 733400 [details]
File: environ

Comment 6 Honza Brázdil 2013-04-09 23:53:01 UTC
Created attachment 733401 [details]
File: limits

Comment 7 Honza Brázdil 2013-04-09 23:53:04 UTC
Created attachment 733402 [details]
File: maps

Comment 8 Honza Brázdil 2013-04-09 23:53:06 UTC
Created attachment 733403 [details]
File: open_fds

Comment 9 Honza Brázdil 2013-04-09 23:53:09 UTC
Created attachment 733404 [details]
File: proc_pid_status

Comment 10 Honza Brázdil 2013-04-09 23:53:12 UTC
Created attachment 733405 [details]
File: var_log_messages

Comment 11 Zdeněk Pavlas 2013-04-10 07:39:17 UTC
Python crashed in the garbage collector when importing the urllib.py module.  That's 1) safe 2) done early after exec(urlgrabber-ext-down).

Any means to reproduce this?   Is your hardware otherwise stable?

urlgrabber-ext-down:
import time, os, errno, sys
from urlgrabber.grabber import ...

urlgrabber/__init__.py:
... just set up few constants

urlgrabber/grabber.py:
import os
import sys
import urlparse
import time
import string
import urllib <= crash

Comment 12 Honza Brázdil 2013-04-10 16:08:10 UTC
It might be something with my machine as a while before my browser was crashing so I restarted my computer. Then I was trying to install some package via yum when this occurred.

Comment 13 Zdeněk Pavlas 2013-04-11 09:04:41 UTC
Ok I will close this for now, as it's probably not reproducible.  The usual suspects in such crashes are extension modules, but since the downloader runs in a different process than Yum we can't blame RPM bindings.  And even pycurl has not been imported yet, so we're left with a bug in Python core or faulty hardware.