[Pidgin] #1085: Pidgin Seg Faults When Adding Yahoo Account

Pidgin trac at pidgin.im
Thu May 17 22:03:07 EDT 2007


#1085: Pidgin Seg Faults When Adding Yahoo Account
--------------------------+-------------------------------------------------
 Reporter:  pantheraleo   |       Type:  defect
   Status:  new           |   Priority:  minor 
Component:  pidgin (gtk)  |    Version:  2.0   
 Keywords:                |    Pending:  0     
--------------------------+-------------------------------------------------
 I know this has been reported before, and closed as having been fixed.
 But, I'm getting seg faults on 2.0.0 built from source on Linux when
 trying to add my Yahoo account.

 Here is the backtrace from gdb:
 {{{
 (gdb) run
 Starting program: /usr/local/bin/pidgin
 Failed to read a valid object file image from memory.
 [Thread debugging using libthread_db enabled]
 [New Thread -1220127040 (LWP 29037)]

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread -1220127040 (LWP 29037)]
 purple_status_type_get_primitive (status_type=0x40240000) at status.c:366
 366             return status_type->primitive;
 (gdb) bt full
 #0  purple_status_type_get_primitive (status_type=0x40240000) at
 status.c:366
         __PRETTY_FUNCTION__ = "purple_status_type_get_primitive"
 #1  0xb776c729 in purple_status_is_online (status=0x40240000) at
 status.c:971
         primitive = 1076101120
         __PRETTY_FUNCTION__ = "purple_status_is_online"
 #2  0xb776dec3 in purple_presence_is_online (presence=0x40240000)
     at status.c:1491
         status = (PurpleStatus *) 0x40240000
         __PRETTY_FUNCTION__ = "purple_presence_is_online"
 #3  0x08072c2c in buddy_is_displayable (buddy=0x84cac70) at
 gtkblist.c:2561
         gtknode = (struct _pidgin_blist_node *) 0x84d4d28
 #4  0x08078a09 in pidgin_blist_update_group (list=0x81b7b70,
 node=0x84cac70)
     at gtkblist.c:4799
         count = 1076101120
         gnode = (PurpleBlistNode *) 0x84d4cd8
         __PRETTY_FUNCTION__ = "pidgin_blist_update_group"
 #5  0x08078a6f in pidgin_blist_update_contact (list=0x81b7b70, node=0x0)
     at gtkblist.c:4966
         cnode = (PurpleBlistNode *) 0x84cad10
         buddy = (PurpleBuddy *) 0x84cad10
         gtknode = (struct _pidgin_blist_node *) 0x40240000
         __PRETTY_FUNCTION__ = "pidgin_blist_update_contact"
 #6  0x08078bae in pidgin_blist_update_buddy (list=0x81b7b70,
 node=0x84cac70,
 ---Type <return> to continue, or q <return> to quit---
     statusChange=1) at gtkblist.c:5026
         gtkparentnode = (struct _pidgin_blist_node *) 0x40240000
         __PRETTY_FUNCTION__ = "pidgin_blist_update_buddy"
 #7  0x08078739 in pidgin_blist_update (list=0x81b7b70, node=0x84cac70)
     at gtkblist.c:5112
 No locals.
 #8  0xb7739d76 in purple_blist_add_account (account=0x84f05d8) at
 blist.c:2292
         recompute = 1
         ops = (PurpleBlistUiOps *) 0x80e0c80
         gnode = (PurpleBlistNode *) 0x84d4cd8
         cnode = (PurpleBlistNode *) 0x84cad10
         bnode = (PurpleBlistNode *) 0x84cac70
         __PRETTY_FUNCTION__ = "purple_blist_add_account"
 #9  0xb7743148 in purple_connection_set_state (gc=0x849b770,
 state=1076101120)
     at connection.c:306
         account = (PurpleAccount *) 0x84f05d8
         presence = (PurplePresence *) 0x84f20f0
         ops = (PurpleConnectionUiOps *) 0x80e1020
         __PRETTY_FUNCTION__ = "purple_connection_set_state"
 #10 0xb6f7f772 in yahoo_process_status (gc=0x849b770, pkt=0x84e5908)
     at yahoo.c:215
         decoded = (guchar *) 0x849b770 "0Ö\022\bC"
         tmp = 0x84e5908 "serengeti_lion"
 ---Type <return> to continue, or q <return> to quit---
         len = 3213641496
         account = (PurpleAccount *) 0x84f05d8
         yd = (struct yahoo_data *) 0x84f7178
         l = (GSList *) 0x84c4620
         f = (YahooFriend *) 0x0
         name = 0x0
 #11 0xb6f800d2 in yahoo_packet_process (gc=0x849b770, pkt=0x848d8d8)
     at yahoo.c:2158
 No locals.
 #12 0xb6f81afd in yahoo_pending (data=0x849b770, source=14,
     cond=PURPLE_INPUT_READ) at yahoo.c:2364
         pkt = (struct yahoo_packet *) 0x848d8d8
         pktlen = 139430480
         yd = (struct yahoo_data *) 0x84f7178
         buf =
 "À\20013À\2001À\20060À\200À\200138À\2001À\200184À\200À\200192À\200-1621714777À\200198À\2000À\200213À\2002À\200244À\2002097087À\20010001À\200572À\20010002À\2000À\2007À\200rickrossjlÀ\20010À\2000À\20013À\2001À\20060À\200À\200138À\2001À\200184À\200À\200198À\2000À\200213À\2000À\200244À\200278527À\20010001À\200369À\20010002À\2000À"...
         len = 139424120
 #13 0x08095891 in pidgin_io_invoke (source=0x84b1ba0, condition=0,
     data=0x84c78b8) at gtkeventloop.c:77
         purple_cond = 1076101120
 #14 0xb77e3c1f in g_vasprintf () from /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #15 0xb77bc487 in g_main_context_dispatch () from
 /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #16 0xb77bde25 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #17 0xb77be14a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #18 0xb7ae7e33 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #19 0x080a8d05 in main (argc=1, argv=0xbf8c7ed4) at gtkmain.c:841
         saved_status = (PurpleSavedStatus *) 0x40240000
         opt_help = 0
         opt_login = 0
         opt_nologin = 0
         opt_version = 0
         opt_config_dir_arg = 0x0
         opt_login_arg = 0x0
         opt_session_arg = 0x0
         search_path = 0xb7cad040 "HÝ."
         accounts = (GList *) 0x845d040
         sig_indx = -1211445184
         sigset = {__val = {91143, 0 <repeats 31 times>}}
         prev_sig_disp = (void (*)(int)) 0x40240000
         errmsg = '\0' <repeats 120 times>, "
 \037\202·H^\214¿\223Qð·\232\202F·,\037\202·øïð·à\034\202·,ñn·Ô`\214¿Ìëï·\232\202F·ùön·",
 '\0' <repeats 20 times>, "\232\202F·\000\000\000\000\000\000\000\000 ðð·",
 '\0' <repeats 32 times>, "@¦W·ùön·\223Qð·\000\000\000\000\230ÖI·øïð·Øñð·
 ðð·Ha\214¿Ìëï·¤¤H·ùön·", '\0' <repeats 20 times>,
 "®¤H·\000\000\000\000\000\000\000\000 ðð·", '\0' <repeats 36 times>,
 "ùön·\000\000\000\000\000\000\000\000 ÒI· \037\202·D_"...
         segfault_message_tmp = 0xb7cad040 "HÝ."
         error = (GError *) 0x0
         opt = 1076101120
         gui_check = 1076101120
         debug_enabled = 0
         migration_failed = 0
         long_options = {{name = 0x80dcb14 "config", has_arg = 1, flag =
 0x0,
     val = 99}, {name = 0x80d06b4 "debug", has_arg = 0, flag = 0x0, val =
 100},
   {name = 0x80d1e3e "help", has_arg = 0, flag = 0x0, val = 104}, {
     name = 0x80cff4d "login", has_arg = 2, flag = 0x0, val = 108}, {
     name = 0x80d980b "nologin", has_arg = 0, flag = 0x0, val = 110}, {
     name = 0x80dcb0a "session", has_arg = 1, flag = 0x0, val = 115}, {
     name = 0x80d37a5 "version", has_arg = 0, flag = 0x0, val = 118}, {
     name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/1085>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list