This is overcomplicated and not needed. Estel (and the others), there is a very simple way to proviide useful information - install sp-rich-core along with syslog. It is my fault if I didn't say that earlier (though I think I did, but anyway). As soon as there is a crash, a coredump (and other useful things) is created and put in an archive to be provided to the developer(s). Also, please install camera-ui2 from cssu-devel, I fixed what I think is a nasty "use after free" bug, which could lead to lots of various problems, including those intermittent faults you describe.
Can you share the simple hack that you made for using camraui2 and stock camera