[Pidgin] #9492: Pidgin crashes a few seconds after startup

Pidgin trac at pidgin.im
Wed Jun 24 13:37:32 EDT 2009


#9492: Pidgin crashes a few seconds after startup
-------------------+--------------------------------------------------------
Reporter:  Greyor  |        Type:  defect      
  Status:  new     |   Component:  pidgin (gtk)
 Version:  2.5.7   |    Keywords:  crash gtk   
-------------------+--------------------------------------------------------
 Hi everyone. This is really the first time I've had trouble with Pidgin,
 and even rolling back Pidgin to older versions hasn't fixed it, so I'm not
 quite sure what will. I'm running Ubuntu Jaunty on AMD64.

 When Pidgin opens, it shows the main window for a few seconds, connects to
 IM servers, then freezes before exiting. From gdb's initial output it
 seems to be a GTK error -- it's segfaulting for this reason:

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0x7f68d3f397d0 (LWP 18324)]
 0x00007f68d1061991 in _g_utf8_normalize_wc (str=0x0, max_len=-1,
     mode=G_NORMALIZE_DEFAULT)
     at /build/buildd/glib2.0-2.21.2/glib/gunidecomp.c:364
 364     /build/buildd/glib2.0-2.21.2/glib/gunidecomp.c: No such file or
 directory.
         in /build/buildd/glib2.0-2.21.2/glib/gunidecomp.c

 I even tried upgrading glib to the version shipping with Karmic, but
 nothing changed.

 Here is the full backtrace:

 (gdb) bt full
 #0  0x00007f68d1061991 in _g_utf8_normalize_wc (str=0x0, max_len=-1,
     mode=G_NORMALIZE_DEFAULT)
     at /build/buildd/glib2.0-2.21.2/glib/gunidecomp.c:364
         n_wc = 0
         wc_buffer = <value optimized out>
         p = 0x0
         last_start = <value optimized out>
         do_compat = 0
 #1  0x00007f68d1062013 in IA__g_utf8_normalize (str=0x0, len=-1,
     mode=G_NORMALIZE_DEFAULT)
     at /build/buildd/glib2.0-2.21.2/glib/gunidecomp.c:525
         result_wc = <value optimized out>
 #2  0x00007f68d19d1409 in purple_normalize (account=0x1f3da40, str=0x0)
     at ../../libpurple/util.c:3079
         ret = 0x6d8968 "@�\b�h\177"
         buf = '\0' <repeats 2047 times>
 #3  0x00007f68d19b5585 in purple_privacy_check (account=0x0,
     who=0xffffffffffffffff <Address 0xffffffffffffffff out of bounds>)
     at ../../libpurple/privacy.c:366
         list = <value optimized out>
         __PRETTY_FUNCTION__ = "purple_privacy_check"
 #4  0x00007f68bd2c2a55 in yahoo_process_picture (gc=0x2a36340,
     pkt=<value optimized out>)
     at ../../../../libpurple/protocols/yahoo/yahoo_picture.c:113
         yd = <value optimized out>
         l = (GSList *) 0x0
         who = 0x0
         got_icon_info = 0
         send_icon_info = 0
         url = 0x0
         checksum = 0
 #5  0x00007f68bd2b529d in yahoo_packet_process (gc=0x2a36340,
     pkt=0xffffffffffffffff)
     at ../../../../libpurple/protocols/yahoo/yahoo.c:2161
 No locals.
 #6  0x00007f68bd2b6933 in yahoo_pending (data=0x2a36340,
     source=<value optimized out>, cond=<value optimized out>)
     at ../../../../libpurple/protocols/yahoo/yahoo.c:2288
         pkt = (struct yahoo_packet *) 0x2a9bf00
         pktlen = 45
         yd = (struct yahoo_data *) 0x2a37e40
         buf =
 "YMSG\000\020\000\000\000-\000�����\000\000\000\00016�\200System is busy,
 please try again later�\200\000\000\000\000\000\000\000\000\220M�\002",
 '\0' <repeats 20 times>,
 "@\b�\002\000\000\000\000Ph�\001\000\000\000\000@\b�\002\000\000\000\000[\002|�h\177\000\000\000\000\000\000\000\000\000\0000�=\002\000\000\000\000\200\032�\002\000\000\000\000v�\205�h\177\000\0000�=\002\000\000\000
 \000��1�h\177\000\000\003\000\000\000\000\000\000\000p\200�\002\000\000\000\000Y\000@\004\000\000\000\000@\b�\002",
 '\0' <repeats 12 times>...
         len = <value optimized out>
 #7  0x000000000046651e in pidgin_io_invoke (source=<value optimized out>,
     condition=<value optimized out>, data=<value optimized out>)
     at ../../pidgin/gtkeventloop.c:78
         closure = (PidginIOClosure *) 0x29657a0
         purple_cond = PURPLE_INPUT_READ
 #8  0x00007f68d10308fe in IA__g_main_context_dispatch (context=0x1e42a40)
     at /build/buildd/glib2.0-2.21.2/glib/gmain.c:1814
 No locals.
 #9  0x00007f68d1033fd8 in g_main_context_iterate (context=0x1e42a40,
     block=<value optimized out>, dispatch=<value optimized out>,
     self=<value optimized out>)
     at /build/buildd/glib2.0-2.21.2/glib/gmain.c:2445
         max_priority = 2147483647
         timeout = 228
         some_ready = 1
         nfds = 16
         allocated_nfds = -788264592
         fds = <value optimized out>
         __PRETTY_FUNCTION__ = "g_main_context_iterate"
 #10 0x00007f68d1034435 in IA__g_main_loop_run (loop=0x2a40580)
     at /build/buildd/glib2.0-2.21.2/glib/gmain.c:2653
         self = (GThread *) 0x1dff4d0
         __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
 #11 0x00007f68d269fbc7 in IA__gtk_main ()
     at /build/buildd/gtk+2.0-2.16.1/gtk/gtkmain.c:1205
         tmp_list = (GList *) 0x0
         functions = (GList *) 0x0
         init = (GtkInitFunction *) 0x1e26850
         loop = <value optimized out>
 #12 0x000000000047db83 in main (argc=1, argv=0x7fffdbf7f348)
     at ../../pidgin/gtkmain.c:881
         opt_help = <value optimized out>
         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>
         sigset = {__val = {81927, 0 <repeats 15 times>}}
         prev_sig_disp = (void (*)(int)) 0x6d8968 <g_utf8_skip>
         errmsg =
 "\000����\177\000\000\000\000\000\000\000\000\000\000\030�K�h\1
 77\000\000\004\000\000\000\000\000\000\000����h\177\000\000ݷ��h\177\000\000\000\000\000\000\000\000\000\0009",
 '\0' <repeats 15 times>,
 "����h\177\000\000\220����\177\000\000����h\177\000\000�����\177\000\000�����\177\000\000�����\177",
 '\0' <repeats 11 times>,
 "����\177\000\0002���h\177\000\000�*��h\177\000\000\000���h\177", '\0'
 <repeats 18 times>,
 "\030�K�h\177\000\000\004\000\000\000\000\000\000\000����h\177\000\000\000\000\000�����\000\000V���"...
         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 = 0x4c19a2 "config", has_arg = 1, flag =
 0x0,
     val = 99}, {name = 0x4aee16 "debug", has_arg = 0, flag = 0x0, val =
 100}, {
     name = 0x4b2cc5 "help", has_arg = 0, flag = 0x0, val = 104}, {
     name = 0x4af0e1 "login", has_arg = 2, flag = 0x0, val = 108}, {
     name = 0x4bd8fe "multiple", has_arg = 0, flag = 0x0, val = 109}, {
     name = 0x4bd907 "nologin", has_arg = 0, flag = 0x0, val = 110}, {
     name = 0x4bd90f "nocrash", has_arg = 0, flag = 0x0, val = 120}, {
     name = 0x4c1998 "session", has_arg = 1, flag = 0x0, val = 115}, {
     name = 0x4b4bbe "version", has_arg = 0, flag = 0x0, val = 118}, {
     name = 0x4c19ab "display", has_arg = 1, flag = 0x0, val = 68}, {
     name = 0x4bd917 "sync", has_arg = 0, flag = 0x0, val = 83}, {name =
 0x0,
     has_arg = 0, flag = 0x0, val = 0}}

 If anyone has any ideas about what's going on, and how to fix it, I'd
 greatly appreciate it. Strangely, 2.5.7 is working just fine on my laptop
 (although it's i386 rather than amd64).

 Thanks,
 Grey

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


More information about the Tracker mailing list