Project

General

Profile

Actions

Bug #4328

closed

remsim-client is leaking memory

Added by laforge over 4 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
remsim-client
Target version:
-
Start date:
12/14/2019
Due date:
% Done:

100%

Spec Reference:

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.

Actions #1

Updated by laforge over 4 years ago

Interestingly, even LeakSanitizer doesn't report any leaks worth mentioning.

Actions #2

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.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)