[Scipy-tickets] [SciPy] #1117: Threading problem with optimize.leastsq() on Windows

SciPy Trac scipy-tickets@scipy....
Wed Feb 17 04:44:35 CST 2010


#1117: Threading problem with optimize.leastsq() on Windows
----------------------------+-----------------------------------------------
 Reporter:  mgf             |       Owner:  somebody
     Type:  defect          |      Status:  new     
 Priority:  normal          |   Milestone:  0.8.0   
Component:  scipy.optimize  |     Version:  0.7.0   
 Keywords:                  |  
----------------------------+-----------------------------------------------
 We experienced a threading problem with optimize.leastsq() on Windows XP.

 Python  2.6.4
 SciPy 0.7.1
 NumPy 1.4.0

 Symptoms vary, but include messages like:

 - SystemError: null argument to internal routine

 - Fatal Python Error: GC object alreaday tracked

 always followed by a Windows Application error writing to address 0x4.

 I cannot reproduce it outside of our environment and only on one
 particular PC, but putting a threadin.RLock() around the call made the
 problem disappear.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1117>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list