#3 ✓invalid
Jocelyn Legault

[Memory leak] Leak when running unit tests

Reported by Jocelyn Legault | October 8th, 2009 @ 01:09 AM

Repro steps:

  • Run with -unittests

Leak report:

Detected memory leaks!
Dumping objects ->
..\src\ScitillaComponent\Buffer.cpp(30) : {2003} normal block at 0x00C88028, 44 bytes long.
 Data: <                > 00 00 00 00 00 00 00 00 CD CD CD CD 01 00 00 00 
..\src\MISC\Common\Common.cpp(20) : {2002} normal block at 0x00C9F028, 16 bytes long.
 Data: <                > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
{2001} normal block at 0x00CAB6B8, 4 bytes long.
 Data: <    > 00 00 00 00 
{2000} normal block at 0x00CAB678, 4 bytes long.
 Data: <   T> 01 00 00 54 
{1999} normal block at 0x00CAB638, 4 bytes long.
 Data: <   T> 01 00 01 54 
{1998} normal block at 0x00CAB5F8, 4 bytes long.
 Data: <   L> 01 00 00 4C 
{1997} normal block at 0x00CAB5B8, 4 bytes long.
 Data: <   L> 01 00 01 4C 
{1996} normal block at 0x00CAB578, 4 bytes long.
 Data: <   .> 01 00 01 2E 
{1995} normal block at 0x00CAB538, 4 bytes long.
 Data: <    > 01 00 01 08 
{1994} normal block at 0x00CAB4F8, 4 bytes long.
 Data: <   .> 01 00 00 2E 
{1993} normal block at 0x00CAB4B8, 4 bytes long.
 Data: <    > 01 00 00 08 
{1992} normal block at 0x00CAB478, 4 bytes long.
 Data: <    > 00 00 00 00 
{1991} normal block at 0x00CAB430, 8 bytes long.
 Data: <        > 00 00 00 08 00 00 01 08 
{1990} normal block at 0x00CAB3F0, 4 bytes long.
 Data: <    > 00 00 00 00 
{1989} normal block at 0x00CAB3B0, 4 bytes long.
 Data: <    > 00 00 00 00 
{1988} normal block at 0x00CAB370, 4 bytes long.
 Data: <    > 00 00 00 00 
{1987} normal block at 0x00CAB330, 4 bytes long.
 Data: <    > 00 00 00 00 
{1986} normal block at 0x00CAB2F0, 4 bytes long.
 Data: <   "> 00 01 01 22 
{1985} normal block at 0x00CAB2B0, 4 bytes long.
 Data: <   "> 00 00 01 22 
{1984} normal block at 0x00CAB270, 4 bytes long.
 Data: <   "> 00 00 00 22 
{1983} normal block at 0x00CAB230, 4 bytes long.
 Data: <   !> 00 01 01 21 
{1982} normal block at 0x00CAB1F0, 4 bytes long.
 Data: <   !> 00 00 01 21 
{1981} normal block at 0x00CAB1B0, 4 bytes long.
 Data: <   !> 00 00 00 21 
{1980} normal block at 0x00CAB170, 4 bytes long.
 Data: <   #> 01 00 01 23 
{1979} normal block at 0x00CAB130, 4 bytes long.
 Data: <   #> 01 00 00 23 
{1978} normal block at 0x00CAB0F0, 4 bytes long.
 Data: <   $> 01 00 01 24 
{1977} normal block at 0x00CAB0B0, 4 bytes long.
 Data: <   $> 01 00 00 24 
{1976} normal block at 0x00CAB070, 4 bytes long.
 Data: <    > 00 00 00 00 
{1975} normal block at 0x00CAB030, 4 bytes long.
 Data: <   #> 00 00 00 23 
{1974} normal block at 0x00CAAFF0, 4 bytes long.
 Data: <    > 00 00 00 00 
{1973} normal block at 0x00CAAFB0, 4 bytes long.
 Data: <   #> 00 01 00 23 
{1972} normal block at 0x00CAAF70, 4 bytes long.
 Data: <   #> 00 01 01 23 
{1971} normal block at 0x00CAAF30, 4 bytes long.
 Data: <   #> 00 00 01 23 
{1970} normal block at 0x00CAAEF0, 4 bytes long.
 Data: <    > 00 00 00 00 
{1969} normal block at 0x00CAAEB0, 4 bytes long.
 Data: <    > 00 00 00 00 
{1968} normal block at 0x00CAAE70, 4 bytes long.
 Data: <   $> 00 00 00 24 
{1967} normal block at 0x00CAAE30, 4 bytes long.
 Data: <   $> 00 01 01 24 
{1966} normal block at 0x00CAADF0, 4 bytes long.
 Data: <   $> 00 00 01 24 
{1965} normal block at 0x00CAADB0, 4 bytes long.
 Data: <    > 00 00 00 00 
{1964} normal block at 0x00CAAD70, 4 bytes long.
 Data: <    > 00 00 00 00 
{1963} normal block at 0x00CAAD30, 4 bytes long.
 Data: <    > 00 00 00 00 
{1962} normal block at 0x00CAACF0, 4 bytes long.
 Data: <    > 00 00 00 00 
{1961} normal block at 0x00CAACB0, 4 bytes long.
 Data: <   $> 00 01 00 24 
{1960} normal block at 0x00CAAC70, 4 bytes long.
 Data: <    > 00 00 00 00 
{1959} normal block at 0x00CAAC30, 4 bytes long.
 Data: <    > 00 00 00 00 
{1958} normal block at 0x00CAABF0, 4 bytes long.
 Data: <    > 00 00 00 00 
{1957} normal block at 0x00CAABB0, 4 bytes long.
 Data: <    > 01 00 01 DC 
{1956} normal block at 0x00CAAB70, 4 bytes long.
 Data: <    > 01 00 00 DC 
{1955} normal block at 0x00CAAB30, 4 bytes long.
 Data: <    > 01 00 01 BF 
{1954} normal block at 0x00CAAAF0, 4 bytes long.
 Data: <    > 01 00 00 BF 
{1953} normal block at 0x00CAAAB0, 4 bytes long.
 Data: <   '> 01 00 01 27 
{1952} normal block at 0x00CAAA70, 4 bytes long.
 Data: <    > 00 00 00 00 
{1951} normal block at 0x00CAAA30, 4 bytes long.
 Data: <    > 00 00 00 00 
{1950} normal block at 0x00CAA9F0, 4 bytes long.
 Data: <    > 00 00 00 00 
{1949} normal block at 0x00CAA9B0, 4 bytes long.
 Data: <    > 00 00 00 00 
{1948} normal block at 0x00CAA970, 4 bytes long.
 Data: <   '> 01 00 00 27 
{1947} normal block at 0x00CAA930, 4 bytes long.
 Data: <   %> 01 00 01 25 
{1946} normal block at 0x00CAA8F0, 4 bytes long.
 Data: <   %> 01 00 00 25 
{1945} normal block at 0x00CAA8B0, 4 bytes long.
 Data: <   '> 00 01 01 27 
{1944} normal block at 0x00CAA870, 4 bytes long.
 Data: <   '> 00 00 01 27 
{1943} normal block at 0x00CAA830, 4 bytes long.
 Data: <   '> 00 00 00 27 
{1942} normal block at 0x00CAA7F0, 4 bytes long.
 Data: <   %> 00 01 01 25 
{1941} normal block at 0x00CAA7B0, 4 bytes long.
 Data: <   %> 00 00 01 25 
{1940} normal block at 0x00CAA770, 4 bytes long.
 Data: <   %> 00 00 00 25 
{1939} normal block at 0x00CAA730, 4 bytes long.
 Data: <    > 01 00 01 DB 
{1938} normal block at 0x00CAA6F0, 4 bytes long.
 Data: <    > 01 00 00 DB 
{1937} normal block at 0x00CAA6B0, 4 bytes long.
 Data: <    > 01 00 01 DD 
{1936} normal block at 0x00CAA670, 4 bytes long.
 Data: <    > 01 00 00 DD 
{1935} normal block at 0x00CAA630, 4 bytes long.
 Data: <   &> 01 00 00 26 
{1934} normal block at 0x00CAA5F0, 4 bytes long.
 Data: <   &> 00 01 01 26 
{1933} normal block at 0x00CAA5B0, 4 bytes long.
 Data: <   &> 00 00 01 26 
{1932} normal block at 0x00C88F88, 4 bytes long.
 Data: <   &> 00 00 00 26 
{1931} normal block at 0x00C88F48, 4 bytes long.
 Data: <   (> 01 00 00 28 
{1930} normal block at 0x00C88F08, 4 bytes long.
 Data: <   (> 00 01 01 28 
{1929} normal block at 0x00C88EC8, 4 bytes long.
 Data: <   (> 00 00 01 28 
{1928} normal block at 0x00C88E88, 4 bytes long.
 Data: <   (> 00 00 00 28 
{1927} normal block at 0x00C88E48, 4 bytes long.
 Data: <    > 00 00 00 00 
{1926} normal block at 0x00C88E08, 4 bytes long.
 Data: <   -> 00 00 00 2D 
{1925} normal block at 0x00C88DC8, 4 bytes long.
 Data: <    > 00 00 00 00 
{1924} normal block at 0x00C88D88, 4 bytes long.
 Data: <    > 00 00 00 00 
{1923} normal block at 0x00C88D48, 4 bytes long.
 Data: <   D> 01 00 00 44 
{1922} normal block at 0x00C88D08, 4 bytes long.
 Data: <   o> 01 00 00 6F 
{1921} normal block at 0x00C88CC8, 4 bytes long.
 Data: <   m> 01 00 00 6D 
{1920} normal block at 0x00C88C88, 4 bytes long.
 Data: <   k> 01 00 00 6B 
{1919} normal block at 0x00C88C48, 4 bytes long.
 Data: <    > 00 00 00 00 
{1918} normal block at 0x00C88C08, 4 bytes long.
 Data: <    > 00 00 01 09 
{1917} normal block at 0x00C88BC8, 4 bytes long.
 Data: <    > 00 00 00 09 
{1916} normal block at 0x00C88B80, 8 bytes long.
 Data: <        > 00 00 00 0D 00 00 01 0D 
{1915} normal block at 0x00C88B40, 4 bytes long.
 Data: <   Y> 01 00 00 59 
{1914} normal block at 0x00C88AF8, 8 bytes long.
 Data: <   Z    > 01 00 00 5A 00 01 00 08 
{1913} normal block at 0x00C88AB8, 4 bytes long.
 Data: <    > 00 00 00 00 
{1912} normal block at 0x00C88A78, 4 bytes long.
 Data: <   .> 00 00 00 2E 
{1911} normal block at 0x00C88508, 4 bytes long.
 Data: <   A> 01 00 00 41 
{1910} normal block at 0x00C884C0, 8 bytes long.
 Data: <   V   -> 01 00 00 56 00 00 01 2D 
{1909} normal block at 0x00C88478, 8 bytes long.
 Data: <   C   -> 01 00 00 43 01 00 00 2D 
{1908} normal block at 0x00C88430, 8 bytes long.
 Data: <   X   .> 01 00 00 58 00 00 01 2E 
{1907} normal block at 0x00C883F0, 4 bytes long.
 Data: <    > 00 00 00 1B 
{1906} normal block at 0x00C9F0C8, 46248 bytes long.
 Data: <  e             > E4 EC 65 00 00 00 00 00 00 00 00 00 00 00 00 00 
{1508} normal block at 0x00C88FD0, 42300 bytes long.
 Data: <T e             > 54 01 65 00 00 00 00 00 00 00 00 00 00 00 00 00 
{1492} normal block at 0x00C78288, 96 bytes long.
 Data: <c : \ C o d e \ > 63 00 3A 00 5C 00 43 00 6F 00 64 00 65 00 5C 00 
{1491} normal block at 0x00C781F8, 80 bytes long.
 Data: <c : \ C o d e \ > 63 00 3A 00 5C 00 43 00 6F 00 64 00 65 00 5C 00 
..\src\Parameters.cpp(431) : {1490} normal block at 0x00C78188, 52 bytes long.
 Data: <                > CD CD CD CD CD CD CD CD CD CD CD CD 00 00 00 00 
..\src\Parameters.cpp(418) : {1489} normal block at 0x00C3C610, 244536 bytes long.
 Data: <                > 00 CD CD CD CD CD CD CD 00 CD CD CD 00 00 00 00 
Object dump complete.


Found in: 6fca80c

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Notepad++ Community Release

Shared Ticket Bins

People watching this ticket