Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rare memory leak in basic-sessionbreak-vg.sh #218

Closed
alorbach opened this issue Sep 16, 2020 · 1 comment
Closed

rare memory leak in basic-sessionbreak-vg.sh #218

alorbach opened this issue Sep 16, 2020 · 1 comment

Comments

@alorbach
Copy link
Member

alorbach commented Sep 16, 2020

There appears to be a possible memory leak in the basic-sessionbreak-vg.sh test that occurs from time to time.
Here is a sample report: https://build.rsyslog.com/#/builders/52/builds/469/steps/10/logs/test-suite_log

==44171== HEAP SUMMARY:
==44171== in use at exit: 32 bytes in 1 blocks
==44171== total heap usage: 70,282 allocs, 70,281 frees, 2,841,040 bytes allocated
==44171==
==44171== 32 bytes in 1 blocks are definitely lost in loss record 1 of 1
==44171== at 0x4C2B200: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==44171== by 0x4E3856D: addToEpollSet (relp.c:101)
==44171== by 0x4E38C56: addSessToEpoll (relp.c:147)
==44171== by 0x4E38C56: relpEngineAddToSess (relp.c:211)
==44171== by 0x4E38C56: handleConnectionRequest (relp.c:675)
==44171== by 0x4E38C56: engineEventLoopRun (relp.c:849)
==44171== by 0x4E392EE: relpEngineRun (relp.c:1029)
==44171== by 0x401F4E: main (receive.c:475)
==44171==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:calloc
fun:addToEpollSet
fun:addSessToEpoll
fun:relpEngineAddToSess
fun:handleConnectionRequest
fun:engineEventLoopRun
fun:relpEngineRun
fun:main
}

@alorbach
Copy link
Member Author

duplicated issue, see #192

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant