Automated ART macOS package ready for testing

I have set-up an automated build procedure, based on Travis CI, for the macOS ART packages.

The first package is ready for testing here: Release Continuous build · aferrero2707/art-win64 · GitHub

One known problem is that some icons don’t show up correctly, like in this example:

If anyone has an idea how to solve this, I’m interested…

4 Likes

Thanks a lot!

Hi, on Mac with OSX10.13.6 got this message. Also an unexpected icon for ART. Version of ART 1.0.31 works ok on this system, and the application shows the correct icon.
Art cannot be opened

And here is the the first part of the report

Process: art.bin [885]
Path: /private/var/folders/*/art.app/Contents/MacOS/art
Identifier: art.bin
Version: 0
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: art.bin [885]
User ID: 501

Date/Time: 2020-04-07 23:26:22.117 +0200
OS Version: Mac OS X 10.13.6 (17G9016)
Report Version: 12
Anonymous UUID: 05D48F4D-3E92-D511-FE94-BE5DCCAB55E8

Time Awake Since Boot: 27000 seconds

System Integrity Protection: enabled

Notes: Translocated Process

Crashed Thread: 0

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
Library not loaded: /opt/local/lib/libpng16.16.dylib
Referenced from: /private/var/folders/pg/2xf88hh96w13_3fw77603cp40000gn/T/AppTranslocation/65440C23-CCBE-4BD8-8AA5-1BFF65E84AE2/d/art.app/Resources/lib/libcairomm-1.0.1.dylib
Reason: image not found

The ART macosx_bundle.sh script is obsolete now. I’ve been promising to work on that, I know. I have had to iron out producing an RT build on the latest macos 10.15.4, which I’ve figured out.

Thanks for checking! Indeed, for some reason the libpng referenced by libcairomm does not get patches by my scripts, and therefore it is not searched in the bundle… I will investigate.

I am actually not using it, I have my own bundling scripts instead. If you are interested, you can have a look here.

I would be very much interested in knowing what needs to be changed/patched in order to make the code compatible with Catalina… is there any documentation available?
Thanks!

I am afraid I wont be able to offer constructive advise. An auto-build without codesign and notarization may yield a working -cli, however enforcement of code integrity, stability, and malware detection measures means Catalina’s gatekeeper wouldn’t take to the app.

Could you please test the latest package? The previous one was corrupted because part of the dependencies were picking libraries from homebrew instead of macports…

Hi, just downloaded and tested the latest package. Some good and bad news, it opens and I was able to do some editing on NEF files, and then send the developed photo directly to GIMP for further work; now the issue I found, it crashed when trying to save the developed photo directly to disk. Minor point, the icon still is not what I expected. Here is the report from the chash:

Process: art.bin [2025]
Path: /Applications/art.app/Contents/MacOS/art.bin
Identifier: art.bin
Version: 0
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: art.bin [2025]
User ID: 501

Date/Time: 2020-04-08 14:24:49.821 +0200
OS Version: Mac OS X 10.13.6 (17G9016)
Report Version: 12
Anonymous UUID: 05D48F4D-3E92-D511-FE94-BE5DCCAB55E8

Time Awake Since Boot: 81000 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 Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [0]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libglib-2.0.0.dylib 0x0000000103d8d069 _g_log_abort + 22
1 libglib-2.0.0.dylib 0x0000000103d8cf05 g_log_default_handler + 206
2 libglib-2.0.0.dylib 0x0000000103d8cbb7 g_logv + 874
3 libglib-2.0.0.dylib 0x0000000103d8c838 g_log + 134
4 libgio-2.0.0.dylib 0x0000000103bd1c73 g_settings_set_property + 250
5 libgobject-2.0.0.dylib 0x0000000103d1da29 object_set_property + 349
6 libgobject-2.0.0.dylib 0x0000000103d1d07c g_object_new_internal + 248
7 libgobject-2.0.0.dylib 0x0000000103d1ce98 g_object_new_valist + 1019
8 libgobject-2.0.0.dylib 0x0000000103d1c7f8 g_object_new + 146
9 libgio-2.0.0.dylib 0x0000000103bceeb9 g_settings_new + 44
10 libgtk-3.0.dylib 0x000000010448cea6 _gtk_file_chooser_get_settings_for_widget + 92
11 libgtk-3.0.dylib 0x000000010449485a settings_load + 29
12 libgobject-2.0.0.dylib 0x0000000103d1da29 object_set_property + 349
13 libgobject-2.0.0.dylib 0x0000000103d1d0d9 g_object_new_internal + 341
14 libgobject-2.0.0.dylib 0x0000000103d1d573 g_object_newv + 467
15 libglibmm-2.4.1.dylib 0x0000000103ca4d31 Glib::Object::Object(Glib::ConstructParams const&) + 299
16 libgtkmm-3.0.1.dylib 0x0000000103f755d2 Gtk::Object::Object(Glib::ConstructParams const&) + 28
17 libgtkmm-3.0.1.dylib 0x0000000103f49a12 Gtk::Widget::Widget(Glib::ConstructParams const&) + 32
18 libgtkmm-3.0.1.dylib 0x0000000103eb22e6 Gtk::Container::Container(Glib::ConstructParams const&) + 22
19 libgtkmm-3.0.1.dylib 0x0000000103e94756 Gtk::Box::Box(Glib::ConstructParams const&) + 28
20 libgtkmm-3.0.1.dylib 0x0000000103ed3a06 Gtk::VBox::VBox(Glib::ConstructParams const&) + 22

I can confirm this, and I am testing a fix… a new test package should be available in a short while.

The crash should be fixed now. Could you check the latest package?

Concerning the icon, I still need to add some configuration files in the bundle, I will look into that as soon as there are no more crashes…

1 Like

Great, problem solved, no crash when exporting to disk. Will keep testing and report if any issue shows up. The icon is not an issue for me!. Thank you for working with this package for Mac, and obviously also to Alberto for ART

1 Like

Hi, just found another issue with ART 1.2-66. It crash when trying to save a processing profile to disk. Here is the report (hope this helps):

Process: art.bin [630]
Path: /Applications/art.app/Contents/MacOS/art.bin
Identifier: art.bin
Version: 0
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: art.bin [630]
User ID: 501

Date/Time: 2020-04-09 09:38:43.082 +0200
OS Version: Mac OS X 10.13.6 (17G9016)
Report Version: 12
Anonymous UUID: 05D48F4D-3E92-D511-FE94-BE5DCCAB55E8

Time Awake Since Boot: 1000 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 Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [0]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libglib-2.0.0.dylib 0x000000010bbe2069 _g_log_abort + 22
1 libglib-2.0.0.dylib 0x000000010bbe1f05 g_log_default_handler + 206
2 libglib-2.0.0.dylib 0x000000010bbe1bb7 g_logv + 874
3 libglib-2.0.0.dylib 0x000000010bbe1838 g_log + 134
4 libgio-2.0.0.dylib 0x000000010ba20c73 g_settings_set_property + 250
5 libgobject-2.0.0.dylib 0x000000010bb6da29 object_set_property + 349
6 libgobject-2.0.0.dylib 0x000000010bb6d07c g_object_new_internal + 248
7 libgobject-2.0.0.dylib 0x000000010bb6ce98 g_object_new_valist + 1019
8 libgobject-2.0.0.dylib 0x000000010bb6c7f8 g_object_new + 146
9 libgio-2.0.0.dylib 0x000000010ba1deb9 g_settings_new + 44
10 libgtk-3.0.dylib 0x000000010c2dcea6 _gtk_file_chooser_get_settings_for_widget + 92
11 libgtk-3.0.dylib 0x000000010c2e74d0 gtk_file_chooser_widget_get_default_size + 40
12 libgtk-3.0.dylib 0x000000010c2d9340 file_chooser_widget_default_size_changed + 101
13 libgobject-2.0.0.dylib 0x000000010bb67366 g_closure_invoke + 258
14 libgobject-2.0.0.dylib 0x000000010bb7c483 signal_emit_unlocked_R + 1735
15 libgobject-2.0.0.dylib 0x000000010bb7d19b g_signal_emit_valist + 2039
16 libgobject-2.0.0.dylib 0x000000010bb7de4e g_signal_emit_by_name + 1511
17 libgtk-3.0.dylib 0x000000010c2e0cb5 update_appearance + 273
18 libgtk-3.0.dylib 0x000000010c2dea40 gtk_file_chooser_widget_set_property + 183
19 libgobject-2.0.0.dylib 0x000000010bb6da29 object_set_property + 349
20 libgobject-2.0.0.dylib 0x000000010bb6d6c3 g_object_setv + 207

I could not reproduce this one… could you post the full crash report?

Thanks!

And you are right!!!. Since you were not able to reproduce the issue I went and installed the latest version on an old MacPro (same OS 10.13.6) , and it work with no issue. I try on the Mac Air and the issue was still there. I went on and delete all files related to ART, I had also installed the previous 1.0.31. Reinstalled ARTmaster 1.2.70 and it is working with no issue. Thus, most probably the problem was some files from previous installation. Only difference is that the version which had the issue was the 1.2.66, and now I see that the latest, which I am running on both Macs is 1.2.70. Sorry for pointing to a non-issue, and make you waste some time on this.

Good to know! I will then move to the next item on the todo list, which is to enable OpenMP support…

How do you get this to run under Catalina? I just get stuck in a loop of trying to “allow anyway” in security & privacy seemingly switching between 1 of 3 .dylib