[JDEV] Yahoo Transport Crash

Kevin Limperos klimperos at heuristicdesigns.com
Thu Apr 12 17:24:43 CDT 2001

	I'm running the Yahoo transport in its own (separate) jabberd on RH
6.2/Jabber1.4.1/Yahoo0.8-1.4. When a user logs in then logs out and logs in
again, something is apparently not reset or cleaned up correctly, as the
server core dumps. The trace is:

#0  0x8056fd1 in jid_cmp (a=0x30, b=0x81810c8) at jid.c:231
231         if(_jid_nullstrcmp(a->resource, b->resource) != 0) return -1;
(gdb) bt
#0  0x8056fd1 in jid_cmp (a=0x30, b=0x81810c8) at jid.c:231
#1  0x805715d in jid_append (a=0x30, b=0x81810c8) at jid.c:266
#2  0x40140c33 in yahoo_parse_presence (yjp=0x8181120) at presence.c:268
#3  0x4013fade in yahoo_parse_jpacket (arg=0x8181120) at parser.c:279
#4  0x8055328 in mtq_main (arg=0x80c1b10) at mtq.c:150
#5  0x4001aeee in pth_spawn_trampoline () from /usr/local/lib/libpth.so.13
#6  0x40019058 in pth_mctx_set_bootstrap () from /usr/local/lib/libpth.so.13
#7  0x40018fd6 in pth_mctx_set_trampoline () from
#8  0x4005dc68 in __restore ()
    at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127

Line 259 in presence.c:
  s = yahoo_find_session(yjp->yti, jp->from);

sets s to a value such that, s->online_users, while not NULL, seems to be
corrupted (value 0x30 above).

Any help would be appreciated. Thank you.


More information about the JDev mailing list