Sign in to follow this  

game locking up

This topic is 3596 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

After a short while my game completly locks up. If I try to close it I get the windows not reponding box with the end rask button. Having ended the task it asks me if I want to send an error report to microsoft... VS2008 just says the program exited with code 0 and the debug log doesn't show any errors...
'd3d.exe': Loaded 'H:\cpp\d3d\Debug\d3d.exe', Symbols loaded.
'd3d.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
'd3d.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
'd3d.exe': Loaded 'C:\WINDOWS\system32\user32.dll'
'd3d.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll'
'd3d.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_597c3456\msvcr90d.dll', Symbols loaded.
'd3d.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_597c3456\msvcp90d.dll', Symbols loaded.
'd3d.exe': Loaded 'C:\WINDOWS\system32\d3d9.dll'
'd3d.exe': Loaded 'C:\WINDOWS\system32\d3d8thk.dll'
'd3d.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll'
'd3d.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'
'd3d.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll'
'd3d.exe': Loaded 'C:\WINDOWS\system32\version.dll'
'd3d.exe': Loaded 'C:\WINDOWS\system32\winmm.dll'
'd3d.exe': Loaded 'C:\WINDOWS\system32\D3DX9d_36.dll'
'd3d.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll'
'd3d.exe': Loaded 'C:\WINDOWS\system32\msctf.dll'
'd3d.exe': Loaded 'C:\Program Files\SiteAdvisor\6253\saHook.dll'
'd3d.exe': Loaded 'C:\WINDOWS\system32\d3d9d.dll'
'd3d.exe': Loaded 'C:\WINDOWS\system32\d3dx9d_33.dll'
Direct3D9: :====> ENTER: DLLMAIN(00e6e6e0): Process Attach: 000000b8, tid=00000e58
Direct3D9: :====> EXIT: DLLMAIN(00e6e6e0): Process Attach: 000000b8
Direct3D9: (INFO) :Direct3D9 Debug Runtime selected.
Direct3D9: (INFO) :======================= Hal HWVP device selected

Direct3D9: (INFO) :HalDevice Driver style 9

Direct3D9: :DoneExclusiveMode
D3D9 Helper: Warning: Default value for D3DRS_POINTSIZE_MAX is 2.19902e+012f, not 1.58456e+029f.  This is ok.
The program '[184] d3d.exe: Native' has exited with code 0 (0x0).
I don't even know in what function the game crashed in so I'm not sure how to go about fixing this...

Share this post


Link to post
Share on other sites
Only the task bar and the task maneger seem to work. Everything else seems to stay "under" the game or something. I'll try making it run in a window rather than fullscreen. To see if I can get at the vs2008 window without killing the game 1st...




[Edited by - Sync Views on February 10, 2008 10:20:03 AM]

Share this post


Link to post
Share on other sites
Quote:

Having ended the task it asks me if I want to send an error report to microsoft...

From here, you can go to the Technical Information and receive the exception error that caused the problem. ...This may give you an idea of what to look for.

Share this post


Link to post
Share on other sites
ok found the crash point but can't see the cause...

vector:

bool operator==(const _Myt& _Right) const
{ // test for iterator equality //SEEMS TO HAVE STOPED HERE

#if _HAS_ITERATOR_DEBUGGING
_Compat(_Right);
#else
_SCL_SECURE_VALIDATE(this->_Has_container() && this->_Same_container(_Right));
#endif /* _HAS_ITERATOR_DEBUGGING */

return (_Myptr == _Right._Myptr);
}

//that was called by
bool operator!=(const _Myt& _Right) const
{ // test for iterator inequality
return (!(*this == _Right));//THIS
}



And my source that called the != function:

std::vector<c_part*>::iterator it;
std::vector<c_part*>::iterator end;

if (order == 0)
{
it = part_list.begin();
end = part_list.end();
}
else
{
it = part_list.end();
end = part_list.begin();
}
while (it != end)//here
{
...
}



order = 0;
The size of the part_list was 5250 (includeing NULL pointers etc where particles got deleted)

It would seem that it crashed comparing the 1st element to the last...

Share this post


Link to post
Share on other sites

This topic is 3596 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this