logo       

Yahoo protocol failing in CVS: msg#00179

gnome.gaim.devel

Subject: Yahoo protocol failing in CVS

I'm getting crashes on startup with CVS HEAD when it tries to log me in
to yahoo.

GDB output is below. I've tracked the issue back through 'id' being
NULL to what I believe is the root cause.

Starting from a fresh configuration, MSN works but Y! doesn't.
They're the two protocols I use with Gaim. It also fails starting
with a clean .gaim directory and setting up the Yahoo account, so
I know it's not left over cruft from old Gaim versions.

I believe the root cause of this problem is that accounts are loaded
before plugins, and hence there is no list of statuses available for
Yahoo. When it tries to get the status for 'online', a NULL is
returned, and this NULL is then used in the strcmp below.

This is the first time I've reported any issues with Gaim (I'm playing
with CVS because I've written a patch to maintain formatting between
messages within a single conversation, and I want to submit it against
a working CVS!) so please let me know if I'm going about it the wrong
way.

Regards,

Bron.



-----------------------------------------------------------------------------------

(gdb) run
Starting program: /usr/local/bin/gaim
[Thread debugging using libthread_db enabled]
[New Thread -1218255584 (LWP 16286)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1218255584 (LWP 16286)]
yahoo_login (account=0x815f748, status=0x81ffbc0) at yahoo.c:2237
2237 if (!strcmp(id, YAHOO_STATUS_TYPE_AVAILABLE) ||
!strcmp(id, YAHOO_STATUS_TYPE_ONLINE)) {
(gdb) bt
#0 yahoo_login (account=0x815f748, status=0x81ffbc0) at yahoo.c:2237
#1 0x08096b67 in serv_login (account=0x815f748, status=0x81ffbc0)
at server.c:73
#2 0x0806a9b7 in gaim_account_connect (account=0x815f748,
status=0x81ffbc0)
at account.c:676
#3 0x0806d2fe in gaim_accounts_auto_login (ui=0x810f42a "gtk-gaim")
at account.c:1573
#4 0x080e4d1d in main (argc=1, argv=0xbffffae4) at gtkmain.c:678
--
Bron Gondwana
brong@xxxxxxxxxxx



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise