Ned Deily <n...@acm.org> added the comment:

Reproducible here. Fails with Apple 2.6.1 in 64-bit mode but *not* in 
32-bit mode.  Also does not fail on 10.6 with recent 64-bit 4-way trunk  
built on 10.5.

$ arch -i386 /usr/bin/python2.6
Python 2.6.1 (r261:67515, Jul  7 2009, 23:51:51) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import multiprocessing
>>> lck1=multiprocessing.Lock()
>>> with lck1:
...   print "foo"
... 
foo
>>> ^D
$ arch -x86_64 /usr/bin/python2.6
Python 2.6.1 (r261:67515, Jul  7 2009, 23:51:51) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import multiprocessing
>>> lck1=multiprocessing.Lock()
>>> with lck1:
...   print "foo"
... 
Segmentation fault

----------
assignee:  -> ronaldoussoren
components: +Macintosh
nosy: +nad, ronaldoussoren

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6937>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to