Hey,
I’m already in touch with Ableton on this issue, but I wanted to ask if anyone here has seen this kind of issue:
In Ableton Live 12 specifically (not 11), any calls we make into libfmt functions crashes the DAW immediately with a segfault.
Now, I could just tear out the {fmt} dependency, but I’m really interested in how / why this might occur.
We build fmt ourselves, everything is “vanilla” Apple clang. Has anyone experienced something similar?
Oh, I think I had this.
I was adding fmt as a library. If you change the config so that fmt is only included as a header file then that fixed it for me.
To do that look up the fmt documentation.
As to why the crash happens with the lib version…dunno.
1 Like
This worked. This ecosystem is insane.
For anyone working with CMake, the solution boils down to removing fmt from your target_link_libraries, and instead adding target_include_directory(fmt/include) and target_sources(fmt/src/format.cc).