[Pidgin] #5246: Pidgin crashes on network loss when using jabber

Pidgin trac at pidgin.im
Tue Mar 18 18:16:56 EDT 2008


#5246: Pidgin crashes on network loss when using jabber
--------------------------+-------------------------------------------------
  Reporter:  xkahn        |       Owner:  seanegan      
      Type:  defect       |      Status:  new           
  Priority:  minor        |   Milestone:                
 Component:  Google Talk  |     Version:  2.4.0         
Resolution:               |    Keywords:  crash, network
   Pending:  0            |  
--------------------------+-------------------------------------------------
Comment (by xkahn):

 Lets try that again:


 {{{

 397     static gboolean jabber_pong_timeout(PurpleConnection *gc)
 398     {
 399             JabberStream *js = gc->proto_data;
 400             purple_connection_error_reason(gc,
 PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
 401                                             _("Ping timeout"));
 402             js->keepalive_timeout = -1;
 403             return FALSE;
 404     }
 405
 406     void jabber_keepalive(PurpleConnection *gc)

 }}}


 {{{

 (gdb) p gc
 $2 = (PurpleConnection *) 0x857d8c0
 (gdb) p gc->proto_data
 $3 = (void *) 0x0
 (gdb) p *gc
 $4 = {prpl = 0x85882a8, flags = 141237008, state = PURPLE_DISCONNECTED,
 account = 0x0, password = 0x0, inpa = 141303624, buddy_chats = 0x0,
   proto_data = 0x0, display_name = 0x0, keepalive = 0, wants_to_die = 0,
 disconnect_timeout = 41, last_received = 141224400}

 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/5246#comment:1>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list