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

crash when leaving MiNT...



`kfree: memory not allocated by kmalloc' it said...  but this time
the bug wasn't in memory management :)

Index: update.c
@@ -35,7 +35,7 @@
 void
 update(long bp)
 {
-	setstack(bp+256+update_stksize);
+	setstack(bp+256+update_stksize-32);
 	Psignal(SIGALRM, do_sync);
 	Psignal(SIGTERM, do_sync);
 	Psignal(SIGQUIT, do_sync);

 so short
	Juergen
-- 
J"urgen Lock / nox@jelal.hb.north.de / UUCP: ..!uunet!unido!uniol!jelal!nox
								...ohne Gewehr
PGP public key fingerprint =  8A 18 58 54 03 7B FC 12  1F 8B 63 C7 19 27 CF DA