Commit Graph

46 Commits

Author SHA1 Message Date
Jonas Smedegaard 693ba4c3fe Import Upstream version 1.5.3 2021-09-29 23:01:46 +02:00
Patrick Ohly ad33e1fbba sys.supp: ignore g_dbus_connection_new_sync
Started to appear on Debian Stretch after switching to gdbus from glib.
2016-09-26 12:58:26 +02:00
Patrick Ohly 4e60b67c27 testing: ignore dl error on Ubuntu Vivid 2015-03-03 10:14:19 +01:00
Patrick Ohly 9f04119d32 testing: ignore some minor leaks 2014-10-10 03:19:45 -07:00
Patrick Ohly f0df27f407 testing: relax gnutls leak suppression
Also happens with realloc.
2014-05-05 09:28:14 +02:00
Patrick Ohly 9e00e3154e testing: ignore ESourceRegistry unref leak 2014-04-24 04:32:18 -07:00
Patrick Ohly 2ce83fcb14 testing: updated valgrind supressions for Debian Testing and Ubuntu Saucy
New problems showed up after updating Debian Testing, similar
to what was seen also on Ubuntu Saucy.
2014-03-31 11:12:21 +02:00
Patrick Ohly 62c835ea69 testing: ignore some more leaks 2014-03-19 19:26:15 +01:00
Patrick Ohly 816c756d7b testing: ignore some minor (false) valgrind leaks
Started to appear when testing on Ubuntu Saucy and Trusty and/or
with GDBus GIO over sockets. Seems minor.
2014-02-12 12:52:09 +01:00
Patrick Ohly 5dc6ef241b testing: ignore GNOME 3.8 leaks
"Testing" was updated from Debian Wheezy to the current Debian Testing
with GNOME 3.8. This triggered some minor new leaks and changed some existing
ones.
2013-11-26 17:03:03 +01:00
Patrick Ohly 05e5911e05 testing: ignore g_socket_accept + cancel leak 2013-10-30 05:13:34 -07:00
Patrick Ohly 02dbb246bf testing: ignore GIO thread leak, variant 2 2013-10-30 05:13:10 -07:00
Patrick Ohly a102e5c224 testing: ignore getaddrinfo valgrind warning
Found on current Debian Testing.
2013-10-29 13:18:13 +01:00
Patrick Ohly c472fd0af6 testing: ignore fontconfig issue
Started to appear on Debian Testing after the Wheezy release.
2013-10-24 13:19:31 +01:00
Patrick Ohly 584210b94a testing: ignore GNOME keyring problems
Some new resp. slightly different sightings of leaks involving
the GNOME keyring. Came up after using the keyring more often.
2013-10-01 09:28:38 +02:00
Patrick Ohly d0f2c61b95 testing: ignore GIO socket leak introduced by GNOME 3.8
The leak started showing up after switching to GNOME 3.8, independent
of any change in SyncEvolution. Looks like a bug in GNOME. I tried
to debug it, but gave up because it seems to be timing dependent such
that the error path was not triggered when running without valgrind.
2013-09-27 08:59:12 -07:00
Patrick Ohly 23afceee94 testing: ignore GNOME keyring leak also for other operations
Recently the same error showed up also with a gnome_keyring_find_* function
in the backtrace. Ignore that, too.
2013-09-04 11:08:52 +02:00
Patrick Ohly 03d03ced60 testing: suppress libsoup cancellation error leak
I don't think we get to see the error that libsoup is setting
here, so this probably leaks inside libsoup.
2013-07-05 17:44:09 +02:00
Patrick Ohly 1f57b6c47b testing: updated valgrind suppressions
Testing showed one new, rare leak and some variations of older ones.
2013-05-29 09:14:02 +02:00
Patrick Ohly 0a7939139d D-Bus: fix minor memory leak
When setting up a connection to the system D-Bus failed, the error
message was leaked - occurred in testing, very unlikely in a real
systen.
2013-05-29 09:13:46 +02:00
Patrick Ohly d303670549 testing: temporarily ignore neon + gnutls leak
Tracked as FDO #61851.
2013-03-06 02:07:07 -08:00
Patrick Ohly 28ad61cd41 testing: ignore one-time leak
Not sure where this happens. Found on Debian Wheezy.
2012-10-25 16:43:51 +02:00
Patrick Ohly 8badef94c7 testing: more general suppression for libdl crash
The crash also happened without the openaux function being involved.
2012-09-05 12:23:04 +00:00
Patrick Ohly c21ed00ae6 testing: ignore one-time leak
It could be a leak caused by SyncEvolution not handling an incoming
message. Not entirely sure. Only seems to happen once, so ignore it.
2012-08-31 19:17:49 +00:00
Patrick Ohly d4258ba9d7 testing: updated system suppressions
Need to update rules to detect known problems (gcrypt and libdb).
2012-08-31 19:16:44 +00:00
Patrick Ohly 6045c21f93 testing: generalized libdl suppression
Made the libdl jump segfault more general, to catch another variant
of it.
2012-07-12 15:51:37 +00:00
Patrick Ohly 60184a8844 testing: ignore system leaks
Minor potential leaks in GClosure and GDBus.
2012-05-22 09:27:05 +00:00
Patrick Ohly 57cc7a33aa testing: updated sys.supp
The fork/exec D-Bus server and helper trigger some system
memory leaks in a different way. These are minor one-time leaks,
so ignore them.
2012-05-10 22:08:48 +02:00
Patrick Ohly 15790f87e0 testing: ignore another g_cclosure_new possible leak
Same warning as for other calls to g_cclosure_new, this time
in libnotify.
2012-05-02 17:42:59 +00:00
Patrick Ohly 6c2a088513 testing: ignore minor system leaks
Recent EDS and glib show some limited amount of leaked memory.
Probably safe to ignore.
2012-04-26 11:52:28 +00:00
Patrick Ohly eafc49cb35 KDE + GNOME: moved keyring/kwallet and KDE init into modules
The platform specific code which is of no value unless you run a
specific desktop now gets compiled as part of shared libraries, just
like the storage backends. The advantage is that the rest of
SyncEvolution keeps running even if one of these shared libraries
cannot be loaded due to missing depdendencies. syncevolution.org
packages will not declared these dependencies, to allow installing
each package without forcing the installation of unwanted libraries.
Distros can package the platform code separately.

Another advantage is reduced code duplication (password load/store
was duplicated in command line and D-Bus server).

Technically this uses almost the same mechnism as loadable sync
sources. The code resides in src/backends/[kde|gnome], where the
autotool magic finds the *Register.cpp files automatically and
includes them into executables. These files contain global singletons
which, when initialized, connect platform specific code to new signals
in the core (init, password load/save).

The actual code is in the backend libraries. Because
SE_ARG_ENABLE_BACKEND() is not used (in favor of the traditional
enable macros), linking against these libs must be set up by adding
them to the (now slightly misnamed) SYNCSOURCES variable in the
configure fragments.
2012-03-09 07:24:59 +00:00
Patrick Ohly cdb6213a5c testing: valgrind suppressions for Debian Testing, part II
The libdl suppression also manifests itself with a different
stack backtrace. Also cover that.
2012-03-07 09:36:09 +00:00
Patrick Ohly a9d8271b39 sys.supp: ignore cond valgrind warning in libdb
Seen on Debian Testing, 64 bit mode, in libdb 5.1.29-1.
Further investigation showed that it is probably harmless,
goes away when compiling libdb with initialization of
padding bytes.

Reported to Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662917

I've tracked the root cause in __ham_add_el() in src/hash/hash_page.c:

        if (is_databig) {
                doff.type = H_OFFPAGE;
===>            UMRW_SET(doff.unused[0]);
===>            UMRW_SET(doff.unused[1]);
===>            UMRW_SET(doff.unused[2]);

UMRW_SET is a NOP unless --enable-umrw is used during
configure. Compiling with --enable-umrw avoids the valgrind warning.

The unitialized value is used in a comparison of a checksum with 0.
I can convince myself that this is probably okay, because it doesn't
matter whether some of the data the checksum was calculated over
was uninitialized as long as it doesn't change later on.

But nevertheless, having to deal with such random valgrind errors
while debugging other code isn't nice. Please consider using
--enable-umrw when compiling libdb.
2012-03-07 09:34:40 +00:00
Patrick Ohly f34503809c testing: valgrind suppressions for Debian Testing
Updating to current Debian Testing brought up new issues in system
libraries. Minor and thus can be ignored.
2012-02-21 12:24:38 +00:00
Patrick Ohly a5ef5b5a11 D-Bus testing: ignore specific error in TestLocalSync.testConcurrency
syncevo-local-sync dies with a segfault in libdl after the
TestLocalSync.testConcurrency D-Bus tests completes, but only when
running under valgrind. Ignore that problem via a suppression.
2012-02-15 16:23:51 +00:00
Patrick Ohly 2f16f6c15e testing: ignore KDE memory errors
There's no time for a detailed analysis of the issues
reported by valgrind in KDE/Qt libraries. Suppress
them so that nightly testing can pass again.
2012-02-01 15:28:32 +00:00
Patrick Ohly afcab60a02 testing: ignore memory leaks in DBus libdbus server implementation
Made the previous suppression for dbus_server_listen() more generic,
added suppressions for dbus_setup_server(). Covers some small
leaks in code which is obsolete and hard to fix.
2012-01-30 12:18:24 +00:00
Patrick Ohly d4b3ded8d8 testing: ignore valgrind errors in libdbus
The errors are minor and don't seem to be caused by SyncEvolution
(dbus_server_disconnect() is called). Will go away once we move away
from libdbus and/or when running one sync session per server (and thus
not creating multiple servers?).
2012-01-25 09:36:48 +00:00
Patrick Ohly 7bc29b6163 testing: added some valgrind suppressions for GIO GDBus
When setting up a connection fails, g_dbus_connection_new_for_address_sync()
leaks some memory. Nothing that is caused by our code. Same for a leak
inside the GIO helper thread.
2011-12-01 14:25:28 +00:00
Patrick Ohly 68a8d34e8a syncevo-dbus-server: ignore leak in gcrypt+GNOME keyring
Saving and retrieving a password in GNOME keyring leaks some small
amount of memory. In particular saving doesn't get anything back
except for an integer ID, so it seems unlikely that this is caused
by our code.
2011-11-30 15:44:17 +00:00
Patrick Ohly 0886ceb71a testing: added more valgrind suppressions for ASN encoding
gnutls + ASN encoding also showed up in the context of libneon.
2011-10-12 12:53:05 +00:00
Patrick Ohly c890b7f6e4 testing: ignore valgrind warning for Google SSL
gnutls + glib-networking cause warnings about reading slightly beyond
the end of a buffer in the asn code when exchanging data with
Google. Nothing we can do about that, ignore it.
2011-08-26 08:31:40 +00:00
Patrick Ohly b07d4b34ee nightly testing: ignore valgrind report in libsynthesis
Long term we should fix the problem instead of suppressing it (BMC #8936).
Doesn't seem to cause any problems, though.
2010-10-26 17:22:26 +08:00
Patrick Ohly c6c1a59fb7 testing: updated valgrind regression rules
Tested with local tests (Client::Source SyncEvolution), valgrind 3.4.1.SVN-9098-1883,
Evolution 2.22.3.1, on Ubuntu 8.04 in 64 bit mode. Some stack backtraces were
slightly different, some problems are new. None seem to be caused by us.
2009-07-09 13:49:32 +02:00
Patrick Ohly 0d580b83bc added plenty of suppressions for problems only found when running code linked against 2.22.x
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@663 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-10 18:12:04 +00:00
Patrick Ohly e7ba16d162 valgrind suppression rules
The files were originally created for:
sys = Debian Etch
evo = Evolution trunk ~ 2.22
client = Funambol C++ client library post 6.5


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@520 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-16 08:48:26 +00:00