[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-12-04 Thread Steve Dower
Steve Dower added the comment: Since it's not crashing, it is different from this issue. You should open a new bug. -- ___ Python tracker ___

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-12-04 Thread Максим Лукоянов
Максим Лукоянов added the comment: >>> import platform >>> platform.platform() 'Windows-10-10.0.14393' -- ___ Python tracker ___

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-12-04 Thread Максим Лукоянов
Максим Лукоянов added the comment: >>> import sys >>> print sys.version 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:24:40) [MSC v.1500 64 bit (AMD64)] >>> from urllib2 import urlopen >>> urlopen('http://www.google.co.uk') Traceback (most recent call last): File "", line 1, in

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-12-03 Thread Steve Dower
Steve Dower added the comment: It works for me. Can you confirm your operating system, and add the full output from running these commands: >>> print sys.version >>> from urllib2 import urlopen >>> urlopen('http://www.google.co.uk') >>> urlopen('https://www.google.co.uk') --

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-12-03 Thread Максим Лукоянов
Максим Лукоянов added the comment: I still got the same issue with 2.7.12 x64 release version from https://www.python.org/downloads/release/python-2712/ -- nosy: +Максим Лукоянов ___ Python tracker

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-17 Thread James Paget
James Paget added the comment: The 2.7.12rc1+ build resolves the issue for me. -- ___ Python tracker ___ ___

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-17 Thread Steve Dower
Steve Dower added the comment: Just made another "release" build from the latest source (with OpenSSL 1.0.2h) and can no longer repro this issue, so I'm closing it. If anyone wants to try with the same build, it will be up at https://ptvs.blob.core.windows.net/temp/python-2.7.12.amd64.msi for

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-17 Thread Steve Dower
Steve Dower added the comment: A build issue like that is fairly likely - I don't touch 2.7 apart from releases and so all I did was restart my build VM, pull and hit rebuild. There may be another clean step required when the OpenSSL version changes. We're getting another update before the

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-17 Thread Christoph Gohlke
Christoph Gohlke added the comment: FWIW, this could be a build issue: 1) `_ssl.OPENSSL_VERSION` for the 2.7.12rc1 amd64 binaries is "OpenSSL 1.0.2d 9 Jul 2015", not OpenSSL 1.0.2g as expected from the changelog at . 2) Rebuilding

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-16 Thread Christoph Gohlke
Changes by Christoph Gohlke : -- nosy: +cgohlke ___ Python tracker ___ ___ Python-bugs-list

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Eryk Sun
Eryk Sun added the comment: I get an access violation due to calling the ASN1_ITEM pointer as a function: > 810: ASN1_ITEM_ptr(method->it))); _ssl!_get_peer_alt_names+0x12a: 7ffe`17b1225a ffd0callrax

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Steve Dower
Steve Dower added the comment: It seems to work fine on my build machine (Win Server 2012) but not my laptop (Win 10 Home). I suspect there's a different certificate being loaded that's causing the crash, but until I get a chance to debug properly I can't be sure. Hopefully I'll get a chance

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Tim Golden
Tim Golden added the comment: Built 64-bit 2.7 but can't reproduce on tip, 2.7.12rc1 or 2.7.11 tags. -- ___ Python tracker ___

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Tim Golden
Tim Golden added the comment: The crash is actually happening in Modules/_ssl.c:_get_peer_alt_names. > _ssl.pyd!_get_peer_alt_names(x509_st * certificate) Line 810 + 0x2 bytes C _ssl.pyd!_decode_certificate(x509_st * certificate) Line 1187 + 0x8 bytes C

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Tim Golden
Tim Golden added the comment: I can reproduce with the download build but not with a freshly-built executable -- ___ Python tracker ___

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Donald Stufft
Changes by Donald Stufft : -- priority: normal -> release blocker ___ Python tracker ___

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Tim Golden
Tim Golden added the comment: I did wonder about that. It's good that we can reproduce the issue without pip, but it's probably going to be messy to debug! I've got VS 2008 on this machine but no time at the moment to build & debug. Don't know if Zach or Steve might be able to jump in. If not,

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Paul Moore
Paul Moore added the comment: The problem appears to be related to https (maybe openssl?) I just did the following test: >py -2 Python 2.7.12rc1 (v2.7.12rc1:13912cd1e7e8, Jun 12 2016, 05:57:31) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Tim Golden
Tim Golden added the comment: Thanks, Paul. Adding Benjamin as 2.7 release manager. This looks like a release blocker to me. -- nosy: +benjamin.peterson ___ Python tracker

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Paul Moore
Paul Moore added the comment: Tim, I just got the issue with the x64 installer from python.org (https://www.python.org/ftp/python/2.7.12/python-2.7.12rc1.amd64.msi) -- ___ Python tracker

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Paul Moore
Paul Moore added the comment: Confirmed I can reproduce the issue on Windows 7, with Python 2.7.12rc1. I don't have C debugging capabilities on this PC, so that's as far as I can go for now. -- ___ Python tracker

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Tim Golden
Tim Golden added the comment: James, which installer did you use (just so I can try to reproduce as closely as possible)? -- ___ Python tracker ___

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Paul Moore
Paul Moore added the comment: Thanks Tim. To clarify, the only 2 places that pip calls ctypes is to get the user application directory (and we've confirmed that doesn't error when called direct from Python), and in the vendored colorama package (which we removed and still got the crash, so

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Tim Golden
Tim Golden added the comment: Re-opening at user's request on Paul Moore's advice. He's already nosy so can comment here if needed. It would be good to get independent verification. I'll try to install the rc for 2.7.12 to see if I can reproduce. -- resolution: third party -> stage:

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread James Paget
James Paget added the comment: Python Packaging Authority member pfmoore from pypa/pip says "there's no ctypes-based code that could be causing the error" and "Python appears to be crashing as a result of pure Python code" and "there's no way that I can see how pip could be triggering a crash

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread James Paget
James Paget added the comment: I have submitted this to pip as you have suggested (see pip Issue #3795), but feel that Python.exe should not crash even if there is a problem with a third-party package. -- ___ Python tracker

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread SilentGhost
SilentGhost added the comment: pip is not part of standard library, its issue tracker is at https://github.com/pypa/pip/issues -- nosy: +SilentGhost resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread James Paget
New submission from James Paget: On Windows 10 Professional 64-bit, typing "pip list --outdated" or "python -m pip install -U pip" at the Windows command prompt causes Python 2.7.12rc1 to crash. I get the standard "python.exe has stopped working" crash notification from Windows. I am