[Pidgin] #8579: notification.c Segmentation fault when loading contact list

Pidgin trac at pidgin.im
Wed Mar 4 16:16:40 EST 2009


#8579: notification.c Segmentation fault when loading contact list
----------------------------------------------+-----------------------------
 Reporter:  yhzarcali                         |           Owner:  khc  
     Type:  defect                            |          Status:  new  
Component:  MSN                               |         Version:  2.5.5
 Keywords:  msn segmentation fault bug crash  |   Launchpad_bug:       
----------------------------------------------+-----------------------------
 I had an issue with pidgin 2.5.5 when loading contact list pidgin was
 crashing "segmentation fault"


 {{{
 #
 #0  0xb5aaf13a in fqy_cmd_post (cmdproc=0x9eb2870, cmd=0x9ad1a30,
 #
     payload=0xa33d53a "<ml><d n=\"hotmail.com\"><c
 n=\"sevenaddictedrecords\" /></d></ml>FQY 19 56\r\n<ml><d
 n=\"hotmail.com\"><c n=\"alexander_6712\" /></d></ml>FQY 19 49\r\n<ml><d
 n=\"hotmail.com\"><c n=\"sys.wwe\" /></d></ml>", len=62)
 #
     at notification.c:941
 #
         session = (MsnSession *) 0x9f94240
 #
         ml = (xmlnode *) 0xa65c9c8
 #
         d = (xmlnode *) 0xa35fe40
 #
         c = (xmlnode *) 0xa0dbec8
 #
         domain = 0xaa69a80 "hotmail.com"
 #
         local = <value optimized out>
 #
         type = 0x0
 #
         passport = 0xa97c5d8 "sevenaddictedrecords at hotmail.com"
 #
         network = MSN_NETWORK_PASSPORT
 #
 #1  0xb5a9ba3d in msn_cmdproc_process_payload (cmdproc=0x9eb2870,
 #
     payload=0xa33d53a "<ml><d n=\"hotmail.com\"><c
 n=\"sevenaddictedrecords\" /></d></ml>FQY 19 56\r\n<ml><d
 n=\"hotmail.com\"><c n=\"alexander_6712\" /></d></ml>FQY 19 49\r\n<ml><d
 n=\"hotmail.com\"><c n=\"sys.wwe\" /></d></ml>",
 #
     payload_len=62) at cmdproc.c:236
 #
         last = (MsnCommand *) 0x9ad1a30
 #
         __PRETTY_FUNCTION__ = "msn_cmdproc_process_payload"
 #
 #2  0xb5ab49eb in msn_servconn_process_data (servconn=0x9f940a8)
 #
     at servconn.c:436
 #
 ---Type <return> to continue, or q <return> to quit---
 #
         end = 0xa33d578 "FQY 19 56\r\n<ml><d n=\"hotmail.com\"><c
 n=\"alexander_6712\" /></d></ml>FQY 19 49\r\n<ml><d n=\"hotmail.com\"><c
 n=\"sys.wwe\" /></d></ml>"
 #
         old_rx_buf = 0xa33d298 "FQY 19 55"
 #
         cur_len = <value optimized out>
 #
 #3  0xb5ab4ba1 in read_cb (data=0x9f940a8, source=9,
 cond=PURPLE_INPUT_READ)
 #
     at servconn.c:394
 #
         buf = "FQY 19 55\r\n<ml><d n=\"hotmail.com\"><c n=\"fares-
 elkabos\" /></d></ml>FQY 19 54\r\n<ml><d n=\"hotmail.com\"><c
 n=\"unpacker.exe\" /></d></ml>FQY 19 55\r\n<ml><d n=\"hotmail.com\"><c
 n=\"darkmanfr2004\" /></d></ml>FQY"...
 #
         len = <value optimized out>
 #
 #4  0x080a8d53 in pidgin_io_invoke (source=0x9fcd858,
 #
     condition=<value optimized out>, data=0x9fab1a0) at gtkeventloop.c:78
 #
         purple_cond = PURPLE_INPUT_READ
 #
 #5  0xb74966fd in ?? () from /usr/lib/libglib-2.0.so.0
 #
 No symbol table info available.
 #
 #6  0xb745f6f8 in g_main_context_dispatch () from
 /usr/lib/libglib-2.0.so.0
 #
 No symbol table info available.
 #
 #7  0xb7462da3 in ?? () from /usr/lib/libglib-2.0.so.0
 #
 No symbol table info available.
 #
 #8  0xb74632c2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
 #
 No symbol table info available.
 #
 #9  0xb793c309 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
 #
 ---Type <return> to continue, or q <return> to quit---
 #
 No symbol table info available.
 #
 #10 0x080c30aa in main (argc=19, argv=0xbfe66464) at gtkmain.c:881
 #
         opt_help = <value optimized out>
 #
         opt_login = 0
 #
         opt_nologin = 0
 #
         opt_version = 0
 #
         opt_si = 1
 #
         opt_config_dir_arg = 0x0
 #
         opt_login_arg = 0x0
 #
         opt_session_arg = 0x0
 #
         accounts = <value optimized out>
 #
         sig_indx = <value optimized out>
 #
         sigset = {__val = {82951, 0 <repeats 31 times>}}
 #
         prev_sig_disp = (void (*)(int)) 0
 #
         errmsg =
 "\016\000\000\000�\177���a濠\215���\177��\003\000\000\000\002\000\000\000�C���\a��\b\000\000\000\f\000\000\000�\235\v�,b���\177��\000\236\v��\235\v�\f\000\000\000�D��\026\227��\b\b�2�\000\000\000\000\000\000\000\000\037b��\030b��\024b���\205��\000\020\000\000�\006��\000\000\000\000\004K\000\000�\177���a濠\215���D���\177��\003\000\000\000\002\000\000\000`D���\a��\b\000\000\000\f\000\000\000�\235\v�,b���\177���\235\v��\235\v�\f\000\000\000�\215��XE��"...
 #
         error = (GError *) 0x0
 #
         opt = <value optimized out>
 #
         gui_check = <value optimized out>
 #
 ---Type <return> to continue, or q <return> to quit---
 #
         debug_enabled = <value optimized out>
 #
         migration_failed = <value optimized out>
 #
         active_accounts = <value optimized out>
 #
         long_options = {{name = 0x810a86a "config", has_arg = 1, flag =
 0x0,
 #
     val = 99}, {name = 0x80f9e9c "debug", has_arg = 0, flag = 0x0, val =
 100},
 #
   {name = 0x80fd4e2 "help", has_arg = 0, flag = 0x0, val = 104}, {
 #
     name = 0x80fa167 "login", has_arg = 2, flag = 0x0, val = 108}, {
 #
     name = 0x8106c47 "multiple", has_arg = 0, flag = 0x0, val = 109}, {
 #
     name = 0x8106c50 "nologin", has_arg = 0, flag = 0x0, val = 110}, {
 #
     name = 0x8106c58 "nocrash", has_arg = 0, flag = 0x0, val = 120}, {
 #
     name = 0x810a860 "session", has_arg = 1, flag = 0x0, val = 115}, {
 #
     name = 0x80ff16a "version", has_arg = 0, flag = 0x0, val = 118}, {
 #
     name = 0x810a873 "display", has_arg = 1, flag = 0x0, val = 68}, {
 #
     name = 0x8106c60 "sync", has_arg = 0, flag = 0x0, val = 83}, {name =
 0x0,
 #
     has_arg = 0, flag = 0x0, val = 0}}
 }}}


 I replaced line 941 notification.c by


 {{{
 if (cmd && cmd->trans && cmd->trans->data)
 }}}

 I hope this will help people.

 /Cali

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


More information about the Tracker mailing list