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 331664 - Need resource to authenticate
Need resource to authenticate
Status: RESOLVED FIXED
Product: gossip
Classification: Deprecated
Component: Jabber
0.10
Other Linux
: Normal major
: ---
Assigned To: Gossip Maintainers
Gossip Maintainers
: 332295 332360 334609 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-02-18 11:39 UTC by Fryderyk Dziarmagowski
Modified: 2006-03-15 21:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fryderyk Dziarmagowski 2006-02-18 11:39:04 UTC
LM_DEBUG=net, started in gdb:

Going to connect to jabber.bettercom.de
(no debugging symbols found)
Trying 212.202.242.69 port 5223...

SEND:
-----------------------------------
<?xml version='1.0' encoding='UTF-8'?>
-----------------------------------

SEND:
-----------------------------------
<stream:stream xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" to="jabber.bettercom.de" id="msg_1">
-----------------------------------
(no debugging symbols found)

RECV [147]:
-----------------------------------
'<?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' id='43F706B9' xmlns='jabber:client' from='jabber.bettercom.de'>'
-----------------------------------

** CRITICAL **: lm_connection_authenticate: assertion `resource != NULL' failed
aborting...

Program received signal SIGABRT, Aborted.
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/libc.so.6
  • #2 abort
    from /lib/libc.so.6
  • #3 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #4 g_log
    from /usr/lib/libglib-2.0.so.0
  • #5 g_return_if_fail_warning
    from /usr/lib/libglib-2.0.so.0
  • #6 lm_connection_authenticate
    from /usr/lib/libloudmouth-1.so.0
  • #7 gossip_jabber_get_contact_from_jid
  • #8 lm_connection_set_keep_alive_rate
    from /usr/lib/libloudmouth-1.so.0
  • #9 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #10 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #11 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #12 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #13 main

same story when SSL is off.

gossip-0.10
loudmouth-1.0
Comment 1 Martyn Russell 2006-02-18 11:56:43 UTC
Thanks for raising this.

I have sent an additional mail out to the gossip-dev list and gnome-announce list to let people know why this will happen.

Basically, there have been some changes between 0.9 and 0.10 to the way accounts and chat rooms are saved/used.  See the follow up mail for more information. 
Comment 2 Fryderyk Dziarmagowski 2006-02-18 12:05:18 UTC
I've just recived your post to gossip-dev. Manually edited account.xml makes it work. But the problem is, it fails when new account is created (no ~/.gnome2/Gossip dir yet!).
Comment 3 Martyn Russell 2006-02-18 12:18:12 UTC
OK, thanks.

I will test this more thoroughly ASAP.
Comment 4 Martyn Russell 2006-02-23 11:56:59 UTC
*** Bug 332295 has been marked as a duplicate of this bug. ***
Comment 5 Martyn Russell 2006-02-23 21:29:35 UTC
*** Bug 332360 has been marked as a duplicate of this bug. ***
Comment 6 Martyn Russell 2006-02-28 13:38:40 UTC
I just tested Gossip by removing my ~/.gnome2/Gossip directory and it worked perfectly.
Comment 7 Martyn Russell 2006-03-01 11:03:42 UTC
Reopening to remind me to sort out the add-account assistant, see the conversation thread for more information:

http://lists.imendio.com/pipermail/gossip-dev/2006-March/008567.html
Comment 8 Martyn Russell 2006-03-15 15:06:18 UTC
*** Bug 334609 has been marked as a duplicate of this bug. ***
Comment 9 Martyn Russell 2006-03-15 21:37:03 UTC
Fixed this up now.