ipython intermittently segfaults when figure is closed.

Hi,

I don't know for sure if this is matplotlib's fault. ipython's fault or Mac OS X, but I ever since I upgraded to matplotlib 1.0.1 I have this problem that ipython will exit with segfault after I close a figure.

I have not found what exactly causes the crash, but it can happen with the simplest of figures.

This is one of those annoying intermittent problems: I can't replicate it with a sequence of steps.

I can often run days with the same ipython shell, generating many many figures without problems, and sometimes everytime I plot a figure, ipython segfaults out after the figure is closed.

The Mac OS X stack trace is attacked to the tracker ticket I opened
(https://sourceforge.net/tracker/?func=detail&aid=3328133&group_id=80706&atid=560720).

Many thanks
-Kaushik

Hi,

I don't know for sure if this is matplotlib's fault. ipython's fault or Mac OS
X, but I ever since I upgraded to matplotlib 1.0.1 I have this problem that
ipython will exit with segfault after I close a figure.

What version of ipython are you using? A new version with a completely different method of handling gui interaction, as with mpl, is about to be released. The change in method was made because of the fragility of the method (a separate thread) used up to and including 0.10.x.

Eric

ยทยทยท

On 06/24/2011 07:19 AM, Kaushik Ghose wrote:

I have not found what exactly causes the crash, but it can happen with the
simplest of figures.

This is one of those annoying intermittent problems: I can't replicate it with a
sequence of steps.

I can often run days with the same ipython shell, generating many many figures
without problems, and sometimes everytime I plot a figure, ipython segfaults out
after the figure is closed.

The Mac OS X stack trace is attacked to the tracker ticket I opened
(https://sourceforge.net/tracker/?func=detail&aid=3328133&group_id=80706&atid=560720).

Many thanks
-Kaushik

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense..
http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

I don't know for sure if this is matplotlib's fault. ipython's fault or Mac OS
X, but I ever since I upgraded to matplotlib 1.0.1 I have this problem that
ipython will exit with segfault after I close a figure.

>> What version of ipython are you using?

Hi Eric,

Thanks for your response.

I'm indeed using 0.10

Good to know a new iPython will be out.

Best
-Kaushik