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

Fix seldom another sessionbreak memory leak #192

Open
alorbach opened this issue May 14, 2020 · 2 comments
Open

Fix seldom another sessionbreak memory leak #192

alorbach opened this issue May 14, 2020 · 2 comments

Comments

@alorbach
Copy link
Member

Another memoryleak appears to be happening but more seldom, see buildbot run:
https://build.rsyslog.com/#/builders/79/builds/323

==5081==
==5081== HEAP SUMMARY:
==5081== in use at exit: 32 bytes in 1 blocks
==5081== total heap usage: 92,822 allocs, 92,821 frees, 3,744,757 bytes allocated
==5081==
==5081== 32 bytes in 1 blocks are definitely lost in loss record 1 of 1
==5081== at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==5081== by 0x4E3A41D: addToEpollSet (relp.c:101)
==5081== by 0x4E3AA14: addSessToEpoll (relp.c:147)
==5081== by 0x4E3AA14: relpEngineAddToSess (relp.c:211)
==5081== by 0x4E3AA14: handleConnectionRequest (relp.c:670)
==5081== by 0x4E3AA14: engineEventLoopRun (relp.c:844)
==5081== by 0x4E3B08E: relpEngineRun (relp.c:1024)
==5081== by 0x401C97: main (receive.c:475)
==5081==
{
<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
}

@rgerhards
Copy link
Member

@alorbach - is this solved with the recent session cleanup fix?

@alorbach
Copy link
Member Author

this happens rarely, and is not yet fixed.

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

2 participants