[Pidgin] #7808: assert because of massive allocation

Pidgin trac at pidgin.im
Wed Jan 28 11:23:21 EST 2009


#7808: assert because of massive allocation
----------------------+-----------------------------------------------------
 Reporter:  dima_gsv  |           Owner:  MarkDoliner
     Type:  defect    |          Status:  pending    
Milestone:            |       Component:  ICQ        
  Version:  2.5.2     |      Resolution:             
 Keywords:            |   Launchpad_bug:             
----------------------+-----------------------------------------------------

Comment(by ari):

 There's a very similar bug reported at http://bugs.debian.org/513103 with
 this backtrace on pidgin 2.4.3:


 {{{
 #0  0xb7f1b424 in __kernel_vsyscall ()
 No symbol table info available.
 #1  0xb76abfc3 in __waitpid_nocancel ()
 from /lib/i686/cmov/libpthread.so.0
 No symbol table info available.
 #2  0xb7728973 in IA__g_spawn_sync (working_directory=0x0,
 argv=0xb52005e8, envp=0x0, flags=<value optimized out>, child_setup=0,
 user_data=0x0,
     standard_output=0x0, standard_error=0x0, exit_status=0x0,
 error=0xbff33d48) at /tmp/buildd/glib2.0-2.16.6/glib/gspawn.c:374
         outpipe = -1
         errpipe = -1
         pid = 13882
         fds = {__fds_bits = {160, 0, 8, 0, -1216957536, 0, 161823072,
 -1074578776, -1217332191, 8, 161823072, 4, -1216957536, 0, -1256192524,
     -1074578680, -1217344947, 161823072, -1217428496, 0, -1256187976,
 -1256194032, 5, 11, -1074578696, -1074578700, -1256192536, 3, 0,
 6920992,
     807543476, 161823072}}
         ret = <value optimized out>
         outstr = (GString *) 0x0
         errstr = (GString *) 0x0
         failed = 0
         status = <value optimized out>
         __PRETTY_FUNCTION__ = "IA__g_spawn_sync"
 #3  0xb7728c7c in IA__g_spawn_command_line_sync (command_line=0xb52005a0
 "bug-buddy --appname=\"pidgin\" --pid=11600", standard_output=0x0,
     standard_error=0x0, exit_status=0x0, error=0xbff33d48)
 at /tmp/buildd/glib2.0-2.16.6/glib/gspawn.c:682
         retval = 0
         argv = (gchar **) 0xb52005e8
         __PRETTY_FUNCTION__ = "IA__g_spawn_command_line_sync"
 #4  0xb7f0c3bd in ?? ()
 from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
 No symbol table info available.
 #5  0xb7f0c4c2 in ?? ()
 from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
 No symbol table info available.
 #6  <signal handler called>
 No symbol table info available.
 #7  0xb7f1b424 in __kernel_vsyscall ()
 No symbol table info available.
 #8  0xb756e640 in raise () from /lib/i686/cmov/libc.so.6
 No symbol table info available.
 #9  0xb7570018 in abort () from /lib/i686/cmov/libc.so.6
 No symbol table info available.
 #10 0xb76fa064 in IA__g_logv (log_domain=0xb7729866 "GLib",
 log_level=G_LOG_LEVEL_ERROR, format=0xb7730c44 "%s: failed to allocate %
 u bytes",
     args1=0xbff3463c "\220\fs·tsag")
 at /tmp/buildd/glib2.0-2.16.6/glib/gmessages.c:497
         depth = 1
         domain = <value optimized out>
         data = (gpointer) 0x0
         log_func = (GLogFunc) 0x80a2660 <pidgin_glib_log_handler>
         domain_fatal_mask = 5
         test_level = <value optimized out>
         was_recursion = 0
         i = <value optimized out>
 #11 0xb76fa096 in IA__g_log (log_domain=0xb7729866 "GLib",
 log_level=G_LOG_LEVEL_ERROR, format=0xb7730c44 "%s: failed to allocate %
 u bytes")
     at /tmp/buildd/glib2.0-2.16.6/glib/gmessages.c:517
 No locals.
 #12 0xb76f85be in IA__g_malloc (n_bytes=1734439796)
 at /tmp/buildd/glib2.0-2.16.6/glib/gmem.c:135
         mem = <value optimized out>
 #13 0xb5fb3f38 in byte_stream_getstr (bs=0xbff34784, len=1734439795)
 at ../../../../libpurple/protocols/oscar/bstream.c:194
         ob = <value optimized out>
 #14 0xb5fdb692 in purple_parse_incoming_im (od=0x9a6a3d0,
 conn=0x9910890, fr=0x99108cc)
 at ../../../../libpurple/protocols/oscar/oscar.c:2551
         args = (struct aim_incomingim_ch4_args *) 0xbff349b4
         channel = <value optimized out>
         ret = <value optimized out>
         userinfo = (aim_userinfo_t *) 0xbff34844
         ap = <value optimized out>
 #15 0xb5fbda6a in incomingim (od=0x9a6a3d0, conn=0x9910890,
 mod=0x9163300, frame=0x99108cc, snac=0xbff34bb0, bs=0x99108d0)
     at ../../../../libpurple/protocols/oscar/family_icbm.c:2142
         tlvlist = (GSList *) 0x9a53920
         ret = <value optimized out>
         cookie = (guchar *) 0x99454f8 "{T\200IÇ#\027"
         channel = <value optimized out>
         userinfo = {sn = 0x9ae4dc8 "1003", warnlevel = 0, idletime = 0,
 flags =
 16, createtime = 0, membersince = 0, onlinesince = 1233147003,
   sessionlen = 0, capabilities = 0, icqinfo = {status = 0, ipaddr = 0,
 crap = '\0' <repeats 36 times>}, present = 5, iconcsumtype = 0 '\0',
   iconcsumlen = 0, iconcsum = 0x0, info = 0x0, info_encoding = 0x0,
 info_len = 0, status = 0x0, status_encoding = 0x0, status_len = 0,
   itmsurl = 0x0, itmsurl_encoding = 0x0, itmsurl_len = 0, away = 0x0,
 away_encoding = 0x0, away_len = 0, next = 0x0}
 #16 0xb5fbeb76 in snachandler (od=0x9a6a3d0, conn=0x9910890,
 mod=0x9163300, frame=0x99108cc, snac=0xbff34bb0, bs=0x99108d0)
     at ../../../../libpurple/protocols/oscar/family_icbm.c:2760
 No locals.
 #17 0xb5fc84da in flap_connection_recv_cb (data=0x9910890, source=23,
 cond=PURPLE_INPUT_READ)
     at ../../../../libpurple/protocols/oscar/flap_connection.c:684
         read = 6
 #18 0x080a7de3 in pidgin_io_invoke (source=0x91d0540, condition=<value
 optimized out>, data=0x91702e8) at ../../pidgin/gtkeventloop.c:78
         purple_cond = PURPLE_INPUT_READ
 #19 0xb772665d in g_io_unix_dispatch (source=0x91627d8,
 callback=0x80a7da0 <pidgin_io_invoke>, user_data=0x91702e8)
     at /tmp/buildd/glib2.0-2.16.6/glib/giounix.c:162
         buffer_condition = 6
 #20 0xb76f01b8 in IA__g_main_context_dispatch (context=0x8565530)
 at /tmp/buildd/glib2.0-2.16.6/glib/gmain.c:2012
 No locals.
 #21 0xb76f3853 in g_main_context_iterate (context=0x8565530, block=1,
 dispatch=1, self=0x8541008)
 at /tmp/buildd/glib2.0-2.16.6/glib/gmain.c:2645
         max_priority = 2147483647
         timeout = 441
         some_ready = 1
         nfds = 13
         allocated_nfds = <value optimized out>
         fds = (GPollFD *) 0x9173480
         __PRETTY_FUNCTION__ = "g_main_context_iterate"
 #22 0xb76f3d72 in IA__g_main_loop_run (loop=0x90236b0)
 at /tmp/buildd/glib2.0-2.16.6/glib/gmain.c:2853
         self = (GThread *) 0x8541008
         __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
 #23 0xb7beeba9 in IA__gtk_main () at /build/buildd/gtk
 +2.0-2.12.11/gtk/gtkmain.c:1163
         tmp_list = (GList *) 0x0
         functions = (GList *) 0x0
         init = (GtkInitFunction *) 0x0
         loop = (GMainLoop *) 0x90236b0
 #24 0x080c060e in main (argc=) at ../../pidgin/gtkmain.c:890
         opt_help = <value optimized out>
         opt_login = 0
         opt_nologin = 0
         opt_version = 0
         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 = {82951, 0 <repeats 31 times>}}
         prev_sig_disp = (void (*)(int)) 0
         errmsg =
 "\001\000\000\000ðMó¿å\aó·\b\000\000\000\b\000\000\000\0003
 \n·Ôkó¿Ë\202ò·\f3\n·\0003\n·\b", '\0' <repeats 11 times>, " \220ò·àÊz·
 \000\000\000\000¤kó¿\000\000\000\000\r\000\000\000+\000\000\000Çkó¿Àkó
 ¿¼kó¿±\006ó·\016", '\0' <repeats 11 times>, "<\000\000\000ôoó·¤kó¿ôoó·
 \002\000\000\000\001\000\000\000pNó¿å\aó·\b\000\000\000\b\000\000\000è2
 \n·Ôkó¿Ë\202ò·ô2\n·è2\n·\b", '\0' <repeats 15 times>, "àÊz·\000\000\000
 \000xOó¿\026\232ò·¤kó¿", '\0' <repeats 12 times>...
         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 = 0x810452a "config", has_arg = 1, flag =
 0x0,
 val = 99}, {name = 0x80f4679 "debug", has_arg = 0, flag = 0x0,
     val = 100}, {name = 0x80f7487 "help", has_arg = 0, flag = 0x0, val =
 104}, {name = 0x80f4931 "login", has_arg = 2, flag = 0x0, val = 108}, {
     name = 0x810098f "multiple", has_arg = 0, flag = 0x0, val = 109},
 {name = 0x8100998 "nologin", has_arg = 0, flag = 0x0, val = 110}, {
     name = 0x81009a0 "nocrash", has_arg = 0, flag = 0x0, val = 120},
 {name = 0x8104520 "session", has_arg = 1, flag = 0x0, val = 115}, {
     name = 0x80f9176 "version", has_arg = 0, flag = 0x0, val = 118},
 {name = 0x8104533 "display", has_arg = 1, flag = 0x0, val = 68}, {
     name = 0x81009a8 "sync", has_arg = 0, flag = 0x0, val = 83}, {name =
 0x0, has_arg = 0, flag = 0x0, val = 0}}
 }}}

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


More information about the Tracker mailing list