OK - not sure I am doing this correctly!
Followed the post you referenced but couldn'y fing a indi_sony_ccd_dbg to install. I did install the indi_gphoto_dbg
From terminal ran: gdb --ex run --eval-command="set follow-fork-mode child" --args indiserver -v indi_sony_ccd
Then started KSTARS and set the debug option in the driver as per instructions - connected to camera and it crashed....
did a bt in gdb and copied the output. Attached are two files: the debug log file and a copy of the gdb output.
It's getting late so I will pick up tomorrow - thanks for any pointers
Is this on Raspberry PI? if yes, you probably need to also install libc6-dbg package. The gdb doesn't show much. At any rate, I checked the code and found where it could possible crashed and fixed that. However, if the exposure widget you won't be to capture anything. If you figure out a way to do a capture with gphoto2 in the command line, let me know what command you used exactly.