[JDEV] Yahoo Transport 2 problem

Paul Curtis pcurtis at terrapin.com
Thu Aug 15 16:52:21 CDT 2002


Menzi, Hans wrote:
> When deleting a yahoo user from my roster I get the following seg fault (running RHL 7.3, jabber 1.4.1, yahoo-t-2):
> 
> Any Idea's ?
> 
> -- START DEBUG --
> Thu Aug 15 13:55:21 2002 deliver.c:460 DELIVER 1:xxx 
> Thu Aug 15 13:55:21 2002 deliver.c:649 delivering to instance 'yahoo.jabber.xxx' 
> Thu Aug 15 13:55:21 2002 mtq 80EE488 entering from pth 
> Thu Aug 15 13:55:21 2002 mtq 80EE488 one call 819D380 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:253 [YAHOO] Packet type=8 subtype=11 iq=(null) iq_type=unsubscribed 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:254 [YAHOO] Packet to 'xxxxxxx at yahoo.jabber.xxx' 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:255 [YAHOO] Packet from 'hans at jabber.eci.com' 
> Thu Aug 15 13:55:21 2002 mtq 80EE488 leaving to pth 
> Thu Aug 15 13:55:21 2002 mtq 80CDF48 entering from pth 
> Thu Aug 15 13:55:21 2002 mtq 80CDF48 one call 819AB00 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:253 [YAHOO] Packet type=8 subtype=10 iq=(null) iq_type=unsubscribe 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:254 [YAHOO] Packet to 'xxxxxxx at yahoo.jabber.xxx' 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:255 [YAHOO] Packet from 'hans at jabber.eci.com' 
> Thu Aug 15 13:55:21 2002 mtq 80CDF48 leaving to pth 
> Thu Aug 15 13:55:21 2002 mtq 80DE1E8 entering from pth 
> Thu Aug 15 13:55:21 2002 mtq 80DE1E8 one call 819BF40 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:253 [YAHOO] Packet type=8 subtype=10 iq=(null) iq_type=unsubscribe 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:254 [YAHOO] Packet to 'xxxxxxx at yahoo.jabber.xxx' 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:255 [YAHOO] Packet from 'hans at jabber.eci.com' 
> Thu Aug 15 13:55:21 2002 mtq 80DE1E8 leaving to pth 
> Thu Aug 15 13:55:21 2002 mtq 80FE728 entering from pth 
> Thu Aug 15 13:55:21 2002 mtq 80FE728 queue call 819D380 
> Thu Aug 15 13:55:21 2002 mtq 80FE728 queue call 819AB00 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:39 [YAHOO]: ------------------------- 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:40 [YAHOO]: Reading keys from hash 'contacts -- remove buddy' 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:35 [YAHOO]: Key = 'xxxxxxx' 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:35 [YAHOO]: Key = 'ymessengersystem' 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:42 [YAHOO]: ------------------------- 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:204 [YAHOO]: Removing 'xxxxxxx' from group 'Buddies' 
> Thu Aug 15 13:55:21 2002 yahoo.c:299 [YAHOO]: Write Key: 1 Value: mexxxxxxx 
> Thu Aug 15 13:55:21 2002 yahoo.c:299 [YAHOO]: Write Key: 7 Value: xxxxxxx 
> Thu Aug 15 13:55:21 2002 yahoo.c:299 [YAHOO]: Write Key: 65 Value: Buddies 
> Thu Aug 15 13:55:21 2002 yahoo.c:349 [YAHOO]: Writing 60 bytes to Yahoo! (fd=6) 
> Thu Aug 15 13:55:21 2002 mio.c:908 mio_write called on x: 0 buffer: YMSG 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:39 [YAHOO]: ------------------------- 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:40 [YAHOO]: Reading keys from hash 'contacts -- remove buddy, after zap' 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:35 [YAHOO]: Key = 'ymessengersystem' 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:42 [YAHOO]: ------------------------- 
> Thu Aug 15 13:55:21 2002 mtq 80FE728 queue call 819BF40 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:39 [YAHOO]: ------------------------- 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:40 [YAHOO]: Reading keys from hash 'contacts -- remove buddy' 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:35 [YAHOO]: Key = 'ymessengersystem' 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:42 [YAHOO]: ------------------------- 
> Thu Aug 15 13:55:21 2002 yahoo-phandler.c:204 [YAHOO]: Removing 'xxxxxxx' from group '(null)' 
> Segmentation fault 
> -- END DEBUG --

This looks to be a bug with the buddy rostering. The 'ymessengersystem' buddy 
that Yahoo creates for you does not have a valid group. I will add code to avoid 
this issue in the future. However, I do not believe you can "remove" this buddy. 
Please file a bug at JabberStudio.org.

Thanks,
paul




More information about the JDev mailing list