Click here to Skip to main content
16,006,442 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: process crash on dual processor Winnt4 server Pin
Jim Crafton12-Apr-02 8:05
Jim Crafton12-Apr-02 8:05 
GeneralRe: process crash on dual processor Winnt4 server Pin
James R. Twine12-Apr-02 7:43
James R. Twine12-Apr-02 7:43 
GeneralRe: process crash on dual processor Winnt4 server Pin
Mike Nordell13-Apr-02 20:59
Mike Nordell13-Apr-02 20:59 
GeneralRe: process crash on dual processor Winnt4 server Pin
James R. Twine15-Apr-02 2:54
James R. Twine15-Apr-02 2:54 
GeneralRe: process crash on dual processor Winnt4 server Pin
Tim Smith12-Apr-02 7:56
Tim Smith12-Apr-02 7:56 
GeneralRe: process crash on dual processor Winnt4 server Pin
Jim Crafton12-Apr-02 8:03
Jim Crafton12-Apr-02 8:03 
GeneralRe: process crash on dual processor Winnt4 server Pin
Tim Smith12-Apr-02 8:06
Tim Smith12-Apr-02 8:06 
GeneralRe: process crash on dual processor Winnt4 server Pin
James R. Twine12-Apr-02 9:26
James R. Twine12-Apr-02 9:26 
Jim Crafton wrote:
would this result in crashes that seem to always result in an access violation in either the free() code ( it is deep in the MS heap allocator code) or new() ?

   IME, that is due to heap corruption, which is often caused by writing off the end of an allocated block of memory.  Doing a double-free or a double-delete can also cause that problem.

   Are multiple threads constantly allocating memory, passing the pointer(s) around, and then trying to free that memory?  Misusing dynamically allocated memory is bad in the first place, but doing it in an MT application using the normal heap is a big no-no.

   Peace!

-=- James.
GeneralRe: process crash on dual processor Winnt4 server Pin
Jim Crafton12-Apr-02 11:01
Jim Crafton12-Apr-02 11:01 
GeneralRe: process crash on dual processor Winnt4 server Pin
James R. Twine12-Apr-02 20:38
James R. Twine12-Apr-02 20:38 
GeneralRe: process crash on dual processor Winnt4 server Pin
Vivek Rajan12-Apr-02 21:35
Vivek Rajan12-Apr-02 21:35 
Generalmultimap problem Pin
Alexandru Savescu12-Apr-02 6:10
Alexandru Savescu12-Apr-02 6:10 
GeneralRe: multimap problem Pin
Jim Crafton12-Apr-02 6:39
Jim Crafton12-Apr-02 6:39 
GeneralRe: multimap problem Pin
Alexandru Savescu12-Apr-02 13:16
Alexandru Savescu12-Apr-02 13:16 
GeneralI would like to know your opinion Pin
Le centriste12-Apr-02 5:41
Le centriste12-Apr-02 5:41 
Generaldird(r)iver function Pin
Kuniva12-Apr-02 5:38
Kuniva12-Apr-02 5:38 
GeneralRe: dird(r)iver function Pin
Mike Nordell13-Apr-02 21:27
Mike Nordell13-Apr-02 21:27 
GeneralSetEvent for thread Pin
meirav12-Apr-02 5:33
meirav12-Apr-02 5:33 
GeneralRe: SetEvent for thread Pin
Tim Smith12-Apr-02 8:01
Tim Smith12-Apr-02 8:01 
GeneralRe: SetEvent for thread Pin
meirav13-Apr-02 2:50
meirav13-Apr-02 2:50 
QuestionON_WM_ERASEBKGND() never gets called? Pin
dazinith12-Apr-02 5:18
dazinith12-Apr-02 5:18 
AnswerRe: ON_WM_ERASEBKGND() never gets called? Pin
lucy12-Apr-02 5:23
lucy12-Apr-02 5:23 
GeneralRe: ON_WM_ERASEBKGND() never gets called? Pin
dazinith12-Apr-02 5:52
dazinith12-Apr-02 5:52 
GeneralRe: ON_WM_ERASEBKGND() never gets called? Pin
lucy12-Apr-02 6:41
lucy12-Apr-02 6:41 
AnswerRe: ON_WM_ERASEBKGND() never gets called? Pin
Shog912-Apr-02 5:58
sitebuilderShog912-Apr-02 5:58 

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.