[New-bugs-announce] [issue6851] urllib.urlopen crashes in a thread on Snow Leopard

jweber report at bugs.python.org
Mon Sep 7 02:00:59 CEST 2009

New submission from jweber <jacob at jacobweber.com>:

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 

import threading, urllib

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


assignee: ronaldoussoren
components: Macintosh
files: crash_log.txt
messages: 92340
nosy: jweber, ronaldoussoren
severity: normal
status: open
title: urllib.urlopen crashes in a thread on Snow Leopard
type: crash
versions: Python 2.5, Python 2.6
Added file: http://bugs.python.org/file14849/crash_log.txt

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list