Click here to Skip to main content
16,018,938 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionpersistent crash on tester's computers that I can't reproduce Pin
permutations15-Mar-10 11:13
permutations15-Mar-10 11:13 
AnswerRe: persistent crash on tester's computers that I can't reproduce Pin
LouisLewis15-Mar-10 11:21
LouisLewis15-Mar-10 11:21 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
permutations15-Mar-10 11:34
permutations15-Mar-10 11:34 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
LouisLewis15-Mar-10 11:43
LouisLewis15-Mar-10 11:43 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
permutations15-Mar-10 12:07
permutations15-Mar-10 12:07 
AnswerRe: persistent crash on tester's computers that I can't reproduce Pin
Avi Berger15-Mar-10 15:13
Avi Berger15-Mar-10 15:13 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
permutations15-Mar-10 17:01
permutations15-Mar-10 17:01 
AnswerRe: persistent crash on tester's computers that I can't reproduce Pin
Luc Pattyn15-Mar-10 16:02
sitebuilderLuc Pattyn15-Mar-10 16:02 
Hi,

when a program runs fine on one system and not on another, there may be a difference in the environment, such as a missing DLL, or a different version of DLL. However, it may also indicate a simple bug in the program: running fine on a system is no proof of correctness.

Here are some ideas, the list is not complete!
- regional settings may be different, causing a conversion to sometimes fail. Example: date formatting could be dd-MMM-yyyy or MM/dd/yyyy, a string gets parsed fine in the one situation and not in the other. Now if the program also lacks decent error detection and reporting, you will be completely in the dark.
- some data gets stored somewhere, in a file, in registry, whatever; it is different on different systems and some values (or absence thereof) is not handled well. Example: assume a recent file list is kept in registry, it does not exist on some system, and as a result m_pRecentFileList->m_arrNames[0] is null (or undefined) and can not reliably be dereferenced.

Advice:
- check your code for proper error detection, reporting and handling;
- check your code dealing with inputs (registry, files, network locations, ...) as that is the greatest area of variance;
- check your system configuration, such as amount of memory.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.

GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
permutations15-Mar-10 17:26
permutations15-Mar-10 17:26 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
Luc Pattyn15-Mar-10 17:30
sitebuilderLuc Pattyn15-Mar-10 17:30 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
permutations15-Mar-10 17:37
permutations15-Mar-10 17:37 
AnswerRe: persistent crash on tester's computers that I can't reproduce Pin
Adam Roderick J15-Mar-10 20:25
Adam Roderick J15-Mar-10 20:25 
AnswerRe: persistent crash on tester's computers that I can't reproduce Pin
Roger Allen16-Mar-10 5:01
Roger Allen16-Mar-10 5:01 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
permutations16-Mar-10 5:13
permutations16-Mar-10 5:13 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
Roger Allen16-Mar-10 6:03
Roger Allen16-Mar-10 6:03 
AnswerRe: persistent crash on tester's computers that I can't reproduce Pin
Rolf Kristensen16-Mar-10 14:03
Rolf Kristensen16-Mar-10 14:03 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
permutations16-Mar-10 14:16
permutations16-Mar-10 14:16 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
Rolf Kristensen16-Mar-10 14:21
Rolf Kristensen16-Mar-10 14:21 
GeneralRe: persistent crash on tester's computers that I can't reproduce [modified] Pin
permutations17-Mar-10 3:31
permutations17-Mar-10 3:31 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
permutations17-Mar-10 12:07
permutations17-Mar-10 12:07 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
permutations18-Mar-10 10:09
permutations18-Mar-10 10:09 
QuestionSystem Tray Icon Pin
MrMcIntyre15-Mar-10 9:40
MrMcIntyre15-Mar-10 9:40 
AnswerRe: System Tray Icon Pin
Stuart Dootson15-Mar-10 10:04
professionalStuart Dootson15-Mar-10 10:04 
AnswerRe: System Tray Icon Pin
LouisLewis15-Mar-10 10:09
LouisLewis15-Mar-10 10:09 
GeneralRe: System Tray Icon Pin
MrMcIntyre15-Mar-10 10:12
MrMcIntyre15-Mar-10 10:12 

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.