Date: Thu, 19 Nov 92 09:40:27 +0100 From: buers AT dg1 DOT chemie DOT uni-konstanz DOT de (Dieter Buerssner) To: George Jetson Cc: djgpp AT sun DOT soe DOT clarkson DOT edu, dj AT ctron DOT com Subject: DEBUG32 in 1.09 - hangs if file not found George Jetson writes: > Try: > > DEBUG32 notfound > > Prepare to reboot. > > (Or is it just my system?) The same problem here. It is due to a call of to either dalloc_uninit() or uninit_controllers() in exit_func() after the exit() call in paging_set_file(); At this time there was no call to init_controllers() or dalloc_init(); The following patch gives an trivial fix. Probably it would be better to have some flags set, that show that the corresponding functions have been initialized. Dieter *** pagingc.org Thu Nov 19 09:15:24 1992 --- paging.c Thu Nov 19 09:33:12 1992 *************** *** 222,227 **** --- 222,229 ---- if (aout_f < 0) { fprintf(stderr, "Can't open file <%s>\n", fname); + dalloc_init(); + init_controllers(); exit(1); }