| Summary: | tdekbdledsync memory leak | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Nick Koretsky <nick.koretsky> |
| Component: | tdebase | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugwatch, kb9vqf, michele.calgaro, nick.koretsky, slavek.banko |
| Priority: | P5 | ||
| Version: | R14.0.x [Trinity] | ||
| Hardware: | amd64 | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | |||
| Bug Blocks: | 2696 | ||
| Attachments: |
valgrind --tool=memcheck --leak-check=full --show-leak-kinds=all /opt/trinity/bin/tdekbdledsync
valgrind --tool=memcheck --leak-check=full --show-leak-kinds=all /opt/trinity/bin/tdekbdledsync |
||
Created attachment 2510 [details]
valgrind --tool=memcheck --leak-check=full --show-leak-kinds=all /opt/trinity/bin/tdekbdledsync
This looks like a memory leak within the Xorg libraries themselves, however the leaking call was not needed. Potential fix committed in GIT hash a486f91 (tdebase), can you please check and see if the leak still exists? Thanks! There are several new commits, which should reduce leaking memory - see GIT hashes ba2fe631 and 0a8417d4 in tdebase. Both are also backported to r14.0.x branch - updated packages are already available in Preliminary Stable Builds repository. Nick, please, can you confirm that the recent patches solve the problem? On my machine, I observe that it seems to be okay. Oh, i totally forgot about this one. I disabled tdekbdledsync completely after finding out that it was responsible for not working grp_led on keyboard layouts switching... I have allowed it to run for a few days now and there is no leak, on the other hand the system is now stretch so maybe whatever unique condition that caused this machine to leak is simply gone. Anyway i cant reproduce the leak on 14.0.5~pre6 on stretch, so i think its safe to close it. I propose to close the bug as resolved. I agree. Let's close it and eventually reopen it if the problem shows up again :-) |
Created attachment 2509 [details] valgrind --tool=memcheck --leak-check=full --show-leak-kinds=all /opt/trinity/bin/tdekbdledsync On one of my machines tdekbdledsync leak memory at a rate of ~5-10MB per day. I have four Debian Jessie/TDE 14.0.1-pre machines and only one exhibit this so this is probably something very unique to this machine configuration/usage. The only obvious related difference i can think of is that on this machine i switch keyboard layouts (setxkbmap -option grp:ctrl_shift_toggle) a lot, while on the other three very rarely. Attached is output of valgrind --tool=memcheck --leak-check=full --show-leak-kinds=all /opt/trinity/bin/tdekbdledsync