[Pidgin] #1652: bonjour protocol crashes sometimes

Pidgin trac at pidgin.im
Mon Aug 13 14:30:24 EDT 2007


#1652: bonjour protocol crashes sometimes
------------------------+---------------------------------------------------
  Reporter:  ywwg       |       Owner:        
      Type:  defect     |      Status:  closed
  Priority:  minor      |   Milestone:  2.1.1 
 Component:  libpurple  |     Version:  2.0.1 
Resolution:  fixed      |    Keywords:        
   Pending:  0          |  
------------------------+---------------------------------------------------
Comment (by ywwg):

 This bug is now worse with current mtn.  Every single time the remote
 party closes the chat, pidgin crashes.  Trace:
 {{{
 (14:23:12) bonjour: Receive: -</stream:stream>- 17 bytes
 (14:23:12) bonjour: Recieved conversation close notification from
 edit05 at Edit-05.

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread -1223374080 (LWP 25956)]
 0xb7cc1b9f in spacePop (ctxt=0x8691e00) at parser.c:1452
 1452    parser.c: No such file or directory.
         in parser.c
 (gdb) bt full
 #0  0xb7cc1b9f in spacePop (ctxt=0x8691e00) at parser.c:1452
         ret = 0
 #1  0xb7cc9063 in xmlParseEndTag2 (ctxt=0x8691e00, prefix=0x8697343
 "stream", URI=0x8697358 "http://etherx.jabber.org/streams", line=0,
 nsNr=4, tlen=0) at parser.c:8300
         name = <value optimized out>
 #2  0xb7cd5aa4 in xmlParseChunk__internal_alias (ctxt=0x8691e00,
 chunk=0xb6ccce20 "</stream:stream>", size=16, terminate=0) at
 parser.c:10036
         cons = 0
         end_in_lf = 0
 #3  0xb6cc96d8 in bonjour_parser_process (pb=0x0, buf=0xb6ccce20
 "</stream:stream>", len=16) at parser.c:189
         bb = (BonjourBuddy *) 0x8519268
 #4  0xb6cc85e8 in _client_socket_handler (data=0x85193c8, socket=26,
 condition=PURPLE_INPUT_READ) at jabber.c:365
         len = 17
         message_length = <value optimized out>
         message = "</stream:stream>\000\000ywwg\"
 type=\"chat\">\n<body>Take this!</body>\n<html
 xmlns=\"http://www.w3.org/1999/xhtml\"><body ichatballooncolor=\"#7BB5EE\"
 ichattextcolor=\"#000000\"><font face=\"Helvetica\" ABSZ=\"12\">Take"...
 #5  0x0809ff63 in pidgin_io_invoke (source=0x8347310, condition=G_IO_IN,
 data=0x8552ef0) at gtkeventloop.c:77
         purple_cond = PURPLE_INPUT_READ
 #6  0xb75e340d in g_io_unix_dispatch (source=0x86a2c68, callback=0x809ff20
 <pidgin_io_invoke>, user_data=0x8552ef0) at giounix.c:162
         buffer_condition = 141106688
 #7  0xb75b9df2 in IA__g_main_context_dispatch (context=0x8122b28) at
 gmain.c:2045
 No locals.
 #8  0xb75bcdcf in g_main_context_iterate (context=0x8122b28, block=1,
 dispatch=1, self=0x80fd238) at gmain.c:2677
         got_ownership = <value optimized out>
         max_priority = 2147483647
         timeout = 1059
         some_ready = 1
         nfds = <value optimized out>
         allocated_nfds = <value optimized out>
         fds = (GPollFD *) 0x85495c8
         __PRETTY_FUNCTION__ = "g_main_context_iterate"
 #9  0xb75bd179 in IA__g_main_loop_run (loop=0x84359b0) at gmain.c:2881
         got_ownership = -1219947456
         self = (GThread *) 0x80fd238
         __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
 #10 0xb7a82044 in IA__gtk_main () at gtkmain.c:1177
         tmp_list = (GList *) 0x0
         functions = (GList *) 0x0
         init = (GtkInitFunction *) 0x0
         loop = (GMainLoop *) 0x84359b0
 #11 0x080b6e62 in main (argc=-1219988728, argv=0xbfcefe84) at
 gtkmain.c:883
         display = <value optimized out>
         opt_help = <value optimized out>
         opt_login = 0
         opt_nologin = 0
         opt_version = <value optimized out>
         opt_si = <value optimized out>
         opt_config_dir_arg = 0x0
         opt_login_arg = 0x0
         opt_session_arg = 0x0
         accounts = (GList *) 0x0
         sig_indx = <value optimized out>
         sigset = {__val = {91143, 0 <repeats 31 times>}}
         prev_sig_disp = <value optimized out>
         errmsg =
 "85|��7|�\230:|�@=|���\213�@P#�\000\2114�x�\213���X�\000\000\000\000\227�ο\220�ο\214�ο4���80\025��5��\000\000\000\000\003\000\000\000�\237��\000\000\000\000\"�$���ο�\237��\002\000\000\000\000\000\000\000L�ο\0257��\b\000\000\000\b\000\000\000\000\000\000\000��ο����$4\025�\0304\025�\b\000\000\000��(�D�ο����t�ο��X�\000\000\000\000\000\000\000\000\227�ο\220�ο\214�ο�5��\000\000\000\000��H�\000\000\000\000\000\020\000\000"...
         opt = <value optimized out>
         gui_check = <value optimized out>
         migration_failed = <value optimized out>
         active_accounts = <value optimized out>
         long_options = {{name = 0x80f770d "config", has_arg = 1, flag =
 0x0, val = 99}, {name = 0x80e9a1f "debug", has_arg = 0, flag = 0x0, val =
 100}, {name = 0x80ec44a "help",
     has_arg = 0, flag = 0x0, val = 104}, {name = 0x80e9cc2 "login",
 has_arg = 2, flag = 0x0, val = 108}, {name = 0x80f43b0 "multiple", has_arg
 = 0, flag = 0x0, val = 109}, {
     name = 0x80f43b9 "nologin", has_arg = 0, flag = 0x0, val = 110}, {name
 = 0x80f7703 "session", has_arg = 1, flag = 0x0, val = 115}, {name =
 0x80ed8c6 "version", has_arg = 0,
     flag = 0x0, val = 118}, {name = 0x0, has_arg = 0, flag = 0x0, val =
 0}}
 }}}

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


More information about the Tracker mailing list