Bug 25775

Summary: ** (telepathy-gabble:12162): DEBUG: send_iq_async failed: Stream closed ** (telepathy-gabble:12162): DEBUG: send_iq_async failed: Stream closed GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GabbleConnection' aborting... Program received
Product: Telepathy Reporter: Guillaume Desmottes <guillaume.desmottes>
Component: gabbleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: critical    
Priority: medium CC: cmaiku
Version: unspecifiedKeywords: patch
Hardware: Other   
OS: All   
URL: http://git.collabora.co.uk/?p=user/cassidy/telepathy-gabble;a=shortlog;h=refs/heads/crash-25775
Whiteboard:
i915 platform: i915 features:

Description Guillaume Desmottes 2009-12-23 02:24:23 UTC
I started Gabble master with persist and did lot of connections/disconnections (testing things in Empathy) and got this crash after a while:

** (telepathy-gabble:12162): DEBUG: send_iq_async failed: Stream closed
** (telepathy-gabble:12162): DEBUG: send_iq_async failed: Stream closed

GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GabbleConnection'
aborting...

Program received signal SIGABRT, Aborted.
0x00007ffff52764b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64	../nptl/sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type.
	in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0  0x00007ffff52764b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff5279f50 in *__GI_abort () at abort.c:92
#2  0x00007ffff57fce0a in IA__g_logv (log_domain=<value optimized out>, log_level=<value optimized out>, format=<value optimized out>, 
    args1=0x7fffffffe1c0) at /build/buildd/glib2.0-2.22.3/glib/gmessages.c:549
#3  0x00007ffff57fcea3 in IA__g_log (log_domain=0x2f82 <Address 0x2f82 out of bounds>, log_level=12162, format=0x6 <Address 0x6 out of bounds>)
    at /build/buildd/glib2.0-2.22.3/glib/gmessages.c:569
#4  0x00007ffff5cad41d in IA__g_type_check_instance_cast (type_instance=0x71c110, iface_type=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/gobject/gtype.c:3747
#5  0x0000000000490d4c in pep_reply_cb (source=0x72e5e0, res=0xa19aa0, user_data=0x71c110) at conn-location.c:85
#6  0x000000000046f0b2 in send_query_cb (source=0x7130d0, res=0x7fffec0022a0, user_data=<value optimized out>) at wocky-pep-service.c:288
#7  0x00007ffff5f187b9 in complete_in_idle_cb (data=0x2f82) at /build/buildd/glib2.0-2.22.3/gio/gsimpleasyncresult.c:598
#8  0x00007ffff57f2bce in g_main_dispatch (context=0x70dc60) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#9  IA__g_main_context_dispatch (context=0x70dc60) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#10 0x00007ffff57f6598 in g_main_context_iterate (context=0x70dc60, block=<value optimized out>, dispatch=<value optimized out>, 
    self=<value optimized out>) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#11 0x00007ffff57f69f5 in IA__g_main_loop_run (loop=0x7108c0) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2799
#12 0x00007ffff646f076 in tp_run_connection_manager (prog_name=<value optimized out>, version=<value optimized out>, 
    construct_cm=0x423ee0 <construct_cm>, argc=<value optimized out>, argv=<value optimized out>) at run.c:281
#13 0x0000000000423e8e in gabble_main (argc=1, argv=0x7fffffffe5e8) at gabble.c:148
#14 0x00007ffff5261abd in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, 
    init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffffffe5d8) at libc-start.c:220
#15 0x0000000000423ce9 in _start () at ../sysdeps/x86_64/elf/start.S:113
(gdb)
Comment 1 Guillaume Desmottes 2010-01-13 05:47:00 UTC
Still present in current master.
Comment 2 Mike Ruprecht 2010-02-01 15:59:02 UTC
*** Bug 26328 has been marked as a duplicate of this bug. ***
Comment 3 Guillaume Desmottes 2010-04-16 07:47:13 UTC
While fixing bug #27694 I managed to reproduce this bug in test-location.

http://git.collabora.co.uk/?p=user/cassidy/telepathy-gabble;a=shortlog;h=refs/heads/crash-25775
Comment 4 Guillaume Desmottes 2010-04-16 07:53:12 UTC
Fixed in master.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.