[Bug 51528] New: Being signed in with both iChat and Adium, then messaging Salut, crashes Salut
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jun 28 19:18:28 CEST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=51528
Bug #: 51528
Summary: Being signed in with both iChat and Adium, then
messaging Salut, crashes Salut
Classification: Unclassified
Product: Telepathy
Version: git master
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: salut
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: will.thompson at collabora.co.uk
QAContact: telepathy-bugs at lists.freedesktop.org
I have both iChat and Adium signed into “Bonjour” on a machine called "bael".
Despite telling Adium that I want its presence to be known as "guybrush at bael"
(since iChat is already "wjt at bael"), it seems to specify "wjt at bael (2)" in its
from='' attributes.
Unfortunately, Salut crashes when faced with trying to normalize "wjt at bael (2)"
as a handle. Debug log and extremely unhelpful backtrace:
(telepathy-salut:913): wocky-DEBUG: _new_connection: wocky-meta-porter.c:601:
New connection from 172.22.64.170!
(telepathy-salut:913): wocky-DEBUG: Parsing chunk: <?xml version="1.0"
encoding="UTF-8" ?><stream:stream to="wjt at queeg" from="wjt at bael (2)"
xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams"><message
from="wjt at bael (2)" type="chat" to="wjt at queeg"><body>hi.</body><html
xmlns="http://www.w3.org/1999/xhtml"><body><div>hi.</div></body></html></message><message
from="wjt at bael (2)" to="wjt at queeg"><body></body><html
xmlns="http://www.w3.org/1999/xhtml"></html><x
xmlns="jabber:x:event"><id></id></x></message>
(telepathy-salut:913): wocky-DEBUG: handle_stream_open:
wocky-xmpp-reader.c:431: Received stream opening: stream, prefix: stream, uri:
http://etherx.jabber.org/streams
(telepathy-salut:913): wocky-DEBUG: handle_stream_open:
wocky-xmpp-reader.c:450: Stream opening attribute: to = 'wjt at queeg' (prefix:
<no prefix>, uri: <no uri>)
(telepathy-salut:913): wocky-DEBUG: handle_stream_open:
wocky-xmpp-reader.c:450: Stream opening attribute: from = 'wjt at bael (2)'
(prefix: <no prefix>, uri: <no uri>)
(telepathy-salut:913): wocky-DEBUG: _end_element_ns: Received stanza
* message xmlns='jabber:client' from='wjt at bael (2)' type='chat' to='wjt at queeg'
* body
"hi."
* html xmlns='http://www.w3.org/1999/xhtml'
* body
* div
"hi."
(telepathy-salut:913): wocky-DEBUG: _end_element_ns: Received stanza
* message xmlns='jabber:client' from='wjt at bael (2)' to='wjt at queeg'
* body
* html xmlns='http://www.w3.org/1999/xhtml'
* x xmlns='jabber:x:event'
* id
(telepathy-salut:913): wocky-DEBUG: recv_open_cb: wocky-ll-connector.c:371:
stream opened from wjt at bael (2), sending open back
(telepathy-salut:913): wocky-DEBUG: wocky_xmpp_writer_stream_open:
wocky-xmpp-writer.c:298: Writing stream opening: <?xml version='1.0'
encoding='UTF-8'?>
<stream:stream xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams' to="wjt at bael (2)" from=""
version="1.0">
(telepathy-salut:913): wocky-DEBUG: send_open_cb: wocky-ll-connector.c:418:
connected, sending stream features but not expecting anything back
(telepathy-salut:913): wocky-DEBUG: _write_node_tree: Serializing tree:
* features xmlns='http://etherx.jabber.org/streams'
(telepathy-salut:913): wocky-DEBUG: Writing xml: <stream:features/>
(telepathy-salut:913): wocky-DEBUG: maybe_start_timeout:
wocky-meta-porter.c:278: Started porter timeout...
(telepathy-salut:913): wocky-DEBUG: wocky_ll_connector_dispose:
wocky-ll-connector.c:152: dispose called
(telepathy-salut:913): salut-DEBUG: salut_im_manager_new_channel: Requested
channel for handle: 2 (wjt at bael (2))
(telepathy-salut:913): salut-DEBUG: salut_contact_manager_get_contact: Getting
contact for: wjt at bael (2)
**
wocky:ERROR:wocky-c2s-porter.c:212:stanza_handler_new: assertion failed:
(from_valid)
Program received signal SIGABRT, Aborted.
0x00007ffff4755475 in *__GI_raise (sig=<optimized out>)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff4755475 in *__GI_raise (sig=<optimized out>)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffff47586f0 in *__GI_abort () at abort.c:92
#2 0x00007ffff5150317 in g_assertion_message (
domain=domain at entry=0x7ffff6d7b09b "wocky",
file=file at entry=0x7ffff6d7b90d "wocky-c2s-porter.c", line=line at entry=212,
func=func at entry=0x7ffff6d7c8f0 "stanza_handler_new", message=<optimized
out>)
at /tmp/buildd/glib2.0-2.32.3/./glib/gtestutils.c:1861
#3 0x00007ffff5150834 in g_assertion_message_expr (domain=0x7ffff6d7b09b
"wocky",
file=0x7ffff6d7b90d "wocky-c2s-porter.c", line=212,
func=0x7ffff6d7c8f0 "stanza_handler_new", expr=<optimized out>)
at /tmp/buildd/glib2.0-2.32.3/./glib/gtestutils.c:1872
#4 0x00007ffff6d483ae in ?? ()
from /usr/lib/telepathy/salut-0/lib/libwocky-telepathy-salut-0.8.0.so
#5 0x00007ffff6d49a68 in ?? ()
from /usr/lib/telepathy/salut-0/lib/libwocky-telepathy-salut-0.8.0.so
#6 0x00007ffff6d590a6 in ?? ()
from /usr/lib/telepathy/salut-0/lib/libwocky-telepathy-salut-0.8.0.so
#7 0x00007ffff6d5a8ed in ?? ()
from /usr/lib/telepathy/salut-0/lib/libwocky-telepathy-salut-0.8.0.so
#8 0x00007ffff6d628a7 in wocky_porter_register_handler_from_va ()
from /usr/lib/telepathy/salut-0/lib/libwocky-telepathy-salut-0.8.0.so
#9 0x00007ffff6d62a68 in wocky_porter_register_handler_from ()
from /usr/lib/telepathy/salut-0/lib/libwocky-telepathy-salut-0.8.0.so
#10 0x0000000000426e6a in ?? ()
#11 0x00007ffff53f42b3 in g_object_newv (object_type=1,
object_type at entry=7382816,
n_parameters=n_parameters at entry=5, parameters=parameters at entry=0x7097e0)
at /tmp/buildd/glib2.0-2.32.3/./gobject/gobject.c:1741
#12 0x00007ffff53f4630 in g_object_new_valist
(object_type=object_type at entry=7382816,
first_property_name=first_property_name at entry=0x46ecdf "connection",
var_args=var_args at entry=0x7fffffffdf18)
at /tmp/buildd/glib2.0-2.32.3/./gobject/gobject.c:1830
#13 0x00007ffff53f4964 in g_object_new (object_type=7382816,
first_property_name=0x46ecdf "connection")
at /tmp/buildd/glib2.0-2.32.3/./gobject/gobject.c:1545
#14 0x0000000000425bdf in ?? ()
#15 0x000000000042664e in ?? ()
#16 0x00007ffff6d48a6d in ?? ()
from /usr/lib/telepathy/salut-0/lib/libwocky-telepathy-salut-0.8.0.so
#17 0x00007ffff6d4a202 in ?? ()
from /usr/lib/telepathy/salut-0/lib/libwocky-telepathy-salut-0.8.0.so
#18 0x00007ffff569c3f7 in g_simple_async_result_complete (simple=0x726070)
at /tmp/buildd/glib2.0-2.32.3/./gio/gsimpleasyncresult.c:767
#19 0x00007ffff569c4f9 in complete_in_idle_cb (data=<optimized out>)
at /tmp/buildd/glib2.0-2.32.3/./gio/gsimpleasyncresult.c:779
#20 0x00007ffff512f205 in g_main_dispatch (context=0x6a4860)
at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#21 g_main_context_dispatch (context=context at entry=0x6a4860)
at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#22 0x00007ffff512f538 in g_main_context_iterate (context=0x6a4860,
block=block at entry=1,
dispatch=dispatch at entry=1,
self=<error reading variable: Unhandled dwarf expression opcode 0xfa>)
at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#23 0x00007ffff512f932 in g_main_loop_run (loop=0x6a7650)
at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3340
#24 0x00007ffff4e1da7f in tp_run_connection_manager (prog_name=<optimized out>,
version=<optimized out>, construct_cm=<optimized out>, argc=<optimized
out>,
argv=<optimized out>) at run.c:285
#25 0x000000000041be08 in main ()
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list