Click here to Skip to main content
15,888,579 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Having different value for a global variable per thread. Pin
Chris Losinger12-Mar-10 3:25
professionalChris Losinger12-Mar-10 3:25 
GeneralRe: Having different value for a global variable per thread. Pin
Code-o-mat12-Mar-10 3:30
Code-o-mat12-Mar-10 3:30 
AnswerRe: Having different value for a global variable per thread. Pin
Russell'12-Mar-10 8:48
Russell'12-Mar-10 8:48 
GeneralRe: Having different value for a global variable per thread. Pin
Code-o-mat12-Mar-10 10:12
Code-o-mat12-Mar-10 10:12 
QuestionHow to find source of buffer overflow Pin
WernerP11-Mar-10 23:44
WernerP11-Mar-10 23:44 
AnswerRe: How to find source of buffer overflow Pin
Eugen Podsypalnikov12-Mar-10 0:08
Eugen Podsypalnikov12-Mar-10 0:08 
AnswerRe: How to find source of buffer overflow Pin
Eugen Podsypalnikov12-Mar-10 0:24
Eugen Podsypalnikov12-Mar-10 0:24 
GeneralRe: How to find source of buffer overflow Pin
WernerP12-Mar-10 2:19
WernerP12-Mar-10 2:19 
Dear Eugen,

the diagnostic tool which I would find very useful would be one, which can show me something like

variable | chunk of heap start | chunk of heap end | length of heap | allocated by (method signature)
pFoo       0x00002000            0x20000000          536862720        heapcrusher


because I suspect, that the point in the program, where the exception happens is not the one which caused the trouble, but another, which caused a buffer overflow. Sometimes the app crashed at the end and signaled a segment fault. I also tried to debug the app as release version as you suggested but couldn't find out, why it crashed at the point, where it did. Do you know any which can do that?

PS is it actually possible to see variable values in the debugger when I debug the release version? I thought there is no way.

Thank you
regards
Werner
GeneralRe: How to find source of buffer overflow Pin
Eugen Podsypalnikov12-Mar-10 2:44
Eugen Podsypalnikov12-Mar-10 2:44 
AnswerRe: How to find source of buffer overflow Pin
CPallini12-Mar-10 0:35
mveCPallini12-Mar-10 0:35 
AnswerRe: How to find source of buffer overflow Pin
Adam Roderick J12-Mar-10 0:53
Adam Roderick J12-Mar-10 0:53 
GeneralRe: How to find source of buffer overflow Pin
WernerP12-Mar-10 2:21
WernerP12-Mar-10 2:21 
Questiongiving url to .ini file Pin
jannathali11-Mar-10 23:25
jannathali11-Mar-10 23:25 
AnswerRe: giving url to .ini file Pin
KarstenK12-Mar-10 0:08
mveKarstenK12-Mar-10 0:08 
GeneralRe: giving url to .ini file Pin
jannathali12-Mar-10 1:07
jannathali12-Mar-10 1:07 
AnswerRe: giving url to .ini file Pin
Eugen Podsypalnikov12-Mar-10 2:02
Eugen Podsypalnikov12-Mar-10 2:02 
AnswerRe: giving url to .ini file Pin
David Crow12-Mar-10 3:10
David Crow12-Mar-10 3:10 
QuestionCreate a gui for linux. Pin
krish_kumar11-Mar-10 21:09
krish_kumar11-Mar-10 21:09 
AnswerRe: Create a gui for linux. Pin
KingsGambit11-Mar-10 21:13
KingsGambit11-Mar-10 21:13 
GeneralRe: Create a gui for linux. Pin
krish_kumar11-Mar-10 21:35
krish_kumar11-Mar-10 21:35 
GeneralRe: Create a gui for linux. Pin
KingsGambit11-Mar-10 21:42
KingsGambit11-Mar-10 21:42 
AnswerRe: Create a gui for linux. Pin
Stuart Dootson11-Mar-10 21:20
professionalStuart Dootson11-Mar-10 21:20 
AnswerRe: Create a gui for linux. Pin
KarstenK11-Mar-10 21:47
mveKarstenK11-Mar-10 21:47 
GeneralRe: Create a gui for linux. Pin
krish_kumar11-Mar-10 23:27
krish_kumar11-Mar-10 23:27 
AnswerRe: Create a gui for linux. Pin
Moak11-Mar-10 22:02
Moak11-Mar-10 22:02 

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.