-
Notifications
You must be signed in to change notification settings - Fork 269
Small memory leak during Tor simulations #1413
Copy link
Copy link
Closed
Labels
Component: MainComposing the core Shadow executableComposing the core Shadow executableType: BugError or flaw producing unexpected resultsError or flaw producing unexpected results
Milestone
Description
When running a 1% Tor network on 1b244da, Shadow reports a packet memory leak (60 out of 2,152,085,080 packets are leaked).
06:46:09.181124 [shadow] n/a [INFO] [n/a] [manager.c:278] [manager_free] Global allocated object counts: {Event:3019331932, Task:3019331932, Packet:2152085140, StatusListener:1152510940, Payload:1046033690, SysCallCondition:603805332, LegacyDescriptor:13969437, File:7721151, TCP:3573704, Timer:2673236, Futex:197618, Epoll:1206, SysCallHandler:614, ThreadPtrace:614, Process:474, NetworkInterface:376, FutexTable:188, Host:188, Router:188, EventD:70, UDP:70}
06:46:09.181154 [shadow] n/a [INFO] [n/a] [manager.c:282] [manager_free] Global deallocated object counts: {Event:3019331932, Task:3019331932, Packet:2152085080, StatusListener:1152510940, Payload:1046033630, SysCallCondition:603805332, LegacyDescriptor:13969437, File:7721151, TCP:3573704, Timer:2673236, Futex:197618, Epoll:1206, SysCallHandler:614, ThreadPtrace:614, Process:474, NetworkInterface:376, FutexTable:188, Host:188, Router:188, EventD:70, UDP:70}
06:46:09.181341 [shadow] n/a [WARN] [n/a] [manager.c:290] [manager_free] Memory leak detected
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Component: MainComposing the core Shadow executableComposing the core Shadow executableType: BugError or flaw producing unexpected resultsError or flaw producing unexpected results