Hello,
I have a problem with a C program I have developed and I need same advice. First I describe the environment: program has around 700 lines of code, windows 7, MINGW. I have a "clean" compilation, I mean, no warnings by the linker (compiled with -W).
The program runs in the production environment without problem 99% times: 1 time each 3/4 minutes aprox., zero to four hangs in a day. Each runs has different input data (a different file). I have created a log to see where it crashs. When it crashs, if I try to reproduce the problem running the program with the input file which crash with, but I have no luck as when I run it, it does not crash.
What I see, is the program does not crash always in the same place, altought it does many times in a fclose() function.
I have reviewed my code lot of times because I suspect it is maybe a pointer curruption or similar, but have not find anything rare. I can not imagine where is the problem.
So, my first question is: is it possible in windows to save a 'coredump', as in linux, in order to load in the debbuger and investigate?
And, what do you suggest to find the problem? It is very annoyed and can not find the solution.
Thank you very much