[Pidgin] #11021: pidgin starts too long in case buddy icon is set

Pidgin trac at pidgin.im
Sun Dec 20 07:12:47 EST 2009


#11021: pidgin starts too long in case buddy icon is set
--------------------------+-------------------------------------------------
 Reporter:  pva           |     Owner:  rekkanoryo
     Type:  defect        |    Status:  new       
Component:  unclassified  |   Version:  2.6.4     
 Keywords:                |  
--------------------------+-------------------------------------------------
 Hello, we've received bug report: http://bugs.gentoo.org/294194

 In case http://bugs.gentoo.org/attachment.cgi?id=213478 is set as buddy
 icon pidgin will take about 30 seconds to start. Profiling of pidgin
 reveals the following activity:

  # opreport -l /usr/bin/pidgin
 Overflow stats not available
 CPU: Core 2, speed 1596.2 MHz (estimated)
 Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit
 mask
 of 0x00 (Unhalted core cycles) count 100000
 samples  %        symbol name
 13       44.8276  gtk_imhtml_associate_smiley
 3        10.3448  gtk_smiley_tree_destroy
 2         6.8966  add_sized_icon
 2         6.8966  do_alphashift
 2         6.8966  find_file_common
 2         6.8966  gtk_imhtml_get_type
 2         6.8966  pidgin_themes_load_smiley_theme
 1         3.4483  buddy_update_cb
 1         3.4483  pidgin_blist_update_plugin_actions
 1         3.4483  pidgin_status_box_size_allocate

 This looks like issue somewhere in pidgin since simple gtk test program
 (I'll attach) loads buddy in less then 3 seconds. It uses same code as
 pidgin does in pidgin_status_box_redisplay_buddy_icon(). Image path is
 hardcoded in program, you need to change it.

 And another oprofile output:
  # opreport -l /usr/bin/pidgin -g --demangle=smart
 Overflow stats not available
 warning: [vdso] (tgid:2393 range:0x7fffe33ff000-0x7fffe3400000) could not
 be found.
 CPU: Core 2, speed 1596.2 MHz (estimated)
 Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit
 mask of 0x00 (Unhalted core cycles) count 100000
 warning: the last modified time of the binary file does not match that of
 the sample file for /usr/bin/pidgin
 Either this is the wrong binary or the binary has been modified since the
 sample file was created.
 samples  %        linenr info                 image name
 symbol name
 33       42.3077  gtkimhtml.c:437             pidgin
 gtk_imhtml_style_set
 11       14.1026  gtkimhtml.c:2362            pidgin
 gtk_imhtml_get_html_opt
 6         7.6923  gtkthemes.c:224             pidgin
 pidgin_themes_load_smiley_theme
 5         6.4103  gtkimhtml.c:1637            pidgin
 gtk_imhtml_init
 4         5.1282  gtkimhtml.c:1456            pidgin
 imhtml_url_clicked
 2         2.5641  (no location information)   [vdso] (tgid:2393
 range:0x7fffe33ff000-0x7fffe3400000) [vdso] (tgid:2393
 range:0x7fffe33ff000-0x7fffe3400000)
 2         2.5641  pidginstock.c:358           pidgin
 add_sized_icon
 2         2.5641  pidginstock.c:325           pidgin
 find_icon_file
 2         2.5641  pidginstock.c:490           pidgin
 pidgin_stock_load_stock_icon_theme
 2         2.5641  gtkthemes.c:370             pidgin
 pidgin_themes_smiley_theme_probe
 1         1.2821  gtkconv.c:4506              pidgin
 blist_node_aliased_cb
 1         1.2821  gtkimhtml.c:4657            pidgin
 imhtml_emit_signal_for_format
 1         1.2821  gtkblist.c:3136             pidgin
 pidgin_blist_destroy_tooltip_data
 1         1.2821  gtkblist.c:3803             pidgin
 pidgin_blist_get_emblem
 1         1.2821  gtkcellrendererprogress.c:232 pidgin
 pidgin_cell_renderer_progress_get_size
 1         1.2821  gtkcellrendererprogress.c:84 pidgin
 pidgin_cell_renderer_progress_get_type
 1         1.2821  gtkdebug.c:1027             pidgin
 pidgin_debug_print
 1         1.2821  gtkthemes.c:164             pidgin
 pidgin_themes_destroy_smiley_theme_smileys
 1         1.2821  gtkblist.c:7552             pidgin
 sort_method_alphabetical

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


More information about the Tracker mailing list