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.