[Pidgin] #5695: purple_blist_add_group segfaults if purplebuddylist not set

Pidgin trac at pidgin.im
Sun May 4 02:44:54 EDT 2008


#5695: purple_blist_add_group segfaults if purplebuddylist not set
----------------------------+-----------------------------------------------
  Reporter:  BigBrownChunx  |       Owner:  lschiere
      Type:  defect         |      Status:  new     
  Priority:  minor          |   Milestone:          
 Component:  unclassified   |     Version:  2.4.1   
Resolution:                 |    Keywords:          
   Pending:  1              |  
----------------------------+-----------------------------------------------
Changes (by BigBrownChunx):

  * pending:  1 => 0

Comment:

 Yeah, it "should" be being set, but due to weird sync issues with the main
 loop, prpls can be creating groups before the buddylist is set, which is
 what is being experienced in some crashes in Adium:
 {{{
 Thread 0 Crashed:
 0   libpurple                           0x0762dfcf purple_blist_add_group
 + 130
 1   libpurple                           0x076ca4dc
 add_purple_buddies_to_groups + 591
 2   libpurple                           0x076ca9e8 jabber_roster_parse +
 1043
 3   libpurple                           0x076bac6f jabber_iq_parse + 412
 4   libpurple                           0x076bb6fd jabber_process_packet +
 166
 5   libpurple                           0x076c7042
 jabber_parser_element_end_libxml + 118
 6   libxml2.2.dylib                     0x91695226 xmlParseAttributeType +
 3478
 7   libxml2.2.dylib                     0x916727e9 xmlParseChunk + 3963
 8   libpurple                           0x076c723d jabber_parser_process +
 174
 9   libpurple                           0x076bc1e5 jabber_recv_cb_ssl +
 184
 10  libpurple                           0x076786b6 recv_cb + 43
 11  com.apple.CoreFoundation            0x933e0940 __CFSocketDoCallback +
 640
 12  com.apple.CoreFoundation            0x933e1f75 __CFSocketPerformV0 +
 133
 13  com.apple.CoreFoundation            0x933d762e CFRunLoopRunSpecific +
 3166
 14  com.apple.CoreFoundation            0x933d7d18 CFRunLoopRunInMode + 88
 15  com.apple.HIToolbox                 0x94c086a0
 RunCurrentEventLoopInMode + 283
 16  com.apple.HIToolbox                 0x94cf3535 RunCurrentEventLoop +
 65
 17  org.bigbrownchunx.skypeplugin       0x017f1f8a IsSkypeAvailable + 90
 18  org.bigbrownchunx.skypeplugin       0x017f20ac ConnectToSkype + 42
 19  org.bigbrownchunx.skypeplugin       0x017f4d19 skype_login + 214
 20  libpurple                           0x07640237 purple_connection_new +
 753
 21  libpurple                           0x076257fc purple_account_connect
 + 432
 22  libpurple                           0x07666f9f
 do_prpl_change_account_status + 47
 23  libpurple                           0x0766710d
 purple_prpl_change_account_status + 176
 24  libpurple                           0x076749a6 notify_status_update +
 97
 25  libpurple                           0x07674a73 status_has_changed +
 116
 26  libpurple                           0x07674e8d
 purple_status_set_active_with_attrs_list + 881
 27  libpurple                           0x07626d82
 purple_account_set_status_list + 238
 28  libpurple                           0x0762440a parse_status + 259
 29  libpurple                           0x07624454 parse_statuses + 57
 30  libpurple                           0x07624afa parse_account + 504
 31  libpurple                           0x07624d9c load_accounts + 113
 32  libpurple                           0x0762956e purple_accounts_init +
 1283
 33  libpurple                           0x07647484 purple_core_init + 492
 }}}

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


More information about the Tracker mailing list