[Pidgin] #4081: Crashes when connecting to jabber server

Pidgin trac at pidgin.im
Tue Nov 27 08:40:51 EST 2007


#4081: Crashes when connecting to jabber server
--------------------------+-------------------------------------------------
 Reporter:  smrcka        |       Type:  defect
   Status:  new           |   Priority:  minor 
Component:  libpurple     |    Version:  2.3.0 
 Keywords:  jabber crash  |    Pending:  0     
--------------------------+-------------------------------------------------
 Tested with Fedora7 with 2.3.0-0.fc6 version from pidgin.im repository.
 When connecting to a jabber server coredumps with the following backtrace:

 {{{
 #0  0x00369377 in jabber_caps_get_info_check_completion
 (userdata=0x97c8398)
     at caps.c:273
 No locals.
 #1  0x00355c82 in jabber_iq_parse (js=0x972a2e8, packet=0x97bc780) at
 iq.c:326
         query = (xmlnode *) 0x0
         error = <value optimized out>
         x = <value optimized out>
         xmlns = <value optimized out>
         type = 0x98e59f0 "error"
         id = 0x98e5608 "purple4066fe1e"
         from = 0x98e00a0 "ikaluza at jabber.fit.vutbr.cz/Work"
 #2  0x0035e2ff in jabber_process_packet (js=0x972a2e8, packet=0xbfe3163c)
     at jabber.c:205
         xmlns = 0x94bd218 "jabber:client"
 #3  0x003614f9 in jabber_parser_element_end_libxml (user_data=0x972a2e8,
     element_name=0x975350c "iq", prefix=0x0,
     namespace=0x9753493 "jabber:client") at parser.c:116
         packet = (xmlnode *) 0x97bc780
 #4  0x4a9f1d47 in xmlParseEndTag2 (ctxt=0x974fd30, prefix=0x0,
     URI=0x9753493 "jabber:client", line=0, nsNr=2, tlen=0) at
 parser.c:8305
         name = (const xmlChar *) 0x1 <Address 0x1 out of bounds>
 #5  0x4a9fe607 in xmlParseChunk__internal_alias (ctxt=0x974fd30,
     chunk=0x377200 "<iq xmlns='jabber:client'
 from='ikaluza at jabber.fit.vutbr.cz/Work' id='purple4066fe1e'
 to='smrcka at jabber.fit.vutbr.cz/Office' type='error'><error type='cancel'
 code='404'><item-not-found xmlns='urn:iet"..., size=244,
     terminate=0) at parser.c:10048
         cons = 80473
         end_in_lf = 0
 #6  0x003613df in jabber_parser_process (js=0x972a2e8,
     buf=0x1 <Address 0x1 out of bounds>, len=0) at parser.c:195
 No locals.
 #7  0x0035dc6c in jabber_recv_cb_ssl (data=0x9728890, gsc=0x972a0f0,
     cond=PURPLE_INPUT_READ) at jabber.c:414
         js = (JabberStream *) 0x972a2e8
         len = 244
         buf = "<iq xmlns='jabber:client'
 from='ikaluza at jabber.fit.vutbr.cz/Work' id='purple4066fe1e'
 to='smrcka at jabber.fit.vutbr.cz/Office' type='error'><error type='cancel'
 code='404'><item-not-found xmlns='urn:iet"...
 #8  0x002cc9cd in recv_cb (data=0x972a0f0, source=12,
 cond=PURPLE_INPUT_READ)
     at sslconn.c:143
 No locals.
 #9  0x080a1373 in pidgin_io_invoke (source=0x977faa8, condition=G_IO_IN,
     data=0x9736bb0) at gtkeventloop.c:78
         purple_cond = PURPLE_INPUT_READ
 #10 0x4a218ecd in g_io_unix_dispatch (source=0x977f9c8,
     callback=0x80a1330 <pidgin_io_invoke>, user_data=0x9736bb0)
     at giounix.c:162
         buffer_condition = 0
 #11 0x4a1ef7f2 in IA__g_main_context_dispatch (context=0x92c2bc0)
     at gmain.c:2045
 No locals.
 #12 0x4a1f27cf in g_main_context_iterate (context=0x92c2bc0, block=1,
     dispatch=1, self=0x92a5238) at gmain.c:2677
         got_ownership = <value optimized out>
         max_priority = 2147483647
         timeout = 4183
         some_ready = 1
         nfds = <value optimized out>
         allocated_nfds = <value optimized out>
         fds = (GPollFD *) 0x93f3448
         __PRETTY_FUNCTION__ = "g_main_context_iterate"
 #13 0x4a1f2b79 in IA__g_main_loop_run (loop=0x97285f8) at gmain.c:2881
         got_ownership = 1244054352
         self = (GThread *) 0x92a5238
         __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
 #14 0x05f89f44 in IA__gtk_main () at gtkmain.c:1154
         tmp_list = (GList *) 0x0
         functions = (GList *) 0x0
         init = (GtkInitFunction *) 0x0
         loop = (GMainLoop *) 0x97285f8
 #15 0x080b8e5f in main (argc=Cannot access memory at address 0x1
 ) at gtkmain.c:873
         display = <value optimized out>
         opt_help = 0
         opt_login = 0
         opt_nologin = 0
         opt_version = <value optimized out>
         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 = {91143, 0 <repeats 31 times>}}
         prev_sig_disp = <value optimized out>
         errmsg =
 "�7��u\027UI��������(\000\000\000�\033���\020UI`U���B��PE���G��\0000��(\023��(\t��05��\000
 ��\000\000\000\000\000�5J\000�5J�7���7���7㿡\223UI\001\000\000\000@�\001\000\000\000\000\000@�7J�\017VI\000\000\000\000�\017VI\005\000\000\0000\034��\030\034���\224UI\b\000\000\000,\000\000\000�\017VI�7��u\027UI����\210���\024\000\000\000\000\000\000\000�\025��\000\020��
 ���\000 ��", '\0' <repeats 16 times>, "�7"...
         segfault_message_tmp = <value optimized out>
         error = (GError *) 0x0
         opt = <value optimized out>
         gui_check = <value optimized out>
         debug_enabled = <value optimized out>
         migration_failed = <value optimized out>
         active_accounts = <value optimized out>
         long_options = {{name = 0x80fb30a "config", has_arg = 1, flag =
 0x0,
     val = 99}, {name = 0x80ebf79 "debug", has_arg = 0, flag = 0x0, val =
 100},
   {name = 0x80eeca7 "help", has_arg = 0, flag = 0x0, val = 104}, {
     name = 0x80ec231 "login", has_arg = 2, flag = 0x0, val = 108}, {
     name = 0x80f7ade "multiple", has_arg = 0, flag = 0x0, val = 109}, {
     name = 0x80f7ae7 "nologin", has_arg = 0, flag = 0x0, val = 110}, {
     name = 0x80fb300 "session", has_arg = 1, flag = 0x0, val = 115}, {
     name = 0x80f0886 "version", has_arg = 0, flag = 0x0, val = 118}, {
     name = 0x80fb313 "display", has_arg = 1, flag = 0x0, val = 68}, {
     name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
 }}}

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


More information about the Tracker mailing list