help in setting up automated releases

There you go. I’m attaching outputs from console, lldb backtrace, and the MacOS crash report.
macos-crash-report.txt (343.5 KB)
lldb-full-backtrace.txt (153.4 KB)
console-output.txt (22.6 KB)

As a side note, this debug build let me see that ART could load a couple thumbnails from non crash-inducing images, but ART it crashed when trying to load the thumbnails of crash-inducing files (I think).

I failed making an x86_64 ART build (it looks like I’m missing something in my toolchain:

ld: symbol(s) not found for architecture x86_64
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)

Hi,
thanks for the help! Unfortunately, the container overflow error is probably a false positive, most likely because you didn’t build CTL with “asan” enabled (See AddressSanitizerContainerOverflow · google/sanitizers Wiki · GitHub). I also got the same error on my x64 build, but when I recompiled CTL with asan it went away.
So far, I still have no clue of what is going wrong… :frowning:

Oh sorry, I re-re-compiled CTL as a normal build. I’ll try again with asan enabled.

Hi Alberto,
Unfortunately art fails building against an “asan” build of CTL:

[...]
ld: warning: ignoring duplicate libraries: '-latk-1.0', '-latkmm-1.6', '-lc++', '-lcairo', '-lcairo-gobject', '-lcairomm-1.0', '-lfftw3f', '-lgdk-3', '-lgdk_pixbuf-2.0', '-lgdkmm-3.0', '-lgio-2.0', '-lgiomm-2.4', '-lglib-2.0', '-lglibmm-2.4', '-lgobject-2.0', '-lgthread-2.0', '-lgtk-3', '-lgtkmm-3.0', '-lharfbuzz', '-lintl', '-llcms2', '-lm', '-lpango-1.0', '-lpangocairo-1.0', '-lpangomm-1.4', '-lrsvg-2', '-lsigc-2.0', '-ltiff'
Undefined symbols for architecture arm64:
  "___asan_version_mismatch_check_apple_clang_1500", referenced from:
      _asan.module_ctor in libIlmCtlSimd.a[2](CtlSimdAddr.cpp.o)
      _asan.module_ctor in libIlmCtlSimd.a[3](CtlSimdFunctionCall.cpp.o)
      _asan.module_ctor in libIlmCtlSimd.a[4](CtlSimdHalfExpLog.cpp.o)
      _asan.module_ctor in libIlmCtlSimd.a[5](CtlSimdInst.cpp.o)
      _asan.module_ctor in libIlmCtlSimd.a[6](CtlSimdInterpreter.cpp.o)
      _asan.module_ctor in libIlmCtlSimd.a[7](CtlSimdLContext.cpp.o)
      _asan.module_ctor in libIlmCtlSimd.a[8](CtlSimdModule.cpp.o)
      ...
ld: symbol(s) not found for architecture arm64
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [rtgui/ART] Error 1
make[1]: *** [rtgui/CMakeFiles/art.dir/all] Error 2
make: *** [all] Error 2
1 Like

Hi,
Thanks for your patience! Can you try and see if this works?
https://github.com/artpixls/ART/releases/download/nightly/ART-830065e_macOS-14.7_arm64-debug-asan.dmg

Hi,
I could run your “asan” build and make it crash, however I can’t run it through lldb:

(lldb) run /Applications/ART.app/Contents/MacOS/ART
error: invalid target, create a target using the 'target create' command

When it crashed outside of the debugger, I got this in the console output:
console_output.txt.txt (33.0 KB)

Thanks, this is already useful. I’ll try to work with that. Can I ask you for more testing in the future in case I need to try out some potential fixes?

Of course Alberto!

Thanks! So, can you try this and see if it is any better? https://github.com/artpixls/ART/releases/download/nightly/ART-c0342cb_macOS-14.7_arm64.dmg

1 Like

So far, so good Alberto, it looks like you fixed the issue!
What was the cause?

Well, it was indeed a use after free. I don’t know why it happens exactly though… Are you using an external disk and/or a custom file system perhaps?

Even though I do have external SSDs connected, ART is install on the internal hard drive as well as the images, ctl scripts and LUT folders I work with.