APPCRASH

Started by
3 comments, last by phil67rpg 11 years, 11 months ago
I am getting an APPCRASH error. I am using dx9 and c++.I am also using windows 7 64 bit.
[size="1"][color="#0066cc"][size="1"][color="#0066cc"]Problem signature:
[size="1"]Problem Event Name: APPCRASH
[size="1"]Application Name: space.exe
[size="1"]Application Version: 0.0.0.0
[size="1"]Application Timestamp: 4fb47f5a
[size="1"]Fault Module Name: d3dx9_43.dll
[size="1"]Fault Module Version: 9.29.952.3111
[size="1"]Fault Module Timestamp: 4bf7318d
[size="1"]Exception Code: c0000005
[size="1"]Exception Offset: 0001a761
[size="1"]OS Version: 6.1.7600.2.0.0.768.3
[size="1"]Locale ID: 1033
[size="1"]Additional Information 1: 0a9e
[size="1"]Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
[size="1"]Additional Information 3: 0a9e
[size="1"]Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
[size="1"][color="#0066cc"][size="1"][color="#0066cc"]Read our privacy statement online:

[size="1"][color="#0066cc"][size="1"][color="#0066cc"]http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
[size="1"]If the online privacy statement is not available, please read our privacy statement offline:

[size="1"][color="#0066cc"][size="1"][color="#0066cc"]C:\Windows\system32\en-US\erofflps.txt

[size="1"][color="#0066cc"][size="1"][color="#0066cc"]please help.
Advertisement
The debugger should help you there.

It's obviously a access violation in one of the D3DX functions. Are you passing an invalid pointer or NULL where you shouldn't?

It's all really hard to say without any code or more hints whatsoever. The debugger should stop at the offending line.

Fruny: Ftagn! Ia! Ia! std::time_put_byname! Mglui naflftagn std::codecvt eY'ha-nthlei!,char,mbstate_t>

here is some code
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPDIRECT3D9 g_pD3D = NULL; [/font][/font]

[font="Consolas"][size="2"][color="#008000"][font="Consolas"][size="2"][color="#008000"][font="Consolas"][size="2"][color="#008000"]// Used to create the D3DDevice[/font][/font][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPDIRECT3DDEVICE9 g_pd3dDevice = NULL; [/font][/font]

[font="Consolas"][size="2"][color="#008000"][font="Consolas"][size="2"][color="#008000"][font="Consolas"][size="2"][color="#008000"]// Our rendering device[/font][/font][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPD3DXSPRITE g_Sprite = NULL;[/font][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPDIRECT3DTEXTURE9 g_Texture = NULL;[/font][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPDIRECT3DTEXTURE9 g_Texture_red = NULL;[/font][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPDIRECT3DTEXTURE9 g_Texture_green = NULL;[/font][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPDIRECT3DTEXTURE9 g_Texture_blue = NULL;[/font][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPDIRECT3DTEXTURE9 g_Texture_ball = NULL;[/font][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPDIRECT3DTEXTURE9 g_Texture_blank = NULL;[/font][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPDIRECT3DTEXTURE9 g_Texture_ship = NULL;[/font][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPD3DXFONT m_font;[/font][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]when I open the dx9 window(game) it crashes after about 2 minutes of being open. [/font][/font]
So you just start the app, and wait 2 minutes, then it crashes? Or is there a certain sequence of user input that causes the crash?

I'm trying to think of what could be different after 2 minutes of being open. Maybe there is a windows message that you're not handling correctly? Try putting a breakpoint in your WndProc and stepping through.

So you just start the app, and wait 2 minutes, then it crashes?

yes I start the app and wait then it crashes.

This topic is closed to new replies.

Advertisement