Skip to content

Commit

Permalink
ci: Add valgrind suppression
Browse files Browse the repository at this point in the history
Some race only repro on CI's ubuntu and only sometimes.

==5928== HEAP SUMMARY:
==5928==     in use at exit: 30,542 bytes in 66 blocks
==5928==   total heap usage: 26,167 allocs, 26,101 frees, 17,350,619 bytes allocated
==5928==
==5928== 400 bytes in 1 blocks are possibly lost in loss record 39 of 46
==5928==    at 0x484DA83: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==5928==    by 0x40147D9: calloc (rtld-malloc.h:44)
==5928==    by 0x40147D9: allocate_dtv (dl-tls.c:375)
==5928==    by 0x40147D9: _dl_allocate_tls (dl-tls.c:634)
==5928==    by 0x68687B4: allocate_stack (allocatestack.c:430)
==5928==    by 0x68687B4: pthread_create@@GLIBC_2.34 (pthread_create.c:647)
==5928==    by 0x617168C: QThread::start(QThread::Priority) (in /home/runner/work/KDDockWidgets/Qt/6.6.0/gcc_64/lib/libQt6Core.so.6.6.0)
==5928==    by 0x61752DD: QThreadPoolPrivate::startThread(QRunnable*) (in /home/runner/work/KDDockWidgets/Qt/6.6.0/gcc_64/lib/libQt6Core.so.6.6.0)
==5928==    by 0x61763C8: QThreadPoolPrivate::tryStart(QRunnable*) (in /home/runner/work/KDDockWidgets/Qt/6.6.0/gcc_64/lib/libQt6Core.so.6.6.0)
==5928==    by 0x61767FE: QThreadPool::start(QRunnable*, int) (in /home/runner/work/KDDockWidgets/Qt/6.6.0/gcc_64/lib/libQt6Core.so.6.6.0)
==5928==    by 0x5B3A10E: ??? (in /home/runner/work/KDDockWidgets/Qt/6.6.0/gcc_64/lib/libQt6Gui.so.6.6.0)
==5928==    by 0x5723482: ??? (in /home/runner/work/KDDockWidgets/Qt/6.6.0/gcc_64/lib/libQt6Gui.so.6.6.0)
==5928==    by 0x56F4268: ??? (in /home/runner/work/KDDockWidgets/Qt/6.6.0/gcc_64/lib/libQt6Gui.so.6.6.0)
==5928==    by 0x56F8027: ??? (in /home/runner/work/KDDockWidgets/Qt/6.6.0/gcc_64/lib/libQt6Gui.so.6.6.0)
==5928==    by 0x573152F: QRasterPaintEngine::stroke(QVectorPath const&, QPen const&) (in /home/runner/work/KDDockWidgets/Qt/6.6.0/gcc_64/lib/libQt6Gui.so.6.6.0)
==5928==
iamsergio committed Apr 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 8543c77 commit 6222582
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions valgrind.sup
Original file line number Diff line number Diff line change
@@ -189,3 +189,11 @@
...
fun:g_malloc0
}

{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
...
fun:_ZN18QThreadPoolPrivate11startThreadEP9QRunnable
}

0 comments on commit 6222582

Please sign in to comment.