Skip to content

stem crashes python

setup: python 3.2 ; cygwin64

python crashes with a stackdump. the install trace and stackdump are attached.

this code (the for statement is never reached):

#! /usr/bin/env python3

import urllib.request from stem import Signal from stem.control import Controller

with Controller.from_port(port=9051) as controller: controller.signal(Signal.NEWNYM)

for nn in range(1, 3): print("case %02d" % nn) proxy_support = urllib.request.ProxyHandler({"socks5" : "127.0.0.1:9150"}) opener = urllib.request.build_opener(proxy_support) urllib.request.install_opener(opener) print(urllib.request.urlopen("http://www.ifconfig.me/ip").read())

Trac:
Username: grimpen

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information