Bug 1541654 - Segfault in libgvfsdaemon.so
Summary: Segfault in libgvfsdaemon.so
Keywords:
Status: CLOSED DUPLICATE of bug 1495288
Alias: None
Product: Fedora
Classification: Fedora
Component: gvfs
Version: 27
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Ondrej Holy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-03 18:34 UTC by redhat
Modified: 2018-03-05 16:26 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-02-15 16:04:00 UTC
Type: Bug
Embargoed:
redhat: needinfo-


Attachments (Terms of Use)

Description redhat 2018-02-03 18:34:58 UTC
Description of problem:
When connecting an Android device in MTP mode the Gnome desktop tries to open an nautilus file manager window, which fails because of a segfault in libgvfsdaemon.so.


Version-Release number of selected component (if applicable):
gvfs-1.34.1-1.fc27.x86_64
gvfs-mtp-1.34.1-1.fc27.x86_64


How reproducible:
Allways with a Google Nexus 10, no matter of MTP or PTP mode.


Steps to Reproduce:
1. Just connect to PC while in Gnome desktop
2.
3.

Actual results:
Hundrets of error pop-ups.

Expected results:
One single file manager window pops up.


Additional info:
[21963.157725] usb 2-1.2: USB disconnect, device number 47
[21963.332316] usb 2-1.2: new high-speed USB device number 48 using ehci-pci
[21963.411968] usb 2-1.2: New USB device found, idVendor=18d1, idProduct=4ee6
[21963.411976] usb 2-1.2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[21963.411981] usb 2-1.2: Product: Nexus 10
[21963.411985] usb 2-1.2: Manufacturer: samsung
[21963.411988] usb 2-1.2: SerialNumber: XXXXXXXXXX
[21963.523321] usb 2-1.2: reset high-speed USB device number 48 using ehci-pci
[21963.608888] usb 2-1.2: usbfs: process 12512 (<-XXXXXXXX) did not claim interface 1 before use
[21963.913365] usb 2-1.2: reset high-speed USB device number 48 using ehci-pci
[21963.991905] usb 2-1.2: device firmware changed
[21963.993098] usb 2-1.2: USB disconnect, device number 48
[21964.009007] gvfsd-mtp[12497]: segfault at 18 ip 00007fe915e1ea99 sp 00007ffc55be1e00 error 4 in libgvfsdaemon.so[7fe915e11000+25000]


Stack backtrace 

#0  unregister_mount_got_proxy_cb (source_object=0x55bce4295160, res=<optimized out>, user_data=0x55bce42a0f20) at gvfsbackend.c:773
#1  0x00007f6b569d32c4 in g_task_return_now () from /lib64/libgio-2.0.so.0
#2  0x00007f6b569d3ce6 in g_task_return () from /lib64/libgio-2.0.so.0
#3  0x00007f6b56a122fd in init_second_async_cb () from /lib64/libgio-2.0.so.0
#4  0x00007f6b569d32c4 in g_task_return_now () from /lib64/libgio-2.0.so.0
#5  0x00007f6b569d3ce6 in g_task_return () from /lib64/libgio-2.0.so.0
#6  0x00007f6b56a118a9 in async_init_data_set_name_owner () from /lib64/libgio-2.0.so.0
#7  0x00007f6b56a11b77 in async_init_get_name_owner_cb () from /lib64/libgio-2.0.so.0
#8  0x00007f6b569d32c4 in g_task_return_now () from /lib64/libgio-2.0.so.0
#9  0x00007f6b569d3ce6 in g_task_return () from /lib64/libgio-2.0.so.0
#10 0x00007f6b56a06d02 in g_dbus_connection_call_done () from /lib64/libgio-2.0.so.0
#11 0x00007f6b569d32c4 in g_task_return_now () from /lib64/libgio-2.0.so.0
#12 0x00007f6b569d32f9 in complete_in_idle_cb () from /lib64/libgio-2.0.so.0
#13 0x00007f6b55d90577 in g_idle_dispatch () from /lib64/libglib-2.0.so.0
#14 0x00007f6b55d93b77 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#15 0x00007f6b55d93f20 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#16 0x00007f6b55d94232 in g_main_loop_run () from /lib64/libglib-2.0.so.0
#17 0x000055bce3f7efff in daemon_main (argc=4, argv=0x7fff09a4b708, max_job_threads=1, default_type=0x55bce3f7f620 "mtp", mountable_name=0x0, first_type_name=<optimized out>) at daemon-main.c:398
#18 0x000055bce3f77ff3 in main (argc=4, argv=0x7fff09a4b708) at daemon-main-generic.c:45

Comment 1 Ondrej Holy 2018-02-05 14:36:43 UTC
I suppose that it is another duplicate of Bug 1495288. But I wonder that you see hundreds of error popups. What is a content of those popups?

Comment 2 redhat 2018-02-05 17:28:21 UTC
Well, as of today the pop ups are gone. I updated my system since I filed this bug report. If it happens again, I sure will provide the message of the pop ups.

Comment 3 Ondrej Holy 2018-02-15 16:04:00 UTC

*** This bug has been marked as a duplicate of bug 1495288 ***


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