[MacPorts] #20286: BUG: python26 bus error
MacPorts
noreply at macports.org
Fri Aug 21 23:25:40 PDT 2009
#20286: BUG: python26 bus error
---------------------------------+------------------------------------------
Reporter: jabronson@… | Owner: blb@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: | Port: python26
---------------------------------+------------------------------------------
Comment(by santagada@…):
Asking around pythonmac-sig I was pointed at this:
"I'm a bit surprised. Having used the mimetypes module myself, I never
bothered to call init() The fact that users call init() may have to do
with the fact that until recently, not doing so explicitly could be
thread-unsafe." from http://codereview.appspot.com/107042
Now trac apparently doesn't call mimetypes.init ever so this could be the
race condition that I thought was the problem. But even then python has
the GIL that should be making this not crash python, and the reporter of
this bug says it doesn't happen with vanilla python.org so I still think
there is something wrong with the way python is compiled in macports. This
particular bug probably bite a lot of other web frameworks so if this race
condition crashed other python versions (and I know it doesn't crash
macports python 2.5) we would have heard about it right?
Hoping that someone that knows cpython internals helps in the fixing of
this, sincerely yours,
--
Leonardo Santagada
santagada at gmail.com
--
Ticket URL: <http://trac.macports.org/ticket/20286#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list