Description of problem: gvfsd-gphoto2 crashes when iPhone is connected
Version-Release number of selected component (if applicable): 1.4.3-18.el6
How reproducible: 100%
Steps to Reproduce:
1. connect iPhone
Actual results: gvfsd-gphoto2 crashes
Expected results: gvfsd-gphoto2 does not crash
Hey, thanks for your bug report. Could you provide backtrace for gvfsd-gphoto2?
It could be solved by upstream patch to use afc instead of gphoto2 (it has same/more functionality):
here is the backtrace:
#0 ensure_ignore_prefix (backend=0x22df010 [GVfsBackendGphoto2], job=0x22e0800, mount_spec=<value optimized out>, mount_source=<value optimized out>,
is_automount=<value optimized out>) at gvfsbackendgphoto2.c:1460
#1 do_mount (backend=0x22df010 [GVfsBackendGphoto2], job=0x22e0800, mount_spec=<value optimized out>, mount_source=<value optimized out>,
is_automount=<value optimized out>) at gvfsbackendgphoto2.c:1674
#2 0x00000000004131c2 in g_vfs_job_run (job=0x22e0800 [GVfsJobMount]) at gvfsjob.c:198
#3 0x00000039e7a6c2ab in g_thread_pool_thread_proxy (data=<value optimized out>) at gthreadpool.c:319
#4 0x00000039e7a6a374 in g_thread_create_proxy (data=0x22e1090) at gthread.c:1955
#5 0x00000039e6a079d1 in start_thread (arg=0x7ff1ca6db700) at pthread_create.c:301
#6 0x00000039e62e89dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Sorry for the late reply, I was out of the office.
Thanks for your backtrace.
According the backtrace it seems the crash could be fixed by upstream commit:
Yes, using a gvfs package with the mentioned fix do improve the situation. Matthias don't get a crash any more, but a window asks to select a tool to download pictures. Loading pictures is not possible, but that probably is another issue.
Thanks for testing. This is probably different issue, but I'm not sure what is it, could you attach screenshot?
Created attachment 969673 [details]
Window appearing when iPhone attached
Created attachment 969674 [details]
Import Photos window
The window I get when starting gThumb Image Viewer(?) with iPhone attached.
I have attached the two windows I get when I connect my iPhone. I first get the window with title "iPhone" ("You have just inserted..."). When I click on "OK", I get the window with the title "Import Photos". In that window I can select and de-select options, but the 'Import ' button does not do anything. Note the error message in the "Import Photos" window.
I must admit I have never ever used this, so I have no idea how this is supposed to work.
Hope this helps,
Hey Matthias, thanks for the info. This is gthumb issue, because it is using own ptp implementation for importing images which is colliding with gvfs. As a workaround, you have to unmount gvfs mount first, see:
This is already fixed in newer gthumb versions, see:
Please file a new bug report against gthumb if it is important for you.
thanks a lot for the hints conecerning gthumb, highly appreciated. I agree that this is another issue, and the crashes that where the issue of this case have definitely been solved.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.