[issue39739] Python crash every time opening pycharm, seems related to tensorflow

2020-02-25 Thread nono


New submission from nono :

Hey,

Whenever I try to open project in Pycharm, it will update python interpreter 
before the python process crashes with a SIGABRT and I get a crash window from 
OSX. I use homebrew with the latest packages and python 3.7.6.

Any help is appreciated. Here's the log:

Process:   Python [3240]
Path:  
/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python
Identifier:Python
Version:   3.7.6 (3.7.6)
Code Type: X86-64 (Native)
Parent Process:Python [2877]
Responsible:   pycharm [2777]
User ID:   501

Date/Time: 2020-02-23 20:43:10.553 -0500
OS Version:Mac OS X 10.15.3 (19D76)
Report Version:12


Time Awake Since Boot: 17000 seconds
Time Since Wake:   1000 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

Application Specific Information:
/usr/local/lib/python3.7/site-packages/tensorflow_core/compiler/tf2xla/ops/_xla_ops.so
crashed on child side of fork pre-exec

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib  0x7fff656707fa __pthread_kill + 10
1   libsystem_pthread.dylib 0x7fff6572dbc1 pthread_kill + 432
2   libsystem_c.dylib   0x7fff655873a2 raise + 26
3   libsystem_platform.dylib0x7fff6572242d _sigtramp + 29
4   ??? 0x7fff8f33a988 __c_locale + 1480
5   libsystem_c.dylib   0x7fff655f7a1c abort + 120
6   libtensorflow_framework.2.dylib 0x000122394bec 
tensorflow::internal::LogMessageFatal::~LogMessageFatal() + 44
7   libtensorflow_framework.2.dylib 0x000122394c20 
tensorflow::internal::LogMessageFatal::~LogMessageFatal() + 16
8   libtensorflow_framework.2.dylib 0x000121c0452a 
tensorflow::OpRegistry::Register(std::__1::function const&) + 186
9   libtensorflow_framework.2.dylib 0x000121c06280 
tensorflow::register_op::OpDefBuilderReceiver::OpDefBuilderReceiver(tensorflow::register_op::OpDefBuilderWrapper
 const&) + 128
10  _xla_ops.so 0x0001304d6515 
_GLOBAL__sub_I_xla_ops.cc + 757
11  dyld0x00010640e15d 
ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 539
12  dyld0x00010640e582 
ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
13  dyld0x000106408dc7 
ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned 
int, char const*, ImageLoader::InitializerTimingList&, 
ImageLoader::UninitedUpwards&) + 493
14  dyld0x000106406e58 
ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, 
ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 188
15  dyld0x000106406ef8 
ImageLoader::runInitializers(ImageLoader::LinkContext const&, 
ImageLoader::InitializerTimingList&) + 82
16  dyld0x0001063f8f87 
dyld::runInitializers(ImageLoader*) + 82
17  dyld0x000106402ad7 dlopen_internal + 609
18  libdyld.dylib   0x7fff65514a7f dlopen + 171
19  org.python.python   0x00010399e759 
_PyImport_FindSharedFuncptr + 301
20  org.python.python   0x00010397d5c2 
_PyImport_LoadDynamicModuleWithSpec + 495
21  org.python.python   0x00010397d138 _imp_create_dynamic 
+ 309
22  org.python.python   0x0001038d2472 
_PyMethodDef_RawFastCallDict + 549
23  org.python.python   0x0001038d1a83 
_PyCFunction_FastCallDict + 41
24  org.python.python   0x00010396065a 
_PyEval_EvalFrameDefault + 7738
25  org.python.python   0x000103967b15 
_PyEval_EvalCodeWithName + 1698
26  org.python.python   0x0001038d1d88 
_PyFunction_FastCallKeywords + 212
27  org.python.python   0x000103967321 call_function + 737
28  org.python.python   0x00010396028f 
_PyEval_EvalFrameDefault + 6767
29  org.python.python   0x0001038d2194 
function_code_fastcall + 106
30  org.python.python   0x000103967321 call_function + 737
31  org.python.python   0x000103960276 
_PyEval_EvalFrameDefault + 6742
32  org.python.python   0x0001038d2194 
function_code_fastcall + 106
33  org.python.python   0x000103

[issue39739] Python crash every time opening pycharm, seems related to tensorflow

2020-02-24 Thread nono


nono  added the comment:

Okay, I will discuss this in tensorflow forum. Thanks for providing the 
information.

--

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



[issue39739] Python crash every time opening pycharm, seems related to tensorflow

2020-02-24 Thread nono


Change by nono :


--
components: macOS
nosy: leo212121, ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: Python crash every time opening pycharm, seems related to tensorflow
type: crash
versions: Python 3.7

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