Bug 951731 - [abrt] gvfs-afc-1.16.0-1.fc19: lockdownd_start_service: Process /usr/libexec/gvfsd-afc was killed by signal 11 (SIGSEGV)
Summary: [abrt] gvfs-afc-1.16.0-1.fc19: lockdownd_start_service: Process /usr/libexec/...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gvfs
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Holy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4466db57304909ea66ff446642d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-12 21:55 UTC by Luya Tshimbalanga
Modified: 2013-06-29 18:46 UTC (History)
4 users (show)

Fixed In Version: gvfs-1.16.3-2.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-18 15:19:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (22.01 KB, text/plain)
2013-04-12 21:55 UTC, Luya Tshimbalanga
no flags Details
File: cgroup (127 bytes, text/plain)
2013-04-12 21:55 UTC, Luya Tshimbalanga
no flags Details
File: core_backtrace (913 bytes, text/plain)
2013-04-12 21:55 UTC, Luya Tshimbalanga
no flags Details
File: dso_list (3.31 KB, text/plain)
2013-04-12 21:55 UTC, Luya Tshimbalanga
no flags Details
File: environ (739 bytes, text/plain)
2013-04-12 21:55 UTC, Luya Tshimbalanga
no flags Details
File: limits (1.29 KB, text/plain)
2013-04-12 21:55 UTC, Luya Tshimbalanga
no flags Details
File: maps (16.20 KB, text/plain)
2013-04-12 21:55 UTC, Luya Tshimbalanga
no flags Details
File: open_fds (378 bytes, text/plain)
2013-04-12 21:55 UTC, Luya Tshimbalanga
no flags Details
File: proc_pid_status (937 bytes, text/plain)
2013-04-12 21:56 UTC, Luya Tshimbalanga
no flags Details
File: var_log_messages (246 bytes, text/plain)
2013-04-12 21:56 UTC, Luya Tshimbalanga
no flags Details
update to new libimobiledevice api (8.82 KB, patch)
2013-06-11 11:42 UTC, Ondrej Holy
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.