Bug 581622 - "import matplotlib" causes SIGSEGV of /usr/bin/python (inside numpy's _import_array)
Summary: "import matplotlib" causes SIGSEGV of /usr/bin/python (inside numpy's _import...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-matplotlib
Version: 13
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2c395e883a0a9637d1ce49cd38b...
Depends On: 579065
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-12 19:59 UTC by Howard Ning
Modified: 2010-12-10 16:50 UTC (History)
9 users (show)

Fixed In Version: python-basemap-0.99.4-6.fc13
Clone Of:
Environment:
Last Closed: 2010-04-16 23:47:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (47.84 KB, text/plain)
2010-04-12 19:59 UTC, Howard Ning
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.