This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jweber
Recipients jweber, ronaldoussoren
Date 2009-09-07.00:00:49
SpamBayes Score 7.542246e-06
Marked as misclassified No
Message-id <1252281659.27.0.994311757963.issue6851@psf.upfronthosting.co.za>
In-reply-to
Content
The following program works fine under Mac OS 10.5.x. But in 10.6, it 
crashes Python, and displays Apple's crash reporter dialog. I've tried 
it on Python 2.6 and 2.5, both the 64-bit and 32-bit versions.

The crash seems to happen any time urllib.urlopen is done in a thread. 
The same thing happens if I do it in a BaseHTTPServer.HTTPServer, using 
SocketServer.ThreadingMixIn.


#!/usr/bin/python
import threading, urllib

class MyThread (threading.Thread):
	def run(self):
		c = urllib.urlopen("http://www.google.com")

MyThread().start()
History
Date User Action Args
2009-09-07 00:01:00jwebersetrecipients: + jweber, ronaldoussoren
2009-09-07 00:00:59jwebersetmessageid: <1252281659.27.0.994311757963.issue6851@psf.upfronthosting.co.za>
2009-09-07 00:00:56jweberlinkissue6851 messages
2009-09-07 00:00:54jwebercreate