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 637322 - empathy-chat crashes when trying to send a file
empathy-chat crashes when trying to send a file
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: File Transfer
unspecified
Other Linux
: Normal critical
: ---
Assigned To: empathy-maint
Depends on:
Blocks:
 
 
Reported: 2010-12-15 16:19 UTC by Guillaume Desmottes
Modified: 2011-08-29 10:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
http://git.collabora.co.uk/?p=user/cassidy/empathy;a=shortlog;h=refs/heads/disable-chat-ft-637322 (1.75 KB, patch)
2011-01-25 09:08 UTC, Guillaume Desmottes
none Details | Review

Description Guillaume Desmottes 2010-12-15 16:19:46 UTC
- Open a chat
- From the chat window, try to send a file
- CRASH

GLib-GObject-WARNING **: instance of invalid non-instantiatable type `<invalid>'
aborting...

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007fffefd307c8 in g_logv (log_domain=0x7ffff065a870 "GLib-GObject", log_level=G_LOG_LEVEL_WARNING, 
    format=0x7ffff065c0c0 "instance of invalid non-instantiatable type `%s'", args1=0x7fffffffdcb0) at gmessages.c:553
553			G_BREAKPOINT ();
(gdb) 
(gdb) 
(gdb) bt
  • #0 g_logv
    at gmessages.c line 553
  • #1 g_log
    at gmessages.c line 577
  • #2 g_type_check_instance
    at gtype.c line 4053
  • #3 g_signal_emit_valist
    at gsignal.c line 2917
  • #4 g_signal_emit
    at gsignal.c line 3040
  • #5 ft_handler_outgoing_ready_cb
    at empathy-ft-factory.c line 228
  • #6 conn_prepared_cb
    at empathy-ft-handler.c line 1132
  • #7 g_simple_async_result_complete
    at gsimpleasyncresult.c line 748
  • #8 complete_in_idle_cb
    at gsimpleasyncresult.c line 758
  • #9 g_idle_dispatch
    at gmain.c line 4536
  • #10 g_main_dispatch
    at gmain.c line 2440
  • #11 g_main_context_dispatch
    at gmain.c line 3013
  • #12 g_main_context_iterate
    at gmain.c line 3091
  • #13 g_main_loop_run
    at gmain.c line 3299
  • #14 gtk_main
    at gtkmain.c line 1294
  • #15 gtk_application_run_mainloop
    at gtkapplication.c line 83
  • #16 g_application_run
    at gapplication.c line 1216
  • #17 main
    at empathy-chat.c line 152

Comment 1 Guillaume Desmottes 2011-01-25 08:50:06 UTC
Unfortunatelly this can't easily be solved. empathy-chat should delegate the handling of the FT to empathy but this is blocked by https://bugs.freedesktop.org/show_bug.cgi?id=32434
Comment 2 Guillaume Desmottes 2011-01-25 09:07:00 UTC
We should first focus on fixing this crash, which I did by disabling this feature for now. I opened bug #640513 to renable it.
Comment 3 Guillaume Desmottes 2011-01-25 09:08:07 UTC
Created attachment 179273 [details] [review]
http://git.collabora.co.uk/?p=user/cassidy/empathy;a=shortlog;h=refs/heads/disable-chat-ft-637322

 libempathy-gtk/empathy-contact-menu.c |    8 +++++---
 libempathy-gtk/empathy-contact-menu.h |    3 ++-
 src/empathy-map-view.c                |    1 +
 3 files changed, 8 insertions(+), 4 deletions(-)
Comment 4 Emilio Pozuelo Monfort 2011-01-25 10:46:11 UTC
Looks good. As long as we reenable it before 3.0, or users will cry :-)
Comment 5 Guillaume Desmottes 2011-01-25 11:30:52 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.