[Pidgin] #2247: Crash on Jabber connection refused in non UTF-8 locale

Pidgin trac at pidgin.im
Mon Jul 23 14:02:43 EDT 2007


#2247: Crash on Jabber connection refused in non UTF-8 locale
-----------------------+----------------------------------------------------
 Reporter:  pterjan    |       Type:  defect
   Status:  new        |   Priority:  minor 
Component:  libpurple  |    Version:  2.0.2 
 Keywords:             |    Pending:  0     
-----------------------+----------------------------------------------------
 My system is using latin1 and today jabber.org refused my connection, this
 leads to a crash of pidgin.
 Notice that the string given to purple_connection_error is wrong, the
 first part is UTF-8, while the second part is latin1.

 #0  IA__g_markup_escape_text (text=0x8758000 <Address 0x8758000 out of
 bounds>, length=-1) at gmarkup.c:1910
         str = (GString *) 0x870ec80
         __PRETTY_FUNCTION__ = "IA__g_markup_escape_text"
 #1  0x0807663f in ?? ()
 No symbol table info available.
 #2  0xb736b454 in IA__g_hash_table_foreach (hash_table=0x82879c0,
 func=0x8076620, user_data=0x0) at ghash.c:680
         node = (GHashNode *) 0x870f380
         i = 3
         __PRETTY_FUNCTION__ = "IA__g_hash_table_foreach"
 #3  0x080765f3 in pidgin_blist_update_account_error_state ()
 No symbol table info available.
 #4  0x0807ff14 in ?? ()
 No symbol table info available.
 #5  0xb750a47e in purple_connection_error (gc=0x86c91d0, text=0x86fc900
 "Impossible de se connecter au serveur :\nConnexion refusée") at
 connection.c:457
         ops = <value optimized out>
         __PRETTY_FUNCTION__ = "purple_connection_error"
 #6  0xb6ad894e in jabber_login_callback (data=0x86c91d0, source=-1,
 error=0x812cdf4 "Connexion refusée") at jabber.c:469
 No locals.
 #7  0xb7528229 in purple_proxy_connect_data_disconnect
 (connect_data=0x86c90e8, error_message=0x812cdf4 "Connexion refusée") at
 proxy.c:351
 No locals.
 #8  0xb75289db in socket_ready_cb (data=0x86c90e8, source=12, cond=3) at
 proxy.c:433
         connect_data = (PurpleProxyConnectData *) 0x870ec80
         error = 111
         ret = <value optimized out>
 #9  0x0809bc66 in ?? ()
 No symbol table info available.
 #10 0xb73a87c0 in g_io_unix_dispatch (source=0x86dcf68,
 callback=0x809bc20, user_data=0x86cb138) at giounix.c:162
         buffer_condition = 392529
 #11 0xb73789b2 in IA__g_main_context_dispatch (context=0x811deb8) at
 gmain.c:2061
 No locals.
 #12 0xb737bdc4 in g_main_context_iterate (context=0x811deb8, block=1,
 dispatch=1, self=0x80ff238) at gmain.c:2694
         got_ownership = <value optimized out>
         max_priority = 0
         timeout = 0
         some_ready = 1
         nfds = <value optimized out>
         allocated_nfds = <value optimized out>
         fds = (GPollFD *) 0x86e45d0
         __PRETTY_FUNCTION__ = "g_main_context_iterate"
 #13 0xb737c0e8 in IA__g_main_loop_run (loop=0x86cb188) at gmain.c:2898
         got_ownership = -1220398272
         self = (GThread *) 0x80ff238
         __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
 #14 0xb7ac49df in IA__gtk_main () at gtkmain.c:1144
         tmp_list = (GList *) 0x0
         functions = (GList *) 0x0
         init = (GtkInitFunction *) 0x0
         loop = (GMainLoop *) 0x86cb188
 #15 0x080b193e in main ()

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


More information about the Tracker mailing list