Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pygpsclient crashes when "save configuration" on macos #101

Closed
jxl77 opened this issue Dec 28, 2023 · 7 comments
Closed

Pygpsclient crashes when "save configuration" on macos #101

jxl77 opened this issue Dec 28, 2023 · 7 comments
Assignees

Comments

@jxl77
Copy link

jxl77 commented Dec 28, 2023

PyGPSClient Bug Report Template

Describe the bug
I tried several times,
but as soon as I ask to save configuration, PYGPSClient crashes immediately

I was connected with serial port with the following configuration

Process: python3.10 [23489]
Path: /Users/USER/*/python
Identifier: python3.10
Version: ???
Code Type: ARM-64 (Native)
Parent Process: zsh [4478]
Responsible: Terminal [4934]
User ID: 502
Date/Time: 2023-12-28 21:59:02.3466 +0100
OS Version: macOS 12.7 (21G816)
Model: MacBookPro18,2, BootROM 10151.1.1, proc 10:8:2 processors, 64 GB, SMC
Graphics: Apple M1 Max, Apple M1 Max, Built-In
Display: DELL UP3216Q, 6016 x 3384, Main, MirrorOff, Online
Display: Color LCD, 3456 x 2234 Retina, MirrorOff, Online
Memory Module: LPDDR5
AirPort: Wi-Fi, wl0: Apr 6 2022 05:55:54 version 20.90.45.0.8.7.118 FWID 01-e7138ff2
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB3.0 Hub
USB Device: USB3.1 Hub
USB Device: AX88179A
USB Device: USB2.0 Hub
USB Device: USB2.1 Hub
USB Device: USB 2.0 Hub
USB Device: FT232R USB UART
USB Device: USB Mouse
USB Device: USB Billboard Device
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Device: WD19TB Thunderbolt Dock, Dell, 1, 60.60

pygpsclient 1.4.6

Translated Report (Full Report Below)

Process: python3.10 [23489]
Path: /Users/USER/*/python
Identifier: python3.10
Version: ???
Code Type: ARM-64 (Native)
Parent Process: zsh [4478]
Responsible: Terminal [4934]
User ID: 502

Date/Time: 2023-12-28 21:59:02.3466 +0100
OS Version: macOS 12.7 (21G816)
Report Version: 12
Anonymous UUID: ED00EC5F-84FF-208C-8B11-D7D296943ACF

Sleep/Wake UUID: 5E1BCE4F-9D11-41EE-A854-528A5218764D

Time Awake Since Boot: 2000000 seconds
Time Since Wake: 547106 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 Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [23489]

VM Region Info: 0 is not in any region. Bytes before following region: 4375855104
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 104d24000-105034000 [ 3136K] r-x/r-x SM=COW .../*/python3.10

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 ??? 0x0 ???
1 libdispatch.dylib 0x1ae9581b4 _dispatch_client_callout + 20
2 libdispatch.dylib 0x1ae959a34 _dispatch_once_callout + 32
3 ImageIO 0x1b7b83c78 TIFFWritePlugin::writeAll() + 80
4 ImageIO 0x1b7b83be0 IIO_Writer_TIFF::write(void*, void*) + 36
5 ImageIO 0x1b7c4e0f0 IIOImageDestination::finalizeDestination() + 592
6 ImageIO 0x1b7b83a6c CGImageDestinationFinalize + 132
7 AppKit 0x1b19cbd3c +[NSBitmapImageRep(NSBitmapImageFileTypeExtensions) representationOfImageRepsInArray:usingType:properties:] + 2048
8 AppKit 0x1b1ba7f38 -[NSBitmapImageRep TIFFRepresentation] + 76
9 AppKit 0x1b1ba711c -[NSBitmapImageRep encodeWithCoder:] + 44
10 Foundation 0x1afa87cfc -[NSXPCEncoder _encodeObject:] + 520
11 Foundation 0x1afa8d0b4 _NSXPCSerializationAddInvocationWithOnlyObjectArgumentsArray + 120
12 Foundation 0x1afa8cf60 -[NSXPCEncoder _encodeInvocationObjectArgumentsOnly:count:typeString:selector:isReply:into:] + 212
13 Foundation 0x1afa85ef8 -[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:] + 1448
14 Foundation 0x1afa8e4e4 -[NSXPCConnection _sendSelector:withProxy:arg1:] + 132
15 Foundation 0x1afa8e408 NSXPCDistantObjectSimpleMessageSend1 + 68
16 CoreFoundation 0x1aebc9c54 invoking
+ 148
17 CoreFoundation 0x1aebc9acc -[NSInvocation invoke] + 468
18 CoreFoundation 0x1aebfd510 -[NSInvocation invokeWithTarget:] + 80
19 ViewBridge 0x1b5f38b9c -[NSVB_ViewServiceImplicitAnimationEncodingProxy forwardInvocation:] + 204
20 CoreFoundation 0x1aebc80ec forwarding + 1004
21 CoreFoundation 0x1aebc7c40 _CF_forwarding_prep_0 + 96
22 ViewBridge 0x1b5fa3d50 -[NSRemoteView _maintainSnapshotOfAccessoryWindowInService:] + 284
23 ViewBridge 0x1b5f80b9c -[NSVBAccessoryWindow _setFrameCommon:display:stashSize:] + 764
24 AppKit 0x1b181d828 -[NSWindow(NSConstraintBasedLayout) _changeWindowFrameFromConstraintsIfNecessary] + 468
25 CoreAutoLayout 0x1b60a509c -[NSISEngine withBehaviors:performModifications:] + 88
26 AppKit 0x1b181d5ec -[NSWindow(NSConstraintBasedLayout) layoutIfNeeded] + 264
27 AppKit 0x1b189dcd0 -[NSView _layoutAtWindowLevelIfNeeded] + 92
28 AppKit 0x1b189d0a8 -[NSView _oldDisplayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 92
29 AppKit 0x1b18216ec -[NSView displayIfNeeded] + 496
30 AppKit 0x1b17a22b4 -[NSWindow _setFrameCommon:display:fromServer:] + 3556
31 ViewBridge 0x1b5f80a10 -[NSVBAccessoryWindow _setFrameCommon:display:stashSize:] + 368
32 ViewBridge 0x1b5f9b608 -[NSRemoteView serviceAccessoryViewFrameChanged:] + 88
33 CoreFoundation 0x1aebc9c54 invoking
+ 148
34 CoreFoundation 0x1aebc9acc -[NSInvocation invoke] + 468
35 ViewBridge 0x1b5f37e08 __deferNSXPCInvocationOntoMainThread_block_invoke + 248
36 ViewBridge 0x1b5f2aac8 __wrapBlockWithVoucher_block_invoke + 56
37 ViewBridge 0x1b5f2a73c __deferBlockOntoMainThread_block_invoke_2 + 324
38 CoreFoundation 0x1aebe89a4 CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 28
39 CoreFoundation 0x1aebe881c __CFRunLoopDoBlocks + 412
40 CoreFoundation 0x1aebe749c __CFRunLoopRun + 808
41 CoreFoundation 0x1aebe69d4 CFRunLoopRunSpecific + 600
42 ViewBridge 0x1b5f29a6c __invokeRunLoopInModeForDuration_block_invoke_2 + 36
43 ViewBridge 0x1b5f29944 invokeRunLoopInModeForDuration + 216
44 ViewBridge 0x1b5f29860 __29-[NSCFRunLoopSemaphore wait:]_block_invoke_3 + 116
45 ViewBridge 0x1b5f297e4 CONSIDER_WHO_REQUESTED_THIS_WAIT_BEFORE_SENDING_BUG_TO_VIEWBRIDGE + 24
46 ViewBridge 0x1b5f29798 __29-[NSCFRunLoopSemaphore wait:]_block_invoke_2 + 144
47 ViewBridge 0x1b5f29678 __29-[NSCFRunLoopSemaphore wait:]_block_invoke + 208
48 ViewBridge 0x1b5f29268 +[NSCFRunLoopSemaphore _observe:whilePerforming:] + 312
49 ViewBridge 0x1b5f28de8 -[NSCFRunLoopSemaphore wait:] + 204
50 ViewBridge 0x1b5f28c2c -[NSCFRunLoopSemaphore wait] + 44
51 AppKit 0x1b2180bd4 -[NSSavePanel beginServicePanel] + 440
52 AppKit 0x1b218271c -[NSSavePanel runModal] + 576
53 libtk8.6.dylib 0x105b31708 showOpenSavePanel + 120
54 libtk8.6.dylib 0x105b32108 Tk_GetSaveFileObjCmd + 2140
55 libtcl8.6.dylib 0x1058ee244 Tcl_EvalObjv + 340
56 _tkinter.cpython-310-darwin.so 0x10572855c Tkapp_Call + 336
57 python3.10 0x104de966c cfunction_call + 96
58 python3.10 0x104ea51b0 _PyEval_EvalFrameDefault + 50500
59 python3.10 0x104d8bcf4 _PyFunction_Vectorcall + 548
60 python3.10 0x104ea11c4 _PyEval_EvalFrameDefault + 34136
61 python3.10 0x104d8bcf4 _PyFunction_Vectorcall + 548
62 python3.10 0x104ec1a48 call_function + 148
63 python3.10 0x104e9a86c _PyEval_EvalFrameDefault + 7168
64 python3.10 0x104d8bcf4 _PyFunction_Vectorcall + 548
65 python3.10 0x104ea11c4 _PyEval_EvalFrameDefault + 34136
66 python3.10 0x104d8bcf4 _PyFunction_Vectorcall + 548
67 python3.10 0x104d904b8 method_vectorcall + 388
68 python3.10 0x104ea0cb4 _PyEval_EvalFrameDefault + 32840
69 python3.10 0x104d8bcf4 _PyFunction_Vectorcall + 548
70 python3.10 0x104d904b8 method_vectorcall + 388
71 _tkinter.cpython-310-darwin.so 0x10572a890 PythonCmd + 196
72 libtcl8.6.dylib 0x1058f0294 TclEvalObjEx + 112
73 libtk8.6.dylib 0x105aaf240 TkInvokeMenu + 480
74 libtk8.6.dylib 0x105b3e7bc -[TKMenu(TKMenuActions) tkMenuItemInvoke:] + 188
75 AppKit 0x1b1953564 -[NSApplication(NSResponder) sendAction:to:from:] + 460
76 AppKit 0x1b1a49288 -[NSMenuItem _corePerformAction] + 444
77 AppKit 0x1b1a48f7c -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 100
78 AppKit 0x1b1a91b74 -[NSMenu performActionForItemAtIndex:] + 200
79 AppKit 0x1b1a91a94 -[NSMenu _internalPerformActionForItemAtIndex:] + 100
80 AppKit 0x1b1a918a0 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 116
81 AppKit 0x1b1a2ce0c NSSLMMenuEventHandler + 728
82 HIToolbox 0x1b78076c8 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1084
83 HIToolbox 0x1b7806b4c SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 356
84 HIToolbox 0x1b781ce50 SendEventToEventTarget + 40
85 HIToolbox 0x1b787d870 SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 416
86 HIToolbox 0x1b78a29ac SendMenuCommandWithContextAndModifiers + 56
87 HIToolbox 0x1b78a293c SendMenuItemSelectedEvent + 352
88 HIToolbox 0x1b78a2768 FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 100
89 HIToolbox 0x1b78a3128 MenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef**, unsigned short*) + 560
90 HIToolbox 0x1b78a2e48 _HandleMenuSelection2 + 416
91 AppKit 0x1b18ec68c _NSHandleCarbonMenuEvent + 300
92 AppKit 0x1b18ec46c _DPSEventHandledByCarbon + 68
93 AppKit 0x1b174e550 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3280
94 libtk8.6.dylib 0x105b44750 TkMacOSXEventsCheckProc + 448
95 libtcl8.6.dylib 0x1059a9968 Tcl_DoOneEvent + 320
96 _tkinter.cpython-310-darwin.so 0x105729e10 _tkinter_tkapp_mainloop_impl + 252
97 python3.10 0x104d9af30 method_vectorcall_FASTCALL + 108
98 python3.10 0x104ea11c4 _PyEval_EvalFrameDefault + 34136
99 python3.10 0x104d8bcf4 _PyFunction_Vectorcall + 548
100 python3.10 0x104d903b0 method_vectorcall + 124
101 python3.10 0x104ea296c _PyEval_EvalFrameDefault + 40192
102 python3.10 0x104d8bcf4 _PyFunction_Vectorcall + 548
103 python3.10 0x104ec1a48 call_function + 148
104 python3.10 0x104e9a95c _PyEval_EvalFrameDefault + 7408
105 python3.10 0x104e96f60 _PyEval_Vector + 532
106 python3.10 0x104f1027c run_mod + 220
107 python3.10 0x104f1001c pyrun_file + 156
108 python3.10 0x104f0fa68 _PyRun_SimpleFileObject + 316
109 python3.10 0x104f0f3d0 _PyRun_AnyFileObject + 216
110 python3.10 0x104f33a8c pymain_run_file_obj + 196
111 python3.10 0x104f33318 pymain_run_file + 72
112 python3.10 0x104f329b8 pymain_run_python + 340
113 python3.10 0x104f3280c Py_RunMain + 40
114 python3.10 0x104d2bb58 main + 56
115 dyld 0x10527108c start + 520

Thread 1:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x1aeade890 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1aeaded00 mach_msg + 76
2 CoreFoundation 0x1aebe9160 __CFRunLoopServiceMachPort + 372
3 CoreFoundation 0x1aebe7610 __CFRunLoopRun + 1180
4 CoreFoundation 0x1aebe69d4 CFRunLoopRunSpecific + 600
5 AppKit 0x1b18bc09c _NSEventThread + 196
6 libsystem_pthread.dylib 0x1aeb1c26c _pthread_start + 148
7 libsystem_pthread.dylib 0x1aeb1708c thread_start + 8

Thread 2:
0 libsystem_kernel.dylib 0x1aeae9578 __select + 8
1 libtcl8.6.dylib 0x1059fcff8 NotifierThreadProc + 668
2 libsystem_pthread.dylib 0x1aeb1c26c _pthread_start + 148
3 libsystem_pthread.dylib 0x1aeb1708c thread_start + 8

Thread 3:
0 libsystem_pthread.dylib 0x1aeb17078 start_wqthread + 0

Thread 4:
0 libsystem_pthread.dylib 0x1aeb17078 start_wqthread + 0

Thread 5:
0 libsystem_kernel.dylib 0x1aeae2250 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1aeb1c83c _pthread_cond_wait + 1236
2 libtcl8.6.dylib 0x1059e8a58 Tcl_ConditionWait + 252
3 _tkinter.cpython-310-darwin.so 0x10572a7ac Tkapp_ThreadSend + 92
4 _tkinter.cpython-310-darwin.so 0x1057284e0 Tkapp_Call + 212
5 python3.10 0x104d9b5ac method_vectorcall_VARARGS + 344
6 python3.10 0x104ea11c4 _PyEval_EvalFrameDefault + 34136
7 python3.10 0x104d8bcf4 _PyFunction_Vectorcall + 548
8 python3.10 0x104d903b0 method_vectorcall + 124
9 python3.10 0x104ea296c _PyEval_EvalFrameDefault + 40192
10 python3.10 0x104d8bcf4 _PyFunction_Vectorcall + 548
11 python3.10 0x104ea11c4 _PyEval_EvalFrameDefault + 34136
12 python3.10 0x104d8bcf4 _PyFunction_Vectorcall + 548
13 python3.10 0x104d90454 method_vectorcall + 288
14 python3.10 0x104ea0cb4 _PyEval_EvalFrameDefault + 32840
15 python3.10 0x104d8bcf4 _PyFunction_Vectorcall + 548
16 python3.10 0x104ea11c4 _PyEval_EvalFrameDefault + 34136
17 python3.10 0x104d8bcf4 _PyFunction_Vectorcall + 548
18 python3.10 0x104ea11c4 _PyEval_EvalFrameDefault + 34136
19 python3.10 0x104d8bcf4 _PyFunction_Vectorcall + 548
20 python3.10 0x104d904b8 method_vectorcall + 388
21 python3.10 0x104f80190 thread_run + 164
22 python3.10 0x104f20d8c pythread_wrapper + 48
23 libsystem_pthread.dylib 0x1aeb1c26c _pthread_start + 148
24 libsystem_pthread.dylib 0x1aeb1708c thread_start + 8

Thread 6:
0 libsystem_pthread.dylib 0x1aeb17078 start_wqthread + 0

Thread 7:
0 libsystem_pthread.dylib 0x1aeb17078 start_wqthread + 0

Thread 8:
0 libsystem_pthread.dylib 0x1aeb17078 start_wqthread + 0

Thread 9:
0 libsystem_pthread.dylib 0x1aeb17078 start_wqthread + 0

Thread 10:
0 libsystem_kernel.dylib 0x1aeae2250 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1aeb1c83c _pthread_cond_wait + 1236
2 Foundation 0x1afca26fc -[_NSThreadPerformInfo wait] + 68
3 Foundation 0x1afabacc4 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 784
4 libtk8.6.dylib 0x105b3e050 -[TKBackgroundLoop main] + 208
5 Foundation 0x1afac559c NSThread__start + 808
6 libsystem_pthread.dylib 0x1aeb1c26c _pthread_start + 148
7 libsystem_pthread.dylib 0x1aeb1708c thread_start + 8

Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x00000001b7c02de8 x2: 0x00000001b7c02de8 x3: 0x000000000000001b
x4: 0x0000000000000074 x5: 0x0000000000000068 x6: 0x00000001b5a553e4 x7: 0x0000000000000001
x8: 0x0000000000000000 x9: 0x0000000000000100 x10: 0x0000000000003c30 x11: 0x0000000000000000
x12: 0x00000000f1631108 x13: 0x0000000071631000 x14: 0x0000000071600000 x15: 0x0000000207591040
x16: 0x0000000000000000 x17: 0x0000000209248278 x18: 0x0000000000000000 x19: 0x0000000204f3fc10
x20: 0x0000600000cabc30 x21: 0x0000000000000001 x22: 0x0000000000000001 x23: 0x0000600001717700
x24: 0x00006000029cc7e0 x25: 0x0000000000000001 x26: 0x0000000000000001 x27: 0x00000001f8e731bf
x28: 0x00000001f8f0a0df fp: 0x000000016b0d3850 lr: 0x00000001b7c02dfc
sp: 0x000000016b0d3850 pc: 0x0000000000000000 cpsr: 0x60001000
far: 0x0000000000000000 esr: 0x82000006 (Instruction Abort) Translation fault

Binary Images:
0x0 - 0xffffffffffffffff ??? () <00000000-0000-0000-0000-000000000000> ???
0x1ae954000 - 0x1ae99afff libdispatch.dylib (
) <26532eb9-1697-3bcb-aa36-f07a3405770a> /usr/lib/system/libdispatch.dylib
0x1b7b7e000 - 0x1b7dcdfff com.apple.ImageIO (3.3.0) /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x1b170e000 - 0x1b25c6fff com.apple.AppKit (6.9) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x1afa69000 - 0x1afe5afff com.apple.Foundation (6.9) <6a33f522-7b02-3eb6-a929-f7a6b9db3f72> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x1aeb64000 - 0x1af0aafff com.apple.CoreFoundation (6.9) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x1b5f25000 - 0x1b6020fff com.apple.ViewBridge (640.1) /System/Library/PrivateFrameworks/ViewBridge.framework/Versions/A/ViewBridge
0x1b6094000 - 0x1b60defff com.apple.CoreAutoLayout (1.0) <8efc0d83-c977-3778-9d17-456d87a68a78> /System/Library/PrivateFrameworks/CoreAutoLayout.framework/Versions/A/CoreAutoLayout
0x105a60000 - 0x105b7ffff libtk8.6.dylib () <25ab018a-0c9a-3667-bc5b-3e243717dacf> /Users/USER//libtk8.6.dylib
0x1058d0000 - 0x105a1ffff libtcl8.6.dylib () /Users/USER//libtcl8.6.dylib
0x105720000 - 0x10572ffff _tkinter.cpython-310-darwin.so () <48f6438b-447d-3a20-832c-6ae6971ee345> /Users/USER//_tkinter.cpython-310-darwin.so
0x104d24000 - 0x105033fff python3.10 () <17cf3cb5-0a5a-332f-9993-8461d8524238> /Users/USER//python3.10
0x1b77fd000 - 0x1b7b30fff com.apple.HIToolbox (2.1.1) <07987381-b579-3f72-8ba8-97fa5b5a3352> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x10526c000 - 0x1052cbfff dyld () <6c9a46d9-7137-3785-afc9-7feeceb8cadb> /usr/lib/dyld
0x1aeadd000 - 0x1aeb14fff libsystem_kernel.dylib (
) <4b67e099-d4a8-37e2-a8be-f4718e5dc028> /usr/lib/system/libsystem_kernel.dylib
0x1aeb15000 - 0x1aeb21fff libsystem_pthread.dylib (*) <569fc817-bb09-3ef2-8b18-af7f7bd615ec> /usr/lib/system/libsystem_pthread.dylib

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
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: 0
thread_create: 0
thread_set_state: 0

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

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 768K 6
Activity Tracing 256K 1
CG backing stores 8576K 8
CG image 800K 8
ColorSync 624K 27
CoreAnimation 51.0M 16
CoreGraphics 48K 3
CoreUI image data 1888K 13
Foundation 16K 1
Kernel Alloc Once 32K 1
MALLOC 316.7M 232
MALLOC guard page 192K 11
MALLOC_MEDIUM (reserved) 1.2G 10 reserved VM address space (unallocated)
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
STACK GUARD 176K 11
Stack 36.4M 11
VM_ALLOCATE 17.0M 40
__AUTH 1905K 178
__AUTH_CONST 10.9M 331
__CTF 756 1
__DATA 9871K 379
__DATA_CONST 13.3M 389
__DATA_DIRTY 858K 117
__FONT_DATA 4K 1
__LINKEDIT 582.1M 60
__OBJC_CONST 1781K 155
__OBJC_RO 83.0M 1
__OBJC_RW 3168K 1
__TEXT 270.4M 405
__UNICODE 592K 1
dyld private memory 1024K 1
mapped file 166.9M 25
shared memory 1408K 15
=========== ======= =======
TOTAL 3.1G 2460
TOTAL, minus reserved VM space 1.5G 2460


Full Report

{"app_name":"python3.10","timestamp":"2023-12-28 21:59:03.00 +0100","app_version":"","slice_uuid":"17cf3cb5-0a5a-332f-9993-8461d8524238","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 12.7 (21G816)","incident_id":"96052AC9-9C79-4FA0-8FE9-AF5E1A5ECA70","name":"python3.10"}
{
"uptime" : 2000000,
"procLaunch" : "2023-12-28 21:58:19.1091 +0100",
"procRole" : "Foreground",
"version" : 2,
"userID" : 502,
"deployVersion" : 210,
"modelCode" : "MacBookPro18,2",
"procStartAbsTime" : 49685898770431,
"coalitionID" : 3017,
"osVersion" : {
"train" : "macOS 12.7",
"build" : "21G816",
"releaseType" : "User"
},
"captureTime" : "2023-12-28 21:59:02.3466 +0100",
"incident" : "96052AC9-9C79-4FA0-8FE9-AF5E1A5ECA70",
"bug_type" : "309",
"pid" : 23489,
"procExitAbsTime" : 49686934861436,
"translated" : false,
"cpuType" : "ARM-64",
"procName" : "python3.10",
"procPath" : "/Users/USER//python",
"parentProc" : "zsh",
"parentPid" : 4478,
"coalitionName" : "com.apple.Terminal",
"crashReporterKey" : "ED00EC5F-84FF-208C-8B11-D7D296943ACF",
"responsiblePid" : 4934,
"responsibleProc" : "Terminal",
"wakeTime" : 547106,
"sleepWakeUUID" : "5E1BCE4F-9D11-41EE-A854-528A5218764D",
"sip" : "disabled",
"vmRegionInfo" : "0 is not in any region. Bytes before following region: 4375855104\n REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 104d24000-105034000 [ 3136K] r-x/r-x SM=COW .../
/python3.10",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000000"},
"termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":23489},
"vmregioninfo" : "0 is not in any region. Bytes before following region: 4375855104\n REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n _TEXT 104d24000-105034000 [ 3136K] r-x/r-x SM=COW .../*/python3.10",
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":14266983,"threadState":{"x":[{"value":0},{"value":7377792488,"symbolLocation":0,"symbol":"invocation function for block in SetupTIFFErrorHandler()"},{"value":7377792488,"symbolLocation":0,"symbol":"invocation function for block in SetupTIFFErrorHandler()"},{"value":27},{"value":116},{"value":104},{"value":7342478308,"symbolLocation":312,"symbol":"kImageTilingInfo_CG8bpc"},{"value":1},{"value":0},{"value":256},{"value":15408},{"value":0},{"value":4049801480},{"value":1902317568},{"value":1902116864},{"value":8713211968,"symbolLocation":0,"symbol":"OBJC_CLASS
$___NSArrayM"},{"value":0},{"value":8743322232},{"value":0},{"value":8673033232,"symbolLocation":0,"symbol":"SetupTIFFErrorHandler()::setupOnce"},{"value":105553129552944},{"value":1},{"value":1},{"value":105553140479744},{"value":105553160095712},{"value":1},{"value":1},{"value":8470868415,"objc-selector":"objectAtIndex:"},{"value":8471486687,"objc-selector":"_getCGImageRefCreateIfNecessary"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":7377792508},"cpsr":{"value":1610616832},"fp":{"value":6090995792},"sp":{"value":6090995792},"esr":{"value":2181038086,"description":"(Instruction Abort) Translation fault"},"pc":{"value":0},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":0,"imageIndex":0},{"imageOffset":16820,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":1},{"imageOffset":23092,"symbol":"_dispatch_once_callout","symbolLocation":32,"imageIndex":1},{"imageOffset":23672,"symbol":"TIFFWritePlugin::writeAll()","symbolLocation":80,"imageIndex":2},{"imageOffset":23520,"symbol":"IIO_Writer_TIFF::write(void*, void*)","symbolLocation":36,"imageIndex":2},{"imageOffset":852208,"symbol":"IIOImageDestination::finalizeDestination()","symbolLocation":592,"imageIndex":2},{"imageOffset":23148,"symbol":"CGImageDestinationFinalize","symbolLocation":132,"imageIndex":2},{"imageOffset":2874684,"symbol":"+[NSBitmapImageRep(NSBitmapImageFileTypeExtensions) representationOfImageRepsInArray:usingType:properties:]","symbolLocation":2048,"imageIndex":3},{"imageOffset":4824888,"symbol":"-[NSBitmapImageRep TIFFRepresentation]","symbolLocation":76,"imageIndex":3},{"imageOffset":4821276,"symbol":"-[NSBitmapImageRep encodeWithCoder:]","symbolLocation":44,"imageIndex":3},{"imageOffset":126204,"symbol":"-[NSXPCEncoder _encodeObject:]","symbolLocation":520,"imageIndex":4},{"imageOffset":147636,"symbol":"_NSXPCSerializationAddInvocationWithOnlyObjectArgumentsArray","symbolLocation":120,"imageIndex":4},{"imageOffset":147296,"symbol":"-[NSXPCEncoder _encodeInvocationObjectArgumentsOnly:count:typeString:selector:isReply:into:]","symbolLocation":212,"imageIndex":4},{"imageOffset":118520,"symbol":"-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]","symbolLocation":1448,"imageIndex":4},{"imageOffset":152804,"symbol":"-[NSXPCConnection _sendSelector:withProxy:arg1:]","symbolLocation":132,"imageIndex":4},{"imageOffset":152584,"symbol":"NSXPCDistantObjectSimpleMessageSend1","symbolLocation":68,"imageIndex":4},{"imageOffset":416852,"symbol":"invoking","symbolLocation":148,"imageIndex":5},{"imageOffset":416460,"symbol":"-[NSInvocation invoke]","symbolLocation":468,"imageIndex":5},{"imageOffset":627984,"symbol":"-[NSInvocation invokeWithTarget:]","symbolLocation":80,"imageIndex":5},{"imageOffset":80796,"symbol":"-[NSVB_ViewServiceImplicitAnimationEncodingProxy forwardInvocation:]","symbolLocation":204,"imageIndex":6},{"imageOffset":409836,"symbol":"forwarding","symbolLocation":1004,"imageIndex":5},{"imageOffset":408640,"symbol":"_CF_forwarding_prep_0","symbolLocation":96,"imageIndex":5},{"imageOffset":519504,"symbol":"-[NSRemoteView _maintainSnapshotOfAccessoryWindowInService:]","symbolLocation":284,"imageIndex":6},{"imageOffset":375708,"symbol":"-[NSVBAccessoryWindow _setFrameCommon:display:stashSize:]","symbolLocation":764,"imageIndex":6},{"imageOffset":1112104,"symbol":"-[NSWindow(NSConstraintBasedLayout) _changeWindowFrameFromConstraintsIfNecessary]","symbolLocation":468,"imageIndex":3},{"imageOffset":69788,"symbol":"-[NSISEngine withBehaviors:performModifications:]","symbolLocation":88,"imageIndex":7},{"imageOffset":1111532,"symbol":"-[NSWindow(NSConstraintBasedLayout) layoutIfNeeded]","symbolLocation":264,"imageIndex":3},{"imageOffset":1637584,"symbol":"-[NSView _layoutAtWindowLevelIfNeeded]","symbolLocation":92,"imageIndex":3},{"imageOffset":1634472,"symbol":"-[NSView _oldDisplayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]","symbolLocation":92,"imageIndex":3},{"imageOffset":1128172,"symbol":"-[NSView displayIfNeeded]","symbolLocation":496,"imageIndex":3},{"imageOffset":606900,"symbol":"-[NSWindow _setFrameCommon:display:fromServer:]","symbolLocation":3556,"imageIndex":3},{"imageOffset":375312,"symbol":"-[NSVBAccessoryWindow _setFrameCommon:display:stashSize:]","symbolLocation":368,"imageIndex":6},{"imageOffset":484872,"symbol":"-[NSRemoteView serviceAccessoryViewFrameChanged:]","symbolLocation":88,"imageIndex":6},{"imageOffset":416852,"symbol":"invoking","symbolLocation":148,"imageIndex":5},{"imageOffset":416460,"symbol":"-[NSInvocation invoke]","symbolLocation":468,"imageIndex":5},{"imageOffset":77320,"symbol":"__deferNSXPCInvocationOntoMainThread_block_invoke","symbolLocation":248,"imageIndex":6},{"imageOffset":23240,"symbol":"__wrapBlockWithVoucher_block_invoke","symbolLocation":56,"imageIndex":6},{"imageOffset":22332,"symbol":"__deferBlockOntoMainThread_block_invoke_2","symbolLocation":324,"imageIndex":6},{"imageOffset":543140,"symbol":"CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK","symbolLocation":28,"imageIndex":5},{"imageOffset":542748,"symbol":"__CFRunLoopDoBlocks","symbolLocation":412,"imageIndex":5},{"imageOffset":537756,"symbol":"__CFRunLoopRun","symbolLocation":808,"imageIndex":5},{"imageOffset":534996,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":5},{"imageOffset":19052,"symbol":"__invokeRunLoopInModeForDuration_block_invoke_2","symbolLocation":36,"imageIndex":6},{"imageOffset":18756,"symbol":"invokeRunLoopInModeForDuration","symbolLocation":216,"imageIndex":6},{"imageOffset":18528,"symbol":"__29-[NSCFRunLoopSemaphore wait:]_block_invoke_3","symbolLocation":116,"imageIndex":6},{"imageOffset":18404,"symbol":"CONSIDER_WHO_REQUESTED_THIS_WAIT_BEFORE_SENDING_BUG_TO_VIEWBRIDGE","symbolLocation":24,"imageIndex":6},{"imageOffset":18328,"symbol":"__29-[NSCFRunLoopSemaphore wait:]_block_invoke_2","symbolLocation":144,"imageIndex":6},{"imageOffset":18040,"symbol":"__29-[NSCFRunLoopSemaphore wait:]_block_invoke","symbolLocation":208,"imageIndex":6},{"imageOffset":17000,"symbol":"+[NSCFRunLoopSemaphore _observe:whilePerforming:]","symbolLocation":312,"imageIndex":6},{"imageOffset":15848,"symbol":"-[NSCFRunLoopSemaphore wait:]","symbolLocation":204,"imageIndex":6},{"imageOffset":15404,"symbol":"-[NSCFRunLoopSemaphore wait]","symbolLocation":44,"imageIndex":6},{"imageOffset":10955732,"symbol":"-[NSSavePanel beginServicePanel]","symbolLocation":440,"imageIndex":3},{"imageOffset":10962716,"symbol":"-[NSSavePanel runModal]","symbolLocation":576,"imageIndex":3},{"imageOffset":857864,"symbol":"showOpenSavePanel","symbolLocation":120,"imageIndex":8},{"imageOffset":860424,"symbol":"Tk_GetSaveFileObjCmd","symbolLocation":2140,"imageIndex":8},{"imageOffset":123460,"symbol":"Tcl_EvalObjv","symbolLocation":340,"imageIndex":9},{"imageOffset":34140,"symbol":"Tkapp_Call","symbolLocation":336,"imageIndex":10},{"imageOffset":808556,"symbol":"cfunction_call","symbolLocation":96,"imageIndex":11},{"imageOffset":1577392,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":50500,"imageIndex":11},{"imageOffset":425204,"symbol":"_PyFunction_Vectorcall","symbolLocation":548,"imageIndex":11},{"imageOffset":1561028,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":34136,"imageIndex":11},{"imageOffset":425204,"symbol":"_PyFunction_Vectorcall","symbolLocation":548,"imageIndex":11},{"imageOffset":1694280,"symbol":"call_function","symbolLocation":148,"imageIndex":11},{"imageOffset":1534060,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":7168,"imageIndex":11},{"imageOffset":425204,"symbol":"_PyFunction_Vectorcall","symbolLocation":548,"imageIndex":11},{"imageOffset":1561028,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":34136,"imageIndex":11},{"imageOffset":425204,"symbol":"_PyFunction_Vectorcall","symbolLocation":548,"imageIndex":11},{"imageOffset":443576,"symbol":"method_vectorcall","symbolLocation":388,"imageIndex":11},{"imageOffset":1559732,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":32840,"imageIndex":11},{"imageOffset":425204,"symbol":"_PyFunction_Vectorcall","symbolLocation":548,"imageIndex":11},{"imageOffset":443576,"symbol":"method_vectorcall","symbolLocation":388,"imageIndex":11},{"imageOffset":43152,"symbol":"PythonCmd","symbolLocation":196,"imageIndex":10},{"imageOffset":131732,"symbol":"TclEvalObjEx","symbolLocation":112,"imageIndex":9},{"imageOffset":324160,"symbol":"TkInvokeMenu","symbolLocation":480,"imageIndex":8},{"imageOffset":911292,"symbol":"-[TKMenu(TKMenuActions) tkMenuItemInvoke:]","symbolLocation":188,"imageIndex":8},{"imageOffset":2381156,"symbol":"-[NSApplication(NSResponder) sendAction:to:from:]","symbolLocation":460,"imageIndex":3},{"imageOffset":3388040,"symbol":"-[NSMenuItem _corePerformAction]","symbolLocation":444,"imageIndex":3},{"imageOffset":3387260,"symbol":"-[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:]","symbolLocation":100,"imageIndex":3},{"imageOffset":3685236,"symbol":"-[NSMenu performActionForItemAtIndex:]","symbolLocation":200,"imageIndex":3},{"imageOffset":3685012,"symbol":"-[NSMenu _internalPerformActionForItemAtIndex:]","symbolLocation":100,"imageIndex":3},{"imageOffset":3684512,"symbol":"-[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:]","symbolLocation":116,"imageIndex":3},{"imageOffset":3272204,"symbol":"NSSLMMenuEventHandler","symbolLocation":728,"imageIndex":3},{"imageOffset":42696,"symbol":"DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*)","symbolLocation":1084,"imageIndex":12},{"imageOffset":39756,"symbol":"SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*)","symbolLocation":356,"imageIndex":12},{"imageOffset":130640,"symbol":"SendEventToEventTarget","symbolLocation":40,"imageIndex":12},{"imageOffset":526448,"symbol":"SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**)","symbolLocation":416,"imageIndex":12},{"imageOffset":678316,"symbol":"SendMenuCommandWithContextAndModifiers","symbolLocation":56,"imageIndex":12},{"imageOffset":678204,"symbol":"SendMenuItemSelectedEvent","symbolLocation":352,"imageIndex":12},{"imageOffset":677736,"symbol":"FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*)","symbolLocation":100,"imageIndex":12},{"imageOffset":680232,"symbol":"MenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef**, unsigned short*)","symbolLocation":560,"imageIndex":12},{"imageOffset":679496,"symbol":"_HandleMenuSelection2","symbolLocation":416,"imageIndex":12},{"imageOffset":1959564,"symbol":"_NSHandleCarbonMenuEvent","symbolLocation":300,"imageIndex":3},{"imageOffset":1959020,"symbol":"_DPSEventHandledByCarbon","symbolLocation":68,"imageIndex":3},{"imageOffset":263504,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":3280,"imageIndex":3},{"imageOffset":935760,"symbol":"TkMacOSXEventsCheckProc","symbolLocation":448,"imageIndex":8},{"imageOffset":891240,"symbol":"Tcl_DoOneEvent","symbolLocation":320,"imageIndex":9},{"imageOffset":40464,"symbol":"_tkinter_tkapp_mainloop_impl","symbolLocation":252,"imageIndex":10},{"imageOffset":487216,"symbol":"method_vectorcall_FASTCALL","symbolLocation":108,"imageIndex":11},{"imageOffset":1561028,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":34136,"imageIndex":11},{"imageOffset":425204,"symbol":"_PyFunction_Vectorcall","symbolLocation":548,"imageIndex":11},{"imageOffset":443312,"symbol":"method_vectorcall","symbolLocation":124,"imageIndex":11},{"imageOffset":1567084,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":40192,"imageIndex":11},{"imageOffset":425204,"symbol":"_PyFunction_Vectorcall","symbolLocation":548,"imageIndex":11},{"imageOffset":1694280,"symbol":"call_function","symbolLocation":148,"imageIndex":11},{"imageOffset":1534300,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":7408,"imageIndex":11},{"imageOffset":1519456,"symbol":"_PyEval_Vector","symbolLocation":532,"imageIndex":11},{"imageOffset":2015868,"symbol":"run_mod","symbolLocation":220,"imageIndex":11},{"imageOffset":2015260,"symbol":"pyrun_file","symbolLocation":156,"imageIndex":11},{"imageOffset":2013800,"symbol":"_PyRun_SimpleFileObject","symbolLocation":316,"imageIndex":11},{"imageOffset":2012112,"symbol":"_PyRun_AnyFileObject","symbolLocation":216,"imageIndex":11},{"imageOffset":2161292,"symbol":"pymain_run_file_obj","symbolLocation":196,"imageIndex":11},{"imageOffset":2159384,"symbol":"pymain_run_file","symbolLocation":72,"imageIndex":11},{"imageOffset":2156984,"symbol":"pymain_run_python","symbolLocation":340,"imageIndex":11},{"imageOffset":2156556,"symbol":"Py_RunMain","symbolLocation":40,"imageIndex":11},{"imageOffset":31576,"symbol":"main","symbolLocation":56,"imageIndex":11},{"imageOffset":20620,"symbol":"start","symbolLocation":520,"imageIndex":13}]},{"id":14267012,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6288,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":14},{"imageOffset":7424,"symbol":"mach_msg","symbolLocation":76,"imageIndex":14},{"imageOffset":545120,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":372,"imageIndex":5},{"imageOffset":538128,"symbol":"__CFRunLoopRun","symbolLocation":1180,"imageIndex":5},{"imageOffset":534996,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":5},{"imageOffset":1761436,"symbol":"_NSEventThread","symbolLocation":196,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":15},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":15}]},{"id":14267014,"frames":[{"imageOffset":50552,"symbol":"__select","symbolLocation":8,"imageIndex":14},{"imageOffset":1232888,"symbol":"NotifierThreadProc","symbolLocation":668,"imageIndex":9},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":15},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":15}]},{"id":14267017,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":14267021,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":14267133,"frames":[{"imageOffset":21072,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":14},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":15},{"imageOffset":1149528,"symbol":"Tcl_ConditionWait","symbolLocation":252,"imageIndex":9},{"imageOffset":42924,"symbol":"Tkapp_ThreadSend","symbolLocation":92,"imageIndex":10},{"imageOffset":34016,"symbol":"Tkapp_Call","symbolLocation":212,"imageIndex":10},{"imageOffset":488876,"symbol":"method_vectorcall_VARARGS","symbolLocation":344,"imageIndex":11},{"imageOffset":1561028,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":34136,"imageIndex":11},{"imageOffset":425204,"symbol":"_PyFunction_Vectorcall","symbolLocation":548,"imageIndex":11},{"imageOffset":443312,"symbol":"method_vectorcall","symbolLocation":124,"imageIndex":11},{"imageOffset":1567084,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":40192,"imageIndex":11},{"imageOffset":425204,"symbol":"_PyFunction_Vectorcall","symbolLocation":548,"imageIndex":11},{"imageOffset":1561028,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":34136,"imageIndex":11},{"imageOffset":425204,"symbol":"_PyFunction_Vectorcall","symbolLocation":548,"imageIndex":11},{"imageOffset":443476,"symbol":"method_vectorcall","symbolLocation":288,"imageIndex":11},{"imageOffset":1559732,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":32840,"imageIndex":11},{"imageOffset":425204,"symbol":"_PyFunction_Vectorcall","symbolLocation":548,"imageIndex":11},{"imageOffset":1561028,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":34136,"imageIndex":11},{"imageOffset":425204,"symbol":"_PyFunction_Vectorcall","symbolLocation":548,"imageIndex":11},{"imageOffset":1561028,"symbol":"_PyEval_EvalFrameDefault","symbolLocation":34136,"imageIndex":11},{"imageOffset":425204,"symbol":"_PyFunction_Vectorcall","symbolLocation":548,"imageIndex":11},{"imageOffset":443576,"symbol":"method_vectorcall","symbolLocation":388,"imageIndex":11},{"imageOffset":2474384,"symbol":"thread_run","symbolLocation":164,"imageIndex":11},{"imageOffset":2084236,"symbol":"pythread_wrapper","symbolLocation":48,"imageIndex":11},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":15},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":15}]},{"id":14267217,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":14267218,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":14267219,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":14267220,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":15}]},{"id":14267264,"frames":[{"imageOffset":21072,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":14},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":15},{"imageOffset":2332412,"symbol":"-[_NSThreadPerformInfo wait]","symbolLocation":68,"imageIndex":4},{"imageOffset":335044,"symbol":"-[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:]","symbolLocation":784,"imageIndex":4},{"imageOffset":909392,"symbol":"-[TKBackgroundLoop main]","symbolLocation":208,"imageIndex":8},{"imageOffset":378268,"symbol":"NSThread__start","symbolLocation":808,"imageIndex":4},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":15},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":15}]}],
"usedImages" : [
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7223984128,
"size" : 290816,
"uuid" : "26532eb9-1697-3bcb-aa36-f07a3405770a",
"path" : "/usr/lib/system/libdispatch.dylib",
"name" : "libdispatch.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7377248256,
"CFBundleShortVersionString" : "3.3.0",
"CFBundleIdentifier" : "com.apple.ImageIO",
"size" : 2424832,
"uuid" : "c72f7d43-5e42-3d12-b82d-1716b9e71ee4",
"path" : "/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO",
"name" : "ImageIO",
"CFBundleVersion" : "2222.16.2"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7271931904,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.AppKit",
"size" : 15437824,
"uuid" : "bfd62360-b17f-38b0-b906-6bac5500becf",
"path" : "/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit",
"name" : "AppKit",
"CFBundleVersion" : "2113.60.148"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7241895936,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.Foundation",
"size" : 4136960,
"uuid" : "6a33f522-7b02-3eb6-a929-f7a6b9db3f72",
"path" : "/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation",
"name" : "Foundation",
"CFBundleVersion" : "1866"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7226146816,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.CoreFoundation",
"size" : 5533696,
"uuid" : "d05de733-7a33-3fde-ae9b-2d54195b1bb0",
"path" : "/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation",
"name" : "CoreFoundation",
"CFBundleVersion" : "1866"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7347523584,
"CFBundleShortVersionString" : "640.1",
"CFBundleIdentifier" : "com.apple.ViewBridge",
"size" : 1032192,
"uuid" : "bd6d46dd-8ad4-3954-acb2-f05bf91d9c07",
"path" : "/System/Library/PrivateFrameworks/ViewBridge.framework/Versions/A/ViewBridge",
"name" : "ViewBridge",
"CFBundleVersion" : "640.1"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7349026816,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "com.apple.CoreAutoLayout",
"size" : 307200,
"uuid" : "8efc0d83-c977-3778-9d17-456d87a68a78",
"path" : "/System/Library/PrivateFrameworks/CoreAutoLayout.framework/Versions/A/CoreAutoLayout",
"name" : "CoreAutoLayout",
"CFBundleVersion" : "28"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4389732352,
"size" : 1179648,
"uuid" : "25ab018a-0c9a-3667-bc5b-3e243717dacf",
"path" : "/Users/USER//libtk8.6.dylib",
"name" : "libtk8.6.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4388093952,
"size" : 1376256,
"uuid" : "b84a2f71-5112-3420-9391-4b055a1463b7",
"path" : "/Users/USER/
/libtcl8.6.dylib",
"name" : "libtcl8.6.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4386324480,
"size" : 65536,
"uuid" : "48f6438b-447d-3a20-832c-6ae6971ee345",
"path" : "/Users/USER//_tkinter.cpython-310-darwin.so",
"name" : "_tkinter.cpython-310-darwin.so"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4375855104,
"size" : 3211264,
"uuid" : "17cf3cb5-0a5a-332f-9993-8461d8524238",
"path" : "/Users/USER/
/python3.10",
"name" : "python3.10"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7373574144,
"CFBundleShortVersionString" : "2.1.1",
"CFBundleIdentifier" : "com.apple.HIToolbox",
"size" : 3358720,
"uuid" : "07987381-b579-3f72-8ba8-97fa5b5a3352",
"path" : "/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox",
"name" : "HIToolbox"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 4381392896,
"size" : 393216,
"uuid" : "6c9a46d9-7137-3785-afc9-7feeceb8cadb",
"path" : "/usr/lib/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7225593856,
"size" : 229376,
"uuid" : "4b67e099-d4a8-37e2-a8be-f4718e5dc028",
"path" : "/usr/lib/system/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7225823232,
"size" : 53248,
"uuid" : "569fc817-bb09-3ef2-8b18-af7f7bd615ec",
"path" : "/usr/lib/system/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
}
],
"sharedCache" : {
"base" : 7222525952,
"size" : 3144908800,
"uuid" : "ea82cd22-1891-38ad-bbc7-f9014dee2001"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=852.5M resident=0K(0%) swapped_out_or_unallocated=852.5M(100%)\nWritable regions: Total=2.0G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.0G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 768K 6 \nActivity Tracing 256K 1 \nCG backing stores 8576K 8 \nCG image 800K 8 \nColorSync 624K 27 \nCoreAnimation 51.0M 16 \nCoreGraphics 48K 3 \nCoreUI image data 1888K 13 \nFoundation 16K 1 \nKernel Alloc Once 32K 1 \nMALLOC 316.7M 232 \nMALLOC guard page 192K 11 \nMALLOC_MEDIUM (reserved) 1.2G 10 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nSTACK GUARD 176K 11 \nStack 36.4M 11 \nVM_ALLOCATE 17.0M 40 \n__AUTH 1905K 178 \n__AUTH_CONST 10.9M 331 \n__CTF 756 1 \n__DATA 9871K 379 \n__DATA_CONST 13.3M 389 \n__DATA_DIRTY 858K 117 \n__FONT_DATA 4K 1 \n__LINKEDIT 582.1M 60 \n__OBJC_CONST 1781K 155 \n__OBJC_RO 83.0M 1 \n__OBJC_RW 3168K 1 \n__TEXT 270.4M 405 \n__UNICODE 592K 1 \ndyld private memory 1024K 1 \nmapped file 166.9M 25 \nshared memory 1408K 15 \n=========== ======= ======= \nTOTAL 3.1G 2460 \nTOTAL, minus reserved VM space 1.5G 2460 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.apple.main-thread"
}
},
"trialInfo" : {
"rollouts" : [

],
"experiments" : [

]
}
}

Model: MacBookPro18,2, BootROM 10151.1.1, proc 10:8:2 processors, 64 GB, SMC
Graphics: Apple M1 Max, Apple M1 Max, Built-In
Display: DELL UP3216Q, 6016 x 3384, Main, MirrorOff, Online
Display: Color LCD, 3456 x 2234 Retina, MirrorOff, Online
Memory Module: LPDDR5
AirPort: Wi-Fi, wl0: Apr 6 2022 05:55:54 version 20.90.45.0.8.7.118 FWID 01-e7138ff2
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB3.0 Hub
USB Device: USB3.1 Hub
USB Device: AX88179A
USB Device: USB2.0 Hub
USB Device: USB2.1 Hub
USB Device: USB 2.0 Hub
USB Device: FT232R USB UART
USB Device: USB Mouse
USB Device: USB Billboard Device
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Device: WD19TB Thunderbolt Dock, Dell, 1, 60.60

@semuadmin
Copy link
Contributor

semuadmin commented Dec 28, 2023

Hi @jxl77,

Sorry you're having difficulties. The 'Save Configuration' facility has been tested on a variety of Apple MacOS devices - both Intel and Apple Silicon - and I've not come across this issue before. I'm unable to reproduce the error on my own 2021 Macbook Pro (Apple M1 Max) running MacOS Sonama 14.2.1 and using versions of Python from 3.8 to 3.12.

When you say PyGPSClient 'crashes', is there a Python error traceback available at the terminal? Unfortunately the detailed configuration data doesn't really help me much.

Are you able to use any other function which involves a “write to disk” operation e.g. data logging or GPX track recording? If not, it may be a local Python write permissions issue.

Are you running PyGPSClient in a virtual environment or VM?

Where are you trying to save the configuration to?

Other than this error, does PyGPSClient run normally?

I note you're running MacOS 12 (Monterey) - do I take it your machine doesn't support later versions? I also note you're using one or two external monitors - does the issue still occur if you disconnect those monitors and just use the Macbook's native screen?

@jxl77
Copy link
Author

jxl77 commented Dec 29, 2023 via email

@semuadmin
Copy link
Contributor

semuadmin commented Dec 29, 2023

Your OS error report includes:

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

This indicates an attempt to access unmapped memory. This may indicate a corrupt Python installation on your platform, though I'm at a loss to explain why this would only manifest itself during a Python write() operation.

  1. How did you install Python 3.10 on your platform? Was it from the official Python.org download?
  2. Could you try running the following code snippet and let me know the response:
import tkinter
tcl = tkinter.Tcl()
print(f'tkinter version is {tcl.call("info", "patchlevel")}')

You should see something like this:

tkinter version is 8.6.13

If the reported tkinter version is less than 8.6.n, you'll need to reinstall Python from the official Python.org repository. PyGPSClient is only compatible with tkinter >= 8.6.

  1. You could also try running the following code snippet to establish if there is a general issue with Python file write permissions:
import os

fname = "testfile.txt"
with open(fname, "w", encoding="utf-8") as outfile:
    print(f"file {fname} created OK")
    outfile.write("this is a test")
    print(f"file {fname} written OK")
os.remove(fname)
print(f"file {fname} deleted OK")

@semuadmin
Copy link
Contributor

Hi @jxl77 Are you able to provide any further diagnostics on this, as per previous response?

@jxl77
Copy link
Author

jxl77 commented Jan 8, 2024

Thanks for your concern.

Since my first trys, I have decided to upgrade my system to the latest Somona.
I have also cleaned my python installation (there were 4 versions installed by different manners)
Pygpsclient is now working properly.

The bad thing is that I can no longer reproduce the bug which could have originated from various sources.

Thanks for your efforts.

@semuadmin
Copy link
Contributor

Thanks for your concern.

Since my first trys, I have decided to upgrade my system to the latest Somona. I have also cleaned my python installation (there were 4 versions installed by different manners) Pygpsclient is now working properly.

The bad thing is that I can no longer reproduce the bug which could have originated from various sources.

Thanks for your efforts.

OK glad it's sorted. Are you happy to close the issue now?

@jxl77
Copy link
Author

jxl77 commented Jan 8, 2024

yes, we can close it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants