[issue20398] stem crashes python

2014-01-30 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Thanks for the feedback! Then I suggest you report the issue to the cygwin 
Python packagers.

--
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20398] stem crashes python

2014-01-30 Thread lothar

lothar added the comment:

you are right: windows native python 3.3.3 from your link runs the program 
properly - and without crashing.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20398] stem crashes python

2014-01-27 Thread Antoine Pitrou

Antoine Pitrou added the comment:

(note that stem.util.system at least uses ctypes)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20398] stem crashes python

2014-01-27 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Can you try with a standard Windows build?
http://python.org/download/releases/3.3.3/

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20398] stem crashes python

2014-01-27 Thread lothar

lothar added the comment:

i have the current cygwin python3 package:
http://mirrors.kernel.org/sourceware/cygwin/x86_64/release/python3/

i have no intention to build python myself.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20398] stem crashes python

2014-01-26 Thread Antoine Pitrou

Antoine Pitrou added the comment:

If this is a cygwin build (rather than a standard MSVC build), I'm afraid 
that's not a supported platform at all. Did you compile Python yourself?

--
nosy: +pitrou

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20398] stem crashes python

2014-01-26 Thread R. David Murray

R. David Murray added the comment:

For anyone else who wants to look at this: it doesn't look like stem involves 
any C code, and the 'signal' method appears to be a text-based interprocess 
communication.

Can you reproduce this with 3.3.3?  3.2 is in security-fix-only mode, and while 
a crash can be a security issue, it isn't necessarily.

--
nosy: +r.david.murray

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20398] stem crashes python

2014-01-26 Thread lothar

New submission from lothar:

setup: python 3.2 ; cygwin64 

python crashes with a stackdump, which is attached.

stem is a python controller module for tor.

stem-1.1.1 can be had from here:
https://pypi.python.org/pypi/stem/

the code is in version 2 form, but "python3 setup install" runs 2to3 on it.

this code crashes before the for statement:

#! /usr/bin/env python3

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

with Controller.from_port(port=9151) 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())

--
components: Interpreter Core
files: python3.2m.exe.stackdump
messages: 209328
nosy: lothar
priority: normal
severity: normal
status: open
title: stem crashes python
type: crash
versions: Python 3.2
Added file: http://bugs.python.org/file33730/python3.2m.exe.stackdump

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com