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 576405 - Crash when a FT was cancelled
Crash when a FT was cancelled
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: File Transfer
2.26.x
Other Linux
: Normal normal
: ---
Assigned To: empathy-maint
Depends on: 582736
Blocks:
 
 
Reported: 2009-03-23 13:33 UTC by Guillaume Desmottes
Modified: 2009-06-01 16:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Guillaume Desmottes 2009-03-23 13:33:00 UTC
- A sent a file to B (using my WIP Gabble FT branch)
- B accepts and while transfering the file B canceled the transfer
- A's Gabble crash because of a bug and so Empathy

(gdb) bt
  • #0 __kernel_vsyscall
  • #1 write
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 write_async_cb
    at /build/buildd/glib2.0-2.20.0/gio/gunixoutputstream.c line 433
  • #3 fd_source_dispatch
    at /build/buildd/glib2.0-2.20.0/gio/gasynchelper.c line 117
  • #4 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.20.0/glib/gmain.c line 1814
  • #5 g_main_context_iterate
    at /build/buildd/glib2.0-2.20.0/glib/gmain.c line 2448
  • #6 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.20.0/glib/gmain.c line 2656
  • #7 IA__gtk_main
    at /build/buildd/gtk+2.0-2.16.0/gtk/gtkmain.c line 1205
  • #8 main
    at empathy.c line 569

Comment 1 Guillaume Desmottes 2009-03-23 14:07:55 UTC
I fixed the Gabble crash and Empathy still crash.
Comment 2 Guillaume Desmottes 2009-03-23 16:27:28 UTC
Oups, I missed the first line. The crash is because of a SIGPIPE.

Program received signal SIGPIPE, Broken pipe.

Thread 3062986544 (LWP 30487)

  • #0 __kernel_vsyscall
  • #1 write
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 write_async_cb
    at /build/buildd/glib2.0-2.20.0/gio/gunixoutputstream.c line 433
  • #3 fd_source_dispatch
    at /build/buildd/glib2.0-2.20.0/gio/gasynchelper.c line 117
  • #4 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.20.0/glib/gmain.c line 1814
  • #5 g_main_context_iterate
    at /build/buildd/glib2.0-2.20.0/glib/gmain.c line 2448
  • #6 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.20.0/glib/gmain.c line 2656
  • #7 IA__gtk_main
    at /build/buildd/gtk+2.0-2.16.0/gtk/gtkmain.c line 1205
  • #8 main
    at empathy.c line 569

Comment 3 Xavier Claessens 2009-03-23 17:12:28 UTC
Seems like a GIO bug.
Comment 4 Cosimo Cecchi 2009-05-15 09:35:59 UTC
This is fixed with my ft_rework branch, but AFAICS, gabble sets the wrong TpFileTransferStateChangeReason when closing the channel (LOCAL_ERROR and REMOTE_ERROR instead of LOCAL_STOPPED and REMOTE_STOPPED), so we don't get the proper error string in the UI. It works fine with Salut though.
Comment 5 Cosimo Cecchi 2009-06-01 16:31:47 UTC
Fixed in master.