Bug 951731

Summary: [abrt] gvfs-afc-1.16.0-1.fc19: lockdownd_start_service: Process /usr/libexec/gvfsd-afc was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Luya Tshimbalanga <luya>
Component: gvfsAssignee: Ondrej Holy <oholy>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: alexl, bnocera, cfergeau, mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4466db57304909ea66ff446642d992d022b88f8b
Fixed In Version: gvfs-1.16.3-2.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-18 15:19:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages
none
update to new libimobiledevice api none

Description Luya Tshimbalanga 2013-04-12 21:55:41 UTC
Description of problem:
Plugging a iPod Touch Gen3 into USB.

Version-Release number of selected component:
gvfs-afc-1.16.0-1.fc19

Additional info:
backtrace_rating: 4
cmdline:        /usr/libexec/gvfsd-afc --spawner :1.3 /org/gtk/gvfs/exec_spaw/3
crash_function: lockdownd_start_service
executable:     /usr/libexec/gvfsd-afc
kernel:         3.9.0-0.rc6.git0.1.fc19.x86_64
runlevel:       N 5
uid:            1000
ureports_counter: 3

Truncated backtrace:
Thread no. 1 (4 frames)
 #0 lockdownd_start_service at lockdown.c:1518
 #1 g_vfs_backend_afc_mount at gvfsbackendafc.c:652
 #2 g_vfs_job_run at gvfsjob.c:197
 #4 g_thread_proxy at gthread.c:798

Potential duplicate: bug 950657

Comment 1 Luya Tshimbalanga 2013-04-12 21:55:44 UTC
Created attachment 735007 [details]
File: backtrace

Comment 2 Luya Tshimbalanga 2013-04-12 21:55:46 UTC
Created attachment 735008 [details]
File: cgroup

Comment 3 Luya Tshimbalanga 2013-04-12 21:55:48 UTC
Created attachment 735009 [details]
File: core_backtrace

Comment 4 Luya Tshimbalanga 2013-04-12 21:55:50 UTC
Created attachment 735010 [details]
File: dso_list

Comment 5 Luya Tshimbalanga 2013-04-12 21:55:52 UTC
Created attachment 735011 [details]
File: environ

Comment 6 Luya Tshimbalanga 2013-04-12 21:55:54 UTC
Created attachment 735012 [details]
File: limits

Comment 7 Luya Tshimbalanga 2013-04-12 21:55:56 UTC
Created attachment 735013 [details]
File: maps

Comment 8 Luya Tshimbalanga 2013-04-12 21:55:58 UTC
Created attachment 735014 [details]
File: open_fds

Comment 9 Luya Tshimbalanga 2013-04-12 21:56:00 UTC
Created attachment 735015 [details]
File: proc_pid_status

Comment 10 Luya Tshimbalanga 2013-04-12 21:56:08 UTC
Created attachment 735016 [details]
File: var_log_messages

Comment 11 Fedora Admin XMLRPC Client 2013-05-23 14:36:48 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 12 Matthias Clasen 2013-05-25 04:16:50 UTC
Looks like libimobiledevice changed api:


make[2]: Entering directory `/home/mclasen/dist-git/gvfs/gvfs-1.16.1/daemon'
  CC       gvfsd_afc-gvfsbackendafc.o
gvfsbackendafc.c: In function ‘g_vfs_backend_afc_mount’:
gvfsbackendafc.c:652:7: warning: passing argument 3 of ‘lockdownd_start_service’ from incompatible pointer type [enabled by default]
       lerr = lockdownd_start_service (lockdown_cli, self->service, &port);
       ^

[...]

libimobiledevice-1.1.1 had:

lockdownd_error_t lockdownd_start_service(lockdownd_client_t client, const char *service, uint16_t *port);


libimobiledevice-1.1.5 has:

lockdownd_error_t lockdownd_start_service(lockdownd_client_t client, const char *identifier, lockdownd_service_descriptor_t *service);


The gvfs afc backend will need updates for this (and other api breaks).

Ondrej, can you look at this ?

Comment 13 Ondrej Holy 2013-06-11 11:42:41 UTC
Created attachment 759582 [details]
update to new libimobiledevice api

There is proposed update for new libimobiledevice. Unfortunately, I haven't any idevice to test it, could somebody test it please?

Comment 14 Christophe Fergeau 2013-06-11 15:00:45 UTC
Patch looks ok from a quick glance. I've tested a build with this patch and this makes the segfault go away.

Comment 15 Ondrej Holy 2013-06-18 15:19:48 UTC
commit 80d83ce120fc0af69ef61abfeea96604c0190cadq

Comment 16 Fedora Update System 2013-06-20 10:41:40 UTC
gvfs-1.16.3-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/gvfs-1.16.3-2.fc19

Comment 17 Fedora Update System 2013-06-29 18:46:30 UTC
gvfs-1.16.3-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.