From 5b2fb28a8ccc434a80a062b187236bb6af8c9912 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Wed, 7 Mar 2018 18:38:14 +0900 Subject: Travis: experimental Valgrind suppressions file --- .valgrind.qmc-example.supp | 159 +++++++++++++++++++++++++++++++++++++++++++++ qmc-example.pro | 3 + 2 files changed, 162 insertions(+) create mode 100644 .valgrind.qmc-example.supp diff --git a/.valgrind.qmc-example.supp b/.valgrind.qmc-example.supp new file mode 100644 index 00000000..3d15c500 --- /dev/null +++ b/.valgrind.qmc-example.supp @@ -0,0 +1,159 @@ +{ + libc_dirty_free_on_exit + Memcheck:Free + fun:free + fun:__libc_freeres + fun:_vgnU_freeres + fun:__run_exit_handlers + fun:exit +} + +{ + sendPostedEvents1 + Memcheck:Leak + match-leak-kinds: possible + fun:_Znwm + fun:_ZN15QtSharedPointer20ExternalRefCountData9getAndRefEPK7QObject + obj:/opt/qt56/lib/libQt5Network.so.5.6.3 +} + +{ + sendPostedEvents3 + Memcheck:Leak + match-leak-kinds: possible + fun:_Znwm + obj:/opt/qt56/lib/libQt5Network.so.5.6.3 + obj:/opt/qt56/lib/libQt5Network.so.5.6.3 + fun:_ZN7QObject5eventEP6QEvent + fun:_ZN16QCoreApplication6notifyEP7QObjectP6QEvent + fun:_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + fun:_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData + obj:/opt/qt56/lib/libQt5Core.so.5.6.3 +} + +{ + QAuthenticator + Memcheck:Leak + match-leak-kinds: possible + ... + fun:_ZN14QAuthenticator6detachEv +} + +{ + sendPostedEvents5 + Memcheck:Leak + match-leak-kinds: possible + fun:realloc + fun:_ZN9QListData12realloc_growEi + fun:_ZN9QListData7prependEv + obj:/opt/qt56/lib/libQt5Network.so.5.6.3 + obj:/opt/qt56/lib/libQt5Network.so.5.6.3 + obj:/opt/qt56/lib/libQt5Network.so.5.6.3 + fun:_ZN7QObject5eventEP6QEvent + fun:_ZN16QCoreApplication6notifyEP7QObjectP6QEvent + fun:_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + fun:_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData +} + +{ + QObject_connect + Memcheck:Leak + match-leak-kinds: possible + ... + obj:/opt/qt56/lib/libQt5Core.so.5.6.3 + fun:_ZN7QObject7connectEPKS_PKcS1_S3_N2Qt14ConnectionTypeE +} + +{ + QNetworkProxy + Memcheck:Leak + match-leak-kinds: possible + fun:_Znwm + fun:_ZN13QNetworkProxyC1ENS_9ProxyTypeERK7QStringtS3_S3_ + obj:/opt/qt56/lib/libQt5Network.so.5.6.3 +} + +{ + QTimer + Memcheck:Leak + match-leak-kinds: possible + fun:_Znwm + fun:_ZN7QObjectC1EPS_ + fun:_ZN6QTimerC1EP7QObject +} + +{ + QSslConfiguration + Memcheck:Leak + match-leak-kinds: possible + fun:_Znwm + ... + fun:_ZN17QSslConfigurationC1Ev +} + +{ + sendPostedEvents6 + Memcheck:Leak + match-leak-kinds: possible + fun:_Znwm + obj:/opt/qt56/lib/libQt5Network.so.5.6.3 + obj:/opt/qt56/lib/libQt5Network.so.5.6.3 + obj:/opt/qt56/lib/libQt5Network.so.5.6.3 + fun:_ZN7QObject5eventEP6QEvent + fun:_ZN16QCoreApplication6notifyEP7QObjectP6QEvent + fun:_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + fun:_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData +} + +{ + QMetaObject_activate_in_QtNetwork + Memcheck:Leak + match-leak-kinds: possible + fun:_Znwm + obj:/opt/qt56/lib/libQt5Network.so.5.6.3 + obj:/opt/qt56/lib/libQt5Network.so.5.6.3 + fun:_ZN11QMetaObject8activateEP7QObjectiiPPv +} + +{ + QMapDatabase_from_QtNetwork + Memcheck:Leak + match-leak-kinds: possible + fun:_Znwm + fun:_ZN12QMapDataBase10createDataEv + obj:/opt/qt56/lib/libQt5Network.so.5.6.3 +} + +{ + QThread + Memcheck:Leak + match-leak-kinds: possible + ... + fun:_ZN7QThread5startENS_8PriorityE +} + +{ + libcrypto_ASN1 + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + ... + fun:ASN1_item_ex_d2i +} + +{ + QObject_from_QtNetwork + Memcheck:Leak + match-leak-kinds: possible + fun:_Znwm + fun:_ZN7QObjectC1EPS_ + obj:/opt/qt56/lib/libQt5Network.so.5.6.3 +} + +{ + array_new_from_QtNetwork + Memcheck:Leak + match-leak-kinds: possible + fun:_Znam + obj:/opt/qt56/lib/libQt5Network.so.5.6.3 +} diff --git a/qmc-example.pro b/qmc-example.pro index 4dc3fed1..0c8bda22 100644 --- a/qmc-example.pro +++ b/qmc-example.pro @@ -5,3 +5,6 @@ windows { CONFIG += console } include(libqmatrixclient.pri) SOURCES += examples/qmc-example.cpp + +DISTFILES += \ + .valgrind.qmc-example.supp -- cgit v1.2.3