After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 627618 - efh_format_timeout memory leak
efh_format_timeout memory leak
Status: RESOLVED DUPLICATE of bug 623265
Product: GtkHtml
Classification: Other
Component: Parsing
3.31.x
Other Linux
: Normal normal
: ---
Assigned To: gtkhtml-maintainers
gtkhtml-maintainers
Depends on:
Blocks: 627707
 
 
Reported: 2010-08-22 00:31 UTC by David Woodhouse
Modified: 2010-09-06 15:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Woodhouse 2010-08-22 00:31:30 UTC
==23683== 1,504 (768 direct, 736 indirect) bytes in 4 blocks are definitely lost in loss record 24,990 of 26,937
==23683==    at 0x4A0515D: malloc (vg_replace_malloc.c:195)
==23683==    by 0x3A4DC45784: g_malloc (in /lib64/libglib-2.0.so.0.2512.0)
==23683==    by 0x700BAE9: html_cluev_new (htmlcluev.c:993)
==23683==    by 0x7030EC5: html_engine_parse (htmlengine.c:5366)
==23683==    by 0x6FF5ADC: gtk_html_begin_full (gtkhtml.c:3708)
==23683==    by 0xF15B6D1: efh_format_timeout (em-format-html.c:351)
==23683==    by 0x3A4DC3D00A: ??? (in /lib64/libglib-2.0.so.0.2512.0)
==23683==    by 0x3A4DC3C841: g_main_context_dispatch (in /lib64/libglib-2.0.so.0.2512.0)
==23683==    by 0x3A4DC406F7: ??? (in /lib64/libglib-2.0.so.0.2512.0)
==23683==    by 0x3A4DC40C04: g_main_loop_run (in /lib64/libglib-2.0.so.0.2512.0)
==23683==    by 0x34FA9493C6: gtk_main (in /usr/lib64/libgtk-x11-2.0.so.0.2000.1)
==23683==    by 0x4031F2: main (main.c:645)
==23683==
Comment 1 Akhil Laddha 2010-08-23 04:34:20 UTC
can be tagged along with bug 623265
Comment 2 Matthew Barnes 2010-08-27 14:19:27 UTC
The code in efh_format_timeout() is:

  hstream = gtk_html_begin (GTK_HTML (web_view));
  gtk_html_stream_printf (hstream, "<h5>%s</h5>", _("Formatting Message..."));
  gtk_html_stream_close (hstream, GTK_HTML_STREAM_OK);

Evolution isn't leaking anything.  Reassigning to GtkHtml.
Comment 3 Milan Crha 2010-09-06 15:13:17 UTC
I agree with Akhil, it's definitely part of it, technically in the bug description.

*** This bug has been marked as a duplicate of bug 623265 ***