[Pidgin] #7580: meanwhile connect crash

Pidgin trac at pidgin.im
Tue Nov 18 09:19:04 EST 2008


#7580: meanwhile connect crash
-------------------------------------+--------------------------------------
 Reporter:  redstarr                 |     Owner:  siege
     Type:  defect                   |    Status:  new  
Component:  Sametime                 |   Version:  2.5.2
 Keywords:  meanwhile connect crash  |  
-------------------------------------+--------------------------------------
 Hello, my pidgin started to crash sometimes when connecting to a sametime
 server. MSN, yahoo or jabber doesn't make crash at connect.
 I suppose some kind of redirection problem with meanwhile as pidgin does
 not crash when checking "force login".

 Here is the log for backtrace :

 {{{
 GNU gdb Red Hat Linux (6.5-37.el5_2.1rh)
 Copyright (C) 2006 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
 are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for
 details.
 This GDB was configured as "i386-redhat-linux-gnu"...Using host
 libthread_db library "/lib/libthread_db.so.1".

 (gdb) handle SIGPIPE nostop
 Signal        Stop      Print   Pass to program Description
 SIGPIPE       No        Yes     Yes             Broken pipe
 (gdb) run
 Starting program: /usr/local/bin/pidgin
 [Thread debugging using libthread_db enabled]
 [New Thread -1208645936 (LWP 18202)]

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread -1208645936 (LWP 18202)]
 0x00711aca in strcmp () from /lib/libc.so.6
 (gdb) bt full
 #0  0x00711aca in strcmp () from /lib/libc.so.6
 No symbol table info available.
 #1  0x00d8f38f in mw_session_stateChange (session=0xa1148c8,
 state=mwSession_LOGIN_REDIR, info=0x0) at sametime.c:1448
         pd = <value optimized out>
         gc = (PurpleConnection *) 0xa114800
 #2  0x00e884ed in mwSession_addCipher () from /usr/lib/libmeanwhile.so.1
 No symbol table info available.
 #3  0x00e88de8 in mwSession_stop () from /usr/lib/libmeanwhile.so.1
 No symbol table info available.
 #4  0x00e897d6 in mwSession_recv () from /usr/lib/libmeanwhile.so.1
 No symbol table info available.
 #5  0x00d9252f in read_cb (data=0xa114858, source=22,
 cond=PURPLE_INPUT_READ) at sametime.c:1701
         ret = 26
         err = <value optimized out>
         __PRETTY_FUNCTION__ = "read_cb"
 #6  0x080a31d3 in pidgin_io_invoke (source=0x9f03368, condition=G_IO_IN,
 data=0xa1c6150) at gtkeventloop.c:78
         purple_cond = PURPLE_INPUT_READ
 #7  0x008a494d in g_io_channel_unix_get_fd () from /lib/libglib-2.0.so.0
 No symbol table info available.
 #8  0x0087b342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
 No symbol table info available.
 #9  0x0087e31f in g_main_context_check () from /lib/libglib-2.0.so.0
 No symbol table info available.
 #10 0x0087e6c9 in g_main_loop_run () from /lib/libglib-2.0.so.0
 No symbol table info available.
 #11 0x0022bb84 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #12 0x080bc4d8 in main (argc=) at gtkmain.c:888
         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 = "\000\000\000\000Àÿi\000Àÿi\000\005\000\000\000@Ÿ÷¿
 Ÿ÷¿Õ\226i\000\b\000\000\000,\000\000\000Àÿi\000ÀÛ÷¿U\031i\0000œõ·\030œõ·\024\000\000\000\000\000\000\000ÔU\237\000\034¿÷¿P\030ö·°µõ·\200úõ·\200\002j\000\000\000\000\000³Û÷¿¬Û÷¿šÛ÷¿€\005j\000\000\000\000\000\000\000\000\000¡\225i\000ù9i\000Àÿi\000\000\000\000\000ÔU\237\000\034¿÷¿DŸ÷¿Àÿi\000\002\000\000\000ÀŸ÷¿šŸ÷¿Õ\226i\000\b\000\000\000\024\000\000\000Àÿi\000ÀÛ÷¿U\031i\000\fœõ·\000œõ·\b\000\000\000\000\000\000\000"...
         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 = 0x8102aea "config", has_arg = 1, flag =
 0x0, val = 99}, {name = 0x80f22bc "debug", has_arg = 0, flag = 0x0, val =
 100}, {
     name = 0x80f5924 "help", has_arg = 0, flag = 0x0, val = 104}, {name =
 0x80f2574 "login", has_arg = 2, flag = 0x0, val = 108}, {
     name = 0x80feee8 "multiple", has_arg = 0, flag = 0x0, val = 109},
 {name = 0x80feef1 "nologin", has_arg = 0, flag = 0x0, val = 110}, {
     name = 0x80feef9 "nocrash", has_arg = 0, flag = 0x0, val = 120}, {name
 = 0x8102ae0 "session", has_arg = 1, flag = 0x0, val = 115}, {
     name = 0x80f759e "version", has_arg = 0, flag = 0x0, val = 118}, {name
 = 0x8102af3 "display", has_arg = 1, flag = 0x0, val = 68}, {
     name = 0x80fef01 "sync", has_arg = 0, flag = 0x0, val = 83}, {name =
 0x0, has_arg = 0, flag = 0x0, val = 0}}
 (gdb) quit
 The program is running.  Exit anyway? (y or n)
 }}}


 Here is the account.xml config lines for meanwhile connection :

 {{{
         <account>
                 <protocol>prpl-meanwhile</protocol>
 [...]
                 <settings>
                         <setting name='client_major'
 type='int'>30</setting>
                         <setting name='server'
 type='string'>messaging.ibm.com</setting>
                         <setting name='fake_client_id'
 type='bool'>1</setting>
                         <setting name='port' type='int'>1533</setting>
                         <setting name='client_minor'
 type='int'>6511</setting>
                         <setting name='force_login'
 type='bool'>0</setting>
                         <setting name='client_id_val'
 type='int'>4098</setting>
                 </settings>
                 <settings ui='gtk-gaim'>
                         <setting name='auto-login' type='bool'>1</setting>
                 </settings>
                 <current_error/>
         </account>

 }}}

 I experienced same problem with an old 2.3.1 version Redhat RPM or with a
 recent 2.5.2 home compiled. No updates were made elsewhere on linux but I
 suspect change was made on meanwhile server just before problem appear
 (alert for a maintenance).
 Thanks.
 Louis

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


More information about the Tracker mailing list