[NumPy-Tickets] [NumPy] #1425: importing umath_tests and then CTRL-D crashes with core dump

NumPy Trac numpy-tickets@scipy....
Wed Mar 10 10:48:18 CST 2010


#1425: importing umath_tests and then CTRL-D crashes with core dump
-------------------------------------+--------------------------------------
 Reporter:  johannct                 |       Owner:  somebody  
     Type:  defect                   |      Status:  needs_work
 Priority:  normal                   |   Milestone:            
Component:  numpy.core               |     Version:  devel     
 Keywords:  generalized ufunc crash  |  
-------------------------------------+--------------------------------------
Changes (by pv):

  * status:  needs_review => needs_work


Comment:

 Nice sleuthing!

 But things don't seem very straightforward at all here: the refcounting
 there in itself seems perfectly solid. Before fixing this, the reason for
 the failure should preferably be better understood, and explained as a
 comment in the code.

 The issue seems to be something like this: when Python exits, it
 deallocates stuff. However, the numpy module is deallocated before some
 stuff that tries to use after deallocation -> bomb.

 It might be a hint that the failure occurs only in umath_tests -- maybe
 there's something amiss there?

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1425#comment:5>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list