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 333272 - tests should set G_SLICE=always-malloc now
tests should set G_SLICE=always-malloc now
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.10.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-03-03 16:50 UTC by Jan Schmidt
Modified: 2006-03-08 10:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add G_SLICE=always-malloc to the environment for valgrinding tests (531 bytes, patch)
2006-03-03 17:20 UTC, Jan Schmidt
accepted-commit_now Details | Review

Description Jan Schmidt 2006-03-03 16:50:41 UTC
Our testsuite should somehow set the G_SLICE=always-malloc environment variable when valgrinding to ensure that memory allocations don't go through the slice allocator.

When the slice allocator is used, it's impossible to track down memory leaks, because they just appear somewhere in the middle of a grouped allocation.
Comment 1 Jan Schmidt 2006-03-03 16:51:25 UTC
This was added in GLib 2.9.5, btw. With older versions, setting it just won't have any effect.
Comment 2 Jan Schmidt 2006-03-03 17:20:11 UTC
Created attachment 60581 [details] [review]
add G_SLICE=always-malloc to the environment for valgrinding tests
Comment 3 Jan Schmidt 2006-03-08 10:24:55 UTC
Committed:
        * check.mak:
        Set G_SLICE=always-malloc when valgrinding tests
        (closes #333272)