[issue30837] Mac OS High Sierra Beta - Python Crash

2021-02-28 Thread Jason R. Coombs


Jason R. Coombs  added the comment:

All good. Thanks for the references. As with the prior issues, I'm going to 
just suppress those failures.

--

___
Python tracker 

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



[issue30837] Mac OS High Sierra Beta - Python Crash

2021-02-28 Thread Ned Deily


Ned Deily  added the comment:

If the crashes are occurring while the multiprocessing fork tests are running, 
it's likely the issue described in Issue33725. In Python 3.8, the default start 
method for multiprocessing on macOS was changed to be "spawn" rather than 
"fork" because of the inherent issues with fork/no-exec on macOS. You could try 
backporting that to your 3.6.

https://docs.python.org/3.8/library/multiprocessing.html#contexts-and-start-methods

--

___
Python tracker 

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



[issue30837] Mac OS High Sierra Beta - Python Crash

2021-02-28 Thread Jason R. Coombs


Jason R. Coombs  added the comment:

I started tracking it down in https://github.com/jaraco/keyring/issues/494 and 
found I'd previously delved deep into a related issue 
(https://github.com/jaraco/keyring/issues/281).

--

___
Python tracker 

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



[issue30837] Mac OS High Sierra Beta - Python Crash

2021-02-28 Thread Jason R. Coombs


Jason R. Coombs  added the comment:

I've stumbled into this issue and it's started occurring reliably on keyring in 
Python 3.6 as found on Github CI 
(https://github.com/jaraco/keyring/runs/1994652010?check_suite_focus=true).

It's not a highly-reproducible environment. I can't replicate it on my local 
machine, so there's probably something about how Github CI has changed the 
environment that's started to trigger the error.

It happens in the multiprocessing tests.

--
nosy: +jaraco
versions: +Python 3.6

___
Python tracker 

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



[issue30837] Mac OS High Sierra Beta - Python Crash

2017-07-07 Thread Ned Deily

Ned Deily added the comment:

I agree with Ronald.  Feel free to reopen if a reproducible test case can be 
supplied and duplicated with, say, a python.org Python.  We still may not be 
able to do much about it other than suggest avoiding the proxy lookup.

--
resolution:  -> third party
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



[issue30837] Mac OS High Sierra Beta - Python Crash

2017-07-07 Thread Ronald Oussoren

Ronald Oussoren added the comment:

I proprose closing this issue as there's too little information to reproduce 
the problem, the crash is using a system build of Python on a beta version of 
macOS and this appears to be a known issue.

--

___
Python tracker 

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



[issue30837] Mac OS High Sierra Beta - Python Crash

2017-07-04 Thread Ronald Oussoren

Ronald Oussoren added the comment:

Joshua: does your script use os.fork(), or multiprocessing? 

In that case this is a known issue made worse on High Sierra: _scproxy uses 
Cocoa libraries, and those cause problems when using for without exec. In High 
Sierra the Cocoa libraries are more strict and are hence more likely to cause 
problems like this.

There's not much we can do about that, other than avoiding using _scproxy. If 
you don't use a proxy server setting "no_proxy" in your shell environment 
should do the trick.

--

___
Python tracker 

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



[issue30837] Mac OS High Sierra Beta - Python Crash

2017-07-03 Thread Ned Deily

Ned Deily added the comment:

Sorry, without more information, there is not much we can do about this.  Can 
you supply a reproducible test case?  In any case, the crash is from use of the 
Apple-supplied system Python 2.7.10 which is a few releases behind the most 
recent released upstream (2.7.13).  And it is running on pre-release public 
beta.  You should report the problem to Apple using their Feedback Assistant.

All that said, the crash trace does show the Python helper extension module 
_scproxy in the chain and _scproxy has been problematic in the past: it is used 
to get network proxy information from the System Configuration framework. 
Previous crashes seemed to be due to lack of thread-safety in Apple's 
libdispatch, see for bpo-30385, but that doesn't seem to be the case here.  
Things may work differently under the covers in High Sierra.  If you are able 
to reliably reproduce the problem, it would be interesting to see if the 
workaround in http://bugs.python.org/issue30385#msg293958 helps.

--

___
Python tracker 

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



[issue30837] Mac OS High Sierra Beta - Python Crash

2017-07-03 Thread Joshua

New submission from Joshua:

Process:   Python [13106]
Path:  
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier:Python
Version:   2.7.10 (2.7.10)
Code Type: X86-64 (Native)
Parent Process:Python [13070]
Responsible:   Python [13106]
User ID:   501

Date/Time: 2017-07-03 10:28:23.591 -0400
OS Version:Mac OS X 10.13 (17A291m)
Report Version:12
Anonymous UUID:C76645A8-C44A-EAB5-D937-2BD69A20A0A9


Time Awake Since Boot: 18000 seconds

System Integrity Protection: enabled

Crashed Thread:0  Dispatch queue: com.apple.main-thread

Exception Type:EXC_CRASH (SIGABRT)
Exception Codes:   0x, 0x
Exception Note:EXC_CORPSE_NOTIFY

Termination Reason:Namespace OBJC, Code 0x1

Application Specific Information:
crashed on child side of fork pre-exec
objc[13106]: +[__NSPlaceholderDate initialize] may have been in progress in 
another thread when fork() was called.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib  0x7fffbded33d6 __abort_with_payload 
+ 10
1   libsystem_kernel.dylib  0x7fffbdecdf71 
abort_with_payload_wrapper_internal + 89
2   libsystem_kernel.dylib  0x7fffbdecdf18 abort_with_reason + 
22
3   libobjc.A.dylib 0x7fffbd1a99f2 
_objc_fatalv(unsigned long long, unsigned long long, char const*, 
__va_list_tag*) + 108
4   libobjc.A.dylib 0x7fffbd1a98a4 _objc_fatal(char 
const*, ...) + 135
5   libobjc.A.dylib 0x7fffbd1aa4cb 
performForkChildInitialize(objc_class*, objc_class*) + 341
6   libobjc.A.dylib 0x7fffbd19ae8f lookUpImpOrForward + 
228
7   libobjc.A.dylib 0x7fffbd19a914 
_objc_msgSend_uncached + 68
8   com.apple.CoreFoundation0x7fff96aa2a92 CFDateCreate + 34
9   com.apple.CoreFoundation0x7fff96aa0168 
__CFBinaryPlistCreateObjectFiltered + 1608
10  com.apple.CoreFoundation0x7fff96aa1947 
__CFBinaryPlistCreateObjectFiltered + 7719
11  com.apple.CoreFoundation0x7fff96a86b1b 
__CFTryParseBinaryPlist + 187
12  com.apple.CoreFoundation0x7fff96a864b1 
_CFPropertyListCreateWithData + 97
13  com.apple.CoreFoundation0x7fff96a863a0 
CFPropertyListCreateWithData + 80
14  com.apple.CoreFoundation0x7fff96a9f08b -[CFPrefsPlistSource 
handleReply:toRequestNewDataMessage:onConnection:retryCount:error:] + 683
15  com.apple.CoreFoundation0x7fff96a9edb3 
__93-[CFPrefsSearchListSource 
handleReply:toRequestNewDataMessage:onConnection:retryCount:error:]_block_invoke
 + 147
16  libxpc.dylib0x7fffbe040d71 xpc_array_apply + 57
17  com.apple.CoreFoundation0x7fff96a9ecec 
-[CFPrefsSearchListSource 
handleReply:toRequestNewDataMessage:onConnection:retryCount:error:] + 300
18  com.apple.CoreFoundation0x7fff96c2644c 
__80-[CFPrefsSearchListSource 
alreadylocked_generationCountFromListOfSources:count:]_block_invoke_3.139 + 76
19  com.apple.CoreFoundation0x7fff96c4d3e4 -[_CFXPreferences 
withConnectionForRole:performBlock:] + 36
20  com.apple.CoreFoundation0x7fff96c263f5 
__80-[CFPrefsSearchListSource 
alreadylocked_generationCountFromListOfSources:count:]_block_invoke_2.138 + 117
21  libsystem_trace.dylib   0x7fffbe01f1ab 
_os_activity_initiate_impl + 53
22  com.apple.CoreFoundation0x7fff96c26352 
__80-[CFPrefsSearchListSource 
alreadylocked_generationCountFromListOfSources:count:]_block_invoke.136 + 114
23  com.apple.CoreFoundation0x7fff96c25c97 
CFPREFERENCES_IS_WAITING_FOR_USER_CFPREFSD + 39
24  com.apple.CoreFoundation0x7fff96c25eec 
-[CFPrefsSearchListSource 
alreadylocked_generationCountFromListOfSources:count:] + 348
25  com.apple.CoreFoundation0x7fff96a9d476 
-[CFPrefsSearchListSource alreadylocked_copyDictionary] + 326
26  com.apple.CoreFoundation0x7fff96a9cff3 
-[CFPrefsSearchListSource alreadylocked_copyValueForKey:] + 67
27  com.apple.CoreFoundation0x7fff96be1465 -[CFPrefsSource 
copyValueForKey:] + 53
28  com.apple.CoreFoundation0x7fff96c4c040 
__76-[_CFXPreferences 
copyAppValueForKey:identifier:container:configurationURL:]_block_invoke + 32
29  com.apple.CoreFoundation0x7fff96c2730f 
__108-[_CFXPreferences(SearchListAdditions) 
withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke
 + 287
30  com.apple.CoreFoundation0x7fff96c27185 
-[_CFXPreferences(SearchListAdditions) 
withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 341
31