c++ - Software crash after steep rise of process' working set memory -


i ask question, because we're stuck @ finding cause of software crash. know questions "why software crash" not appreciated, don't know how find problem.

we longterm test of our software. find potential memory leaks, used windows tool performance monitor track several memory metrics, such private bytes, working set , virtual bytes.

the software ran quite long time (about 30 hours) without problems. same time, reading in image harddrive, doing inspection , showing results.

then crashes. inspecting memory metrics in performance monitor, saw strange steep rising of working set bytes graph @ 10.17am. encountered several times , according dumpfiles, exception code 0xc0000005 : "the thread tried read or write virtual address not have appropriate access", appears @ different positions, no pointers used.

does know, cause of such steep rise of working set , why cause software crash? how find out, if our software has bug, when every time, crash occurs position of crash @ position?

the application written in c++ , runs on windows 7 32bit pc.

crash happens after rise of working set memory

it's impossible know information have provided, suggest have memory corruption (hence access violation). buffer-overflow issue... example there missing null character string , being appended indefinitely?

recommended next step download debugging tools windows suite. setup windbg correct symbol files, , analyse stack trace, find general area of crash. depending on cause of memory corruption more or less useful. have corrupted memory long time before crash occurs.

ideally run static analysis tool on code.


Comments