View Single Post
Posts: 3,074 | Thanked: 12,964 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1127
Originally Posted by Estel View Post
...
BTW - the rich coredump will help if I reproduce crash, but still, how to properly get debug info for (much more common than crashes) various strange non-crashing issues, if they would be still present, despite -devel update? Maybe some logging/output functionality could be provided to camera-ui, in the form of update? Unless there are better options, of course.
My gut feeling tells me that there is a bug that sometimes leads to crash and sometimes not (similar to "use after free"), and that that bug is not necessarily in camera-ui2 itself. Having a coredump from such a crash is way more easier and (usually) brings way more information (even if the crash happens rarely) than putting g_debug() in every function camera-ui2 consist of. Not to say that UI (camera-ui2) is the cherry on the top, there is a pile of libs involved as well. Also keep in mind that adding such log capabilities will change the memory layout of the application, so it may become impossible to recreate the crash or instabilities.
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 4 Users Say Thank You to freemangordon For This Useful Post: