Home » Community » Coffee corner » crush of the program
Re: crush of the program [message #8276 is a reply to message #8274] |
Tue, 27 February 2007 23:09 |
mr_ped
Messages: 825 Registered: November 2005 Location: Czech Republic - Praha
|
Experienced Contributor |
|
|
Yes, it's quite common with larger game projects (maybe even with non-game project, but I have mostly experience with computer games).
The reasons may vary horribly.
- compiler error - very very very unlikely, but I did have seen already some. Search everything else 10 times before you start to search for this one.
- usage of uninitialized/corrupted memory - in debug mode you get all kind of those helpers like 0xCCCCCCCC for allocated memory or 0xFDFDFDFD for deleted one, same allocation addresses, etc... in release you get random garbage and never really knows what to expect. Also allocated memory in debug mode has some guardians space which may catch occasional memory overruns, in release it's much easier to corrupt your memory.
If your bug in code works nicely with for example 0xCC.. value, so you don't notice it, it may go crazy in release with the random values it will hit.
- race conditions in multi-threaded apps. (very hard to debug)
- bad definitions of variables (bad usage of volatile variables)
- and many many more...
Do you have some idea which part of code is crashing?
May you publish it here?
Maybe I will have some idea (and maybe not, those bugs are sometimes extremely difficult to catch, depends on overall quality of code and available resources).
Also if you manage to get stack/memory/code dump of crash, it may be worth to compare it with symbol table to see if it does crash always on the same place, and examine the exact reason of crash.
|
|
|
|
|
crush of the program
By: forlano on Tue, 27 February 2007 21:50
|
|
|
Re: crush of the program
By: mr_ped on Tue, 27 February 2007 23:09
|
|
|
Re: crush of the program
By: exolon on Wed, 28 February 2007 01:48
|
|
|
Re: crush of the program
By: forlano on Wed, 28 February 2007 02:53
|
|
|
Re: crush of the program
By: mirek on Wed, 28 February 2007 09:27
|
|
|
Re: crush of the program
By: forlano on Wed, 28 February 2007 15:55
|
|
|
Re: crush of the program
By: mirek on Wed, 28 February 2007 09:25
|
|
|
Re: crush of the program
By: forlano on Thu, 22 March 2007 14:03
|
|
|
Re: crush of the program
By: mirek on Thu, 22 March 2007 17:22
|
|
|
Re: crush of the program
By: forlano on Mon, 28 May 2007 18:26
|
|
|
Re: crush of the program
By: forlano on Tue, 29 May 2007 23:38
|
|
|
Re: crush of the program
By: mr_ped on Wed, 28 February 2007 11:55
|
|
|
Re: crush of the program
By: mirek on Wed, 28 February 2007 12:06
|
|
|
Re: crush of the program
By: exolon on Wed, 28 March 2007 21:58
|
|
|
Re: crush of the program
By: Novo on Wed, 28 March 2007 22:08
|
|
|
Re: crush of the program
By: zsolt on Wed, 28 March 2007 23:45
|
|
|
Re: crush of the program
By: Novo on Thu, 29 March 2007 16:51
|
|
|
Re: crush of the program
By: mirek on Thu, 29 March 2007 17:49
|
|
|
Re: crush of the program
By: Novo on Thu, 29 March 2007 20:24
|
|
|
Re: crush of the program
By: forlano on Wed, 28 March 2007 23:15
|
|
|
Re: crush of the program
By: exolon on Wed, 28 March 2007 22:20
|
Goto Forum:
Current Time: Thu May 09 11:41:23 CEST 2024
Total time taken to generate the page: 0.02045 seconds
|