Ronald Oussoren ronaldousso...@mac.com added the comment:
I'm closing this as a duplicate of #9670, that is: too deep recursion in a
thread doesn't trigger the appropriate exception but causes a hard crash
instead.
I have attached a patch to that issue (but haven't applied it yet, I'd like
R. David Murray rdmur...@bitdance.com added the comment:
Issue1454481, which introduced the ability to set the thread stack size,
indicates that the FreeBSD port maintainers were bumping the default limit
higher. So I think (3) is probably the correct solution.
--
Ronald Oussoren ronaldousso...@mac.com added the comment:
The script works fine for me (OSX 10.6.3, /usr/bin/python2.5,
/usr/bin/python2.6, a recent build of 2.6.x, a recent build of 3.2 and the
trunk)
The breakit example in msg93828 works in 64-bit binaries, and fails on 32-bit
ones. This
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
assignee: - ronaldoussoren
components: +Macintosh
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6763
___
Nick Coghlan ncogh...@gmail.com added the comment:
The thread safety problem comes from the fact that performing file IO as
mimetypes.init() does will release the GIL - if you want to ensure
thread safety in that context, you have to do your own locking.
mimetypes ignore this thread
Leonardo Santagada santag...@gmail.com added the comment:
I'm on os x 10.6 where threadboom.py doesn't segfault anymore at least
on the system provided python. The problem that I see is that it
shouldn't be segfaulting on mac os x 10.5 with the default recursion
limit (I think it is 1000) with 2
Nick Coghlan ncogh...@gmail.com added the comment:
Knew I forgot to mention something - I'm not on OS X at all (Linux,
Ubuntu 8.04). I was only looking at this bug because RDM cross-linked it
to the mimetypes patch I was reviewing this evening.
Running the threadboom code, it passes fine for me
New submission from Leonardo Santagada santag...@gmail.com:
Python 2.6.2 (and the maint branch if using old mimetypes.py) crash
(with a bus error) on mac os x (10.5.7 10.5.8) with the file I posted.
The problem appears to be in the allocation of memory by the GC.
What I do is I call
Changes by Joshua Bronson jabron...@gmail.com:
--
nosy: +jab
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6763
___
___
Python-bugs-list mailing
R. David Murray rdmur...@bitdance.com added the comment:
Seems like issue 6626 could be helpful here.
--
nosy: +r.david.murray
priority: - high
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6763
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +jrus
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6763
___
___
Python-bugs-list
Leonardo Santagada santag...@gmail.com added the comment:
Well, the mimetypes module from 2.6 maintenance branch make this problem
not show up with mimetypes.guess_type, but I still think this is a bug
because pure python code should not crash the interpreter right?
I'm attaching the file I
12 matches
Mail list logo