leak in libmurrine.so

Bug #882326 reported by max ulidtko on 2011-10-26
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Murrine
New
Undecided
Unassigned
gtk2-engines-murrine (Ubuntu)
Undecided
Unassigned

Bug Description

I have this valgrind stacktrace:

==663== 352 (120 direct, 232 indirect) bytes in 30 blocks are definitely lost in loss record 5,780 of 7,173
==663== at 0x402732C: calloc (vg_replace_malloc.c:467)
==663== by 0x48C85E2: standard_calloc (gmem.c:107)
==663== by 0x5CB146D: ??? (in /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so)
==663== by 0x5CC3472: ??? (in /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so)
==663== by 0x5CB9B93: ??? (in /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so)
==663== by 0x438BD9B: gtk_paint_box (gtkstyle.c:6207)
==663== by 0x4236849: _gtk_button_paint (gtkbutton.c:1524)
==663== by 0x43D1584: gtk_toggle_button_expose (gtktogglebutton.c:440)
==663== by 0x42F5C51: _gtk_marshal_BOOLEAN__BOXED (gtkmarshalers.c:86)
==663== by 0x483568C: g_type_class_meta_marshal (gclosure.c:885)

AFAICT, gtk_paint_box does not ever return any newly allocated objects, so the leak must by inside the libmurrine.so.

I apologise for the absent symbols, but I failed to find a package with debugging symbols for this engine, and can't afford time to build it myself. Once the package is provided, I'll take the full stracktrace if needed.

This is on Ubuntu 11.10, gtk2-engines-murrine package version 0.98.1.1-0ubuntu3.

Cool Man (coolmancz) wrote :

I can confirm this bug in the Ubuntu 16.04

==24621== 32 (16 direct, 16 indirect) bytes in 2 blocks are definitely lost in loss record 4,810 of 10,763
==24621== at 0x4C2FB55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==24621== by 0x7E63770: g_malloc0 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2)
==24621== by 0xF16F551: raico_blur_create (raico-blur.c:43)
==24621== by 0xF14E72C: murrine_draw_blur_glow (cairo-support.c:689)
==24621== by 0xF14E72C: murrine_draw_glaze (cairo-support.c:871)
==24621== by 0xF15B7A3: murrine_draw_radiobutton (murrine_draw.c:2888)
==24621== by 0xF153934: murrine_style_draw_option (murrine_style.c:1647)

There is the function call in the file cairo-support.c, function murrine_draw_blur_glow:

blur = raico_blur_create (RAICO_BLUR_QUALITY_LOW);

But raico_blur_destroy() is missing.

Ubuntu 16:04
gtk2-engines-murrine (0.98.2-0ubuntu2.2)

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gtk2-engines-murrine (Ubuntu):
status: New → Confirmed
Cool Man (coolmancz) on 2018-03-30
tags: added: xenial
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers