Bug 1213163

Summary: [abrt] python3: PyType_IsSubtype(): python3.4 killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Paul Rogers <pr0tz3r5>
Component: python3Assignee: Matej Stuchlik <mstuchli>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: bkabrda, egafford, jberan, jruzicka, matt, mimccune, mstuchli, pviktori, rkuska, tomspur, willb
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/7b8e63042b77eed404974b6960ee68b9b67a08c2
Whiteboard: abrt_hash:250984ed904692f63f43d895e8d03b0f094a8277
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-13 11:48:38 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

Description Paul Rogers 2015-04-19 16:18:39 UTC
Description of problem:
enumerating modules from within PyDev

Version-Release number of selected component:
python3-3.4.1-16.fc21

Additional info:
reporter:       libreport-2.3.0
backtrace_rating: 4
cmdline:        /usr/bin/python3.4 /opt/jetbrains/pycharm-4.0.3/helpers/generator3.py -d /home/progers/.PyCharm40/system/python_stubs/-1247971765/ -s /usr/lib64/python3.4:/usr/lib64/python3.4/plat-linux:/usr/lib64/python3.4/lib-dynload:/usr/lib64/python3.4/site-packages:/usr/lib/python3.4/site-packages _scrypt /usr/lib64/python3.4/site-packages/_scrypt.cpython-34m.so
crash_function: PyType_IsSubtype
executable:     /usr/bin/python3.4
kernel:         3.19.3-200.fc21.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000
var_log_messages: [System Logs]:\n-- Logs begin at Sun 2014-12-28 19:34:14 EET, end at Sun 2015-04-19 19:02:56 EEST. --

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 PyType_IsSubtype at /usr/src/debug/Python-3.4.1/Objects/typeobject.c:1292
 #1 PyModule_GetDef at /usr/src/debug/Python-3.4.1/Objects/moduleobject.c:282
 #2 _PyImport_LoadDynamicModule at /usr/src/debug/Python-3.4.1/Python/importdl.c:101
 #3 _imp_load_dynamic_impl at /usr/src/debug/Python-3.4.1/Python/import.c:2262
 #4 _imp_load_dynamic at /usr/src/debug/Python-3.4.1/Python/import.c:2238
 #5 ext_do_call at /usr/src/debug/Python-3.4.1/Python/ceval.c:4577
 #6 PyEval_EvalFrameEx at /usr/src/debug/Python-3.4.1/Python/ceval.c:2893
 #7 PyEval_EvalCodeEx at /usr/src/debug/Python-3.4.1/Python/ceval.c:3607
 #8 fast_function at /usr/src/debug/Python-3.4.1/Python/ceval.c:4363
 #9 call_function at /usr/src/debug/Python-3.4.1/Python/ceval.c:4281

Comment 1 Paul Rogers 2015-04-19 16:18:45 UTC
Created attachment 1016106 [details]
File: backtrace

Comment 2 Paul Rogers 2015-04-19 16:18:46 UTC
Created attachment 1016107 [details]
File: cgroup

Comment 3 Paul Rogers 2015-04-19 16:18:48 UTC
Created attachment 1016108 [details]
File: core_backtrace

Comment 4 Paul Rogers 2015-04-19 16:18:49 UTC
Created attachment 1016109 [details]
File: dso_list

Comment 5 Paul Rogers 2015-04-19 16:18:50 UTC
Created attachment 1016110 [details]
File: environ

Comment 6 Paul Rogers 2015-04-19 16:18:52 UTC
Created attachment 1016111 [details]
File: exploitable

Comment 7 Paul Rogers 2015-04-19 16:18:53 UTC
Created attachment 1016112 [details]
File: limits

Comment 8 Paul Rogers 2015-04-19 16:18:55 UTC
Created attachment 1016113 [details]
File: maps

Comment 9 Paul Rogers 2015-04-19 16:18:56 UTC
Created attachment 1016114 [details]
File: open_fds

Comment 10 Paul Rogers 2015-04-19 16:18:58 UTC
Created attachment 1016115 [details]
File: proc_pid_status

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

Comment 12 Petr Viktorin (pviktori) 2015-05-13 11:43:43 UTC
Python crashes while trying to import the extension module _scrypt from:
    /usr/lib64/python3.4/site-packages/_scrypt.cpython-34m.so

This file presumably it comes from the py-scrypt project on Bitbucket [1]. I've filed a bug there [2], but, since this software is not in Fedora, I can't do much more. You can either uninstall scrypt, or update it when a fix is released.


Somewhat related, I recommend installing non-system Python packages using "pip install --user" as a normal user, instead of running "pip" under root. It's quite easy to damage your system with "sudo pip".


[1] https://bitbucket.org/mhallin/py-scrypt/src/55ba75e449556fa4f4c1ee7d255cb4c746f17b77/src/scrypt.c?at=default
[2] https://bitbucket.org/mhallin/py-scrypt/issue/17/importing-_scrypt-crashes-python3

Comment 13 Petr Viktorin (pviktori) 2015-05-13 11:49:04 UTC
Sorry for the accidental re-assignment.