Bug #4328
closedremsim-client is leaking memory
100%
Description
after leetting the end-to-end setup of my current laforge/fsm
branch run for one night, the resident set size has increased from 36084 at startup to 237536. That memory usage is not visible in the talloc report, so it must be some allocations elswhere, possibly by libusb itself? The initial read of the SIM card at modem startup also already increments the RSS to 40256.
Updated by laforge over 4 years ago
Interestingly, even LeakSanitizer doesn't report any leaks worth mentioning.
Updated by laforge over 4 years ago
- Status changed from New to Rejected
- % Done changed from 0 to 100
This actually seems to be a false positive. The RSS size grows only when LeakSanitizer is in use. Doing a normal build shows no RSS growth even while pushing tens of thousands of APDUs through a remsim-client.
Also, running that normal binary (built without leaksanitizer) in valgrind shows no memory leak reports.
Rejecting this ticket.