Re: [AD] DOS port instability under Win 9X

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Vincent wrote:
>> Hmm, since it does not happen in small programs, could it be memory
>>  that is not locked, which gets swapped out (since yielding will likely
>>  swap out stuff for a large program) and accessed by some interrupt
>>  driven code (thus page faulting) ?

Esaelon@xxxxxxxxxx wrote:
>Seems unlikely, as it does not disappear when CRT0_FLAG_LOCK_MEMORY is set in 
>_crt0_startup_flags.

On the info page for _crt0_startup_flags, it says that this flag may
fail to lock all memory, either due to a system call error, or just
because tracking memory allocated by `sbrk' is so difficult.

Do you have any output from a crash at all? (also, is there any
specific, reliable way to tell if a program has crashed due to page
faulting within an interrupt handler?)

Bye for now,
-- 
Laurence Withers, lwithers@xxxxxxxxxx
                http://www.lwithers.demon.co.uk/

Attachment: signature.asc
Description: PGP signature



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/