A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2003-April/035074.html below:

[Python-Dev] test_logging hangs on Solaris 8

[Python-Dev] test_logging hangs on Solaris 8Neal Norwitz neal@metaslash.com
Fri, 25 Apr 2003 15:41:48 -0400
On Fri, Apr 25, 2003 at 01:22:43PM -0500, Skip Montanaro wrote:
> Using the latest version from CVS, on Solaris 8 test_logging hangs.  Lots of
> output, then:
> 
>     ...
> 
> and it just sits there.  ^C doesn't terminate it.  I have to stop it w/ ^Z,
> then "kill %1" it.  I have the very latest source checked out.  Any ideas?

On Solaris 8, I've had the test pass, hang, and crash the interpreter
(actually it was test_threaded_import when running all the tests).
The problem may be related to Mark's changes, but I'm not sure.

Anyway, the tests passed when run many times with the change below,
perhaps it will work for you.  I'm running the entire suite on
Solaris now.  The change works on Linux.

Neal
--
--- Lib/test/test_logging.py.save       2003-04-25 15:30:23.000000000 -0400
+++ Lib/test/test_logging.py    2003-04-25 15:30:52.000000000 -0400
@@ -470,6 +470,8 @@
         socketDataProcessed.acquire()
         socketDataProcessed.wait()
         socketDataProcessed.release()
+        for thread in threads:
+            thread.join()
         banner("logrecv output", "begin")
         sys.stdout.write(sockOut.getvalue())
         sockOut.close()



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4