GNOME Bugzilla – Bug 576405
Crash when a FT was cancelled
Last modified: 2009-06-01 16:31:47 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
+ Trace 213760
I fixed the Gabble crash and Empathy still crash.
Oups, I missed the first line. The crash is because of a SIGPIPE. Program received signal SIGPIPE, Broken pipe.
+ Trace 213771
Thread 3062986544 (LWP 30487)
Seems like a GIO bug.
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.
Fixed in master.