Click here to Skip to main content
15,905,967 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Release Code Optimization Problems.. Pin
rbid20-May-06 21:57
rbid20-May-06 21:57 
GeneralRe: Release Code Optimization Problems.. Pin
Saurabh.Garg21-May-06 16:36
Saurabh.Garg21-May-06 16:36 
GeneralRe: Release Code Optimization Problems.. Pin
rbid22-May-06 8:23
rbid22-May-06 8:23 
AnswerRe: Release Code Optimization Problems.. Pin
Ryan Binns20-May-06 1:53
Ryan Binns20-May-06 1:53 
GeneralRe: Release Code Optimization Problems.. Pin
rbid20-May-06 5:04
rbid20-May-06 5:04 
GeneralRe: Release Code Optimization Problems.. Pin
Ryan Binns20-May-06 14:38
Ryan Binns20-May-06 14:38 
GeneralRe: Release Code Optimization Problems.. Pin
rbid22-May-06 8:28
rbid22-May-06 8:28 
AnswerRe: Release Code Optimization Problems.. Pin
Ray Hagstrom20-May-06 8:46
Ray Hagstrom20-May-06 8:46 
Sounds a lot like scientific programming.

I do not know your code, but this sort of problem often arises from:

1.)Array overrun (Solution: interface array access through an intermediary function that executes a bunch of assert(); to verify that access is always within bounds. The asserts all dissappear in the release mode so that they do not slow production down at all.)

2.)Optimizer bug. (Here the machine-code generated by the compiler is just flat wrong. Every mature scientific programmer must be prepared to deal with this horrible sort of problem. I have NEVER (since 1965) dealt with a compiler that I did not find bugs in its code generation. Here, my best approach is to start backward from the crash line. Either some datum going into the crash is wrong or the line is encoded wrong.)

Item 1.) is about 100 times more common than item 2.) but they lead to comparable amount of grief in toto.



Gematria
GeneralRe: Release Code Optimization Problems.. Pin
rbid20-May-06 10:17
rbid20-May-06 10:17 
AnswerSummary... Pin
rbid24-May-06 8:19
rbid24-May-06 8:19 
QuestionString Conversion Pin
satsumatable19-May-06 19:50
satsumatable19-May-06 19:50 
AnswerRe: String Conversion [modifed] Pin
Nibu babu thomas19-May-06 20:04
Nibu babu thomas19-May-06 20:04 
GeneralRe: String Conversion Pin
satsumatable19-May-06 20:16
satsumatable19-May-06 20:16 
GeneralRe: String Conversion Pin
Nibu babu thomas19-May-06 20:20
Nibu babu thomas19-May-06 20:20 
GeneralRe: String Conversion Pin
NiceNaidu19-May-06 20:32
NiceNaidu19-May-06 20:32 
GeneralRe: String Conversion Pin
Nibu babu thomas19-May-06 20:36
Nibu babu thomas19-May-06 20:36 
GeneralRe: String Conversion [modifed] Pin
satsumatable19-May-06 20:42
satsumatable19-May-06 20:42 
QuestionMutiple document Templates Pin
RockyJames19-May-06 19:45
RockyJames19-May-06 19:45 
AnswerRe: Mutiple document Templates Pin
Nibu babu thomas19-May-06 19:57
Nibu babu thomas19-May-06 19:57 
GeneralRe: Mutiple document Templates Pin
RockyJames19-May-06 20:27
RockyJames19-May-06 20:27 
JokeRe: Mutiple document Templates Pin
Nibu babu thomas19-May-06 20:39
Nibu babu thomas19-May-06 20:39 
QuestionHow To Trap esc key code for Dailog Application Pin
CodeVarma19-May-06 19:24
CodeVarma19-May-06 19:24 
AnswerRe: How To Trap esc key code for Dailog Application [modifed] Pin
_AnsHUMAN_ 19-May-06 19:26
_AnsHUMAN_ 19-May-06 19:26 
AnswerRe: How To Trap esc key code for Dailog Application Pin
Laxman Auti19-May-06 20:05
Laxman Auti19-May-06 20:05 
AnswerRe: How To Trap esc key code for Dailog Application Pin
Rajesh R Subramanian19-May-06 21:17
professionalRajesh R Subramanian19-May-06 21:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.