After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 706225 - gvfsd-http crashed with signal 5 in g_cancellable_make_pollfd()
gvfsd-http crashed with signal 5 in g_cancellable_make_pollfd()
Status: RESOLVED DUPLICATE of bug 695652
Product: gvfs
Classification: Core
Component: general
1.18.x
Other Linux
: Normal major
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2013-08-18 07:02 UTC by Cristian Aravena Romero
Modified: 2013-11-14 09:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Cristian Aravena Romero 2013-08-18 07:02:39 UTC
Open bug in launchpad.net:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1054081

"Do not know why this happened.
ubuntu 12.10"
Comment 1 Cristian Aravena Romero 2013-08-18 07:03:10 UTC


  • #0 g_logv
    at /build/buildd/glib2.0-2.33.14/./glib/gmessages.c line 974
  • #1 g_log
    at /build/buildd/glib2.0-2.33.14/./glib/gmessages.c line 1003
  • #2 g_wakeup_new
    at /build/buildd/glib2.0-2.33.14/./glib/gwakeup.c line 163
  • #3 g_cancellable_make_pollfd
    at /build/buildd/glib2.0-2.33.14/./gio/gcancellable.c line 406
  • #4 socket_source_new
    at /build/buildd/glib2.0-2.33.14/./gio/gsocket.c line 3270
  • #5 g_socket_create_source
    at /build/buildd/glib2.0-2.33.14/./gio/gsocket.c line 3335
  • #6 _g_socket_read_with_control_messages
    at /build/buildd/glib2.0-2.33.14/./gio/gdbusprivate.c line 200
  • #7 _g_dbus_worker_do_read_unlocked
    at /build/buildd/glib2.0-2.33.14/./gio/gdbusprivate.c line 860
  • #8 _g_dbus_worker_do_read_cb
    at /build/buildd/glib2.0-2.33.14/./gio/gdbusprivate.c line 809
  • #9 g_simple_async_result_complete
    at /build/buildd/glib2.0-2.33.14/./gio/gsimpleasyncresult.c line 775
  • #10 complete_in_idle_cb
    at /build/buildd/glib2.0-2.33.14/./gio/gsimpleasyncresult.c line 787
  • #11 g_main_dispatch
    at /build/buildd/glib2.0-2.33.14/./glib/gmain.c line 2715
  • #12 g_main_context_dispatch
    at /build/buildd/glib2.0-2.33.14/./glib/gmain.c line 3219
  • #13 g_main_context_iterate
    at /build/buildd/glib2.0-2.33.14/./glib/gmain.c line 3290
  • #14 g_main_loop_run
    at /build/buildd/glib2.0-2.33.14/./glib/gmain.c line 3484
  • #15 gdbus_shared_thread_func
    at /build/buildd/glib2.0-2.33.14/./gio/gdbusprivate.c line 277
  • #16 g_thread_proxy
    at /build/buildd/glib2.0-2.33.14/./glib/gthread.c line 797
  • #17 start_thread
    at pthread_create.c line 308
  • #18 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 112
  • #19 ??

Comment 2 André Klapper 2013-08-18 09:57:24 UTC
Does that still happen in a recent version? 
1.13 is an old unstable version.
Comment 3 Michal Hruby 2013-08-22 18:47:34 UTC
Yes, it's happening with 1.17 as well, see the top bug at https://errors.ubuntu.com/?package=gvfs-backends&period=month
Comment 4 Sebastien Bacher 2013-11-13 16:34:26 UTC
That's still happening with gvfs 1.18.2

There are similar reports in other distributions, e.g https://bugzilla.redhat.com/show_bug.cgi?id=984217
Comment 5 Sebastien Bacher 2013-11-13 16:36:20 UTC
Report from 1.17.2, https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1196193

"While using FTP through Nautilus to modify files on a remote location using Gedit, FTP crashed causing the file being modified to lose all its content - with no backup. That happened to me several times, this time Apport finally recognized an error.

  • #0 g_logv
    at /build/buildd/glib2.0-2.37.3/./glib/gmessages.c line 989
  • #1 g_log
    at /build/buildd/glib2.0-2.37.3/./glib/gmessages.c line 1025
  • #2 g_wakeup_new
    at /build/buildd/glib2.0-2.37.3/./glib/gwakeup.c line 163
  • #3 g_cancellable_make_pollfd
    at /build/buildd/glib2.0-2.37.3/./gio/gcancellable.c line 402
  • #4 g_socket_condition_timed_wait
    at /build/buildd/glib2.0-2.37.3/./gio/gsocket.c line 3556
  • #5 g_socket_connect
    at /build/buildd/glib2.0-2.37.3/./gio/gsocket.c line 2289
  • #6 g_socket_connection_connect
    at /build/buildd/glib2.0-2.37.3/./gio/gsocketconnection.c line 155
  • #7 g_socket_client_connect
    at /build/buildd/glib2.0-2.37.3/./gio/gsocketclient.c line 1089
  • #8 g_vfs_ftp_connection_open_data_connection
    at gvfsftpconnection.c line 266
  • #9 g_vfs_ftp_task_setup_data_connection_pasv
    at gvfsftptask.c line 857
  • #10 g_vfs_ftp_task_setup_data_connection
    at gvfsftptask.c line 1101
  • #11 do_start_write
    at gvfsbackendftp.c line 894
  • #12 do_replace
    at gvfsbackendftp.c line 988
  • #13 g_vfs_job_run
    at gvfsjob.c line 197
  • #14 job_handler_callback
    at gvfsdaemon.c line 200
  • #15 g_thread_pool_thread_proxy
    at /build/buildd/glib2.0-2.37.3/./glib/gthreadpool.c line 309
  • #16 g_thread_proxy
    at /build/buildd/glib2.0-2.37.3/./glib/gthread.c line 798
  • #17 start_thread
    at pthread_create.c line 311
  • #18 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 113

Comment 6 Ross Lagerwall 2013-11-13 17:00:25 UTC
It appears that something is leaking fds. Reassigning to the general component since it's not clear what the culprit is.
Comment 7 Ross Lagerwall 2013-11-14 06:35:57 UTC
If the process runs out of file descriptors, there is a good chance that it crashes at g_cancellable_make_pollfd(). But the reasons for running out of file descriptors vary so there are several bugs here.

The gvfsd-http one is easily reproducible in Ubuntu 13.10 by typing various things in the dash. It repeatedly opens http connections and never closes them, eventually running out of fds and crashing somewhere. The root cause of this is libsoup and is apparently fixed in 2.44.1 (see https://bugzilla.gnome.org/show_bug.cgi?id=695652#c44). I guess Ubuntu should update their libsoup package.

I will close this bug as a dup of #695652 and open separate ones for the bugs linked in comments 4 and 5.

*** This bug has been marked as a duplicate of bug 695652 ***
Comment 8 Sebastien Bacher 2013-11-14 09:31:11 UTC
@Ross: thanks, we got the new libsoup in the current unstable serie:
https://launchpad.net/ubuntu/+source/libsoup2.4/2.44.1-1

let's see if that makes the issue stop as it should!