[issue4106] multiprocessing occasionally spits out exception during shutdown

2012-01-13 Thread Yaniv Aknin
Yaniv Aknin yaniv.ak...@gmail.com 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

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-08-24 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-08-24 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: On Wed, Aug 24, 2011 at 3:01 PM, Antoine Pitrou rep...@bugs.python.org wrote: Antoine Pitrou pit...@free.fr 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

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-08-24 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Indeed, 2.7 seems still affected. -- resolution: out of date - versions: -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4106

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-08-24 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-08-24 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk 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

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-08-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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:

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-08-24 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-05-04 Thread Miquel Torres
Miquel Torres tob...@gmail.com 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

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-04-13 Thread Dirk Pranke
Changes by Dirk Pranke dpra...@chromium.org: -- nosy: +dpranke ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4106 ___ ___ Python-bugs-list mailing

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-01-19 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: On Tue, Jan 18, 2011 at 6:23 PM, Brian Thorne rep...@bugs.python.org wrote: Brian Thorne hardb...@gmail.com added the comment: With the example script attached I see the exception every time. On Ubuntu 10.10 with Python 2.6 Since the

[issue4106] multiprocessing occasionally spits out exception during shutdown

2011-01-18 Thread Brian Thorne
Brian Thorne hardb...@gmail.com 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

[issue4106] multiprocessing occasionally spits out exception during shutdown

2010-10-10 Thread Matthew Woodcraft
Changes by Matthew Woodcraft matt...@woodcraft.me.uk: -- nosy: +mattheww ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4106 ___ ___

[issue4106] multiprocessing occasionally spits out exception during shutdown

2010-07-08 Thread Greg Brockman
Greg Brockman g...@ksplice.com 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

[issue4106] multiprocessing occasionally spits out exception during shutdown

2010-07-08 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: Greg - what platform? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4106 ___ ___

[issue4106] multiprocessing occasionally spits out exception during shutdown

2010-07-08 Thread Greg Brockman
Greg Brockman g...@ksplice.com added the comment: I'm on Ubuntu 10.04, 64 bit. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4106 ___ ___

[issue4106] multiprocessing occasionally spits out exception during shutdown

2010-07-08 Thread Jesse Noller
Jesse Noller jnol...@gmail.com 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 g...@ksplice.com added the comment: Sure thing. See http://bugs.python.org/issue9207. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4106 ___

[issue4106] multiprocessing occasionally spits out exception during shutdown

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4106 ___ ___ Python-bugs-list

[issue4106] multiprocessing occasionally spits out exception during shutdown

2009-05-18 Thread Bobby Impollonia
Changes by Bobby Impollonia bob...@gmail.com: -- nosy: +bobbyi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4106 ___ ___ Python-bugs-list mailing

[issue4106] multiprocessing occasionally spits out exception during shutdown

2009-01-23 Thread Jesse Noller
Jesse Noller jnol...@gmail.com 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

[issue4106] multiprocessing occasionally spits out exception during shutdown

2009-01-23 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: Ah ha. I see it if I run it with the loop set to 3000 - it is pretty rare. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4106 ___

[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] http://bugs.python.org/issue4106

[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

[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

[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] http://bugs.python.org/issue4106