<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Memory Fehler beim Beenden]]></title><description><![CDATA[<p>Ich bekomme beim Beenden Fehler folgender Art:</p>
<blockquote>
<p>Warning: destroying CSingleDocTemplate with live document.<br />
Detected memory leaks!<br />
Dumping objects -&gt;<br />
{59042} normal block at 0x34C21A28, 65536 bytes long.<br />
Data: &lt; &gt; 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br />
{59041} normal block at 0x34C119E8, 65536 bytes long.<br />
Data: &lt; W1 ] dH AIb?&gt; A8 57 31 81 FD 19 5D BF 64 48 8A 89 41 49 62 3F<br />
{59032} normal block at 0x34C019A8, 65536 bytes long.<br />
Data: &lt;<a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/6765">@i</a> Y?@N a &gt; 40 69 87 84 CD FD 59 3F 40 4E CD 95 1D A2 61 BF<br />
{59031} normal block at 0x34BF1968, 65536 bytes long.<br />
Data: &lt; F :7 ?&gt; 00 AB D9 80 46 94 88 BF C0 9E CE 3A 37 09 92 3F<br />
{59022} normal block at 0x34BE1928, 65536 bytes long.<br />
Data: &lt; &gt; 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br />
{59021} normal block at 0x34BD18E8, 65536 bytes long.<br />
Data: &lt; W1 ] \H AIb?&gt; A0 57 31 81 FD 19 5D BF 5C 48 8A 89 41 49 62 3F<br />
{59012} normal block at 0x34BC18A8, 65536 bytes long.</p>
</blockquote>
<p>In meinem Fall habe ich eine Simulation mehrere Tausendmal durchlaufen lassen und diese Fehlermeldungen kamen beim Beenden ebenfalls mehrere Tausend mal.</p>
<p>EDIT:<br />
Den Fehler in meinem Code habe ich gefunden, es fehlten zwei delete Anweisungen.</p>
<p>Dafür habe ich aber immernoch Fehlermeldungen folgender Art (komplett)</p>
<blockquote>
<p>Detected memory leaks!<br />
Dumping objects -&gt;<br />
{2263} normal block at 0x01128F48, 136 bytes long.<br />
Data: &lt; ?&amp;% ?&gt; 00 00 00 00 00 00 F0 3F 26 25 D1 A3 8D D8 EF 3F<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {306} normal block at 0x0035B8F0, 30 bytes long.<br />
Data: &lt; 9Px &gt; AC 39 50 78 06 00 00 00 06 00 00 00 01 00 00 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {229} normal block at 0x0035DE68, 36 bytes long.<br />
Data: &lt; 9Px &gt; AC 39 50 78 09 00 00 00 09 00 00 00 01 00 00 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\array_p.cpp(110) : {226} normal block at 0x0035B370, 20 bytes long.<br />
Data: &lt; d 5 &gt; 00 00 00 00 64 A6 35 00 00 00 00 00 CD CD CD CD<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\array_p.cpp(67) : {225} normal block at 0x0035B330, 4 bytes long.<br />
Data: &lt; &gt; 00 00 00 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\winfrm2.cpp(59) : {224} client block at 0x0035B230, subtype c0, 192 bytes long.<br />
a CDockBar object at $0035B230, 192 bytes long<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\array_p.cpp(67) : {223} normal block at 0x0035B1F0, 4 bytes long.<br />
Data: &lt; &gt; 00 00 00 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\winfrm2.cpp(59) : {222} client block at 0x0035B0F0, subtype c0, 192 bytes long.<br />
a CDockBar object at $0035B0F0, 192 bytes long<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\array_p.cpp(67) : {221} normal block at 0x0035B0B0, 4 bytes long.<br />
Data: &lt; &gt; 00 00 00 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\winfrm2.cpp(59) : {220} client block at 0x0035AFB0, subtype c0, 192 bytes long.<br />
a CDockBar object at $0035AFB0, 192 bytes long<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\winfrm2.cpp(59) : {218} client block at 0x0035AEB0, subtype c0, 192 bytes long.<br />
a CDockBar object at $0035AEB0, 192 bytes long<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\bardock.cpp(736) : {217} normal block at 0x0035AC70, 176 bytes long.<br />
Data: &lt; .x &gt; 18 95 2E 78 CD CD CD CD CD CD CD CD CD CD CD CD<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {215} normal block at 0x0035AE58, 26 bytes long.<br />
Data: &lt; 9Px &gt; AC 39 50 78 04 00 00 00 04 00 00 00 01 00 00 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {214} normal block at 0x0035AE00, 24 bytes long.<br />
Data: &lt; 9Px &gt; AC 39 50 78 03 00 00 00 03 00 00 00 01 00 00 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {213} normal block at 0x0035ADA8, 24 bytes long.<br />
Data: &lt; 9Px &gt; AC 39 50 78 03 00 00 00 03 00 00 00 01 00 00 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\barcore.cpp(156) : {209} normal block at 0x0035AB48, 80 bytes long.<br />
Data: &lt; @ &gt; 00 00 00 00 40 01 00 00 00 01 00 08 00 00 00 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {206} normal block at 0x0035AA90, 124 bytes long.<br />
Data: &lt; 5 d 5 &gt; 00 00 00 00 A0 AA 35 00 00 00 00 00 64 A6 35 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {205} normal block at 0x0035A9D8, 124 bytes long.<br />
Data: &lt; ( 5 &gt; 00 00 00 00 00 00 00 00 00 00 00 00 28 A9 35 00<br />
.\LightModulator2DView.cpp(22) : {204} client block at 0x0035A928, subtype c0, 112 bytes long.<br />
a CLightModulator2DView object at $0035A928, 112 bytes long<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {200} normal block at 0x0035DFB8, 50 bytes long.<br />
Data: &lt; 9Px &gt; AC 39 50 78 10 00 00 00 10 00 00 00 01 00 00 00<br />
.\MainFrm.cpp(16) : {197} client block at 0x0035A4F8, subtype c0, 548 bytes long.<br />
a CMainFrame object at $0035A4F8, 548 bytes long<br />
.\LightModulator2DDoc.cpp(16) : {196} client block at 0x0035DD78, subtype c0, 84 bytes long.<br />
a CLightModulator2DDoc object at $0035DD78, 84 bytes long<br />
Object dump complete.</p>
</blockquote>
<p>Deren Ursprung ist mir noch unklar.</p>
<p>Matthias</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/181510/memory-fehler-beim-beenden</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 21:15:06 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/181510.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 14 May 2007 14:41:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Memory Fehler beim Beenden on Mon, 14 May 2007 15:12:00 GMT]]></title><description><![CDATA[<p>Ich bekomme beim Beenden Fehler folgender Art:</p>
<blockquote>
<p>Warning: destroying CSingleDocTemplate with live document.<br />
Detected memory leaks!<br />
Dumping objects -&gt;<br />
{59042} normal block at 0x34C21A28, 65536 bytes long.<br />
Data: &lt; &gt; 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br />
{59041} normal block at 0x34C119E8, 65536 bytes long.<br />
Data: &lt; W1 ] dH AIb?&gt; A8 57 31 81 FD 19 5D BF 64 48 8A 89 41 49 62 3F<br />
{59032} normal block at 0x34C019A8, 65536 bytes long.<br />
Data: &lt;<a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/6765">@i</a> Y?@N a &gt; 40 69 87 84 CD FD 59 3F 40 4E CD 95 1D A2 61 BF<br />
{59031} normal block at 0x34BF1968, 65536 bytes long.<br />
Data: &lt; F :7 ?&gt; 00 AB D9 80 46 94 88 BF C0 9E CE 3A 37 09 92 3F<br />
{59022} normal block at 0x34BE1928, 65536 bytes long.<br />
Data: &lt; &gt; 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br />
{59021} normal block at 0x34BD18E8, 65536 bytes long.<br />
Data: &lt; W1 ] \H AIb?&gt; A0 57 31 81 FD 19 5D BF 5C 48 8A 89 41 49 62 3F<br />
{59012} normal block at 0x34BC18A8, 65536 bytes long.</p>
</blockquote>
<p>In meinem Fall habe ich eine Simulation mehrere Tausendmal durchlaufen lassen und diese Fehlermeldungen kamen beim Beenden ebenfalls mehrere Tausend mal.</p>
<p>EDIT:<br />
Den Fehler in meinem Code habe ich gefunden, es fehlten zwei delete Anweisungen.</p>
<p>Dafür habe ich aber immernoch Fehlermeldungen folgender Art (komplett)</p>
<blockquote>
<p>Detected memory leaks!<br />
Dumping objects -&gt;<br />
{2263} normal block at 0x01128F48, 136 bytes long.<br />
Data: &lt; ?&amp;% ?&gt; 00 00 00 00 00 00 F0 3F 26 25 D1 A3 8D D8 EF 3F<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {306} normal block at 0x0035B8F0, 30 bytes long.<br />
Data: &lt; 9Px &gt; AC 39 50 78 06 00 00 00 06 00 00 00 01 00 00 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {229} normal block at 0x0035DE68, 36 bytes long.<br />
Data: &lt; 9Px &gt; AC 39 50 78 09 00 00 00 09 00 00 00 01 00 00 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\array_p.cpp(110) : {226} normal block at 0x0035B370, 20 bytes long.<br />
Data: &lt; d 5 &gt; 00 00 00 00 64 A6 35 00 00 00 00 00 CD CD CD CD<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\array_p.cpp(67) : {225} normal block at 0x0035B330, 4 bytes long.<br />
Data: &lt; &gt; 00 00 00 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\winfrm2.cpp(59) : {224} client block at 0x0035B230, subtype c0, 192 bytes long.<br />
a CDockBar object at $0035B230, 192 bytes long<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\array_p.cpp(67) : {223} normal block at 0x0035B1F0, 4 bytes long.<br />
Data: &lt; &gt; 00 00 00 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\winfrm2.cpp(59) : {222} client block at 0x0035B0F0, subtype c0, 192 bytes long.<br />
a CDockBar object at $0035B0F0, 192 bytes long<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\array_p.cpp(67) : {221} normal block at 0x0035B0B0, 4 bytes long.<br />
Data: &lt; &gt; 00 00 00 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\winfrm2.cpp(59) : {220} client block at 0x0035AFB0, subtype c0, 192 bytes long.<br />
a CDockBar object at $0035AFB0, 192 bytes long<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\winfrm2.cpp(59) : {218} client block at 0x0035AEB0, subtype c0, 192 bytes long.<br />
a CDockBar object at $0035AEB0, 192 bytes long<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\bardock.cpp(736) : {217} normal block at 0x0035AC70, 176 bytes long.<br />
Data: &lt; .x &gt; 18 95 2E 78 CD CD CD CD CD CD CD CD CD CD CD CD<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {215} normal block at 0x0035AE58, 26 bytes long.<br />
Data: &lt; 9Px &gt; AC 39 50 78 04 00 00 00 04 00 00 00 01 00 00 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {214} normal block at 0x0035AE00, 24 bytes long.<br />
Data: &lt; 9Px &gt; AC 39 50 78 03 00 00 00 03 00 00 00 01 00 00 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {213} normal block at 0x0035ADA8, 24 bytes long.<br />
Data: &lt; 9Px &gt; AC 39 50 78 03 00 00 00 03 00 00 00 01 00 00 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\barcore.cpp(156) : {209} normal block at 0x0035AB48, 80 bytes long.<br />
Data: &lt; @ &gt; 00 00 00 00 40 01 00 00 00 01 00 08 00 00 00 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {206} normal block at 0x0035AA90, 124 bytes long.<br />
Data: &lt; 5 d 5 &gt; 00 00 00 00 A0 AA 35 00 00 00 00 00 64 A6 35 00<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {205} normal block at 0x0035A9D8, 124 bytes long.<br />
Data: &lt; ( 5 &gt; 00 00 00 00 00 00 00 00 00 00 00 00 28 A9 35 00<br />
.\LightModulator2DView.cpp(22) : {204} client block at 0x0035A928, subtype c0, 112 bytes long.<br />
a CLightModulator2DView object at $0035A928, 112 bytes long<br />
f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {200} normal block at 0x0035DFB8, 50 bytes long.<br />
Data: &lt; 9Px &gt; AC 39 50 78 10 00 00 00 10 00 00 00 01 00 00 00<br />
.\MainFrm.cpp(16) : {197} client block at 0x0035A4F8, subtype c0, 548 bytes long.<br />
a CMainFrame object at $0035A4F8, 548 bytes long<br />
.\LightModulator2DDoc.cpp(16) : {196} client block at 0x0035DD78, subtype c0, 84 bytes long.<br />
a CLightModulator2DDoc object at $0035DD78, 84 bytes long<br />
Object dump complete.</p>
</blockquote>
<p>Deren Ursprung ist mir noch unklar.</p>
<p>Matthias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1284720</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1284720</guid><dc:creator><![CDATA[pospiech]]></dc:creator><pubDate>Mon, 14 May 2007 15:12:00 GMT</pubDate></item><item><title><![CDATA[Reply to Memory Fehler beim Beenden on Tue, 15 May 2007 06:41:35 GMT]]></title><description><![CDATA[<p>Ganz klar - da fehlen offenbar noch weitere delete's (such dir mal einen Leak-Detektor, um deren Herkunft weiter einzuschränken).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1285063</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1285063</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Tue, 15 May 2007 06:41:35 GMT</pubDate></item><item><title><![CDATA[Reply to Memory Fehler beim Beenden on Tue, 15 May 2007 06:48:46 GMT]]></title><description><![CDATA[<p>was du mit new deklarierst musst du mit delete löschen<br />
wenn du speicher mit malloc beanspruchst musst du es mit free() frei geben</p>
<p>wozu brauch man da ein tool xD</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1285067</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1285067</guid><dc:creator><![CDATA[LinkeT]]></dc:creator><pubDate>Tue, 15 May 2007 06:48:46 GMT</pubDate></item><item><title><![CDATA[Reply to Memory Fehler beim Beenden on Tue, 15 May 2007 07:30:29 GMT]]></title><description><![CDATA[<p>Wie beendest Du denn Dein Programm? Etwa mit PostQuitMessage?</p>
<p>Dann hast Du die Ursache gefunden.<br />
Diese Methode kill ein Programm und lässt Leaks ohne Ende zurück. Korrekt ist es die erzeugten Fenster zu zerstören. Den Rest machen die entsprechenden Destruktoren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1285092</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1285092</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Tue, 15 May 2007 07:30:29 GMT</pubDate></item></channel></rss>