Author Topic: Why do classic Mac OS's crash/freeze so much?  (Read 10558 times)

Offline Syntho

  • Platinum Member
  • *****
  • Posts: 1325
Why do classic Mac OS's crash/freeze so much?
« on: November 26, 2018, 05:09:22 PM »
I don't have a specific problem right now, but I'm interested to hear about why OS9 and below was always so prone to crashing. More than the type 1 2 and 3 errors, I get freezing. I'm talking like, you move the mouse, and it freezes! Just random, nonsensical freezing. Yes, just from moving the mouse! Or you try to copy a file, or click on another finder window you've got open, or just anything. I can better understand the errors we get when using programs that aren't so stable, or if there's some conflict or whatever, but this random freezing just makes no sense. I currently don't experience it too often, but when it happens, it comes seemingly out of nowhere. It reminds me of Windows Millennium. XP and OSX were a lot more stable than any classic Mac OS I've ever used.

Can anyone explain why this happens?

Offline IIO

  • Platinum Member
  • *****
  • Posts: 4439
  • just a number
Re: Why do classic Mac OS's crash/freeze so much?
« Reply #1 on: November 26, 2018, 05:52:14 PM »
if it happens without a previous error warning therhe is something wrong with your system or hardware, because OS9 normally does not do this.

but after an error it wil happen sooner or later, so you should reboot right after errors, especially hardware related stuff like error 2, 3, 11 ... later you will forget that you had errors before and might loose some work.
insert arbitrary signature here

Offline Syntho

  • Platinum Member
  • *****
  • Posts: 1325
Re: Why do classic Mac OS's crash/freeze so much?
« Reply #2 on: November 26, 2018, 07:40:32 PM »
So basically all of my hardware has issues? I've encountered it enough on OS8.6 across all of my systems that I think this is just an idiosyncrasy of the OS. I've had it happen on OS9 before as well. I wonder what's causing it.

Offline FdB

  • Platinum Member
  • *****
  • Posts: 666
  • And then...
Re: Why do classic Mac OS's crash/freeze so much?
« Reply #3 on: November 26, 2018, 09:39:11 PM »
Maybe common knowledge… or standard practice, but “trimming the fat” or “paring down” what apps, CPs or extensions (that you don’t really need) is optimal for stability on any “workstation” regardless of OS version or its’ intended duty. No internet, mail, music, games, etcetera on my graphics workstations. And I do mean completely stripped down except for their intended specific use.

The “division of labor” ‘round here is placed on 3 different "older" Macs. One is a scan & Photoshop station (OS 8.6). Another is for 3-D modeling & rendering (OS 9.2.2), while a third (OS 9.2.2 & 10.4.6) Mac is dedicated to Illustrator and the merging of images (and text) for final output. And all three are tied together over a LAN (each workstation has dual monitors for tool palettes, etc.).

A  friend of mine (DAW) operates in a similar fashion, only sharing between just two Macs. One for the raw sound files and “preliminary work” and a second Mac for additional “polish” (strings and other  effects) before tweaks & final output or archiving… with back-ups written along the way as he progresses towards his finished piece. Again, with no unnecessary or extraneous un-needed “fat”.

I use a much newer iMac for email & internet and “sneaker-net” to move files for upload or download. Here, trimmed down to the absolute bare necessities after many years, only the “internet portal” machine freezes, crashes or pukes around here anymore, thankfully.

Please excuse my blabbering-on here if you’re already geared in this manner… some may not be aware of this “eliminate-the-variables” approach. Consider this, then… for them.

I never liked those… turntable-tape deck-CD player-tuner combo stereos either. ;)
This Must Be The Place

Offline GaryN

  • Platinum Member
  • *****
  • Posts: 1566
  • active member
Re: Why do classic Mac OS's crash/freeze so much?
« Reply #4 on: November 26, 2018, 09:47:52 PM »
I've excerpted this from Wikipedia "Cooperative Multitasking":

Early multitasking systems used applications that voluntarily ceded time to one another. This approach, which was eventually supported by many computer operating systems, is known today as cooperative multitasking. Although it is now rarely used in larger systems except for specific applications, cooperative multitasking was once the only scheduling scheme employed by Microsoft Windows and Classic Mac OS to enable multiple applications to run simultaneously.

As a cooperatively multitasked system relies on each process regularly giving up time to other processes on the system, one poorly designed program can consume all of the CPU time for itself, either by performing extensive calculations or by busy waiting; both would cause the whole system to hang.


Although "one poorly designed program consuming all of the CPU time for itself" is a common cause of "freezes" it's not the only cause. In the old Mac OS, memory allocation was fixed (by the settings in the "get Info" window) and it's easy to have an app simply run out of memory, thereby causing it to hang and therby causing the entire system to go belly-up. All of this is why Apple went through the incredibly awkward and painful process of moving the entire Mac ecosystem to the preemptive multitasking UNIX-based system called OSX.

Actually, considering the fragility of the entire principle the old Mac OS is based on, it's kind of amazing that it does work as well as it does. You do need to keep some guardrails in place to help ensure that however. The most important one is probably keeping unnecessary memory usage to an absolute minimum. Having multiple apps open in the background - even if they're idle, is the #1 no-no. The system cannot reallocate idle memory to active processes as needed the way it can in OSX, so the best-running systems are usually doing one thing at a time. This is not the place for an entire primer on how to manage Mac OS memory but it's a fine art that every Mac OS user should be familiar with.

If your computer is "freezing" at random it's probably not really random - you just haven't identified the common cause of it yet.
Does the Command-period combo ever help? That's tool #1 for systems stuck from "busy waiting".
There's also a fine line with PT "piles of PCI cards" systems where Doofusdesign wants more memory than it should be entitled to, that may require some trial-and-error experimentation to find the sweet spot where all processes have just enough RAM in their pocket. That varies with each user since it depends RAM available, exactly which apps you use, etc.

Let me take a second to poke you again by reminding you that that is one of the main things Apple tried to address as well as possible with each succeeding release.

OS9 has better memory allocations than OS8 and many processes have better cooperative decision-making.

Yeah, it also has a lot of what you may see as unnecessary junk and clutter too, but that doesn't matter if you simply don't use it. Excess extensions and such can't be an issue if they're simply not enabled. I think you already have a clue about this since you're suddenly asking a lot of questions about memory allocation, defragging and such.

Anyway, as usual, I'm just sayin'…



Offline Syntho

  • Platinum Member
  • *****
  • Posts: 1325
Re: Why do classic Mac OS's crash/freeze so much?
« Reply #5 on: November 26, 2018, 09:52:46 PM »
Command-period. Never head of it. I'll keep that in mind.

Offline FdB

  • Platinum Member
  • *****
  • Posts: 666
  • And then...
Re: Why do classic Mac OS's crash/freeze so much?
« Reply #6 on: November 26, 2018, 10:43:54 PM »
Command-period = stop / quit.

And yes, one can allocate more memory to chosen applications under OS 8.6 as needed…
while keeping others relegated to their bare stated minimums… as less-needed. ;)
« Last Edit: November 26, 2018, 11:13:57 PM by FdB »
This Must Be The Place

Offline OS923

  • Platinum Member
  • *****
  • Posts: 888
Re: Why do classic Mac OS's crash/freeze so much?
« Reply #7 on: November 28, 2018, 05:42:31 AM »
Command-period is meant to stop programs that are still processing events (and then they need to have code to reply to this particular key event). If you want to stop a program that doesn't process events, for example because it got into an infinite loop, then you have to use option-command-escape. If it goes really wrong, for example because a pointer traveled outside a buffer and you try to write at a wrong address, then it freezes and you have to restart.

Offline Naiw

  • Veteran Member
  • ****
  • Posts: 126
  • new to the forums
Re: Why do classic Mac OS's crash/freeze so much?
« Reply #8 on: December 06, 2018, 03:51:29 PM »
The answer to the topic is simple- it basically lacks any of the protective mechanisms implemented in modern operating systems to keep the OS stable. For classic Mac OS to be stable, responsive etc every single piece of code must be have correctly- if they don't you freeze or in best case scenario get an OS error dialog. This could be caused by either software or hardware- but modern machines that behaves very unstable it's almost certainly an underlying hardware issue, on old macs it's almost certainly always a software issue.

Offline ELN

  • Gold Member
  • *****
  • Posts: 295
  • new to the forums
Re: Why do classic Mac OS's crash/freeze so much?
« Reply #9 on: December 06, 2018, 05:45:24 PM »
Attempts at error recovery were often futile, too. Because a crashing application could leave all sorts of global memory (or even hardware) in an inconsistent state, “unexpectedly quit” messages tended to recommend saving your work and restarting.

Offline Syntho

  • Platinum Member
  • *****
  • Posts: 1325
Re: Why do classic Mac OS's crash/freeze so much?
« Reply #10 on: May 16, 2019, 04:33:12 PM »
I have to revisit this thread. I was just copying some files over the network using the Chooser, and BAM, it crashed for no apparent reason. I rebooted and copied again and voila, it worked fine. I have no idea why just moving files does this sometimes.

macStuff

  • Guest
Re: Why do classic Mac OS's crash/freeze so much?
« Reply #11 on: May 16, 2019, 05:36:59 PM »
i think i had run into that same issue and figured it out as to why... about 3-4 years back; im trying to think;
are u doing a file copy to AFP share over gigabit ethernet? mapped network drive to the desktop?
i think it had someting to do with meta-data

Offline IIO

  • Platinum Member
  • *****
  • Posts: 4439
  • just a number
Re: Why do classic Mac OS's crash/freeze so much?
« Reply #12 on: May 16, 2019, 08:16:22 PM »
chooser and network browser are just shitty programs i think. the latter never ran stable for me either.
insert arbitrary signature here

Offline Syntho

  • Platinum Member
  • *****
  • Posts: 1325
Re: Why do classic Mac OS's crash/freeze so much?
« Reply #13 on: May 16, 2019, 09:35:46 PM »
I'm using the oldschool ethernet port on my 9600. It's only 10mbit. It doesn't make sense that it would crash, then work fine right after. I remember that as soon as I put the mouse on the folder to copy to it froze up, without me even releasing the mouse button.

I've had some other crashing due to just simply trying to move an icon or Finder window or something similar.

macStuff

  • Guest
Re: Why do classic Mac OS's crash/freeze so much?
« Reply #14 on: May 17, 2019, 11:36:31 AM »
anything prior to a sawtooth AGP machine for me can exhibit the same freaky wierd os crashes (especially my B+W g3 its haunted if i dont get the software / hardware JUST right for it it acts strange)
but its not always - sometimes things can be solid for months - but install one wrogn extension or something and bug city

usually if u do alot more detail checking you find you are usng old bugged versions of extensions that were patched etc
its hard to find that info these days hto


Offline refinery

  • Gold Member
  • *****
  • Posts: 383
Re: Why do classic Mac OS's crash/freeze so much?
« Reply #15 on: May 17, 2019, 02:34:01 PM »
i dont think 10 megabit plays entirely  nice with modern networking hardware. i have had MANY problems copying things over to my wallstreet powerbook and beige G3 over a gigabit network.
got my mind on my scsi and my scsi on my mind

Offline GP

  • Valued Member
  • **
  • Posts: 13
  • Ex Apple Technician & Current Nerd
Re: Why do classic Mac OS's crash/freeze so much?
« Reply #16 on: April 19, 2020, 05:47:36 AM »
Despite hardware tests passing, I get this same behaviour on my Powermac G4. I have noticed that lock ups occur due to a badly behaving app or extension so that's usually what needs to be troubleshooted.

I love OS9 but if it encounters something it's unhappy with you can crash the whole OS instantly and its very frustrating.
« Last Edit: April 19, 2020, 06:59:42 AM by GP »

Offline mfnickster

  • Newcomer
  • Posts: 1
  • New Member
Re: Why do classic Mac OS's crash/freeze so much?
« Reply #17 on: July 10, 2021, 05:30:41 AM »
Also consider that apps under Classic Mac OS all run in supervisor (privileged) mode. They are equal in power to the operating system!

Offline IIO

  • Platinum Member
  • *****
  • Posts: 4439
  • just a number
Re: Why do classic Mac OS's crash/freeze so much?
« Reply #18 on: July 10, 2021, 08:48:44 AM »
many reasons, no memory protection, no HAL, no whatever, i am not an expert for this kind of thing.

but one thing is clear: there is nothing you can do about it other than finding workarounds.
 
 
if you have daily chrashes with your audio IO, use another one, which runs more stable.

if you have trouble with a network program, use another program.

iif you use a program older than MacOS9, raise its minimum memory size in the get info window for at least 5%.

if your machine chrashes for no reason when bigger documents are open, it is time to check the RAM integrity.
 
 
and you will also find that for example after an "error 2" or "error 3" occured, it is wise not to ignore that and reboot unsolicited right now, because the second error of a similar quality will most likely freeze the machine and you might loose your work (and your desktop icons, and 20 seconds because the reboot will start the hardware check)
insert arbitrary signature here

Offline Rosetta

  • Valued Member
  • **
  • Posts: 20
  • New Member
Re: Why do classic Mac OS's crash/freeze so much?
« Reply #19 on: July 10, 2021, 11:00:19 AM »
If OS X on the same machine works perfect, is that good enough reason to rule out a hardware issue being the cause of OS 9's extreme instability?
Power Mac G4 MDD Dual 1.25 GHz / TASCAM FW-1804