[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Shutdownbug in MiNT v1.15.6b



Hi!

> Hmmm.... I must admit I'd very appreciate, if someone would come and bring
> an explanation on the stuff that is happening at shutdown time. I mean,
> these crashes. I must also say that I already got quite frustrated trying
> to find this out (must be something very simple, no?)

Well, I haven't investigated very deeply in that area, but it seems that
MiNT's got a problem killing processes that haven't reacted on the
SIGTERM. As you can see, the "brutal" kill afterwards doesn't wait, and
as Shutdown() is a kernel call, no task switch will appear which would
actually free the resources of the processes affected by the kill.

At least, that's what I found out by inserting some ALERT statements
into the functions that free process resources - they're never called
for processes that haven't terminated upon receiving SIGTERM.


Ciao

Thomas


-- 
Thomas Binder (Gryf @ IRCNet)  gryf@hrzpub.tu-darmstadt.de
PGP-key available on request!  binder@rbg.informatik.tu-darmstadt.de
Vote against SPAM:             http://www.politik-digital.de/spam/

Attachment: pgpF1dqTBiN5C.pgp
Description: PGP signature