Jump to content
  • Advertisement
Sign in to follow this  
zyrolasting

Completely unknown error on app exit

This topic is 3536 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

My DirectX application runs just fine now, but when I close the app entirely, I hear the "honk", or whatever windows uses for an error sound. There's no dialog box, and I have no debug messages of WARN or ERROR... What could that sound be trying to tell me, insanity jokes aside?

Share this post


Link to post
Share on other sites
Advertisement
I had a similar error in openGL, when I tried to deallocate textures from the graphics memory that weren't there when I push the esc key (to exit the program). It would still exit normally, but you would get an error.

This sounds like it could be a similar problem.

Share this post


Link to post
Share on other sites
As of now, there are no allocated resources in my game other than interfaces. I stripped the game of used resources (with the exception of a font that changes color via DirectInput) to tweak the base engine wrapper.

Even so, I did make sure everything deallocates properly. Everything that has a release call has a FAILED() call and an OutputDebugString() right near.

I really have no idea what's causing it.

Share this post


Link to post
Share on other sites
Do you have the DirectX runtime set to debug mode in its control panel? When you run it in the debugger, do you get any bad-sounding debug spews?

Share this post


Link to post
Share on other sites
It was already on Debug run time, one level off of spew. I set the output to max, here is the log. I removed the loaded DLL first lines for readability. (Hopefully they weren't needed)

Quote:

Direct3D9: :====> ENTER: DLLMAIN(0105e6e0): Process Attach: 00000ea4, tid=00000f80
Direct3D9: :====> EXIT: DLLMAIN(0105e6e0): Process Attach: 00000ea4
Direct3D9: (INFO) :Direct3D9 Debug Runtime selected.
D3D9 Helper: Enhanced D3DDebugging disabled; Application was not compiled with D3D_DEBUG_INFO
Direct3D9: (INFO) :======================= Hal HWVP device selected

Direct3D9: (INFO) :HalDevice Driver style 9

Direct3D9: :DoneExclusiveMode

Direct3D9: (WARN) :Ignoring redundant SetTextureStageState. Stage: 0, State: 2

Direct3D9: (WARN) :Ignoring redundant SetTextureStageState. Stage: 0, State: 1

Direct3D9: (WARN) :Ignoring redundant SetTextureStageState. Stage: 0, State: 5

Direct3D9: (WARN) :Ignoring redundant SetTextureStageState. Stage: 0, State: 6

D3DX: Unicode support: 1



Direct3D9: :====> ENTER: DLLMAIN(0105e6e0): Process Detach 00000ea4, tid=00000f80
The thread 'Win32 Thread' (0x110) has exited with code 0 (0x0).
Direct3D9: (INFO) :MemFini!
Direct3D9: :====> EXIT: DLLMAIN(0105e6e0): Process Detach 00000ea4
The program '[3748] Q_Engine.exe: Native' has exited with code 0 (0x0).


[Edited by - zyrolasting on November 14, 2008 6:46:32 PM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!