Custom Query (1442 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (61 - 63 of 1442)

Ticket Resolution Summary Owner Reporter
#65 fixed Memory leak with edge prediction tool fbossen
Description

As reported by Xiang Li: "We have a minor memory leak with the edge tool. In tcomprediction.cpp line 100, EdgeBasedPred is never released".

#66 wontfix Tracing memory allocation li@…
Description

Recently, we have many problems related to improper memory usage, such as memory leak (ticket #13,#14,#18,#19,#65), excessive memory allocation (ticket #57), too many times of memory allocation (ticket #21). To ease the detection of memory problems, a memory tracing tool is proposed. A patch based on revision 176 is attached (most of revisions are replacement of conventional memory allocation functions with new macros). The features of the tool are as follows.

1, Log of memory leak (file and line). 2, Log of memory usage (how much memory is allocated and times of memory allocation) during encoding/decoding. 3, Log of memory usage of each cpp/h file. 4, Print out the memory usage information during encoding/decoding.

Further features can be easily added if necessary.

With the memory log information, any memory leak or improper memory usage can be easily noticed by algorithm proponents and software coordinators.

The tool is easy to use. After including tool_tracemem.cpp and tool_tracemem.h into source/Lib/TLibCommon, what you have to do is using new macro MEMNEW/MEMDELETE to replace the conventional new/delete.

#67 fixed Memory leak in TEncSIFO.cpp and TEncAdaptiveLoopFilter.cpp (revision 178) li@…
Description

Memory leak was observed in TEncSIFO.cpp and TEncAdaptiveLoopFilter.cpp. With the attached encoder_lowdely.cfg and the patch of memory tracing (in ticket #66, revision 178 based), the memory leak was logged as follows.

Memory has not been freed: In TEncSIFO.cpp line 551, memory was allocated at 0x03ab4180 (64B). In TEncSIFO.cpp line 551, memory was allocated at 0x04971fd8 (64B). In TEncSIFO.cpp line 551, memory was allocated at 0x049f1f00 (64B). In TEncSIFO.cpp line 551, memory was allocated at 0x049f1848 (64B). In TEncSIFO.cpp line 557, memory was allocated at 0x0468dec0 (2048B). In TEncSIFO.cpp line 551, memory was allocated at 0x049f21b0 (64B). In TEncSIFO.cpp line 557, memory was allocated at 0x046c2f70 (2048B). In TEncSIFO.cpp line 557, memory was allocated at 0x0468d6b8 (2048B). In TEncSIFO.cpp line 576, memory was allocated at 0x04883ff0 (16B). In TEncSIFO.cpp line 557, memory was allocated at 0x03aaf8e0 (18432B). In TEncSIFO.cpp line 551, memory was allocated at 0x049f2460 (64B). In TEncSIFO.cpp line 551, memory was allocated at 0x049f1da8 (64B). In TEncSIFO.cpp line 551, memory was allocated at 0x049f2710 (64B). In TEncSIFO.cpp line 557, memory was allocated at 0x046c2768 (2048B). In TEncSIFO.cpp line 551, memory was allocated at 0x03aaf800 (64B). In TEncSIFO.cpp line 551, memory was allocated at 0x049f2058 (64B). In TEncSIFO.cpp line 576, memory was allocated at 0x047cbff0 (16B). In TEncAdaptiveLoopFilter.cpp line 4188, memory was allocated at 0x007859f0 (128B). In TEncSIFO.cpp line 551, memory was allocated at 0x049f13c0 (64B). In TEncSIFO.cpp line 576, memory was allocated at 0x04866d08 (16B). In TEncSIFO.cpp line 551, memory was allocated at 0x04918fc0 (64B). In TEncSIFO.cpp line 592, memory was allocated at 0x04919fc0 (16B). In TEncSIFO.cpp line 551, memory was allocated at 0x049f2308 (64B). In TEncSIFO.cpp line 557, memory was allocated at 0x046c3f80 (2048B). In TEncSIFO.cpp line 551, memory was allocated at 0x049f2c70 (64B). In TEncSIFO.cpp line 557, memory was allocated at 0x03aaaf60 (18432B). In TEncAdaptiveLoopFilter.cpp line 4938, memory was allocated at 0x049eb1b8 (336B). In TEncSIFO.cpp line 551, memory was allocated at 0x049f25b8 (64B). In TEncSIFO.cpp line 557, memory was allocated at 0x046c3778 (2048B). In TEncSIFO.cpp line 557, memory was allocated at 0x0468bea0 (2048B). In TEncAdaptiveLoopFilter.cpp line 5248, memory was allocated at 0x049eeb90 (336B). In TEncAdaptiveLoopFilter.cpp line 5249, memory was allocated at 0x049eed90 (336B). In TEncAdaptiveLoopFilter.cpp line 5250, memory was allocated at 0x049eef90 (168B). In TEncAdaptiveLoopFilter.cpp line 4967, memory was allocated at 0x00785630 (128B). In TEncSIFO.cpp line 551, memory was allocated at 0x03aaae80 (64B). In TEncSIFO.cpp line 557, memory was allocated at 0x046c0f50 (2048B). In TEncSIFO.cpp line 557, memory was allocated at 0x046f5698 (2048B). In TEncSIFO.cpp line 557, memory was allocated at 0x0468b698 (2048B). In TEncAdaptiveLoopFilter.cpp line 4963, memory was allocated at 0x049b1bf8 (336B). In TEncSIFO.cpp line 551, memory was allocated at 0x049f2868 (64B). In TEncSIFO.cpp line 557, memory was allocated at 0x046c0748 (2048B). In TEncSIFO.cpp line 576, memory was allocated at 0x03aa63e0 (16B). In TEncSIFO.cpp line 557, memory was allocated at 0x03aa65e0 (18432B). In TEncSIFO.cpp line 557, memory was allocated at 0x0468ceb0 (2048B). In TEncSIFO.cpp line 551, memory was allocated at 0x03aa6500 (64B). In TEncSIFO.cpp line 557, memory was allocated at 0x04796468 (2048B). In TEncSIFO.cpp line 576, memory was allocated at 0x0489dbc8 (16B). In TEncSIFO.cpp line 551, memory was allocated at 0x04972130 (64B). In TEncSIFO.cpp line 551, memory was allocated at 0x049f19a0 (64B). In TEncAdaptiveLoopFilter.cpp line 5154, memory was allocated at 0x049ef0e8 (168B). In TEncSIFO.cpp line 557, memory was allocated at 0x046c1f60 (2048B). In TEncSIFO.cpp line 557, memory was allocated at 0x0468c6a8 (2048B). In TEncSIFO.cpp line 557, memory was allocated at 0x046c1758 (2048B). In TEncSIFO.cpp line 557, memory was allocated at 0x03ab4260 (18432B).

In TEncSIFO.cpp, memory was allocated in initSIFOFilters() with functions like xGet_mem3Ddouble(). Such memory is not released. Moreover, no memory free functions related to xGet_memxDdouble() were provided.

In TEncAdaptiveLoopFilter.cpp, if "if(init == 0)" and "init == 0" are searched, several improper memory allocation can be noticed, where memory is allocated to static local pointers when the related function is called for the first time. Clearly, such memory is not released.

It is highly suggested that the proponents for SIFO and AdaptiveLoopFilter also check with other config files before submiting the patch for the memory leak.

Note: See TracQuery for help on using queries.