Bug 581622

Summary: "import matplotlib" causes SIGSEGV of /usr/bin/python (inside numpy's _import_array)
Product: [Fedora] Fedora Reporter: Howard Ning <mrlhwliberty>
Component: python-matplotlibAssignee: Orion Poplawski <orion>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 13CC: carlg, dmalcolm, gwync, ivazqueznet, james.antill, jonathansteffan, jspaleta, rdieter, tomspur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:2c395e883a0a9637d1ce49cd38b83f98faa5b53c
Fixed In Version: python-basemap-0.99.4-6.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-16 23:47:48 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:
Bug Depends On: 579065    
Bug Blocks:    
Attachments:
Description Flags
File: backtrace none

Description Howard Ning 2010-04-12 19:59:33 UTC
abrt 1.0.9 detected a crash.

architecture: x86_64
Attached file: backtrace
cmdline: python ./accanalysis.py
comment: matplotlib issue? numpy issue?
component: python
executable: /usr/bin/python
global_uuid: 2c395e883a0a9637d1ce49cd38b83f98faa5b53c
kernel: 2.6.33.1-24.fc13.x86_64
package: python-2.6.4-25.fc13
rating: 4
reason: Process /usr/bin/python was killed by signal 11 (SIGSEGV)
release: Fedora release 13 (Goddard)

How to reproduce
-----
1. Write a simple script with import pylab
2. Run 
3. Crash

Or all example in matplotlib faills to run.

Comment 1 Howard Ning 2010-04-12 19:59:35 UTC
Created attachment 406062 [details]
File: backtrace

Comment 2 Howard Ning 2010-04-12 20:04:43 UTC
Downgrade to python-matplotlib-0.99.1.2-1.fc13.x86_64 works fine. Shouldn't bump to numpy 1.4 since it is not ready.

Comment 3 Dave Malcolm 2010-04-12 22:21:09 UTC
Thank you for reporting this bug.

Do you have the versions of "numpy" and "python-matplotlib" that failed and those that work?


The backtrace shows a SIGSEGV inside _import_array (numpy) whilst importing matplotlib.  Compiled C++ extension code within matplotlib is calling into compiled C extension code within NumPy, but something went badly wrong.

This looks like a symptom of the numpy ABI breakage that Jeff Spaleta mentioned here:
  http://lists.fedoraproject.org/pipermail/devel/2010-April/134350.html

Reassigning component from "python" to "numpy"

Comment 4 Dave Malcolm 2010-04-12 22:22:16 UTC
(I'm not sure what component this should be filed against; python-matplotlib may be more appropriate, if the ABI has stabilized)

Comment 5 Jef Spaleta 2010-04-12 22:49:54 UTC
We are sorting through this now.

numpy 1.3.x packages are in updates-testing. As soon as that lands into stable..I'll push a rebuild of scipy python-basemap and python-matplotlib to match.

I'm just waiting of the Fedora update system to push this to stable.  If this is urgent. I can make a request to release engineering to make an override and put the numpy 1.3.x package from testing into the build system for me to build against.

-jef

Comment 6 Howard Ning 2010-04-12 23:29:14 UTC
I hope this can be sorted out fast or matplotlib is completely unusable.

Comment 7 Jef Spaleta 2010-04-13 00:19:04 UTC
Indeed matplotlib package is unusable.. and its been unusable for over a month now when numpy 1.4 was introduced. Considering how long it went without anyone noticing, I think waiting a couple more days for the numpy 1.3 rebuild to work its way through the updates system isn't too burdensome.  

-jef

Comment 8 Fedora Update System 2010-04-13 06:24:10 UTC
python-basemap-0.99.4-6.fc13,python-matplotlib-0.99.1.2-3.fc13,scipy-0.7.1-3.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/python-basemap-0.99.4-6.fc13,python-matplotlib-0.99.1.2-3.fc13,scipy-0.7.1-3.fc13

Comment 9 Fedora Update System 2010-04-14 01:36:09 UTC
python-basemap-0.99.4-6.fc13, python-matplotlib-0.99.1.2-3.fc13, scipy-0.7.1-3.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update python-basemap python-matplotlib scipy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/python-basemap-0.99.4-6.fc13,python-matplotlib-0.99.1.2-3.fc13,scipy-0.7.1-3.fc13

Comment 10 Fedora Update System 2010-04-16 23:47:43 UTC
python-basemap-0.99.4-6.fc13, python-matplotlib-0.99.1.2-3.fc13, scipy-0.7.1-3.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Howard Ning 2010-04-17 00:18:35 UTC
It is solved by the latest release.