My PyInstaller compiled python application (with pysimpleGUI) triggers WindowServer Crush on MacOS Mojave after upgrade to 10.14.6. it works fine on Mojave 10.14.5. The Crush report is:
Process: WindowServer [5018]
Path: /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer
Identifier: WindowServer
Version: 600.00 (340.54)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
Responsible: WindowServer [5018]
User ID: 88
Date/Time: 2019-08-13 09:08:18.358 +0800
OS Version: Mac OS X 10.14.6 (18G87)
Report Version: 12
Anonymous UUID: 649AC0FA-E958-A5A5-4FBD-F0D0B9368D35
Time Awake Since Boot: 36000 seconds
System Integrity Protection: disabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [5018]
VM Regions Near 0:
-->
__TEXT 0000000102fd9000-0000000102fdb000 [ 8K] r-x/rwx SM=COW /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer
Application Specific Information:
StartTime:2019-08-13 00:05:44
GPU:IG
MetalDevice for accelerator(0x4833): 0x7fc982707d98 (MTLDevice: 0x10fda1000)
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@0
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.SkyLight 0x00007fff527ef485 CGXBeginSurfaceLayerUpdate + 3207
1 com.apple.SkyLight 0x00007fff5289e1a9 prepare_CoreAnimation_update_state(CGXConnection*, CGXWindowSubArray, bool, bool) + 636
2 com.apple.SkyLight 0x00007fff52899c39 CGXUpdateDisplay + 7081
3 com.apple.SkyLight 0x00007fff52897e20 update_display_callback(void*, double) + 298
4 com.apple.SkyLight 0x00007fff528dc8a1 run_timer_pass + 489
5 com.apple.SkyLight 0x00007fff5290ebd2 CGXRunOneServicesPass + 180
6 com.apple.SkyLight 0x00007fff5290fd52 server_loop + 602
7 com.apple.SkyLight 0x00007fff5290faf1 SLXServer + 1349
8 WindowServer 0x0000000102fda50d 0x102fd9000 + 5389
9 libdyld.dylib 0x00007fff594ae3d5 start + 1
Thread 1:: Dispatch queue: com.apple.VirtualDisplayListener
0 libsystem_kernel.dylib 0x00007fff595e322a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff595e376c mach_msg + 60
2 libsystem_kernel.dylib 0x00007fff595ea85c mach_msg_server_once + 284
3 com.apple.CoreDisplay 0x00007fff2d43761e 0x7fff2d42d000 + 42526
4 libdispatch.dylib 0x00007fff594605f8 _dispatch_call_block_and_release + 12
5 libdispatch.dylib 0x00007fff5946163d _dispatch_client_callout + 8
6 libdispatch.dylib 0x00007fff594678e0 _dispatch_lane_serial_drain + 602
7 libdispatch.dylib 0x00007fff59468396 _dispatch_lane_invoke + 385
8 libdispatch.dylib 0x00007fff594706ed _dispatch_workloop_worker_thread + 598
9 libsystem_pthread.dylib 0x00007fff596a1611 _pthread_wqthread + 421
10 libsystem_pthread.dylib 0x00007fff596a13fd start_wqthread + 13
Thread 2:
0 libsystem_kernel.dylib 0x00007fff595e322a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff595e376c mach_msg + 60
2 com.apple.CoreDisplay 0x00007fff2d4e8fbc 0x7fff2d42d000 + 769980
3 com.apple.CoreDisplay 0x00007fff2d4e9117 0x7fff2d42d000 + 770327
4 libsystem_pthread.dylib 0x00007fff596a22eb _pthread_body + 126
5 libsystem_pthread.dylib 0x00007fff596a5249 _pthread_start + 66
6 libsystem_pthread.dylib 0x00007fff596a140d thread_start + 13
Thread 3:: com.apple.coreanimation.render-server
0 libsystem_kernel.dylib 0x00007fff595e322a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff595e376c mach_msg + 60
2 com.apple.QuartzCore 0x00007fff38022b5a CA::Render::Server::server_thread(void*) + 865
3 com.apple.QuartzCore 0x00007fff380227e6 thread_fun(void*) + 25
4 libsystem_pthread.dylib 0x00007fff596a22eb _pthread_body + 126
5 libsystem_pthread.dylib 0x00007fff596a5249 _pthread_start + 66
6 libsystem_pthread.dylib 0x00007fff596a140d thread_start + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff595e327e semaphore_timedwait_trap + 10
1 libdispatch.dylib 0x00007fff59461c99 _dispatch_sema4_timedwait + 76
2 libdispatch.dylib 0x00007fff59462377 _dispatch_semaphore_wait_slow + 58
3 libdispatch.dylib 0x00007fff5946f1fd _dispatch_worker_thread + 317
4 libsystem_pthread.dylib 0x00007fff596a22eb _pthread_body + 126
5 libsystem_pthread.dylib 0x00007fff596a5249 _pthread_start + 66
6 libsystem_pthread.dylib 0x00007fff596a140d thread_start + 13
Thread 5:
0 libsystem_pthread.dylib 0x00007fff596a13f0 start_wqthread + 0
Thread 6:
0 libsystem_kernel.dylib 0x00007fff595e327e semaphore_timedwait_trap + 10
1 libdispatch.dylib 0x00007fff59461c99 _dispatch_sema4_timedwait + 76
2 libdispatch.dylib 0x00007fff59462377 _dispatch_semaphore_wait_slow + 58
3 libdispatch.dylib 0x00007fff5946f1fd _dispatch_worker_thread + 317
4 libsystem_pthread.dylib 0x00007fff596a22eb _pthread_body + 126
5 libsystem_pthread.dylib 0x00007fff596a5249 _pthread_start + 66
6 libsystem_pthread.dylib 0x00007fff596a140d thread_start + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff595e327e semaphore_timedwait_trap + 10
1 libdispatch.dylib 0x00007fff59461c99 _dispatch_sema4_timedwait + 76
2 libdispatch.dylib 0x00007fff59462377 _dispatch_semaphore_wait_slow + 58
3 libdispatch.dylib 0x00007fff5946f1fd _dispatch_worker_thread + 317
4 libsystem_pthread.dylib 0x00007fff596a22eb _pthread_body + 126
5 libsystem_pthread.dylib 0x00007fff596a5249 _pthread_start + 66
6 libsystem_pthread.dylib 0x00007fff596a140d thread_start + 13
Thread 8:
0 libsystem_pthread.dylib 0x00007fff596a13f0 start_wqthread + 0
Thread 9:
0 libsystem_pthread.dylib 0x00007fff596a13f0 start_wqthread + 0
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fc982713660 rcx: 0x0000000000000000 rdx: 0x0000000000009870
rdi: 0x00000000781ac436 rsi: 0x00007fc982400000 rbp: 0x00007ffeecc15a70 rsp: 0x00007ffeecc156c0
r8: 0x0000000000000006 r9: 0x00007fc9824ed710 r10: 0x0000000000000007 r11: 0x0000000000000007
r12: 0x00007fc98286ea00 r13: 0x00007fc9847a20d0 r14: 0x0000000000000000 r15: 0x00007fc98256da58
rip: 0x00007fff527ef485 rfl: 0x0000000000010206 cr2: 0x0000000000000000
Logical CPU: 2
Error Code: 0x00000004
Trap Number: 14