Answer the question
In order to leave comments, you need to log in
similar to DevPartner for Linux
Is there a subject? Debage is not my program, there is an array declaration in the global scope
unsigned char cache[1024 * 32];
after transferring this happiness to dynamic memory by
unsigned char *cache = NULL;
cache = (unsigned char*)malloc(1024 * 32);
there is a memory crash because another variable abruptly becomes non-empty (and should be 0 all the time). Apparently, somewhere he writes something in the wrong place, if he were debugging under Windows, he would be a dev partner, but under Linux I don’t know how to debug like that.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question