Executable of examples mostly crashes and gives segmentation fault after the device has been created. My wild guess is that GC is collecting the opaque pointer that is being passed to other C-functions. The memory needs to be deterministic through manual memory management using RAII. It could be the compiler bug as well because they run fine in GDB. Needs thorough analysis.
Executable of examples mostly crashes and gives segmentation fault after the device has been created. My wild guess is that GC is collecting the opaque pointer that is being passed to other C-functions. The memory needs to be deterministic through manual memory management using RAII. It could be the compiler bug as well because they run fine in GDB. Needs thorough analysis.