GNOME Bugzilla – Bug 706224
gvfsd-gphoto2 crashed with SIGSEGV in g_object_unref()
Last modified: 2013-12-06 00:04:50 UTC
Open bug in launchpad.net: https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1213555 "I'm conneting Samsung Galaxy S2 with android 4.1.2 and Crash"
+ Trace 232391
Created attachment 263227 [details] [review] gphoto2: Don't release the device multiple times If an error occurs during mounting, don't explicitly release the device because it is released anyway during finalize().
One way of reproducing this bug is to mount with an invalid hostname: gvfs-mount gphoto2://s/ If a crash reporter is enabled, it will detect a segfault because release_device() is called twice.
Review of attachment 263227 [details] [review]: Looks good, thanks!
Thanks. Pushed to master as 249711ae216e03ee88ac8e74904ff55a29674a31 and stable as 7fa1dc9c2ebff2583c1d661dd3a7aa7bf02fe737.