[issue4106] multiprocessing occasionally spits out exception during shutdown

2012-01-13 Thread Yaniv Aknin
Yaniv Aknin added the comment: Ugh. Not 100% sure it's related, but I've been getting a similar traceback when running pip's test suite (python setup.py test) on OSX 10.6.8 with Python 2.7.2. Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.2/Frameworks/Python.framework

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-08-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: This should hopefully be fixed now. Feel free to reopen if it isn't. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker __

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-08-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset d316315a8781 by Antoine Pitrou in branch '2.7': Issue #4106: Fix occasional exceptions printed out by multiprocessing on interpreter shutdown. http://hg.python.org/cpython/rev/d316315a8781 -- nosy: +python-dev

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-08-24 Thread Vinay Sajip
Vinay Sajip added the comment: In Antoine's patch, ISTM that the line created_by_this_process = ... could also be deleted, as the patch no longer uses that value and it's not used anywhere later in the method. -- nosy: +vinay.sajip ___ Python trac

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-08-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, I think the reason this doesn't appear in 3.2/3.3 is the fix for issue1856. In 2.x (and 3.1) daemon threads can continue executing after the interpreter's internal structures have started being destroyed. The least intrusive solution is to always join the

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-08-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Indeed, 2.7 seems still affected. -- resolution: out of date -> versions: -Python 3.2, Python 3.3 ___ Python tracker ___ _

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-08-24 Thread Jesse Noller
Jesse Noller added the comment: On Wed, Aug 24, 2011 at 3:01 PM, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > > I can't seem to reproduce this under 3.3. Should it be closed? I don't think so; it's still applicable to 2.x, and a fix should go into 2.7 ideally. http://bugs.pyt

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-08-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: I can't seem to reproduce this under 3.3. Should it be closed? -- nosy: +pitrou resolution: -> out of date versions: +Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker ___

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-05-04 Thread Miquel Torres
Miquel Torres added the comment: I can confirm this but with Python 2.7.1 on Ubuntu 11.04 64bit My code was working with a queue that was being fed a two-string tuple. When i changed it to contain my custom Objects, it still worked correctly, but the main program doesn't end until it raises th

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-04-13 Thread Dirk Pranke
Changes by Dirk Pranke : -- nosy: +dpranke ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-01-19 Thread Jesse Noller
Jesse Noller added the comment: On Tue, Jan 18, 2011 at 6:23 PM, Brian Thorne wrote: > > Brian Thorne added the comment: > > With the example script attached I see the exception every time. On Ubuntu > 10.10 with Python 2.6 > > Since the offending line in multiprocesing/queues.py (233) is a d

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-01-18 Thread Brian Thorne
Brian Thorne added the comment: With the example script attached I see the exception every time. On Ubuntu 10.10 with Python 2.6 Since the offending line in multiprocesing/queues.py (233) is a debug statement, just commenting it out seems to stop this exception. Looking at the util file show

[issue4106] multiprocessing occasionally spits out exception during shutdown

2010-10-10 Thread Matthew Woodcraft
Changes by Matthew Woodcraft : -- nosy: +mattheww ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue4106] multiprocessing occasionally spits out exception during shutdown

2010-07-08 Thread Greg Brockman
Greg Brockman added the comment: Sure thing. See http://bugs.python.org/issue9207. -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue4106] multiprocessing occasionally spits out exception during shutdown

2010-07-08 Thread Jesse Noller
Jesse Noller added the comment: Greg - this is actually a different exception then the original bug report; could you please file a new issue with the information you've provided? I'm going to need to find a 64bit ubuntu box as I don't have one right now. -- _

[issue4106] multiprocessing occasionally spits out exception during shutdown

2010-07-08 Thread Greg Brockman
Greg Brockman added the comment: I'm on Ubuntu 10.04, 64 bit. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4106] multiprocessing occasionally spits out exception during shutdown

2010-07-08 Thread Jesse Noller
Jesse Noller added the comment: Greg - what platform? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue4106] multiprocessing occasionally spits out exception during shutdown

2010-07-08 Thread Greg Brockman
Greg Brockman added the comment: For what it's worth, I think I have a simpler reproducer of this issue. Using freshly-compiled python-from-trunk (as well as multiprocessing-from-trunk), I get tracebacks from the following about 30% of the time: """ import multiprocessing, time de

[issue4106] multiprocessing occasionally spits out exception during shutdown

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue4106] multiprocessing occasionally spits out exception during shutdown

2009-05-17 Thread Bobby Impollonia
Changes by Bobby Impollonia : -- nosy: +bobbyi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue4106] multiprocessing occasionally spits out exception during shutdown

2009-01-23 Thread Jesse Noller
Jesse Noller added the comment: Ah ha. I see it if I run it with the loop set to 3000 - it is pretty rare. ___ Python tracker ___ ___ Python-bu

[issue4106] multiprocessing occasionally spits out exception during shutdown

2009-01-23 Thread Jesse Noller
Jesse Noller added the comment: Skip, using this: while ((x++ < 500)) ; do echo '!'$i ; ./python.exe test_proc.py; done | egrep '!' I don't see the exception in python-trunk, freshly compiled. It could be an OS thing (I'm on OS/X) - I just want to confirm that you're still seeing this on t

[issue4106] multiprocessing occasionally spits out exception during shutdown

2009-01-08 Thread Jesse Noller
Changes by Jesse Noller : -- assignee: -> jnoller nosy: +jnoller ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4106] multiprocessing occasionally spits out exception during shutdown

2008-10-11 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Final comment before I see some feedback from the experts. I have this code in the worker function's loop: # quick pause to allow other stuff to happen a bit randomly t = 0.1 * random.random() time.sleep(t) If I eliminate the sl

[issue4106] multiprocessing occasionally spits out exception during shutdown

2008-10-11 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Got another one just now, but with just the note about the exception in the queue feeder thread. The traceback was swallowed. ___ Python tracker <[EMAIL PROTECTED]> _

[issue4106] multiprocessing occasionally spits out exception during shutdown

2008-10-10 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Oh, the range command used in the shell for loop is analogous to Python's range() builtin function. ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4106] multiprocessing occasionally spits out exception during shutdown

2008-10-10 Thread Skip Montanaro
New submission from Skip Montanaro <[EMAIL PROTECTED]>: I worked up a simple example of using the external processing module (0.52) for a friend at work today. I noticed some cases where it raised exceptions during exit. Not all the time, but not infrequently either. This evening I tweaked