aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-07 18:38:14 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-07 18:38:14 +0900
commit5b2fb28a8ccc434a80a062b187236bb6af8c9912 (patch)
treef580a009ace9802379c33b674210f1f51e5da4b3
parentd2afe5e1342e012b45245d86c8211b3f06df0062 (diff)
downloadlibquotient-5b2fb28a8ccc434a80a062b187236bb6af8c9912.tar.gz
libquotient-5b2fb28a8ccc434a80a062b187236bb6af8c9912.zip
Travis: experimental Valgrind suppressions file
-rw-r--r--.valgrind.qmc-example.supp159
-rw-r--r--qmc-example.pro3
2 files changed, 162 insertions, 0 deletions
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