[Pidgin] #1989: Segmentation fault in jabber protocol plugin

Pidgin trac at pidgin.im
Wed Jul 11 14:20:41 EDT 2007


#1989: Segmentation fault in jabber protocol plugin
------------------------+---------------------------------------------------
  Reporter:  snakeru    |       Owner:  seanegan
      Type:  defect     |      Status:  assigned
  Priority:  minor      |   Milestone:  2.1.1   
 Component:  libpurple  |     Version:  2.0.2   
Resolution:             |    Keywords:          
   Pending:  0          |  
------------------------+---------------------------------------------------
Comment (by MarkDoliner):

 Maybe the connection is disconnected between the call to
 gaim_connection_set_state(gc, GAIM_CONNECTED) and when the signed-on
 signal is emitted?  I'm looking at the current libpurple source code, and
 that's the only possibility I can see.  I think if your application called
 PURPLE_CONNECTION_IS_CONNECTED(gc) before calling serv_send_im() it would
 avoid the crash, and I think that's a better solution than us adding the
 if-not-null check to server.c

 Anyone else have an opinion on this?

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


More information about the Tracker mailing list