As suggested on the C::B forum, I’m filing a ticket with a patch that fixes two macOS issues:
1) Crash on startup with Apple Clang – null-pointer dereference during initialization. Clang++ seems stricter. The patch adds safe nullptr checks / early returns to avoid the crash.
2) Update bundled zlib to 1.3.1 – earlier version (1.2.8 I believe) that ships with C::B isn’t supported on modern macOS toolchains; it seems the only solution is to update to 1.3.1 (see i.e. https://github.com/google-ai-edge/mediapipe/issues/5943), I think this would be beneficial anyways.
Thank you,
Federico
Sorry I uploaded an incomplete patch file - the correct one is attached.
Also - do let me know if we should split the zlib update from the codecompletion pointer crash update.
Thank you,
Federico
Last edit: Federico Perini 4 days ago