...Make sure that you have the latest version. vec4 and mat4 variables must be aligned. (There will be unaligned versions later). cglm doesn't alloc any memory on heap. So it doesn't provide any allocator. You should alloc memory for out parameters too if you pass pointer of memory location.
a shared memory allocator that provides a simple interface for named shared memory segments; shared memory between any processes; provides shared memory queues; does not use the same address between processes; fast structured arena file scales well
A Pooled, Shared Memory allocator for the C++ Standard Template
Library (STL). Allows processes to share an STL container class to
facilitate control and communications between the connected processes.