crashanalysis/crashanalyser/com.nokia.s60tools.crashanalyser/raw_data/ALLOC_COUNT.htm
author Jussi Ryoma <ext-jussi.s.ryoma@nokia.com>
Tue, 20 Apr 2010 14:41:43 +0300
changeset 4 615035072f7e
parent 0 5ad7ad99af01
permissions -rw-r--r--
Crash Analyser Carbide extension v1.3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
     1
<h1>ALLOC COUNT</h1>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
     2
<p>These panics are only raised in debug builds and are caused when the heap debugging functions detect a
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
     3
memory leak.</p>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
     4
<code> ALLOC COUNT 1 Expected aaaa Allocated bbbb Ln: ccc ddddd</code>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
     5
<p>This panic is raised by  <code class="ApiItem">RHeap::__DbgMarkCheck()</code>  and 
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
     6
<a href="../reference-cpp/E32_EKA2/UserClass.html#%3a%3aUser%3a%3a__DbgMarkCheck%28%29" title="function User::__DbgMarkCheck()"><code class="ApiItem">User::__DbgMarkCheck()</code></a> when the current number of allocated heap cells is not as expected.
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
     7
</p><p><code>aaa</code> is the expected number of heap cells.</p><p><code>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
     8
bbb</code> is the allocated number of heap cells.</p><p><code>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
     9
ccc</code> is a line number; typically the source statement line containing the call to <code>__DbgMarkCheck()</code>.</p><p><code>
5ad7ad99af01 Initial version of CrashAnalyser under EPL
Matti Laitinen <matti.t.laitinen@nokia.com>
parents:
diff changeset
    10
ddddd</code> is a file name; typically the file containing the source statement containing the call to <code>__DbgMarkCheck()</code>.</p>