Python crashing on mac os X 10.15.5

-1

Python is crashing with a message of the form below when using Streamlit (always Thread 6 crushes)

I tried reinstalling pandas. That did not work.

Here are the details from the message (to fit the message in this post, I removed some of the details from the threads that did not crush and the Binary Images information):

Python quit unexpectedly

Problem Details and System Configurations:

Process: Python [80158] Path:
/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python Identifier: Python Version: 3.7.7 (3.7.7) Code Type: X86-64 (Native) Parent Process: zsh [80146] Responsible: Terminal [1159] User ID:
503

Date/Time: 2020-06-24 20:37:31.500 -0700 OS Version:
Mac OS X 10.15.5 (19F101) Report Version: 12 Bridge OS Version: 3.0 (14Y908) Anonymous UUID: AEC67E64-B861-9F46-59CC-6799ADA790C7

Sleep/Wake UUID: BEB884B9-F1FF-4EFA-8854-38CC18772C54

Time Awake Since Boot: 190000 seconds Time Since Wake: 40000 seconds

System Integrity Protection: enabled

Crashed Thread: 6

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes:
KERN_INVALID_ADDRESS at 0x00007fe7d824eff8 Exception Note:
EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11 Termination Reason:
Namespace SIGNAL, Code 0xb Terminating Process: exc handler [80158]

VM Regions Near 0x7fe7d824eff8: MALLOC_LARGE 00007fe7d8230000-00007fe7d8248000 [ 96K] rw-/rwx SM=PRV
--> MALLOC_LARGE 00007fe7d824f000-00007fe7d829e000 [ 316K] rw-/rwx SM=PRV

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

Thread 1: .....details....

Thread 2: .....details....

Thread 3: .....details....

Thread 4: .....details....

Thread 5: .....details....

Thread 6 Crashed: 0 lib.cpython-37m-darwin.so
0x000000011b65b3b5 __pyx_pw_6pandas_5_libs_3lib_41count_level_2d + 2165 1 org.python.python 0x000000010ec25eb0 _PyMethodDef_RawFastCallKeywords + 456 2 org.python.python 0x000000010ec2545c _PyCFunction_FastCallKeywords + 41 3
org.python.python 0x000000010ecbaa6c call_function + 628 4 org.python.python 0x000000010ecb3b8a _PyEval_EvalFrameDefault + 7090 5 org.python.python 0x000000010ec30e83 gen_send_ex + 244 6 org.python.python
0x000000010ecae1cf zip_next + 76 7 org.python.python
0x000000010ecb3248 _PyEval_EvalFrameDefault + 4720 8
org.python.python 0x000000010ecbb2cd _PyEval_EvalCodeWithName + 1698 9 org.python.python 0x000000010ec25424 _PyFunction_FastCallKeywords + 212 10 org.python.python 0x000000010ecbaad9 call_function + 737 11 org.python.python 0x000000010ecb3ae2 _PyEval_EvalFrameDefault + 6922 12 org.python.python 0x000000010ecbb2cd _PyEval_EvalCodeWithName + 1698 13 org.python.python 0x000000010ec25424 _PyFunction_FastCallKeywords + 212 14 org.python.python 0x000000010ecbaad9 call_function + 737 15 org.python.python
0x000000010ecb3a47 _PyEval_EvalFrameDefault + 6767 16 org.python.python 0x000000010ecbb2cd _PyEval_EvalCodeWithName + 1698 17 org.python.python 0x000000010ec25424 _PyFunction_FastCallKeywords + 212 18 org.python.python 0x000000010ecbaad9 call_function + 737 19 org.python.python 0x000000010ecb3ae2 _PyEval_EvalFrameDefault + 6922 20 org.python.python 0x000000010ecbb2cd _PyEval_EvalCodeWithName + 1698 21 org.python.python 0x000000010ec25424 _PyFunction_FastCallKeywords + 212 22 org.python.python 0x000000010ecbaad9 call_function + 737 23 org.python.python
0x000000010ecb3ae2 _PyEval_EvalFrameDefault + 6922 24 org.python.python 0x000000010ecbb2cd _PyEval_EvalCodeWithName + 1698 25 org.python.python 0x000000010ecb1f35 PyEval_EvalCode + 51 26 org.python.python
0x000000010ecaf9bf builtin_exec + 563 27 org.python.python
0x000000010ec25ed0 _PyMethodDef_RawFastCallKeywords + 488 28 org.python.python 0x000000010ec2545c _PyCFunction_FastCallKeywords + 41 29 org.python.python 0x000000010ecbaa6c call_function + 628 30 org.python.python
0x000000010ecb3ae2 _PyEval_EvalFrameDefault + 6922 31 org.python.python 0x000000010ec25830 function_code_fastcall + 106 32 org.python.python
0x000000010ecbaad9 call_function + 737 33 org.python.python
0x000000010ecb3a2e _PyEval_EvalFrameDefault + 6742 34 org.python.python 0x000000010ec25830 function_code_fastcall + 106 35 org.python.python
0x000000010ec261a3 _PyObject_Call_Prepend + 131 36 org.python.python 0x000000010ec25569 PyObject_Call + 136 37 org.python.python
0x000000010ecb3d2b _PyEval_EvalFrameDefault + 7507 38 org.python.python 0x000000010ec25830 function_code_fastcall + 106 39 org.python.python
0x000000010ecbaad9 call_function + 737 40 org.python.python
0x000000010ecb3a2e _PyEval_EvalFrameDefault + 6742 41 org.python.python 0x000000010ec25830 function_code_fastcall + 106 42 org.python.python
0x000000010ecbaad9 call_function + 737 43 org.python.python
0x000000010ecb3a2e _PyEval_EvalFrameDefault + 6742 44 org.python.python 0x000000010ec25830 function_code_fastcall + 106 45 org.python.python
0x000000010ec261a3 _PyObject_Call_Prepend + 131 46 org.python.python 0x000000010ec25569 PyObject_Call + 136 47 org.python.python
0x000000010ed214c1 t_bootstrap + 71 48 org.python.python
0x000000010ece8876 pythread_wrapper + 25 49 libsystem_pthread.dylib 0x00007fff6a23b109 _pthread_start + 148 50 libsystem_pthread.dylib
0x00007fff6a236b8b thread_start + 15

Thread 6 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x0000000000000008 rcx: 0x0000000000000002 rdx: 0x0000000000000000 rdi: 0x0000000000000008 rsi: 0x00007fe7d824f000 rbp: 0x0000700005f421d0 rsp: 0x0000700005f41fc0
r8: 0x0000000000000064 r9: 0x0000000000000010 r10: 0x00007fe7d64ac064 r11: 0x0000000000000000 r12: 0x00007fe7d64ac000 r13: 0x00000000000043aa r14: 0xfffffffffffffff8 r15: 0x00007fe7d82ec320 rip: 0x000000011b65b3b5 rfl: 0x0000000000010282 cr2: 0x00007fe7d824eff8 Logical CPU: 0 Error Code:
0x00000006 (no mapping for user data write) Trap Number: 14

Binary Images: 0x10ec07000 - 0x10ec08fff +org.python.python (3.7.7 - 3.7.7) <9BB83026-A8FB-3729-9EAD-51515C0E65D0> /usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python 0x10ec0c000 -

........

more binary images information....

........

0x7fff6a268000 -     0x7fff6a26dff7  libunwind.dylib (35.4) <253A12E2-F88F-3838-A666-C5306F833CB8> /usr/lib/system/libunwind.dylib
0x7fff6a26e000 -     0x7fff6a2a3ffe  libxpc.dylib (1738.120.8) <68D433B6-DCFF-385D-8620-F847FB7D4A5A> /usr/lib/system/libxpc.dylib

External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 1 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 189548 thread_create: 0 thread_set_state: 0

VM Region Summary: ReadOnly portion of Libraries: Total=739.6M resident=0K(0%) swapped_out_or_unallocated=739.6M(100%) Writable regions: Total=296.1M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=296.1M(100%)

                            VIRTUAL   REGION  REGION TYPE                        SIZE    COUNT (non-coalesced) 

=========== ======= ======= Activity Tracing 256K 1 Dispatch continuations 8192K 1 Kernel Alloc Once 8K 1 MALLOC
74.0M 83 MALLOC guard page 16K 4 MALLOC_LARGE (reserved) 384K 1 reserved VM address space (unallocated) STACK GUARD 28K
7 Stack 32.5M 7 VM_ALLOCATE
146.8M 334 VM_ALLOCATE (reserved) 32.0M 1 reserved VM address space (unallocated) __DATA 28.2M 549 __DATA_CONST 428K 49 __FONT_DATA 4K 1 __LINKEDIT 411.1M 220 __OBJC_RO 32.2M 1 __OBJC_RW 1892K 2 __TEXT 328.5M 466 __UNICODE 564K 1 mapped file 28K 1 shared memory 12K 3 =========== ======= ======= TOTAL 1.1G 1733 TOTAL, minus reserved VM space 1.0G 1733

Model: MacBookPro14,2, BootROM 207.0.0.0.0, 2 processors, Dual-Core Intel Core i5, 3.1 GHz, 16 GB, SMC 2.44f5 Graphics: kHW_IntelIrisGraphics650Item, Intel Iris Plus Graphics 650, spdisplays_builtin Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320 Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320 AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x171), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1610.1) Bluetooth: Version 7.0.5f6, 3 services, 18 devices, 1 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB 3.0 Bus USB Device: Apple T1 Controller Thunderbolt Bus: MacBook Pro, Apple Inc., 41.4 Thunderbolt Bus: MacBook Pro, Apple Inc., 41.4

python-3.x
macos-catalina
streamlit
asked on Stack Overflow Jun 25, 2020 by user13809305 • edited Jun 25, 2020 by user13809305

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0