Hello,
I installed the latest update to macOS 14.1 Sonoma on my MacBook Air M2 and Gretl app is not opening anymore. I tired all the versions of the software available for download and non of them is working.
Can you help me? I urgently need it to finish my thesis.
Thank you in advance
1) Make sure you're installing the arm64 version of gretl. Does Sonoma allow you to install this?
2) If the app won't start, open the macOS Console (under Applications/Utilities) and look for any log entries about gretl. Copy any such entries and post them here.
3) If Sonoma gives you option of seeing a report on why the app wouldn't run, please post that.
Dear Allin,
Thank for the reply. I confirm I installed the arm64 version.
I paste below the report on why the app doesn't run, please let me know it's more helpful if I post the report in another format.
Translated Report (Full Report Below)
Process: gretl [4180]
Path: /Applications/Gretl.app/Contents/MacOS/gretl
Identifier: net.sourceforge.gretl
Version: 2023b
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2023-11-01 13:18:21.4272 +0100
OS Version: macOS 14.1 (23B74)
Report Version: 12
Anonymous UUID: 39CD1427-1027-3401-3798-7D9BE8361A0E
Sleep/Wake UUID: 05B00D3D-B45D-4EEF-8BBF-18692E6EC068
Time Awake Since Boot: 7700 seconds
Time Since Wake: 84 seconds
System Integrity Protection: enabled
Crashed Thread: 3 Dispatch queue: CA DispatchGroup
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xaaaaaaaaaaaaaaaa -> 0xffffaaaaaaaaaaaa (possible pointer authentication failure)
Exception Codes: 0x0000000000000001, 0xaaaaaaaaaaaaaaaa
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [4180]
VM Region Info: 0xffffaaaaaaaaaaaa is not in any region.
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
UNUSED SPACE AT END
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x18609c0ac psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1860d95fc _pthread_cond_wait + 1228
2 QuartzCore 0x18e292ab0 CA::DispatchGroup::~DispatchGroup() + 68
3 QuartzCore 0x18e2664a8 CA::Layer::display_if_needed(CA::Transaction) + 672
4 QuartzCore 0x18e3eb354 CA::Context::commit_transaction(CA::Transaction, double, double*) + 512
5 QuartzCore 0x18e2492f0 CA::Transaction::commit() + 648
6 AppKit 0x189ab6dbc __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 272
7 AppKit 0x18a457f80 ___NSRunLoopObserverCreateWithHandler_block_invoke + 64
8 CoreFoundation 0x1861b50a0 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 36
9 CoreFoundation 0x1861b4f8c __CFRunLoopDoObservers + 532
10 CoreFoundation 0x1861b45bc __CFRunLoopRun + 776
11 CoreFoundation 0x1861b3c5c CFRunLoopRunSpecific + 608
12 HIToolbox 0x19072d448 RunCurrentEventLoopInMode + 292
13 HIToolbox 0x19072d0d8 ReceiveNextEventCommon + 220
14 HIToolbox 0x19072cfdc _BlockUntilNextEventMatchingListInModeWithFilter + 76
15 AppKit 0x18998ec54 _DPSNextEvent + 660
16 AppKit 0x18a164ebc -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
17 libgdk-quartz-2.0.0.dylib 0x1013258fc poll_func + 208
18 libglib-2.0.0.dylib 0x1021b2520 g_main_context_iterate + 424
19 libglib-2.0.0.dylib 0x1021b2930 g_main_loop_run + 256
20 libgtk-quartz-2.0.0.dylib 0x101772c80 gtk_main + 196
21 gretl 0x100b7d570 main + 3876
22 dyld 0x185d5d0e0 start + 2360
Thread 1:
0 libsystem_pthread.dylib 0x1860d3e28 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x1860d3e28 start_wqthread + 0
Thread 3 Crashed:: Dispatch queue: CA DispatchGroup
0 libgdk-quartz-2.0.0.dylib 0x1012f8718 gdk_gc_get_tile + 88
1 libgdk-quartz-2.0.0.dylib 0x101327160 gdk_quartz_draw_tiled_pattern + 32
2 CoreGraphics 0x18c0453dc CGPatternDrawInContextDelegate + 60
3 CoreGraphics 0x18c0d49b0 CG::DisplayListResourcePattern::DisplayListResourcePattern(CGPattern, CG::DisplayListResourceProvider&) + 268
4 CoreGraphics 0x18c0e3f08 CG::DisplayList::patternResourceForPattern(CGPattern) + 272
5 CoreGraphics 0x18bd020a4 CG::DisplayListResourceColor::DisplayListResourceColor(CGColor, CG::DisplayListResourceProvider&) + 244
6 CoreGraphics 0x18bd01f64 CG::DisplayList::colorResourceForColor(CGColor) + 256
7 CoreGraphics 0x18bd01d98 CG::DisplayListRecorder::getPathColorResourcesAndUpdateFlags(CG::DisplayList, CGGState, CGPathDrawingMode, CG::DisplayListResourceColor const&, CG::DisplayListResourceColor const&, unsigned int&) + 196
8 CoreGraphics 0x18bd016d0 CG::DisplayListRecorder::DrawRects(CGRenderingState, CGGState, CGPathDrawingMode, CGRect const, unsigned long) + 216
9 CoreGraphics 0x18bd05394 CG::DisplayListExecutor::drawRects(CG::DisplayListEntryRects const) + 368
10 CoreGraphics 0x18c0e6c64 CG::DisplayList::executeEntries(std::__1::__wrap_iter<std::__1::shared_ptr\<cg::displaylistentry const="">*>, std::__1::__wrap_iter<std::__1::shared_ptr\<cg::displaylistentry const="">*>, CGContextDelegate, CGRenderingState, CGGStack, CGRect const, __CFDictionary const, bool) + 212
11 CoreGraphics 0x18bd049dc CG::DisplayList::execute(CGContextDelegate, CGRenderingState, CGGStack, CGRect const, __CFDictionary const) + 296
12 CoreGraphics 0x18bd0472c CGDisplayListDrawInContextDelegate + 464
13 AppKit 0x189fbec2c -[NSViewBackingLayerContentLayer drawInContext:] + 44
14 QuartzCore 0x18e26820c CABackingStoreUpdate</std::__1::shared_ptr\<cg::displaylistentry></std::__1::shared_ptr\<cg::displaylistentry> + 272
15 QuartzCore 0x18e2bf9e0 invocation function for block in CA::Layer::display_() + 64
16 QuartzCore 0x18e26736c -[CALayer _display] + 1640
17 QuartzCore 0x18e292c24 display_callback(void, void) + 100
18 QuartzCore 0x18e292ba0 CA::DispatchGroup::dispatch(bool) + 172
19 libdispatch.dylib 0x185f2b910 _dispatch_client_callout + 20
20 libdispatch.dylib 0x185f32ea4 _dispatch_lane_serial_drain + 748
21 libdispatch.dylib 0x185f339d4 _dispatch_lane_invoke + 380
22 libdispatch.dylib 0x185f3e61c _dispatch_root_queue_drain_deferred_wlh + 288
23 libdispatch.dylib 0x185f3de90 _dispatch_workloop_worker_thread + 404
24 libsystem_pthread.dylib 0x1860d5114 _pthread_wqthread + 288
25 libsystem_pthread.dylib 0x1860d3e30 start_wqthread + 8
Thread 4:
0 libsystem_pthread.dylib 0x1860d3e28 start_wqthread + 0
Thread 3 crashed with ARM Thread State (64-bit):
x0: 0x000000015c884700 x1: 0x00006000015b7a80 x2: 0xffffffffffffffe0 x3: 0x00006000003f6c20
x4: 0x00006000003f6c80 x5: 0x0000000000002c10 x6: 0x3fe0000000000000 x7: 0x0000000000000000
x8: 0xaaaaaaaaaaaaaaaa x9: 0x0001000000000000 x10: 0x00010f78a2005c80 x11: 0x000000015be765e8
x12: 0x00010f78a2005c80 x13: 0x00000000001ff800 x14: 0x00000000000007fb x15: 0x00000000db41f08e
x16: 0x000000029c522f10 x17: 0x00000001dc2a0da8 x18: 0x0000000000000000 x19: 0x000000015c884700
x20: 0x0000600000488000 x21: 0x0000600000e87a80 x22: 0x000000015be7aad0 x23: 0x000000015be765e0
x24: 0x000060000048ff00 x25: 0x00006000015b7900 x26: 0x000060000048ff00 x27: 0x0000000000000000
x28: 0x0000000000000000 fp: 0x000000016f489eb0 lr: 0x0000000101327160
sp: 0x000000016f489ea0 pc: 0x00000001012f8718 cpsr: 0x60001000
far: 0xaaaaaaaaaaaaaaaa esr: 0x92000004 (Data Abort) byte read Translation fault
Binary Images:
0x101bdc000 - 0x101be3fff pango-basic-coretext.so () <2df0a10f-0c9b-38fd-97fd-0cf9f14d6e6a> /Applications/Gretl.app/Contents/Resources/lib/pango/1.8.0/modules/pango-basic-coretext.so
0x1010a8000 - 0x1010b3fff libobjc-trampolines.dylib () <c9ce7923-2f2d-31eb-a6e4-0f3b7a78f895> /usr/lib/libobjc-trampolines.dylib
0x100f80000 - 0x100f8bfff libpixmap.so () <95fc2539-157d-3ee3-9aeb-fbe8d6daea94> /Applications/Gretl.app/Contents/Resources/lib/gtk-2.0/2.10.0/engines/libpixmap.so
0x100f9c000 - 0x100fbffff libmurrine.so () <19759b43-60d5-3fe8-8c20-0c044e3e171e> /Applications/Gretl.app/Contents/Resources/lib/gtk-2.0/2.10.0/engines/libmurrine.so
0x1011c8000 - 0x101217fff libgtksourceview-2.0.0.dylib () <5945c37c-c51e-30d4-a96d-64224dd1b7a6> /Applications/Gretl.app/Contents/Resources/lib/libgtksourceview-2.0.0.dylib
0x101170000 - 0x10117bfff libgtkmacintegration-gtk2.4.dylib () <a015af5b-7098-3826-9c23-e75523ff08f5> /Applications/Gretl.app/Contents/Resources/lib/libgtkmacintegration-gtk2.4.dylib
0x101694000 - 0x1019f7fff libgtk-quartz-2.0.0.dylib () <48d92d3e-55a1-35b4-8af9-46adff9a6256> /Applications/Gretl.app/Contents/Resources/lib/libgtk-quartz-2.0.0.dylib
0x1012e8000 - 0x10135ffff libgdk-quartz-2.0.0.dylib () <ca931c49-d602-3780-8fc0-42995c534240> /Applications/Gretl.app/Contents/Resources/lib/libgdk-quartz-2.0.0.dylib
0x101240000 - 0x10124ffff libpangocairo-1.0.0.dylib () <6eea0d4b-5d53-3289-b2ff-b8d7c24ce08e> /Applications/Gretl.app/Contents/Resources/lib/libpangocairo-1.0.0.dylib
0x101390000 - 0x1013cffff libpango-1.0.0.dylib () <b6b80d80-d498-3bf3-9ef8-e56de671ab87> /Applications/Gretl.app/Contents/Resources/lib/libpango-1.0.0.dylib
0x101268000 - 0x101287fff libatk-1.0.0.dylib () <6f7012dd-87c8-324e-a235-95b5a41eecc7> /Applications/Gretl.app/Contents/Resources/lib/libatk-1.0.0.dylib
0x1014dc000 - 0x101597fff libcairo.2.dylib () <37191c5f-d054-3a4d-9d23-5ff01ef86daa> /Applications/Gretl.app/Contents/Resources/lib/libcairo.2.dylib
0x101d68000 - 0x101ecffff libgio-2.0.0.dylib () <71eaf3eb-6011-3756-b02b-7e42822d0488> /Applications/Gretl.app/Contents/Resources/lib/libgio-2.0.0.dylib
0x102308000 - 0x1025abfff libgretl-1.0.45.dylib () <fd774263-4699-3cc7-8d14-eafd6ae977c1> /Applications/Gretl.app/Contents/Resources/lib/libgretl-1.0.45.dylib
0x1015c8000 - 0x101627fff libgmp.10.dylib () <28cc9af9-21ca-37d9-996e-0c85a749541b> /Applications/Gretl.app/Contents/Resources/lib/libgmp.10.dylib
0x101ae8000 - 0x101b7bfff libfftw3.3.dylib () <96e6eb8d-1d4f-3379-85f4-baf6e40a9d68> /Applications/Gretl.app/Contents/Resources/lib/libfftw3.3.dylib
0x101440000 - 0x10146ffff libgsf-1.114.dylib () <a7a2cb2d-3547-3384-9efc-222294aafa21> /Applications/Gretl.app/Contents/Resources/lib/libgsf-1.114.dylib
0x1013f0000 - 0x101413fff libgdk_pixbuf-2.0.0.dylib (</a7a2cb2d-3547-3384-9efc-222294aafa21>) <8fd13ad4-b62b-3c3b-90b0-07fde2290a32> /Applications/Gretl.app/Contents/Resources/lib/libgdk_pixbuf-2.0.0.dylib
0x101c14000 - 0x101c57fff libgobject-2.0.0.dylib () <019f2a93-f18d-3ed2-9060-af412cb20627> /Applications/Gretl.app/Contents/Resources/lib/libgobject-2.0.0.dylib
0x102170000 - 0x10228bfff libglib-2.0.0.dylib () <19c88d19-3cd4-3521-ac8d-289200e07473> /Applications/Gretl.app/Contents/Resources/lib/libglib-2.0.0.dylib
0x101190000 - 0x10119bfff libintl.8.dylib () <c156bbc3-21f5-3553-b518-c2d7ddf81c05> /Applications/Gretl.app/Contents/Resources/lib/libintl.8.dylib
0x101fec000 - 0x102057fff libomp.dylib (</c156bbc3-21f5-3553-b518-c2d7ddf81c05>) <b75a754b-01a9-3370-889c-886409ec2a72> /Applications/Gretl.app/Contents/Resources/lib/libomp.dylib
0x1011ac000 - 0x1011b3fff libgmodule-2.0.0.dylib () <9a128d2c-db8b-37e4-b36d-dd3c88d11044> /Applications/Gretl.app/Contents/Resources/lib/libgmodule-2.0.0.dylib
0x1012a0000 - 0x1012a7fff libgthread-2.0.0.dylib () <502589ef-4393-31b9-9ae4-1d9c6a795c31> /Applications/Gretl.app/Contents/Resources/lib/libgthread-2.0.0.dylib
0x101490000 - 0x1014a3fff libffi.7.dylib () <82f08320-b1c7-3782-95f5-a3e292656270> /Applications/Gretl.app/Contents/Resources/lib/libffi.7.dylib
0x101c8c000 - 0x101ce7fff libpixman-1.0.dylib () <d3d4f6d5-0884-3c8a-970a-326820680221> /Applications/Gretl.app/Contents/Resources/lib/libpixman-1.0.dylib
0x101b9c000 - 0x101bc7fff libpng16.16.dylib () <c478aa16-f2e7-35ac-89c2-4ddcfd6121a1> /Applications/Gretl.app/Contents/Resources/lib/libpng16.16.dylib
0x100b14000 - 0x100c53fff net.sourceforge.gretl (</c478aa16-f2e7-35ac-89c2-4ddcfd6121a1>) <896c39c4-3413-3a23-92fb-96ef15a48a3e> /Applications/Gretl.app/Contents/MacOS/gretl
0x186097000 - 0x1860d1fef libsystem_kernel.dylib () <b7751381-1442-30b5-91b9-ad7be461bebe> /usr/lib/system/libsystem_kernel.dylib
0x1860d2000 - 0x1860deff3 libsystem_pthread.dylib (</b7751381-1442-30b5-91b9-ad7be461bebe>) <daf95373-5de6-39a1-a6ce-d87f3f0629cc> /usr/lib/system/libsystem_pthread.dylib
0x18e246000 - 0x18e60efff com.apple.QuartzCore (1.11) <ca7b3b03-5fc1-35f0-b7a4-0c668f3f4b66> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x189955000 - 0x18ac69fff com.apple.AppKit (6.9) <b475e541-691d-39c6-8ca4-e414b0d3dd88> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x186138000 - 0x18660ffff com.apple.CoreFoundation (6.9) <9f046e36-7286-3a6e-a280-699d6e47cfaf> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x1906fd000 - 0x1909bcfff com.apple.HIToolbox (2.1.1) <4dffb7eb-bbcd-3ff6-a203-5a0b97358ee8> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x185d57000 - 0x185deb317 dyld () <ec7a3ba0-f9bf-3ab8-a0f4-8622e5606b20> /usr/lib/dyld
0x0 - 0xffffffffffffffff ??? (</ec7a3ba0-f9bf-3ab8-a0f4-8622e5606b20>) <00000000-0000-0000-0000-000000000000> ???
0x18bc6b000 - 0x18c347fff com.apple.CoreGraphics (2.0) <4602dca9-6a29-336d-8482-9746e171dc4e> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x185f28000 - 0x185f6efff libdispatch.dylib (*) <dc1d0187-7149-3100-bc63-f633afebee6c> /usr/lib/system/libdispatch.dylib</dc1d0187-7149-3100-bc63-f633afebee6c></b475e541-691d-39c6-8ca4-e414b0d3dd88></ca7b3b03-5fc1-35f0-b7a4-0c668f3f4b66></daf95373-5de6-39a1-a6ce-d87f3f0629cc></d3d4f6d5-0884-3c8a-970a-326820680221></b75a754b-01a9-3370-889c-886409ec2a72></fd774263-4699-3cc7-8d14-eafd6ae977c1></b6b80d80-d498-3bf3-9ef8-e56de671ab87></ca931c49-d602-3780-8fc0-42995c534240></a015af5b-7098-3826-9c23-e75523ff08f5></c9ce7923-2f2d-31eb-a6e4-0f3b7a78f895>
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.2G resident=0K(0%) swapped_out_or_unallocated=1.2G(100%)
Writable regions: Total=1.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 256K 2
Activity Tracing 256K 1
CG image 208K 3
ColorSync 576K 27
CoreAnimation 16K 1
CoreGraphics 16K 1
CoreUI image data 304K 2
Foundation 16K 1
Kernel Alloc Once 32K 1
MALLOC 1.1G 43
MALLOC guard page 192K 12
STACK GUARD 56.1M 5
Stack 10.1M 5
VM_ALLOCATE 368K 8
__AUTH 902K 204
__AUTH_CONST 14.7M 366
__CTF 824 1
__DATA 4627K 375
__DATA_CONST 18.3M 393
__DATA_DIRTY 906K 112
__FONT_DATA 4K 1
__LINKEDIT 891.2M 29
__OBJC_RO 70.8M 1
__OBJC_RW 2156K 1
__TEXT 299.8M 410
dyld private memory 272K 2
mapped file 164.9M 23
shared memory 864K 14
=========== ======= =======
TOTAL 2.6G 2044
Thanks for the report. This looks very much like a case reported in August 2022. In that instance the problem was solved in this way: Open a Terminal window and execute the command
rm -f ~/.gretl2rcThis deletes your prior gretl configuration file. It seems that stale information in that file can sometimes stop gretl from working.
It worked. I'm sorry I didn't realize the solution was already reported! Many many thanks for your quick help, it was really useful.
Cecilia
We're glad it worked, you cannot really be expected to be aware of a solution in a closed ticket. Maybe we should add Allin's workaround tip to the gretl for MacOS page (https://gretl.sourceforge.net/osx.html). That's why I'm not closing this ticket just yet.
Yes, we should talk about this before just moving on.
The workaround is now mentioned on the OS X page, and so let's close this ticket. (Comments can still be added.)