<?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[Zugriffsverletzung beim Schreiben]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich bin noch relativ neu in C++ und muss nun eine Schnittstelle für<br />
SFML und Box2D schreiben, was auch ganz gut klappt.<br />
Ein Problem habe ich nur beim builden. Wenn ich das Programm auf meinem Windows 7 x64 System builde funktioniert alles. Wenn ich den Build jedoch auf meinem Windowx XP x32 System ausführe tritt bei der Programmausführung folgender Fehler auf:</p>
<p>Unbehandelte Win32-Ausnahme in SFML-Box2D.exe [3676]<br />
Unbehandelte Ausnahme bei 0x004410f9 in SFML-Box2D.exe: 0xC0000005: Zugriffsverletzung beim Schreiben an Position 0x002318c0.</p>
<p>Auf einem weiteren Windows 7 x32 System klappt auch alles wunderbar.<br />
Als Compiler kommt jeweils MinGW 5.1.6 zum Einsatz.</p>
<p>Kann mir da jemand weiterhelfen?</p>
<p>Gruß,<br />
he_re1287</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/261349/zugriffsverletzung-beim-schreiben</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 08:23:24 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/261349.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Feb 2010 11:57:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Zugriffsverletzung beim Schreiben on Wed, 17 Feb 2010 11:57:43 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich bin noch relativ neu in C++ und muss nun eine Schnittstelle für<br />
SFML und Box2D schreiben, was auch ganz gut klappt.<br />
Ein Problem habe ich nur beim builden. Wenn ich das Programm auf meinem Windows 7 x64 System builde funktioniert alles. Wenn ich den Build jedoch auf meinem Windowx XP x32 System ausführe tritt bei der Programmausführung folgender Fehler auf:</p>
<p>Unbehandelte Win32-Ausnahme in SFML-Box2D.exe [3676]<br />
Unbehandelte Ausnahme bei 0x004410f9 in SFML-Box2D.exe: 0xC0000005: Zugriffsverletzung beim Schreiben an Position 0x002318c0.</p>
<p>Auf einem weiteren Windows 7 x32 System klappt auch alles wunderbar.<br />
Als Compiler kommt jeweils MinGW 5.1.6 zum Einsatz.</p>
<p>Kann mir da jemand weiterhelfen?</p>
<p>Gruß,<br />
he_re1287</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1856974</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1856974</guid><dc:creator><![CDATA[he_re1287]]></dc:creator><pubDate>Wed, 17 Feb 2010 11:57:43 GMT</pubDate></item><item><title><![CDATA[Reply to Zugriffsverletzung beim Schreiben on Wed, 17 Feb 2010 12:46:55 GMT]]></title><description><![CDATA[<p>Starte es mit nem Debugger angehängt und erstell ein Crash Dump bzw Debug es mit den Windows Debugging tools</p>
<p>Nur mit den Informationen die du uns gegeben hast kann man nicht sagen woran es liegt.</p>
<p>Und ich nehme mal an dass das program etwas größer ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1857007</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1857007</guid><dc:creator><![CDATA[evilissimo]]></dc:creator><pubDate>Wed, 17 Feb 2010 12:46:55 GMT</pubDate></item><item><title><![CDATA[Reply to Zugriffsverletzung beim Schreiben on Wed, 17 Feb 2010 13:40:38 GMT]]></title><description><![CDATA[<p>Noch ist das Programm nicht so groß, bin noch relativ am Anfang.</p>
<p>Ich hab das Programm jetzt mal mit den Windows Debugging Tools ausgeführt,<br />
hier die Ausgabe bis zum Fehler:</p>
<p>--------------------------------------------------------------------------<br />
CommandLine: &quot;E:\Eclipse C++ Workspace\SFML-Box2D\Debug\SFML-Box2D.exe&quot;<br />
Symbol search path is: SRV*DownstreamStore*<a href="http://msdl.microsoft.com/download/symbols" rel="nofollow">http://msdl.microsoft.com/download/symbols</a><br />
Executable search path is:<br />
ModLoad: 00400000 006df000 image00400000<br />
ModLoad: 7c910000 7c9c9000 ntdll.dll<br />
ModLoad: 7c800000 7c908000 C:\WINDOWS\system32\kernel32.dll<br />
ModLoad: 77be0000 77c38000 C:\WINDOWS\system32\msvcrt.dll<br />
ModLoad: 10000000 101a5000 E:\Eclipse C++ Workspace\SFML-Box2D\Debug\sfml-graphics.dll<br />
ModLoad: 00730000 00784000 E:\Eclipse C++ Workspace\SFML-Box2D\Debug\sfml-system.dll<br />
ModLoad: 00790000 007e7000 E:\Eclipse C++ Workspace\SFML-Box2D\Debug\sfml-window.dll<br />
ModLoad: 77ef0000 77f39000 C:\WINDOWS\system32\GDI32.dll<br />
ModLoad: 7e360000 7e3f1000 C:\WINDOWS\system32\USER32.dll<br />
ModLoad: 5f0d0000 5f19c000 C:\WINDOWS\system32\OPENGL32.DLL<br />
ModLoad: 77da0000 77e4a000 C:\WINDOWS\system32\ADVAPI32.dll<br />
ModLoad: 77e50000 77ee2000 C:\WINDOWS\system32\RPCRT4.dll<br />
ModLoad: 77fc0000 77fd1000 C:\WINDOWS\system32\Secur32.dll<br />
ModLoad: 68fc0000 68fe0000 C:\WINDOWS\system32\GLU32.dll<br />
ModLoad: 736d0000 7371b000 C:\WINDOWS\system32\DDRAW.dll<br />
ModLoad: 73b30000 73b36000 C:\WINDOWS\system32\DCIMAN32.dll<br />
ModLoad: 76af0000 76b1e000 C:\WINDOWS\system32\WINMM.DLL<br />
(8b4.b84): Break instruction exception - code 80000003 (first chance)<br />
eax=00341eb4 ebx=7ffdf000 ecx=00000003 edx=00000008 esi=00341f48 edi=00341eb4<br />
eip=7c91120e esp=0022fb20 ebp=0022fc94 iopl=0 nv up ei pl nz na po nc<br />
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000202<br />
ntdll!DbgBreakPoint:<br />
7c91120e cc int 3<br />
0:000&gt; g<br />
ModLoad: 76330000 7634d000 C:\WINDOWS\system32\IMM32.DLL<br />
ModLoad: 5b0f0000 5b128000 C:\WINDOWS\system32\uxtheme.dll<br />
ModLoad: 63000000 63013000 C:\WINDOWS\system32\SynTPFcs.dll<br />
ModLoad: 77bd0000 77bd8000 C:\WINDOWS\system32\VERSION.dll<br />
ModLoad: 75250000 7527e000 C:\WINDOWS\system32\msctfime.ime<br />
ModLoad: 774b0000 775ed000 C:\WINDOWS\system32\ole32.dll<br />
ModLoad: 69000000 694b1000 C:\WINDOWS\system32\atioglxx.dll<br />
ModLoad: 62220000 62226000 C:\WINDOWS\system32\MCD32.DLL<br />
ModLoad: 72210000 7223b000 C:\WINDOWS\system32\DINPUT.DLL<br />
ModLoad: 68d90000 68d99000 C:\WINDOWS\system32\HID.DLL<br />
ModLoad: 778f0000 779e4000 C:\WINDOWS\system32\SETUPAPI.DLL<br />
ModLoad: 76bf0000 76c1e000 C:\WINDOWS\system32\WINTRUST.dll<br />
ModLoad: 77a50000 77ae6000 C:\WINDOWS\system32\CRYPT32.dll<br />
ModLoad: 77af0000 77b02000 C:\WINDOWS\system32\MSASN1.dll<br />
ModLoad: 76c50000 76c78000 C:\WINDOWS\system32\IMAGEHLP.dll<br />
(8b4.b84): Access violation - code c0000005 (first chance)<br />
First chance exceptions are reported before any exception handling.<br />
This exception may be expected and handled.<br />
eax=0022f960 ebx=7ffdf000 ecx=00000000 edx=0022f960 esi=00e7f796 edi=00e7f6f2<br />
eip=004410f9 esp=0022f600 ebp=0022f618 iopl=0 nv up ei pl zr na pe nc<br />
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010246<br />
*** ERROR: Module load completed but symbols could not be loaded for image00400000<br />
image00400000+0x410f9:<br />
004410f9 c780601f000000000000 mov dword ptr [eax+1F60h],0 ds:0023:002318c0=00000000<br />
0:000&gt; g<br />
(8b4.b84): Access violation - code c0000005 (!!! second chance !!!)<br />
eax=0022f960 ebx=7ffdf000 ecx=00000000 edx=0022f960 esi=00e7f796 edi=00e7f6f2<br />
eip=004410f9 esp=0022f600 ebp=0022f618 iopl=0 nv up ei pl zr na pe nc<br />
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246<br />
image00400000+0x410f9:<br />
004410f9 c780601f000000000000 mov dword ptr [eax+1F60h],0 ds:0023:002318c0=00000000</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1857039</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1857039</guid><dc:creator><![CDATA[he_re1287]]></dc:creator><pubDate>Wed, 17 Feb 2010 13:40:38 GMT</pubDate></item><item><title><![CDATA[Reply to Zugriffsverletzung beim Schreiben on Wed, 17 Feb 2010 13:54:58 GMT]]></title><description><![CDATA[<p><a href="http://de.wikipedia.org/wiki/Debugger" rel="nofollow">http://de.wikipedia.org/wiki/Debugger</a></p>
<p>Mit einem Debugger kannst du Schritt für Schritt durch dein Programm gehen und bei jedem Halt immer alle Variablen anschauen und überprüfen. So kannst du genau feststellen, wieso etwas nicht so läuft, wie es zu laufen hätte. Also das ist eine Arbeit, welche vollständig bei dir liegt und nicht von uns dann irgendwie ausgewertet werden muss. Informier dich mal ein wenig dazu, ist sehr nützlich!</p>
<p>Grüssli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1857061</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1857061</guid><dc:creator><![CDATA[Dravere]]></dc:creator><pubDate>Wed, 17 Feb 2010 13:54:58 GMT</pubDate></item><item><title><![CDATA[Reply to Zugriffsverletzung beim Schreiben on Wed, 17 Feb 2010 14:37:39 GMT]]></title><description><![CDATA[<p>Ich werde mich in den nächsten Tagen mal konkret mit Debugging beschäftigen,<br />
wenn ich etwas mehr Zeit dazu habe.</p>
<p>Ich habe jetzt nochmal das Programm auf ein absolutes Minimum<br />
reduziert und habe jetzt nur noch die main-Methode, in der nur ein<br />
Objekt einer einer externen Library instanziiert wird.<br />
Auch hier erscheint der Fehler. Ich habe mir den Konstruktor mal angeschaut,<br />
es werden nur zwei Variablen gesetzt, mehr passiert nicht!</p>
<p>Zunächst werde ich nun erstmal MemTest über Nacht ausführen, um zu gucken ob<br />
vlt. irgendwas mit meinem Speicher nicht stimmt!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1857111</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1857111</guid><dc:creator><![CDATA[he_re1287]]></dc:creator><pubDate>Wed, 17 Feb 2010 14:37:39 GMT</pubDate></item><item><title><![CDATA[Reply to Zugriffsverletzung beim Schreiben on Wed, 17 Feb 2010 15:02:32 GMT]]></title><description><![CDATA[<p>Vielleicht ist das ein SFML bug und nur wenige, vorallem nicht reproduzierbare crashes haben was mit Hardware Problemen zu tun.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1857127</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1857127</guid><dc:creator><![CDATA[evilissimo]]></dc:creator><pubDate>Wed, 17 Feb 2010 15:02:32 GMT</pubDate></item><item><title><![CDATA[Reply to Zugriffsverletzung beim Schreiben on Wed, 17 Feb 2010 16:12:32 GMT]]></title><description><![CDATA[<p>Also SFML würde ich ausschließen, das Objekt das ich instanziiere<br />
stammt aus der Physikengine Box2D, dann evtl. davon. Aber in dem Konstruktor<br />
basiert auch nicht sonderlich viel, es werden nur zwei Variablen gesetzt.<br />
Eine int-Variable und eine type-Variable.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1857178</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1857178</guid><dc:creator><![CDATA[he_re1287]]></dc:creator><pubDate>Wed, 17 Feb 2010 16:12:32 GMT</pubDate></item><item><title><![CDATA[Reply to Zugriffsverletzung beim Schreiben on Wed, 17 Feb 2010 16:14:32 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/23267">@he_re1287</a>,<br />
Wenn du ein so kurzes kleines Programm erstellen kannst, wo der Fehler noch auftritt, dann zeig uns dies mal. SFML habe ich zum Beispiel auf der Platte und habe auch ein Win7 x64. Dann kann ich mal schauen, ob das bei mir auch nicht geht, vielleicht sogar selber den Fehler finden.</p>
<p>Diese Art der Hilfe steht auch hier:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-200753.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-200753.html</a></p>
<blockquote>
<p>Reduziere Codebeispiele auf das Wesentliche. Niemand wird sich 300 Zeilen Code durchlesen, wenn du dein Problem eigentlich auch an 20 Zeilen deutlich machen könntest. Und je weniger du den Leuten zumutest desto wahrscheinlicher ist es, dass sie es sich durchlesen (und evtl. eine Antwort haben). Am Sinnvollsten ist es, den vorhandenen Code zu nehmen und Stück für Stück in eine neue Sourcecode-Datei zu kopieren, so dass er möglichst kurz bleibt und dennoch den Fehler beinhaltet. Häufig stolpert man beim Erstellen dieses minimalen Codebeispiels selbst über die Fehlerursache.</p>
</blockquote>
<p>Edit: Ups, ein wenig zu spät. Box2D habe ich nicht, aber vielleicht jemand anderes <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>Grüssli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1857180</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1857180</guid><dc:creator><![CDATA[Dravere]]></dc:creator><pubDate>Wed, 17 Feb 2010 16:14:32 GMT</pubDate></item><item><title><![CDATA[Reply to Zugriffsverletzung beim Schreiben on Thu, 18 Feb 2010 12:25:21 GMT]]></title><description><![CDATA[<p>Also ich hab es mittlerweile hinbekommen, auch wenn ich es nicht so ganz verstehe.<br />
Ich hab einfach mal das Projekt von der Festplatte gelöscht und neu ausgecheckt, jetzt funktioniert ist.<br />
Sehr simpel und ein bisschen mysteriös...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1857524</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1857524</guid><dc:creator><![CDATA[he_re1287]]></dc:creator><pubDate>Thu, 18 Feb 2010 12:25:21 GMT</pubDate></item></channel></rss>