Ive been struggling several nights now with getting by raspi camera driver working with gain settings. It works if I don't add the properties for gain, but when I add it, i get SIGSEGV inside a strncpy. Has anyone seen something like this. Ive debugged down to assembler code and its just one write to memory that is otherwise fine.
This happends when I add this line:
Ok, I think I have found it. Forgetting an external declaration of your drivers std::unique_ptr<YourDriverClass> global pointer can have really weird effects. I don't know why, but any member outside the INDI::CCD part of your class was write-protected.