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

Clicking wxMaxima --> Preferences on MacOS Results in Immediate Crash, Thus Can't Set Any Preferences #1749

Closed
lvwarren opened this issue Feb 14, 2023 · 22 comments

Comments

@lvwarren
Copy link

wxMaxima version: 21.02.0_MAC
using wxWidgets version: wxWidgets 3.0.5
Maxima version: 5.46.0
Maxima build date: 2023-01-18 10:00:48
Host type: x86_64-apple-darwin21.3.0
System type: Darwin 21.6.0 X86-64
Lisp implementation type: SBCL
Lisp implementation version: 2.3.0
wxMaxima's idea of the directory layout is:
User configuration dir: /Users/van/.maxima/
Help dir: /Applications/MacPorts/wxMaxima.app/Contents/Resources


MacOS Monterey Version 12.6.3

Hardware Overview:

Model Name: iMac
Model Identifier: iMac17,1
Processor Name: Quad-Core Intel Core i5
Processor Speed: 3.2 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 6 MB
Memory: 32 GB
System Firmware Version: 170.0.0.0.0
OS Loader Version: 540.120.3~22
SMC Version (system): 2.33f12


Clicking Help --> Check for Updates yields:

You have version 21.02.0. Current version is 23.02.0.

Click OK to visit wxMaxima web page,

This trail leads back to the current installation

@gunterkoenigsmann
Copy link
Member

I believe that problem has been resolved about 2 years ago. So I guess problem is: You are installing wxMaxima using macPorts, right? => We should find out why macPorts never updated wxMaxima to a newer version

@lvwarren
Copy link
Author

lvwarren commented Feb 14, 2023 via email

@gunterkoenigsmann
Copy link
Member

Tried to forward the ticket to https://trac.macports.org/ticket/66914#ticket.

@lvwarren
Copy link
Author

lvwarren commented Feb 14, 2023 via email

@tomio-arisaka
Copy link

If you have already installed MacPorts, you can use my port files to install wxMaxima-23.02.0 as follows:

(1) download the MacPorts-Maxima-5.46.0-20230215.dmg.zip file into the "${HOME}/Downloads" directory.

(2) enter the next command in order to remove the "quarantine" attribute of the MacPorts-Maxima-5.46.0-20230215.dmg file:

    ls -lt@ ${HOME}/Downloads/MacPorts-Maxima-5.46.0-20230215.dmg
    xattr -d com.apple.quarantine ${HOME}/Downloads/MacPorts-Maxima-5.46.0-20230215.dmg

(3) open the MacPorts-Maxima-5.46.0-20230215.dmg file and enter the next command:

    sudo port selfupdate; sh /Volumes/MacPorts-Maxima/copy_portfiles.sh

"copy_portfiles.sh" is a shell-script which copies port files (ccl-devel, clisp-devel, ecl-devel, gcl, sbcl, maxima, maxima-devel, texmacs, vtk, and wxmaxima) into MacPorts directory.
After that, when executing "sudo port selfupdate", copied port files are overwritten.

If you don't like "copy_portfiles.sh", you can look into the content of "copy_portfiles.sh" and change it to what you want. Of course, you can manually copy the wxMaxima port file into MacPorts directory.

(4) build and install wxMaxima-23.02.0:

    sudo port install wxmaxima +wx32

The "+wx32" variant means that wxWidgets-3.2 port is used.

MacPorts-Maxima-5.46.0-20230215.dmg.zip

@lvwarren
Copy link
Author

Tomio - You are a gem, an asset to the symbolic computing community.

I followed your clear instructions to the letter. The identical crash still occurs when wxMaxima --> Preferences menu is selected.

Here is the report:
Screen Shot 2023-02-16 at 1 18 40 PM
Screen Shot 2023-02-16 at 1 18 32 PM


Translated Report (Full Report Below)

Process: wxmaxima [12288]
Path: /Applications/MacPorts/wxMaxima.app/Contents/MacOS/wxMaxima
Identifier: wxmaxima
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2023-02-16 13:18:47.5817 -0600
OS Version: macOS 12.6.3 (21G419)
Report Version: 12
Anonymous UUID: 4C92024A-4177-C46E-4187-41DA456C4F1E

Sleep/Wake UUID: F9D1DFCB-E348-45B5-AF7B-26A04072FB2E

Time Awake Since Boot: 290000 seconds
Time Since Wake: 2464 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process: exc handler [12288]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libwx_baseu-3.1.5.0.0.dylib 0x1102557b9 wxDefaultAssertHandler(wxString const&, int, wxString const&, wxString const&, wxString const&) + 131
1 libwx_baseu-3.1.5.0.0.dylib 0x110253c1e wxOnAssert(char const*, int, char const*, char const*, char const*) + 121
2 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x11071459d wxVector<wxWindow*>::at(unsigned long) const + 65
3 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1107a4168 wxBookCtrlBase::GetPage(unsigned long) const + 16
4 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1107137d7 wxBookCtrlBase::DoGetBestSize() const + 61
5 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1107d9029 wxWindowBase::GetBestSize() const + 79
6 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1107d9713 wxWindowBase::GetEffectiveMinSize() const + 51
7 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1107bb057 wxSizerItem::CalcMin() + 157
8 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1107bf3eb wxBoxSizer::CalcMin() + 105
9 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1107bafe5 wxSizerItem::CalcMin() + 43
10 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1107bf3eb wxBoxSizer::CalcMin() + 105
11 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1107bc0a3 wxSizer::ComputeFittingClientSize(wxWindow*) + 39
12 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1107d9ae1 wxWindowBase::WXSetInitialFittingClientSize(int) + 37
13 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1107bc2ff wxSizer::Fit(wxWindow*) + 35
14 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x110897e06 wxPropertySheetDialog::LayoutDialog(int) + 28
15 libwx_baseu-3.1.5.0.0.dylib 0x1103398b0 wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) + 88
16 libwx_baseu-3.1.5.0.0.dylib 0x1103397a8 wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 124
17 libwx_baseu-3.1.5.0.0.dylib 0x11033a948 wxEvtHandler::TryHereOnly(wxEvent&) + 70
18 libwx_baseu-3.1.5.0.0.dylib 0x11033a87c wxEvtHandler::ProcessEventLocally(wxEvent&) + 34
19 libwx_baseu-3.1.5.0.0.dylib 0x11033a788 wxEvtHandler::ProcessEvent(wxEvent&) + 40
20 libwx_baseu-3.1.5.0.0.dylib 0x11033ab40 wxEvtHandler::SafelyProcessEvent(wxEvent&) + 12
21 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1107dd06f wxWindowBase::SendIdleEvents(wxIdleEvent&) + 71
22 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1107dd092 wxWindowBase::SendIdleEvents(wxIdleEvent&) + 106
23 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x11070d75b wxAppBase::ProcessIdle() + 131
24 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x110679530 wxApp::ProcessIdle() + 26
25 libwx_baseu-3.1.5.0.0.dylib 0x110314b1e wxCFEventLoop::CommonModeObserverCallBack(__CFRunLoopObserver*, int) + 74
26 CoreFoundation 0x7ff810ed9520 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23
27 CoreFoundation 0x7ff810ed93b2 __CFRunLoopDoObservers + 543
28 CoreFoundation 0x7ff810ed8967 __CFRunLoopRun + 1131
29 CoreFoundation 0x7ff810ed7e3c CFRunLoopRunSpecific + 562
30 Foundation 0x7ff811d35d4a -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 216
31 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1106cf9ef wxGUIEventLoop::DoDispatchTimeout(unsigned long) + 189
32 libwx_baseu-3.1.5.0.0.dylib 0x110314ed1 wxCFEventLoop::DispatchTimeout(unsigned long) + 35
33 libwx_baseu-3.1.5.0.0.dylib 0x110314fa1 wxCFEventLoop::OSXDoRun() + 27
34 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1106cfefe wxModalEventLoop::OSXDoRun() + 110
35 libwx_baseu-3.1.5.0.0.dylib 0x11031502f wxCFEventLoop::DoRun() + 29
36 libwx_baseu-3.1.5.0.0.dylib 0x11027c291 wxEventLoopBase::Run() + 161
37 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x11064333f wxDialog::ShowModal() + 101
38 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x110818130 wxGenericMessageDialog::ShowModal() + 56
39 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x11070da8e wxGUIAppTraitsBase::ShowAssertDialog(wxString const&) + 480
40 libwx_baseu-3.1.5.0.0.dylib 0x110254fa8 ShowAssertDialog(wxString const&, int, wxString const&, wxString const&, wxString const&, wxAppTraits*) + 689
41 libwx_baseu-3.1.5.0.0.dylib 0x110254be1 wxAppConsoleBase::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*) + 205
42 libwx_baseu-3.1.5.0.0.dylib 0x11025583e wxDefaultAssertHandler(wxString const&, int, wxString const&, wxString const&, wxString const&) + 264
43 libwx_baseu-3.1.5.0.0.dylib 0x110253c1e wxOnAssert(char const*, int, char const*, char const*, char const*) + 121
44 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1108987b1 wxVector<wxWindow*>::at(unsigned long) + 65
45 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x11082e310 wxBookCtrlBase::TryGetNonNullPage(unsigned long) + 16
46 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x110714185 wxBookCtrlBase::DoSetSelection(unsigned long, int) + 167
47 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x11082de5b wxToolbook::InsertPage(unsigned long, wxWindow*, wxString const&, bool, int) + 611
48 wxmaxima 0x10ebb3dbe ConfigDialogue::ConfigDialogue(wxWindow*, Configuration*) + 10606
49 wxmaxima 0x10ebdb2b5 ConfigDialogue::ConfigDialogue(wxWindow*, Configuration*) + 37
50 wxmaxima 0x10edaa614 wxMaxima::EditMenu(wxCommandEvent&) + 6788
51 libwx_baseu-3.1.5.0.0.dylib 0x1103398b0 wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) + 88
52 libwx_baseu-3.1.5.0.0.dylib 0x11033a9f5 wxEvtHandler::SearchDynamicEventTable(wxEvent&) + 119
53 libwx_baseu-3.1.5.0.0.dylib 0x11033a92a wxEvtHandler::TryHereOnly(wxEvent&) + 40
54 libwx_baseu-3.1.5.0.0.dylib 0x11033a8c0 wxEvtHandler::DoTryChain(wxEvent&) + 42
55 libwx_baseu-3.1.5.0.0.dylib 0x11033a788 wxEvtHandler::ProcessEvent(wxEvent&) + 40
56 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1107deb3d wxWindowBase::TryAfter(wxEvent&) + 149
57 libwx_baseu-3.1.5.0.0.dylib 0x11033ab40 wxEvtHandler::SafelyProcessEvent(wxEvent&) + 12
58 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1107a1a02 wxMenuBase::DoProcessEvent(wxMenuBase*, wxEvent&, wxWindow*) + 122
59 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1107a18fc wxMenuBase::SendEvent(int, int) + 164
60 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1106646e9 wxMenu::HandleCommandProcess(wxMenuItem*) + 107
61 AppKit 0x7ff813b160ce -[NSApplication(NSResponder) sendAction:to:from:] + 288
62 AppKit 0x7ff813c0ac50 -[NSMenuItem _corePerformAction] + 413
63 AppKit 0x7ff813c0a972 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 95
64 AppKit 0x7ff813c552bf -[NSMenu performActionForItemAtIndex:] + 113
65 AppKit 0x7ff813c55245 -[NSMenu _internalPerformActionForItemAtIndex:] + 82
66 AppKit 0x7ff813c5508c -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 101
67 AppKit 0x7ff813bef222 NSSLMMenuEventHandler + 1074
68 HIToolbox 0x7ff819b6134d DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1365
69 HIToolbox 0x7ff819b6079c SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 333
70 HIToolbox 0x7ff819b753a9 SendEventToEventTarget + 39
71 HIToolbox 0x7ff819bd32e5 SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 361
72 HIToolbox 0x7ff819bf8457 SendMenuCommandWithContextAndModifiers + 46
73 HIToolbox 0x7ff819bf8405 SendMenuItemSelectedEvent + 344
74 HIToolbox 0x7ff819bf8250 FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 96
75 HIToolbox 0x7ff819bf8c48 MenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef**, unsigned short*) + 625
76 HIToolbox 0x7ff819bf893e _HandleMenuSelection2 + 456
77 AppKit 0x7ff813ab0719 _NSHandleCarbonMenuEvent + 215
78 AppKit 0x7ff813ab0586 _DPSEventHandledByCarbon + 54
79 AppKit 0x7ff813910e20 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3368
80 AppKit 0x7ff813902d19 -[NSApplication run] + 586
81 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1106cfb89 wxGUIEventLoop::OSXDoRun() + 165
82 libwx_baseu-3.1.5.0.0.dylib 0x11031502f wxCFEventLoop::DoRun() + 29
83 libwx_baseu-3.1.5.0.0.dylib 0x11027c291 wxEventLoopBase::Run() + 161
84 libwx_baseu-3.1.5.0.0.dylib 0x110253642 wxAppConsoleBase::MainLoop() + 90
85 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x110679572 wxApp::OnRun() + 26
86 wxmaxima 0x10ed5c8e2 MyApp::OnRun() + 50
87 wxmaxima 0x10ed56ecd CommonMain() + 45
88 wxmaxima 0x10ed5756e main + 78
89 dyld 0x11270a52e start + 462

Thread 1:
0 libsystem_pthread.dylib 0x7ff810e0ef48 start_wqthread + 0

Thread 2:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x7ff810dd697a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x7ff810dd6ce8 mach_msg + 56
2 CoreFoundation 0x7ff810eda36d __CFRunLoopServiceMachPort + 319
3 CoreFoundation 0x7ff810ed89f8 __CFRunLoopRun + 1276
4 CoreFoundation 0x7ff810ed7e3c CFRunLoopRunSpecific + 562
5 AppKit 0x7ff813a7f9ce _NSEventThread + 132
6 libsystem_pthread.dylib 0x7ff810e134e1 _pthread_start + 125
7 libsystem_pthread.dylib 0x7ff810e0ef6b thread_start + 15

Thread 3:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x7ff810dded5a __select + 10
1 CoreFoundation 0x7ff810f01679 __CFSocketManager + 641
2 libsystem_pthread.dylib 0x7ff810e134e1 _pthread_start + 125
3 libsystem_pthread.dylib 0x7ff810e0ef6b thread_start + 15

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

Thread 5:
0 libsystem_pthread.dylib 0x7ff810e0ef48 start_wqthread + 0

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

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

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000001 rbx: 0x00007ff7b13f8840 rcx: 0x0000000000000002 rdx: 0x0000000092e160d0
rdi: 0x00000000000000f3 rsi: 0x0000600000aff3c0 rbp: 0x00007ff7b13f88a0 rsp: 0x00007ff7b13f8840
r8: 0x00000000000033c0 r9: 0x0000000000000040 r10: 0x00000000000007fb r11: 0x00000000000000ff
r12: 0x0000000000000000 r13: 0x00007ff7b13f88e0 r14: 0x00007ff7b13f88b8 r15: 0x00007ff7b13f8908
rip: 0x00000001102557b9 rfl: 0x0000000000000202 cr2: 0x000000010e667000

Logical CPU: 3
Error Code: 0x00000000
Trap Number: 3

Thread 0 instruction stream:
35 85 02 13 00 48 8d 5d-a0 48 89 df e8 b6 36 05 5....H.].H....6.
00 48 89 df e8 6e 08 08-00 41 89 c4 48 8b 7d b8 .H...n...A..H.}.
e8 56 72 0f 00 f6 45 a0-01 74 09 48 8b 7d b0 e8 .Vr...E..t.H.}..
c7 70 0f 00 45 85 e4 0f-85 c0 00 00 00 48 8d 05 .p..E........H..
b3 fa 14 00 48 89 45 a0-8b 05 a9 fa 14 00 8d 48 ....H.E........H
01 89 0d a0 fa 14 00 85-c0 0f 95 45 a8 74 06 cc ...........E.t..
[e9]80 00 00 00 48 8b 3d-a3 be 14 00 48 85 ff 74 .....H.=....H..t <==
0c 41 f6 06 01 74 20 4d-8b 76 10 eb 1e 4c 89 f7 .A...t M.v...L..
8b 75 d4 4c 89 ea 4c 89-f9 4c 8b 45 c8 45 31 c9 .u.L..L..L.E.E1.
e8 09 f5 ff ff eb 4e 49-83 c6 04 4c 8b 4d c8 41 ......NI...L.M.A
f6 45 00 01 74 06 4d 8b-6d 10 eb 04 49 83 c5 04 .E..t.M.m...I...
41 f6 07 01 74 06 4d 8b-7f 10 eb 04 49 83 c7 04 A...t.M.....I...

Binary Images:
0x110249000 - 0x110394fff libwx_baseu-3.1.5.0.0.dylib () /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.1/lib/libwx_baseu-3.1.5.0.0.dylib
0x11062c000 - 0x110963fff libwx_osx_cocoau_core-3.1.5.0.0.dylib (
) <99a015be-7585-36f4-96e3-7b66911f1fe1> /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.1/lib/libwx_osx_cocoau_core-3.1.5.0.0.dylib
0x7ff810e5a000 - 0x7ff81135cfff com.apple.CoreFoundation (6.9) <93c48919-68af-367e-9a67-db4159bc962c> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7ff811cd6000 - 0x7ff812092fff com.apple.Foundation (6.9) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x10eaff000 - 0x10f1aefff wxmaxima () <437bcfad-9fdb-3ed2-8e70-abf97cc90bd0> /Applications/MacPorts/wxMaxima.app/Contents/MacOS/wxmaxima
0x7ff8138d3000 - 0x7ff814762fff com.apple.AppKit (6.9) <11be8778-f5e5-3ccb-bcc3-10ffea3bf44b> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7ff819b59000 - 0x7ff819e4cfff com.apple.HIToolbox (2.1.1) <06fdecd6-9f69-397b-b1e2-a8226c0ba7ed> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x112705000 - 0x112770fff dyld (
) <006a3e6f-3cd3-34d9-b0f2-ed6bd67a95a6> /usr/lib/dyld
0x7ff810e0d000 - 0x7ff810e18fff libsystem_pthread.dylib () /usr/lib/system/libsystem_pthread.dylib
0x7ff810dd5000 - 0x7ff810e0cfff libsystem_kernel.dylib (
) /usr/lib/system/libsystem_kernel.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=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)
Writable regions: Total=1.2G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.2G(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 512K 4
Activity Tracing 256K 1
CG backing stores 3840K 4
CG image 1100K 47
CG raster data 392K 35
ColorSync 228K 27
CoreAnimation 168.1M 158
CoreGraphics 12K 2
CoreUI image data 4376K 33
Foundation 32K 2
Kernel Alloc Once 8K 1
MALLOC 254.2M 44
MALLOC guard page 48K 12
MALLOC_MEDIUM (reserved) 448.0M 4 reserved VM address space (unallocated)
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
ObjC additional data 15K 1
STACK GUARD 56.0M 8
Stack 11.6M 11
VM_ALLOCATE 116K 27
__CTF 756 1
__DATA 23.9M 396
__DATA_CONST 24.1M 248
__DATA_DIRTY 991K 138
__FONT_DATA 4K 1
__LINKEDIT 657.0M 26
__TEXT 421.9M 415
__UNICODE 592K 1
dyld private memory 1024K 1
mapped file 395.6M 34
shared memory 768K 14
=========== ======= =======
TOTAL 2.8G 1697
TOTAL, minus reserved VM space 2.0G 1697


Full Report

{"app_name":"wxmaxima","timestamp":"2023-02-16 13:18:50.00 -0600","app_version":"","slice_uuid":"437bcfad-9fdb-3ed2-8e70-abf97cc90bd0","build_version":"","platform":1,"share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS 12.6.3 (21G419)","incident_id":"F0885BB6-4C5F-4E2D-96EB-263C6B87B716","name":"wxmaxima"}
{
"uptime" : 290000,
"procLaunch" : "2023-02-16 13:17:54.4455 -0600",
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "iMac17,1",
"procStartAbsTime" : 292685816769956,
"coalitionID" : 25657,
"osVersion" : {
"train" : "macOS 12.6.3",
"build" : "21G419",
"releaseType" : "User"
},
"captureTime" : "2023-02-16 13:18:47.5817 -0600",
"incident" : "F0885BB6-4C5F-4E2D-96EB-263C6B87B716",
"bug_type" : "309",
"pid" : 12288,
"procExitAbsTime" : 292738944856444,
"cpuType" : "X86-64",
"procName" : "wxmaxima",
"procPath" : "/Applications/MacPorts/wxMaxima.app/Contents/MacOS/wxMaxima",
"parentProc" : "launchd",
"parentPid" : 1,
"crashReporterKey" : "4C92024A-4177-C46E-4187-41DA456C4F1E",
"wakeTime" : 2464,
"sleepWakeUUID" : "F9D1DFCB-E348-45B5-AF7B-26A04072FB2E",
"sip" : "enabled",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000002, 0x0000000000000000","rawCodes":[2,0],"type":"EXC_BREAKPOINT","signal":"SIGTRAP"},
"termination" : {"flags":0,"code":5,"namespace":"SIGNAL","indicator":"Trace/BPT trap: 5","byProc":"exc handler","byPid":12288},
"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":2488967,"instructionState":{"instructionStream":{"bytes":[53,133,2,19,0,72,141,93,160,72,137,223,232,182,54,5,0,72,137,223,232,110,8,8,0,65,137,196,72,139,125,184,232,86,114,15,0,246,69,160,1,116,9,72,139,125,176,232,199,112,15,0,69,133,228,15,133,192,0,0,0,72,141,5,179,250,20,0,72,137,69,160,139,5,169,250,20,0,141,72,1,137,13,160,250,20,0,133,192,15,149,69,168,116,6,204,233,128,0,0,0,72,139,61,163,190,20,0,72,133,255,116,12,65,246,6,1,116,32,77,139,118,16,235,30,76,137,247,139,117,212,76,137,234,76,137,249,76,139,69,200,69,49,201,232,9,245,255,255,235,78,73,131,198,4,76,139,77,200,65,246,69,0,1,116,6,77,139,109,16,235,4,73,131,197,4,65,246,7,1,116,6,77,139,127,16,235,4,73,131,199,4],"offset":96}},"threadState":{"r13":{"value":140701807380704},"rax":{"value":1},"rflags":{"value":514},"cpu":{"value":3},"r14":{"value":140701807380664},"rsi":{"value":105553127797696},"r8":{"value":13248},"cr2":{"value":4536561664},"rdx":{"value":2464243920},"r10":{"value":2043},"r9":{"value":64},"r15":{"value":140701807380744},"rbx":{"value":140701807380544},"trap":{"value":3},"err":{"value":0},"r11":{"value":255},"rip":{"value":4565850041,"matchesCrashFrame":1},"rbp":{"value":140701807380640},"rsp":{"value":140701807380544},"r12":{"value":0},"rcx":{"value":2},"flavor":"x86_THREAD_STATE","rdi":{"value":243}},"queue":"com.apple.main-thread","frames":[{"imageOffset":51129,"symbol":"wxDefaultAssertHandler(wxString const&, int, wxString const&, wxString const&, wxString const&)","symbolLocation":131,"imageIndex":0},{"imageOffset":44062,"symbol":"wxOnAssert(char const*, int, char const*, char const*, char const*)","symbolLocation":121,"imageIndex":0},{"imageOffset":951709,"symbol":"wxVector<wxWindow*>::at(unsigned long) const","symbolLocation":65,"imageIndex":1},{"imageOffset":1540456,"symbol":"wxBookCtrlBase::GetPage(unsigned long) const","symbolLocation":16,"imageIndex":1},{"imageOffset":948183,"symbol":"wxBookCtrlBase::DoGetBestSize() const","symbolLocation":61,"imageIndex":1},{"imageOffset":1757225,"symbol":"wxWindowBase::GetBestSize() const","symbolLocation":79,"imageIndex":1},{"imageOffset":1758995,"symbol":"wxWindowBase::GetEffectiveMinSize() const","symbolLocation":51,"imageIndex":1},{"imageOffset":1634391,"symbol":"wxSizerItem::CalcMin()","symbolLocation":157,"imageIndex":1},{"imageOffset":1651691,"symbol":"wxBoxSizer::CalcMin()","symbolLocation":105,"imageIndex":1},{"imageOffset":1634277,"symbol":"wxSizerItem::CalcMin()","symbolLocation":43,"imageIndex":1},{"imageOffset":1651691,"symbol":"wxBoxSizer::CalcMin()","symbolLocation":105,"imageIndex":1},{"imageOffset":1638563,"symbol":"wxSizer::ComputeFittingClientSize(wxWindow*)","symbolLocation":39,"imageIndex":1},{"imageOffset":1759969,"symbol":"wxWindowBase::WXSetInitialFittingClientSize(int)","symbolLocation":37,"imageIndex":1},{"imageOffset":1639167,"symbol":"wxSizer::Fit(wxWindow*)","symbolLocation":35,"imageIndex":1},{"imageOffset":2539014,"symbol":"wxPropertySheetDialog::LayoutDialog(int)","symbolLocation":28,"imageIndex":1},{"imageOffset":985264,"symbol":"wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)","symbolLocation":88,"imageIndex":0},{"imageOffset":985000,"symbol":"wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)","symbolLocation":124,"imageIndex":0},{"imageOffset":989512,"symbol":"wxEvtHandler::TryHereOnly(wxEvent&)","symbolLocation":70,"imageIndex":0},{"imageOffset":989308,"symbol":"wxEvtHandler::ProcessEventLocally(wxEvent&)","symbolLocation":34,"imageIndex":0},{"imageOffset":989064,"symbol":"wxEvtHandler::ProcessEvent(wxEvent&)","symbolLocation":40,"imageIndex":0},{"imageOffset":990016,"symbol":"wxEvtHandler::SafelyProcessEvent(wxEvent&)","symbolLocation":12,"imageIndex":0},{"imageOffset":1773679,"symbol":"wxWindowBase::SendIdleEvents(wxIdleEvent&)","symbolLocation":71,"imageIndex":1},{"imageOffset":1773714,"symbol":"wxWindowBase::SendIdleEvents(wxIdleEvent&)","symbolLocation":106,"imageIndex":1},{"imageOffset":923483,"symbol":"wxAppBase::ProcessIdle()","symbolLocation":131,"imageIndex":1},{"imageOffset":316720,"symbol":"wxApp::ProcessIdle()","symbolLocation":26,"imageIndex":1},{"imageOffset":834334,"symbol":"wxCFEventLoop::CommonModeObserverCallBack(__CFRunLoopObserver*, int)","symbolLocation":74,"imageIndex":0},{"imageOffset":521504,"symbol":"CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION","symbolLocation":23,"imageIndex":2},{"imageOffset":521138,"symbol":"__CFRunLoopDoObservers","symbolLocation":543,"imageIndex":2},{"imageOffset":518503,"symbol":"__CFRunLoopRun","symbolLocation":1131,"imageIndex":2},{"imageOffset":515644,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":2},{"imageOffset":392522,"symbol":"-[NSRunLoop(NSRunLoop) runMode:beforeDate:]","symbolLocation":216,"imageIndex":3},{"imageOffset":670191,"symbol":"wxGUIEventLoop::DoDispatchTimeout(unsigned long)","symbolLocation":189,"imageIndex":1},{"imageOffset":835281,"symbol":"wxCFEventLoop::DispatchTimeout(unsigned long)","symbolLocation":35,"imageIndex":0},{"imageOffset":835489,"symbol":"wxCFEventLoop::OSXDoRun()","symbolLocation":27,"imageIndex":0},{"imageOffset":671486,"symbol":"wxModalEventLoop::OSXDoRun()","symbolLocation":110,"imageIndex":1},{"imageOffset":835631,"symbol":"wxCFEventLoop::DoRun()","symbolLocation":29,"imageIndex":0},{"imageOffset":209553,"symbol":"wxEventLoopBase::Run()","symbolLocation":161,"imageIndex":0},{"imageOffset":95039,"symbol":"wxDialog::ShowModal()","symbolLocation":101,"imageIndex":1},{"imageOffset":2015536,"symbol":"wxGenericMessageDialog::ShowModal()","symbolLocation":56,"imageIndex":1},{"imageOffset":924302,"symbol":"wxGUIAppTraitsBase::ShowAssertDialog(wxString const&)","symbolLocation":480,"imageIndex":1},{"imageOffset":49064,"symbol":"ShowAssertDialog(wxString const&, int, wxString const&, wxString const&, wxString const&, wxAppTraits*)","symbolLocation":689,"imageIndex":0},{"imageOffset":48097,"symbol":"wxAppConsoleBase::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*)","symbolLocation":205,"imageIndex":0},{"imageOffset":51262,"symbol":"wxDefaultAssertHandler(wxString const&, int, wxString const&, wxString const&, wxString const&)","symbolLocation":264,"imageIndex":0},{"imageOffset":44062,"symbol":"wxOnAssert(char const*, int, char const*, char const*, char const*)","symbolLocation":121,"imageIndex":0},{"imageOffset":2541489,"symbol":"wxVector<wxWindow*>::at(unsigned long)","symbolLocation":65,"imageIndex":1},{"imageOffset":2106128,"symbol":"wxBookCtrlBase::TryGetNonNullPage(unsigned long)","symbolLocation":16,"imageIndex":1},{"imageOffset":950661,"symbol":"wxBookCtrlBase::DoSetSelection(unsigned long, int)","symbolLocation":167,"imageIndex":1},{"imageOffset":2104923,"symbol":"wxToolbook::InsertPage(unsigned long, wxWindow*, wxString const&, bool, int)","symbolLocation":611,"imageIndex":1},{"imageOffset":740798,"symbol":"ConfigDialogue::ConfigDialogue(wxWindow*, Configuration*)","symbolLocation":10606,"imageIndex":4},{"imageOffset":901813,"symbol":"ConfigDialogue::ConfigDialogue(wxWindow*, Configuration*)","symbolLocation":37,"imageIndex":4},{"imageOffset":2799124,"symbol":"wxMaxima::EditMenu(wxCommandEvent&)","symbolLocation":6788,"imageIndex":4},{"imageOffset":985264,"symbol":"wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)","symbolLocation":88,"imageIndex":0},{"imageOffset":989685,"symbol":"wxEvtHandler::SearchDynamicEventTable(wxEvent&)","symbolLocation":119,"imageIndex":0},{"imageOffset":989482,"symbol":"wxEvtHandler::TryHereOnly(wxEvent&)","symbolLocation":40,"imageIndex":0},{"imageOffset":989376,"symbol":"wxEvtHandler::DoTryChain(wxEvent&)","symbolLocation":42,"imageIndex":0},{"imageOffset":989064,"symbol":"wxEvtHandler::ProcessEvent(wxEvent&)","symbolLocation":40,"imageIndex":0},{"imageOffset":1780541,"symbol":"wxWindowBase::TryAfter(wxEvent&)","symbolLocation":149,"imageIndex":1},{"imageOffset":990016,"symbol":"wxEvtHandler::SafelyProcessEvent(wxEvent&)","symbolLocation":12,"imageIndex":0},{"imageOffset":1530370,"symbol":"wxMenuBase::DoProcessEvent(wxMenuBase*, wxEvent&, wxWindow*)","symbolLocation":122,"imageIndex":1},{"imageOffset":1530108,"symbol":"wxMenuBase::SendEvent(int, int)","symbolLocation":164,"imageIndex":1},{"imageOffset":231145,"symbol":"wxMenu::HandleCommandProcess(wxMenuItem*)","symbolLocation":107,"imageIndex":1},{"imageOffset":2371790,"symbol":"-[NSApplication(NSResponder) sendAction:to:from:]","symbolLocation":288,"imageIndex":5},{"imageOffset":3374160,"symbol":"-[NSMenuItem _corePerformAction]","symbolLocation":413,"imageIndex":5},{"imageOffset":3373426,"symbol":"-[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:]","symbolLocation":95,"imageIndex":5},{"imageOffset":3678911,"symbol":"-[NSMenu performActionForItemAtIndex:]","symbolLocation":113,"imageIndex":5},{"imageOffset":3678789,"symbol":"-[NSMenu _internalPerformActionForItemAtIndex:]","symbolLocation":82,"imageIndex":5},{"imageOffset":3678348,"symbol":"-[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:]","symbolLocation":101,"imageIndex":5},{"imageOffset":3260962,"symbol":"NSSLMMenuEventHandler","symbolLocation":1074,"imageIndex":5},{"imageOffset":33613,"symbol":"DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*)","symbolLocation":1365,"imageIndex":6},{"imageOffset":30620,"symbol":"SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*)","symbolLocation":333,"imageIndex":6},{"imageOffset":115625,"symbol":"SendEventToEventTarget","symbolLocation":39,"imageIndex":6},{"imageOffset":500453,"symbol":"SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**)","symbolLocation":361,"imageIndex":6},{"imageOffset":652375,"symbol":"SendMenuCommandWithContextAndModifiers","symbolLocation":46,"imageIndex":6},{"imageOffset":652293,"symbol":"SendMenuItemSelectedEvent","symbolLocation":344,"imageIndex":6},{"imageOffset":651856,"symbol":"FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*)","symbolLocation":96,"imageIndex":6},{"imageOffset":654408,"symbol":"MenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef**, unsigned short*)","symbolLocation":625,"imageIndex":6},{"imageOffset":653630,"symbol":"_HandleMenuSelection2","symbolLocation":456,"imageIndex":6},{"imageOffset":1955609,"symbol":"_NSHandleCarbonMenuEvent","symbolLocation":215,"imageIndex":5},{"imageOffset":1955206,"symbol":"_DPSEventHandledByCarbon","symbolLocation":54,"imageIndex":5},{"imageOffset":253472,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":3368,"imageIndex":5},{"imageOffset":195865,"symbol":"-[NSApplication run]","symbolLocation":586,"imageIndex":5},{"imageOffset":670601,"symbol":"wxGUIEventLoop::OSXDoRun()","symbolLocation":165,"imageIndex":1},{"imageOffset":835631,"symbol":"wxCFEventLoop::DoRun()","symbolLocation":29,"imageIndex":0},{"imageOffset":209553,"symbol":"wxEventLoopBase::Run()","symbolLocation":161,"imageIndex":0},{"imageOffset":42562,"symbol":"wxAppConsoleBase::MainLoop()","symbolLocation":90,"imageIndex":0},{"imageOffset":316786,"symbol":"wxApp::OnRun()","symbolLocation":26,"imageIndex":1},{"imageOffset":2480354,"symbol":"MyApp::OnRun()","symbolLocation":50,"imageIndex":4},{"imageOffset":2457293,"symbol":"CommonMain()","symbolLocation":45,"imageIndex":4},{"imageOffset":2458990,"symbol":"main","symbolLocation":78,"imageIndex":4},{"imageOffset":21806,"symbol":"start","symbolLocation":462,"imageIndex":7}]},{"id":2489014,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":2489041,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6522,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":9},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":9},{"imageOffset":525165,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":2},{"imageOffset":518648,"symbol":"__CFRunLoopRun","symbolLocation":1276,"imageIndex":2},{"imageOffset":515644,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":2},{"imageOffset":1755598,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":5},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":2489049,"name":"com.apple.CFSocket.private","frames":[{"imageOffset":40282,"symbol":"__select","symbolLocation":10,"imageIndex":9},{"imageOffset":685689,"symbol":"__CFSocketManager","symbolLocation":641,"imageIndex":2},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":2489475,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":2489476,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":2489594,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":2489647,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "x86_64",
"base" : 4565798912,
"size" : 1359872,
"uuid" : "b9ddddeb-0c4d-33f4-8e08-88716f800752",
"path" : "/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.1/lib/libwx_baseu-3.1.5.0.0.dylib",
"name" : "libwx_baseu-3.1.5.0.0.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4569874432,
"size" : 3375104,
"uuid" : "99a015be-7585-36f4-96e3-7b66911f1fe1",
"path" : "/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.1/lib/libwx_osx_cocoau_core-3.1.5.0.0.dylib",
"name" : "libwx_osx_cocoau_core-3.1.5.0.0.dylib"
},
{
"source" : "P",
"arch" : "x86_64h",
"base" : 140703412101120,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.CoreFoundation",
"size" : 5255168,
"uuid" : "93c48919-68af-367e-9a67-db4159bc962c",
"path" : "/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation",
"name" : "CoreFoundation",
"CFBundleVersion" : "1866"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703427289088,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.Foundation",
"size" : 3919872,
"uuid" : "e22e60bb-ab77-3120-862f-92fa74feffcf",
"path" : "/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation",
"name" : "Foundation",
"CFBundleVersion" : "1866"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4541378560,
"size" : 7012352,
"uuid" : "437bcfad-9fdb-3ed2-8e70-abf97cc90bd0",
"path" : "/Applications/MacPorts/wxMaxima.app/Contents/MacOS/wxmaxima",
"name" : "wxmaxima"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703456636928,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.AppKit",
"size" : 15269888,
"uuid" : "11be8778-f5e5-3ccb-bcc3-10ffea3bf44b",
"path" : "/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit",
"name" : "AppKit",
"CFBundleVersion" : "2113.60.148"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703559946240,
"CFBundleShortVersionString" : "2.1.1",
"CFBundleIdentifier" : "com.apple.HIToolbox",
"size" : 3096576,
"uuid" : "06fdecd6-9f69-397b-b1e2-a8226c0ba7ed",
"path" : "/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox",
"name" : "HIToolbox"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4604317696,
"size" : 442368,
"uuid" : "006a3e6f-3cd3-34d9-b0f2-ed6bd67a95a6",
"path" : "/usr/lib/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703411785728,
"size" : 49152,
"uuid" : "b5454e27-e8c7-3fdb-b77f-714f1e82e70b",
"path" : "/usr/lib/system/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140703411556352,
"size" : 229376,
"uuid" : "e2477724-bccf-3a8c-9c75-c774c569f36e",
"path" : "/usr/lib/system/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
}
],
"sharedCache" : {
"base" : 140703408529408,
"size" : 19331678208,
"uuid" : "b6d97ead-9d19-3228-adaa-cca8452c02d2"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)\nWritable regions: Total=1.2G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.2G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 512K 4 \nActivity Tracing 256K 1 \nCG backing stores 3840K 4 \nCG image 1100K 47 \nCG raster data 392K 35 \nColorSync 228K 27 \nCoreAnimation 168.1M 158 \nCoreGraphics 12K 2 \nCoreUI image data 4376K 33 \nFoundation 32K 2 \nKernel Alloc Once 8K 1 \nMALLOC 254.2M 44 \nMALLOC guard page 48K 12 \nMALLOC_MEDIUM (reserved) 448.0M 4 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nObjC additional data 15K 1 \nSTACK GUARD 56.0M 8 \nStack 11.6M 11 \nVM_ALLOCATE 116K 27 \n__CTF 756 1 \n__DATA 23.9M 396 \n__DATA_CONST 24.1M 248 \n__DATA_DIRTY 991K 138 \n__FONT_DATA 4K 1 \n__LINKEDIT 657.0M 26 \n__TEXT 421.9M 415 \n__UNICODE 592K 1 \ndyld private memory 1024K 1 \nmapped file 395.6M 34 \nshared memory 768K 14 \n=========== ======= ======= \nTOTAL 2.8G 1697 \nTOTAL, minus reserved VM space 2.0G 1697 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.apple.main-thread"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "6112e14f37f5d11121dcd519",
"factorPackIds" : {
"SIRI_TEXT_TO_SPEECH" : "634710168e8be655c1316aaa"
},
"deploymentId" : 240000229
},
{
"rolloutId" : "607844aa04477260f58a8077",
"factorPackIds" : {
"SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
},
"deploymentId" : 240000066
}
],
"experiments" : [

]
}
}

Model: iMac17,1, BootROM 170.0.0.0.0, 4 processors, Quad-Core Intel Core i5, 3.2 GHz, 32 GB, SMC 2.33f12
Graphics: AMD Radeon R9 M390, AMD Radeon R9 M390, PCIe, 2 GB
Display: iMac, Retina 5K (5120 x 2880), Main, MirrorOff, Online
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1867 MHz, 0x802C, 0x31364B544631473634485A2D314739503220
Memory Module: BANK 0/DIMM1, 8 GB, DDR3, 1867 MHz, 0x00, 0x202020202020202020202020202020202020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1867 MHz, 0x802C, 0x31364B544631473634485A2D314739503220
Memory Module: BANK 1/DIMM1, 8 GB, DDR3, 1867 MHz, 0x00, 0x202020202020202020202020202020202020
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x14A), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.4)
AirPort:
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: APPLE SSD SM0512G, 500.28 GB
USB Device: USB30Bus
USB Device: USB Receiver
USB Device: Bluetooth USB Host Controller
USB Device: FaceTime HD Camera (Built-in)
USB Device: USB 2.0 Hub [MTT]
USB Device: USB 2.0 Hub [MTT]
USB Device: Samson Q2U Microphone
USB Device: hub_device
USB Device: USB Audio CODEC
USB Device: CP2105 Dual USB to UART Bridge Controller
Thunderbolt Bus: iMac, Apple Inc., 28.1

@tomio-arisaka
Copy link

lvwarren - Thanks for your report.
I have not checked wxMaxima on intel macOS Monterey.

I guess that using wxWidgets-3.2 is version 3.1.5.
So you can try to use version 3.2.2.1 of wxWidgets-3.2.
It is also included in MacPorts-Maxima-5.46.0-20230215.dmg.

How to install wxMaxima-23.02.0 with wxWidgets-3.2.2.1 is as follows:

(1) open the "MacPorts-Maxima-5.46.0-20230215.dmg" file and copy the "copy_portfiles.sh" file to the "${HOME}/Downloads" directory:

  cp -ip /Volumes/MacPorts-Maxima/copy_portfiles.sh ${HOME}/Downloads/copy_portfiles.sh

(2) open "${HOME}/Downloads/copy_portfiles.sh" with your favorite editor, and change M_DEVELOP="NO" to M_DEVELOP="YES".
The difference is here:

$ diff -u /Volumes/MacPorts-Maxima/copy_portfiles.sh ${HOME}/Downloads/copy_portfiles.sh 
--- /Volumes/MacPorts-Maxima/copy_portfiles.sh	2023-02-11 23:42:00.000000000 +0900
+++ /Users/maxima/Downloads/copy_portfiles.sh	2023-02-16 04:16:34.000000000 +0900
@@ -20,7 +20,7 @@
     exit 1
 fi
 
-M_DEVELOP="NO"
+M_DEVELOP="YES"
 if [ ${M_DEVELOP} == "YES" ]
 then
 

Then "copy_portfiles.sh" copies additional port files (guile18, gd2, gnuplot, ghostscript, rst2pdf, wxwidgets-common, and wxwidgets-3.2)
Both wxwidgets-common and wxwidgets-3.2 are port files to install wxWidgets-3.2.2.1.

(3) copy the port files to the MacPorts directory:

  sudo port selfupdate; sh ${HOME}/Downloads/copy_portfiles.sh

(4) upgrade wxWidgets-3.2 to version 3.2.2.1:

    sudo port upgrade 'wxwidgets*'

(5) uninstall the installed wxMaxima-23.02.0:

    sudo port uninstall wxmaxima

(6) build and install wxMaxima-23.02.0 with wxWidgets-3.2.2.1:

    sudo port install wxmaxima +wx32

@gunterkoenigsmann
Copy link
Member

Wow... ...a portfile for a recent wxMaxima version and someone who can test it? That is extremely good news!

The crash backtrace seems to indicate that the following has happened:

The preference dialogue is created as a notebook-like object with several tabs.
Every tab gets its own icon in form of a bitmap.
One of these bitmaps is invalid and
wxMaxima has detected that and has offered to crash - which is helpful, because it allows to get a backtrace. The dialogue that opens before the crash should contain an "abort" button that tells not to crash in this place. With a bit of luck afterwards the program works fine.

Will search for the cause for the invalid bitmap this weekend.

@lvwarren
Copy link
Author

lvwarren commented Feb 17, 2023 via email

@lvwarren
Copy link
Author

Tomio -
Followed your instructions for building with M_DEVELOP set to yes, it worked well for most of the steps, but crashed here:
Screen Shot 2023-02-18 at 12 10 05 AM

Then following up by check the main.log:

version:1
:debug:clean Starting logging for gnuplot @5.4.6_0+aquaterm+luaterm+pangocairo+qt5+wxwidgets+x11
:debug:sysinfo macOS 12.6.3 (darwin/21.6.0) arch i386
:debug:sysinfo MacPorts 2.8.1
:debug:sysinfo Xcode none, CLT 14.2.0.0.1.1668646533
:debug:sysinfo SDK 12
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
:msg:clean ---> Computing dependencies for gnuplot:info:clean .:debug:clean gnuplot has no conflicts
:debug:clean Searching for dependency: pkgconfig
:debug:clean Found Dependency: receipt exists for pkgconfig
:debug:clean Searching for dependency: expat
:debug:clean Found Dependency: receipt exists for expat
:debug:clean Searching for dependency: fontconfig
:debug:clean Found Dependency: receipt exists for fontconfig
:debug:clean Searching for dependency: gd2
:debug:clean Found Dependency: receipt exists for gd2
:debug:clean Searching for dependency: webp
:debug:clean Found Dependency: receipt exists for webp
:debug:clean Searching for dependency: libjpeg-turbo
:debug:clean Found Dependency: receipt exists for libjpeg-turbo
:debug:clean Searching for dependency: libcaca
:debug:clean Found Dependency: receipt exists for libcaca
:debug:clean Searching for dependency: libcerf
:debug:clean Found Dependency: receipt exists for libcerf
:debug:clean Searching for dependency: libiconv
:debug:clean Found Dependency: receipt exists for libiconv
:debug:clean Searching for dependency: libpng
:debug:clean Found Dependency: receipt exists for libpng
:debug:clean Searching for dependency: ncurses
:debug:clean Found Dependency: receipt exists for ncurses
:debug:clean Searching for dependency: readline
:debug:clean Found Dependency: receipt exists for readline
:debug:clean Searching for dependency: zlib
:debug:clean Found Dependency: receipt exists for zlib
:debug:clean Searching for dependency: pango
:debug:clean Found Dependency: receipt exists for pango
:debug:clean Searching for dependency: aquaterm
:debug:clean Found Dependency: receipt exists for aquaterm
:debug:clean Searching for dependency: xpm
:debug:clean Found Dependency: receipt exists for xpm
:debug:clean Searching for dependency: lua
:debug:clean Found Dependency: receipt exists for lua
:debug:clean Searching for dependency: wxWidgets-3.0
:debug:clean Found Dependency: receipt exists for wxWidgets-3.0
:debug:clean Searching for dependency: qt5-qtbase
:debug:clean Found Dependency: receipt exists for qt5-qtbase
:debug:clean Searching for dependency: qt5-qtsvg
:debug:clean Found Dependency: receipt exists for qt5-qtsvg
:debug:clean Searching for dependency: qt5-qttools
:debug:clean Found Dependency: receipt exists for qt5-qttools
:debug:main Executing org.macports.main (gnuplot)
:debug:main dropping privileges: euid changed to 502, egid changed to 501.
:debug:archivefetch archivefetch phase started at Sat Feb 18 00:05:45 CST 2023
:msg:archivefetch ---> Fetching archive for gnuplot
:debug:archivefetch Executing org.macports.archivefetch (gnuplot)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch ---> gnuplot-5.4.6_0+aquaterm+luaterm+pangocairo+qt5+wxwidgets+x11.darwin_21.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch ---> Attempting to fetch gnuplot-5.4.6_0+aquaterm+luaterm+pangocairo+qt5+wxwidgets+x11.darwin_21.x86_64.tbz2 from https://packages.macports.org/gnuplot
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch ---> Attempting to fetch gnuplot-5.4.6_0+aquaterm+luaterm+pangocairo+qt5+wxwidgets+x11.darwin_21.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/gnuplot
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch ---> Attempting to fetch gnuplot-5.4.6_0+aquaterm+luaterm+pangocairo+qt5+wxwidgets+x11.darwin_21.x86_64.tbz2 from http://mirror.fcix.net/macports/packages/gnuplot
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Sat Feb 18 00:05:46 CST 2023
:notice:fetch ---> Fetching distfiles for gnuplot
:debug:fetch elevating privileges for fetch: euid changed to 0, egid changed to 0.
:debug:fetch dropping privileges: euid changed to 502, egid changed to 501.
:debug:fetch Executing org.macports.fetch (gnuplot)
:info:fetch ---> gnuplot-5.4.6.tar.gz does not exist in /opt/local/var/macports/distfiles/gnuplot/5.4.6
:notice:fetch ---> Attempting to fetch gnuplot-5.4.6.tar.gz from https://distfiles.macports.org/gnuplot/5.4.6
:debug:fetch Fetching distfile failed: The requested URL returned error: 404
:notice:fetch ---> Attempting to fetch gnuplot-5.4.6.tar.gz from http://gigenet.dl.sourceforge.net/project/gnuplot/gnuplot/5.4.6
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Sat Feb 18 00:05:50 CST 2023
:notice:checksum ---> Verifying checksums for gnuplot
:debug:checksum Executing org.macports.checksum (gnuplot)
:info:checksum ---> Checksumming gnuplot-5.4.6.tar.gz
:debug:checksum Calculated (rmd160) is e8e0518fbc24a57963dee02a087d6dc3aed51f56
:error:checksum Checksum (rmd160) mismatch for gnuplot-5.4.6.tar.gz
:info:checksum Portfile checksum: gnuplot-5.4.6.tar.gz rmd160 c210e3a457a9abe15abe9e02822eb66fcf5930bf
:info:checksum Distfile checksum: gnuplot-5.4.6.tar.gz rmd160 e8e0518fbc24a57963dee02a087d6dc3aed51f56
:debug:checksum Calculated (sha256) is 02fc27918200ed64d8f0c3b84fe81b95b59cd47ad99f270939ae497c19f27419
:error:checksum Checksum (sha256) mismatch for gnuplot-5.4.6.tar.gz
:info:checksum Portfile checksum: gnuplot-5.4.6.tar.gz sha256 bef7b9618079c724f19d3b0e1d7830b5b407a56b303f2b9e3690a4ce8ce0a89c
:info:checksum Distfile checksum: gnuplot-5.4.6.tar.gz sha256 02fc27918200ed64d8f0c3b84fe81b95b59cd47ad99f270939ae497c19f27419
:debug:checksum Calculated (size) is 5655661
:error:checksum Checksum (size) mismatch for gnuplot-5.4.6.tar.gz
:info:checksum Portfile checksum: gnuplot-5.4.6.tar.gz size 5655565
:info:checksum Distfile checksum: gnuplot-5.4.6.tar.gz size 5655661
:info:checksum The correct checksum line may be:
:info:checksum checksums rmd160 e8e0518fbc24a57963dee02a087d6dc3aed51f56
:info:checksum sha256 02fc27918200ed64d8f0c3b84fe81b95b59cd47ad99f270939ae497c19f27419
:info:checksum size 5655661
:error:checksum Failed to checksum gnuplot: Unable to verify file checksums
:debug:checksum Error code: NONE
:debug:checksum Backtrace: Unable to verify file checksums
:debug:checksum while executing
:debug:checksum "$procedure $targetname"
:error:checksum See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_gnuplot/gnuplot/main.log for details.
version:1
:debug:main Starting logging for gnuplot @5.4.6_0+aquaterm+luaterm+pangocairo+qt5+wxwidgets+x11
:debug:sysinfo macOS 12.6.3 (darwin/21.6.0) arch i386
:debug:sysinfo MacPorts 2.8.1
:debug:sysinfo Xcode none, CLT 14.2.0.0.1.1668646533
:debug:sysinfo SDK 12
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
:msg:main ---> Computing dependencies for gnuplot:info:main .:debug:main gnuplot has no conflicts
:debug:main Searching for dependency: pkgconfig
:debug:main Found Dependency: receipt exists for pkgconfig
:debug:main Searching for dependency: expat
:debug:main Found Dependency: receipt exists for expat
:debug:main Searching for dependency: fontconfig
:debug:main Found Dependency: receipt exists for fontconfig
:debug:main Searching for dependency: gd2
:debug:main Found Dependency: receipt exists for gd2
:debug:main Searching for dependency: webp
:debug:main Found Dependency: receipt exists for webp
:debug:main Searching for dependency: libjpeg-turbo
:debug:main Found Dependency: receipt exists for libjpeg-turbo
:debug:main Searching for dependency: libcaca
:debug:main Found Dependency: receipt exists for libcaca
:debug:main Searching for dependency: libcerf
:debug:main Found Dependency: receipt exists for libcerf
:debug:main Searching for dependency: libiconv
:debug:main Found Dependency: receipt exists for libiconv
:debug:main Searching for dependency: libpng
:debug:main Found Dependency: receipt exists for libpng
:debug:main Searching for dependency: ncurses
:debug:main Found Dependency: receipt exists for ncurses
:debug:main Searching for dependency: readline
:debug:main Found Dependency: receipt exists for readline
:debug:main Searching for dependency: zlib
:debug:main Found Dependency: receipt exists for zlib
:debug:main Searching for dependency: pango
:debug:main Found Dependency: receipt exists for pango
:debug:main Searching for dependency: aquaterm
:debug:main Found Dependency: receipt exists for aquaterm
:debug:main Searching for dependency: xpm
:debug:main Found Dependency: receipt exists for xpm
:debug:main Searching for dependency: lua
:debug:main Found Dependency: receipt exists for lua
:debug:main Searching for dependency: wxWidgets-3.0
:debug:main Found Dependency: receipt exists for wxWidgets-3.0
:debug:main Searching for dependency: qt5-qtbase
:debug:main Found Dependency: receipt exists for qt5-qtbase
:debug:main Searching for dependency: qt5-qtsvg
:debug:main Found Dependency: receipt exists for qt5-qtsvg
:debug:main Searching for dependency: qt5-qttools
:debug:main Found Dependency: receipt exists for qt5-qttools
:debug:main Executing org.macports.main (gnuplot)
:debug:main dropping privileges: euid changed to 502, egid changed to 501.
:debug:archivefetch archivefetch phase started at Sat Feb 18 00:06:46 CST 2023
:msg:archivefetch ---> Fetching archive for gnuplot
:debug:archivefetch Executing org.macports.archivefetch (gnuplot)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch ---> gnuplot-5.4.6_0+aquaterm+luaterm+pangocairo+qt5+wxwidgets+x11.darwin_21.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch ---> Attempting to fetch gnuplot-5.4.6_0+aquaterm+luaterm+pangocairo+qt5+wxwidgets+x11.darwin_21.x86_64.tbz2 from https://packages.macports.org/gnuplot
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch ---> Attempting to fetch gnuplot-5.4.6_0+aquaterm+luaterm+pangocairo+qt5+wxwidgets+x11.darwin_21.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/gnuplot
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch ---> Attempting to fetch gnuplot-5.4.6_0+aquaterm+luaterm+pangocairo+qt5+wxwidgets+x11.darwin_21.x86_64.tbz2 from http://mirror.fcix.net/macports/packages/gnuplot
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.fetch (gnuplot)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Sat Feb 18 00:06:47 CST 2023
:notice:checksum ---> Verifying checksums for gnuplot
:debug:checksum Executing org.macports.checksum (gnuplot)
:info:checksum ---> Checksumming gnuplot-5.4.6.tar.gz
:debug:checksum Calculated (rmd160) is e8e0518fbc24a57963dee02a087d6dc3aed51f56
:error:checksum Checksum (rmd160) mismatch for gnuplot-5.4.6.tar.gz
:info:checksum Portfile checksum: gnuplot-5.4.6.tar.gz rmd160 c210e3a457a9abe15abe9e02822eb66fcf5930bf
:info:checksum Distfile checksum: gnuplot-5.4.6.tar.gz rmd160 e8e0518fbc24a57963dee02a087d6dc3aed51f56
:debug:checksum Calculated (sha256) is 02fc27918200ed64d8f0c3b84fe81b95b59cd47ad99f270939ae497c19f27419
:error:checksum Checksum (sha256) mismatch for gnuplot-5.4.6.tar.gz
:info:checksum Portfile checksum: gnuplot-5.4.6.tar.gz sha256 bef7b9618079c724f19d3b0e1d7830b5b407a56b303f2b9e3690a4ce8ce0a89c
:info:checksum Distfile checksum: gnuplot-5.4.6.tar.gz sha256 02fc27918200ed64d8f0c3b84fe81b95b59cd47ad99f270939ae497c19f27419
:debug:checksum Calculated (size) is 5655661
:error:checksum Checksum (size) mismatch for gnuplot-5.4.6.tar.gz
:info:checksum Portfile checksum: gnuplot-5.4.6.tar.gz size 5655565
:info:checksum Distfile checksum: gnuplot-5.4.6.tar.gz size 5655661
:info:checksum The correct checksum line may be:
:info:checksum checksums rmd160 e8e0518fbc24a57963dee02a087d6dc3aed51f56
:info:checksum sha256 02fc27918200ed64d8f0c3b84fe81b95b59cd47ad99f270939ae497c19f27419
:info:checksum size 5655661
:error:checksum Failed to checksum gnuplot: Unable to verify file checksums
:debug:checksum Error code: NONE
:debug:checksum Backtrace: Unable to verify file checksums
:debug:checksum while executing
:debug:checksum "$procedure $targetname"
:error:checksum See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_gnuplot/gnuplot/main.log for details.


Thanks, Van

@tomio-arisaka
Copy link

lvwarren -

Sorry for the inconvenience.
I guess that the error happened while upgrading gnuplot.
For some reason, 'gnuplot-5.4.6.tar.gz' was silently changed after I downloaded it.
(It seems that 'gnuplot.pdf' has been changed)

Anyway, simple workaround is as follows:

(1) clean the work directory of gnuplot:

  sudo port clean gnuplot

(2) revert to Gnuplot-5.4.3 port file:
(The letter '$' is a prompt of shell)

$ cd $(port dir gnuplot)
$ 
$ ls -lt
total 32
-rw-r--r--  1 root  505  6905  2 16 04:17 Portfile
-rw-r--r--  1 root  505  6905  2  6  2022 Portfile.orig
drwxr-xr-x  5 root  505   170 11 17  2020 files
$ 
$ sudo cp -ip ./Portfile ./Portfile.546
$ 
$ sudo cp -ip ./Portfile.orig ./Portfile
overwrite ./Portfile? (y/n [n]) y
$ 
$ ls -lt
total 48
-rw-r--r--  1 root  505  6905  2 16 04:17 Portfile.546
-rw-r--r--  1 root  505  6905  2  6  2022 Portfile
-rw-r--r--  1 root  505  6905  2  6  2022 Portfile.orig
drwxr-xr-x  5 root  505   170 11 17  2020 files
$ 
$ cd $HOME
$ 

(3) clean the work directory of wxmaxima:

  sudo port clean wxmaxima

(4) build and install wxMaxima-23.02.0 with wxWidgets-3.2.2.1:

  sudo port install wxmaxima +wx32

@lvwarren
Copy link
Author

To my great relief, since I have hundreds of problems in wxMaxima, it is working. Thanks again for your clear instructions!

One quirk, is that a few of the menu's and dialogs are in another language.
Screen Shot 2023-02-19 at 10 56 32 PM

@tomio-arisaka
Copy link

To my great relief, since I have hundreds of problems in wxMaxima, it is working. Thanks again for your clear instructions!

I am glad to hear that.

One quirk, is that a few of the menu's and dialogs are in another language.

I guess that there is not the translation into your language.

For example, you can change the default language to english in order to avoid the issue.

(1) choose "Preferences..." of the wxMaxima menu
(2) change "(Use default language)" to "English"
(3) quit and launch wxMaxima

Language-English

@lvwarren
Copy link
Author

Tomio -

As always this is tremendously helpful. I thought this change would be trivial, but it wasn't. Here's why:

This is the Mac in Dark Mode after selecting wxMaxima --> Preferences...

Screen Shot 2023-02-20 at 10 12 14 PM

After searching all the menus, I was unable to find the familiar display of icons which your image depicted.

So then I tried Light Mode to obtain:

Screen Shot 2023-02-20 at 10 13 10 PM

At this point it became clear that the large white cursor, was not a cursor, it was an icon selection, but the icon was not being rendered correctly in aspect ratio, size, or color.

I would then hit imaginary points to the right of each large white cursor to obtain a new page:

Screen Shot 2023-02-20 at 10 13 53 PM

I then found the page you referred to and change the preferred language from Automatic to English.

Hope this helps. I'm just glad its working, since I rely heavily on it for many reasons.

Jim Purtillo brought a copy of Maxima from MIT to UIUC where I was in 1983. So I've been using it for 40 years and it is just as wonderful now as it was back then.

  • Van

@tomio-arisaka
Copy link

lvwarren -

At this point it became clear that the large white cursor, was not a cursor, it was an icon selection, but the icon was not being rendered correctly in aspect ratio, size, or color.

Oh, I have forgotten the issue. Thanks for the description.
On macOS, wxMaxima cannot render the icon as a high resolution image for Retina displays.

I am using macOS High Sierra. So my solution is to select the "Open in Low Resolution" option in the app's Info window:

+---------------------------------------+
|O O O     wxMaxima.app Info            |
+---------------------------------------+
|    wxMaxima.app               26.9 MB |
|    Modified: 16 February 2023 at 5:25 |
|+-------------------------------------+|
||Add Tags...                          ||
|+-------------------------------------+|
| * General:                            |
|      Kind: Application                |
|      Size: 26,871,952 bytes (11 MB    |
|            on disk)                   |
|      ...                              |
|      ...                              |
|   Version: 23.02.0                    |
| Copyright: GPL2+                      |
|        _                              |
|       |_| Open in Low Resolution      | <-- select this checkbox
|        _                              |
|       |_| Locked                      |
|                                       |
+---------------------------------------+

But this solution is for macOS Big Sur and earlier.
On macOS Monterey, It seems that the "Open in Low Resolution" option is removed by Apple.
So I have no idea for newer macOS.

@lvwarren
Copy link
Author

A simple text label e.g. the one on the icon would be completely adequate.

@gunterkoenigsmann
Copy link
Member

@tomio-arisaka : You're a genius! That means that the whole problem is that I forgot to tell the bitmap provider to generate a bitmap of the correct resolution.
@lvwarren : That would be true, but now that you two have done all the debugging it is quite easy to fix this bug. Thanks a lot!

@gunterkoenigsmann
Copy link
Member

Resolved with commit f32912f.

@gunterkoenigsmann
Copy link
Member

I believe I've just found another similar bug in the draw wizards. With a bit of luck these wizards now work on high-dpi mac computers now, too.

@lvwarren
Copy link
Author

lvwarren commented Feb 22, 2023 via email

@tomio-arisaka
Copy link

Thanks Gunter.

lvwarren -

The attached file is an updated version of my MacPorts port-files.
(It includes the gnuplot port file which is fixed)

You can install the current development version of wxMaxima with wxmaxima-devel port.
(commit c90f7b2)

(0) download "MacPorts-Maxima-5.46.0-20230222.dmg.zip", remove the quarantine attribute of it, and copy the port-files to the MacPorts directory

(1) deactivate wxMaxima-23.02.0 without uninstalling it:

  sudo port deactivate wxmaxima

(2) build and install the development version of wxMaxima:

  sudo port install wxmaxima-devel +wx32

After that, if you want to revert to wxMaxima-23.02.0, then as follows:

  sudo port deactivate wxmaxima-devel
  sudo port activate wxmaxima

On macOS High Sierra, under the development version of wxMaxima, nothing is changed.

MacPorts-Maxima-5.46.0-20230222.dmg.zip

@tomio-arisaka
Copy link

I cannot reply to the issue for a while.

So I describe how to change the wxmaxima-devel port-file in order to build the development version of wxMaxima as follows:

(1) copy the port-file to the desktop directory, and open it with your favorite editor:

  cp -ip /Volumes/MacPorts-Maxima/MacPorts/wxMaxima-23.02.0/Portfile ${HOME}/Desktop/

(2) see the next web-page:
https://github.com/wxMaxima-developers/wxmaxima/commits/main

choose a commit which you want to build, and click the "Copy the full SHA" icon in order to copy the hash value of the commit. (e.g. bf03abb)

(3) change the current hash value to the new one:

$ diff -u /Volumes/MacPorts-Maxima/MacPorts/wxMaxima-23.02.0/Portfile ${HOME}/Desktop/Portfile
--- /Volumes/MacPorts-Maxima/MacPorts/wxMaxima-23.02.0/Portfile	2023-02-22 18:20:00.000000000 +0900
+++ /Users/maxima/Desktop/Portfile	2023-02-23 17:58:45.000000000 +0900
@@ -24,8 +24,8 @@
     long_description ${description}: \
                     Provides the development version, which is typically updated every day.
 
-    set wx_commit   c90f7b2b37878324f9428f2512315636c1aef729
-    # https://github.com/wxMaxima-developers/wxmaxima/commit/c90f7b2b37878324f9428f2512315636c1aef729
+    set wx_commit   bf03abbd394531c2c7f84708e3c9b440010baa13
+    # https://github.com/wxMaxima-developers/wxmaxima/commit/bf03abbd394531c2c7f84708e3c9b440010baa13
     github.setup    wxmaxima-developers wxmaxima ${wx_commit}
     checksums       rmd160  ffb59c0ce86cf99805082f000e769f0a0f93e9ae \
                     sha256  fb24b3e87faff9b70539f80c196d45ba4797cafe03693a042b57c85d1dfdfe13 \
$ 

(4) copy the modified port-file to the MacPorts directory and get the correct checksum:

$ cd $(port dir wxmaxima)
$ 
$ sudo cp -ip ./Portfile ./Portfile.prev
Password:
$ 
$ sudo cp -ip ${HOME}/Desktop/Portfile ./
overwrite ./Portfile? (y/n [n]) y
$ 
$ sudo port -v checksum wxmaxima-devel
--->  Fetching distfiles for wxMaxima-devel
  ...
  ...
--->  Verifying checksums for wxMaxima-devel
--->  Checksumming wxmaxima-bf03abbd394531c2c7f84708e3c9b440010baa13.tar.gz
  ...
  ...
The correct checksum line may be:
checksums           rmd160  dd839f8d089413c3456b5536355a41af5e5c4c4c \
                    sha256  2f6b91ef108bff0232da0d9b4aa2c3dcae666db7e65c1d9dc13a007edbc84d00 \
                    size    23662536
  ...
  ...
$ 
$ sudo port clean wxmaxima-devel
$ 

(5) change the current checksum to the correct one, and change the version:
(in addition, remove 'patch-src_Dirstructure.cpp.diff' at this time)

$ diff -u /Volumes/MacPorts-Maxima/MacPorts/wxMaxima-23.02.0/Portfile ${HOME}/Desktop/Portfile
--- /Volumes/MacPorts-Maxima/MacPorts/wxMaxima-23.02.0/Portfile	2023-02-22 18:20:00.000000000 +0900
+++ /Users/maxima/Desktop/Portfile	2023-02-23 18:45:31.000000000 +0900
@@ -24,13 +24,13 @@
     long_description ${description}: \
                     Provides the development version, which is typically updated every day.
 
-    set wx_commit   c90f7b2b37878324f9428f2512315636c1aef729
-    # https://github.com/wxMaxima-developers/wxmaxima/commit/c90f7b2b37878324f9428f2512315636c1aef729
+    set wx_commit   bf03abbd394531c2c7f84708e3c9b440010baa13
+    # https://github.com/wxMaxima-developers/wxmaxima/commit/bf03abbd394531c2c7f84708e3c9b440010baa13
     github.setup    wxmaxima-developers wxmaxima ${wx_commit}
-    checksums       rmd160  ffb59c0ce86cf99805082f000e769f0a0f93e9ae \
-                    sha256  fb24b3e87faff9b70539f80c196d45ba4797cafe03693a042b57c85d1dfdfe13 \
-                    size    23663867
-    version         23.02.0-dev-20230222
+    checksums       rmd160  dd839f8d089413c3456b5536355a41af5e5c4c4c \
+                    sha256  2f6b91ef108bff0232da0d9b4aa2c3dcae666db7e65c1d9dc13a007edbc84d00 \
+                    size    23662536
+    version         23.02.0-dev-20230223
 
     # On High-Sierra, fix SSL certificate problem: certificate has expired
     if {${os.major} < 19} {
@@ -45,7 +45,6 @@
 
 #    set             worksrcpath ${workpath}/wxMaxima-developers-wxmaxima-0b58c02
     patchfiles      patch-src_Dirstructure.h.diff \
-                    patch-src_Dirstructure.cpp.diff \
                     patch-test_CMakeLists.txt.diff
     post-patch {
         reinplace -W ${worksrcpath} "s|@@PREFIX@@|${prefix}|g" \
$ 

(6) copy the modified port-file to the MacPorts directory, and verify the checksum:

$ sudo cp -ip ${HOME}/Desktop/Portfile ./
Password:
overwrite ./Portfile? (y/n [n]) y
$ 
$ sudo port -v checksum wxmaxima-devel
--->  Fetching distfiles for wxMaxima-devel
--->  Verifying checksums for wxMaxima-devel
--->  Checksumming wxmaxima-bf03abbd394531c2c7f84708e3c9b440010baa13.tar.gz
$ 
$ sudo port clean wxmaxima-devel
--->  Cleaning wxMaxima-devel
$ 
$ cd $HOME
$ 

After that, you can build the development version of wxMaxima with the wxmaxima-devel port.

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

3 participants