[SSSD] [PATCH] CI: Update suppression file for 32bit el6

Lukas Slebodnik lslebodn at redhat.com
Fri Nov 13 07:34:06 UTC 2015


ehlo,

the glibc leak has different stacktrace on 32 bit abd 64bit

64 bit:
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   fun:memalign
   fun:posix_memalign
   obj:/lib64/libglib-2.0.so.0.2800.8
   fun:g_slice_alloc
   fun:g_string_sized_new
   fun:g_utf8_casefold
   fun:sss_utf8_case_eq
   fun:compare_map_id_name_to_krb_primary.clone.0
   fun:test_parse_krb5_map_user
   fun:srunner_run_all
   fun:main
}


and 32 bit:
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   fun:memalign
   fun:posix_memalign
   obj:/lib/libglib-2.0.so.0.2800.8
   fun:g_slice_alloc
   fun:g_string_sized_new
   fun:g_string_new
   fun:g_utf8_casefold
   fun:sss_utf8_case_eq
   fun:compare_map_id_name_to_krb_primary.clone.0
   fun:test_parse_krb5_map_user
   fun:srunner_run_all
   fun:main
}

Simple patch is attached.

LS
-------------- next part --------------
>From 410b6c40ccc27f13d06ff1204b6341f1060a0cc5 Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <lslebodn at redhat.com>
Date: Thu, 12 Nov 2015 05:53:19 +0000
Subject: [PATCH] CI: Update suppression file for 32bit el6

Some extra functions were in stack trace on 32 bit architecture.
It might be caused by different optimisation on different platforms.
As a result of this mismatch, the suppression did not match
on 32 bit architecture and it was reported as new memory related error.
---
 contrib/ci/sssd.supp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/ci/sssd.supp b/contrib/ci/sssd.supp
index 06cf640880fbfc7c5bafa003b19649b2b313058a..8f27708bd71155142e03189e189c8ec10f19c3e9 100644
--- a/contrib/ci/sssd.supp
+++ b/contrib/ci/sssd.supp
@@ -106,7 +106,9 @@
    obj:/lib*/libglib-2.0.so*
    fun:g_slice_alloc
    fun:g_string_sized_new
+   ...
    fun:g_utf8_casefold
+   fun:sss_utf8_case_eq
    ...
 }
 
-- 
2.5.0



More information about the sssd-devel mailing list