leak in libmurrine.so
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Murrine |
New
|
Undecided
|
Unassigned | ||
gtk2-engines-murrine (Ubuntu) |
Confirmed
|
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_
==663== by 0x48C85E2: standard_calloc (gmem.c:107)
==663== by 0x5CB146D: ??? (in /usr/lib/
==663== by 0x5CC3472: ??? (in /usr/lib/
==663== by 0x5CB9B93: ??? (in /usr/lib/
==663== by 0x438BD9B: gtk_paint_box (gtkstyle.c:6207)
==663== by 0x4236849: _gtk_button_paint (gtkbutton.c:1524)
==663== by 0x43D1584: gtk_toggle_
==663== by 0x42F5C51: _gtk_marshal_
==663== by 0x483568C: g_type_
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-
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 valgrind/ vgpreload_ memcheck- amd64-linux. so) 64-linux- gnu/libglib- 2.0.so. 0.4800. 2) draw_blur_ glow (cairo- support. c:689) support. c:871) draw_radiobutto n (murrine_ draw.c: 2888) style_draw_ option (murrine_ style.c: 1647)
==24621== at 0x4C2FB55: calloc (in /usr/lib/
==24621== by 0x7E63770: g_malloc0 (in /lib/x86_
==24621== by 0xF16F551: raico_blur_create (raico-blur.c:43)
==24621== by 0xF14E72C: murrine_
==24621== by 0xF14E72C: murrine_draw_glaze (cairo-
==24621== by 0xF15B7A3: murrine_
==24621== by 0xF153934: murrine_
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 murrine (0.98.2-0ubuntu2.2)
gtk2-engines-