[MacPorts] #24421: python dies using multiprocessing/urllib2 from mac ports, but works with stock python

MacPorts noreply at macports.org
Fri Apr 9 12:36:44 PDT 2010


#24421: python dies using multiprocessing/urllib2 from mac ports, but works with
stock python
----------------------------------------------------+-----------------------
 Reporter:  vkuznet@…                               |       Owner:  macports-tickets@…                   
     Type:  defect                                  |      Status:  new                                  
 Priority:  Normal                                  |   Milestone:                                       
Component:  ports                                   |     Version:  1.8.2                                
 Keywords:  python crash, urllib2, multiprocessing  |        Port:                                       
----------------------------------------------------+-----------------------
 Hi, I observed very tricky problem. I have application written in python
 which uses multiprocessing module. So using the python 2.6 from macports
 cause python die in a thread when urllib2 module is invoked. To test I
 installed stock python 2.6.5 from python.org and everything works. I also
 verify that the problem lies with urllib2/multiprocessing modules, since
 if I replace urllib2 to httplib, everything works too. I attach apple
 traceback which shows the problem.

 My guess that macports uses either special patch or enable flags which
 didn't come with stock python source and that cause a problem.

 Valentin.

-- 
Ticket URL: <http://trac.macports.org/ticket/24421>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list