[issue28342] OSX 10.12 crash in urllib.request getproxies_macosx_sysconf and proxy_bypass_macosx_sysconf

2016-10-04 Thread Ned Deily

Ned Deily added the comment:

OK, I'm closing this a duplicate and I've updated #13829 to include currently 
3.x versions.

--
components: +Macintosh
nosy: +ronaldoussoren
stage:  -> resolved
status: open -> closed

___
Python tracker 

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



[issue28342] OSX 10.12 crash in urllib.request getproxies_macosx_sysconf and proxy_bypass_macosx_sysconf

2016-10-03 Thread Alexander Mohr

Alexander Mohr added the comment:

I'm sure it would work, I just wanted a solution that didn't changes to our 
build infrastructure. btw if we're marking this as a duplicate of the other 
bug, can we update the other bug to say it affects python3.x as well?  Thanks!

--
status: pending -> open

___
Python tracker 

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



[issue28342] OSX 10.12 crash in urllib.request getproxies_macosx_sysconf and proxy_bypass_macosx_sysconf

2016-10-03 Thread Ned Deily

Ned Deily added the comment:

Glad you have it working.  Did you try the suggested workaround of setting 
environment variable "no_proxy" to "*"?  I believe that should have had the 
same net effect as the monkey patching.

--
status: open -> pending

___
Python tracker 

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



[issue28342] OSX 10.12 crash in urllib.request getproxies_macosx_sysconf and proxy_bypass_macosx_sysconf

2016-10-03 Thread Alexander Mohr

Alexander Mohr added the comment:

ya I did a monkey patch which resolved it.

if sys.platform == 'darwin':
import botocore.vendored.requests.utils, urllib.request
botocore.vendored.requests.utils.proxy_bypass = 
urllib.request.proxy_bypass_environment
botocore.vendored.requests.utils.getproxies = 
urllib.request.getproxies_environment

urllib.request.proxy_bypass = urllib.request.proxy_bypass_environment
urllib.request.getproxies = urllib.request.getproxies_environment

--
status: pending -> open

___
Python tracker 

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



[issue28342] OSX 10.12 crash in urllib.request getproxies_macosx_sysconf and proxy_bypass_macosx_sysconf

2016-10-02 Thread Ned Deily

Ned Deily added the comment:

This is likely a duplicate of issues like #27126 and #13829.  In #24273 there 
is a suggested workaround: set environment variable "no_proxy" to "*".

http://bugs.python.org/issue24273#msg243963

--
nosy: +ned.deily
resolution:  -> duplicate
superseder:  -> exception error in _scproxy.so when called after fork

___
Python tracker 

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



[issue28342] OSX 10.12 crash in urllib.request getproxies_macosx_sysconf and proxy_bypass_macosx_sysconf

2016-10-02 Thread Ned Deily

Changes by Ned Deily :


--
status: open -> pending

___
Python tracker 

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



[issue28342] OSX 10.12 crash in urllib.request getproxies_macosx_sysconf and proxy_bypass_macosx_sysconf

2016-10-02 Thread Alexander Mohr

Alexander Mohr added the comment:

interestingly I haven't been able to get this to crash in a separate test app.  
There must be either timing related to some interaction with another module.  
let me know how you guys would like to proceed.  I can definitely reproduce it 
consistently in our application.

--

___
Python tracker 

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



[issue28342] OSX 10.12 crash in urllib.request getproxies_macosx_sysconf and proxy_bypass_macosx_sysconf

2016-10-02 Thread Alexander Mohr

New submission from Alexander Mohr:

I have a unittest which spawns several processes repeatedly.  One of these 
subprocesses uses botocore, which itself uses the above two methods through the 
calls proxy_bypass and getproxies.  It seems after re-spawning the methods a 
few times the titled calls eventually repeatedly cause python to crash on 
10.12.  I have a core file if that would help, zip'd it's ~242MB.

I've attached a file that shows the lldb callstack and python callstack.

--
components: Library (Lib)
files: python_urllib_crash.txt
messages: 277917
nosy: thehesiod
priority: normal
severity: normal
status: open
title: OSX 10.12 crash in urllib.request getproxies_macosx_sysconf and 
proxy_bypass_macosx_sysconf
versions: Python 3.5
Added file: http://bugs.python.org/file44940/python_urllib_crash.txt

___
Python tracker 

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