Why are my Macs crashing?
Dec. 18th, 2005 07:00 pmOkay, so I currently have two Macs. A 1.5 year old 15" Powerbook, running OS/X 10.3, and a 6 month old 20" iMac, running OS/X 10.4. Both OSes are up to date.
Over the course of the last few days, both machines have started crashing on a regular basis. At least, I guess "crashing" is the right word to use. What happens is that all of my currently running applications get killed in some manner or another (including the dock), leaving me as though I had just logged in. Sometimes FireFox and Adium display their crash dialogs, but sometimes they just silently "disappear".
In the way of troubleshooting, I've tried the following:
- Run Preferential Treatment to make sure my preferences weren't whacked. They were fine.
- Booted from the install DVD and ran the extended diagnostics. Everything looked fine.
- Checked the system logs. Nothing of interest gets written. It's as though the processes were killed normally.
- I reset the PRAM on both machines.
I'm hesitant to call AppleCare just yet, because I can't reproduce this problem reliably, and part of my wonders if it's something that I might have done on both machines.
As an act of desperation, I created new accounts on each machine without admin access, and have been using them, just on the off chance that the problem is due to a bad setting in each account.
The whole thing has me really confused, seeing that it's happening to both machines at the same time. I'm on a UPS, so I've ruled out power-related issues. It's also odd that only my processes are being affected, and all of them at once. It's not like init or sshd is crashing at all or I have a single app (like.. Firefox!) crashing.
Does anyone have any ideas? Because I'm running out of them...
Over the course of the last few days, both machines have started crashing on a regular basis. At least, I guess "crashing" is the right word to use. What happens is that all of my currently running applications get killed in some manner or another (including the dock), leaving me as though I had just logged in. Sometimes FireFox and Adium display their crash dialogs, but sometimes they just silently "disappear".
In the way of troubleshooting, I've tried the following:
- Run Preferential Treatment to make sure my preferences weren't whacked. They were fine.
- Booted from the install DVD and ran the extended diagnostics. Everything looked fine.
- Checked the system logs. Nothing of interest gets written. It's as though the processes were killed normally.
- I reset the PRAM on both machines.
I'm hesitant to call AppleCare just yet, because I can't reproduce this problem reliably, and part of my wonders if it's something that I might have done on both machines.
As an act of desperation, I created new accounts on each machine without admin access, and have been using them, just on the off chance that the problem is due to a bad setting in each account.
The whole thing has me really confused, seeing that it's happening to both machines at the same time. I'm on a UPS, so I've ruled out power-related issues. It's also odd that only my processes are being affected, and all of them at once. It's not like init or sshd is crashing at all or I have a single app (like.. Firefox!) crashing.
Does anyone have any ideas? Because I'm running out of them...
(no subject)
Date: 2005-12-19 01:14 am (UTC)If dies for some reason OTHER than clicking "Logout", all child processes die and you'll be thrown back to a login prompt.. I haven't been able to replicate the death of all children without a logout though.
(no subject)
Date: 2005-12-19 01:19 am (UTC)As
(no subject)
Date: 2005-12-19 01:57 am (UTC)Also, as much as I hate to mention it, if you have accounts with identical usernames and passwords on both systems, or matching root passwords, both systems may have been compromised. If you suspect it, set up a sniffer or an IDS.
(no subject)
Date: 2005-12-19 08:00 pm (UTC)How does identical usernames and passwords increase the chance for a comprimise?
I'm not too worried about this scenario though, since I haven't seen any other signs of an intrusion, I hide behind a NAT, and I have never used that password outside of the network.
Outgoing connections.
Date: 2005-12-19 08:53 pm (UTC)How does identical usernames and passwords increase the chance for a comprimise?
Easy. If they get in on one machine (and a reverse shell will traverse a NAT by phoning home) they have credentials that let them hop to the other and put a rootkit or backdoor on there too.
NATs are old news to crackers and even script kiddies. That's why most automated attacks (scans, worms, etc..) will make a compromised machine throw a shell back to a listening port on the exploiter, or join the IRC channel for a botnet.
(no subject)
Date: 2005-12-19 08:10 am (UTC)(no subject)
Date: 2005-12-19 08:19 am (UTC)I've no experience with MacOS (well, used MacOS 9 for a bit), but I'd guess some faulty setting that you set manually on both systems, or a virulent or simlar program
(no subject)
Date: 2005-12-19 01:50 pm (UTC)Sometimes an update or other app does some funky things to the perms.
(no subject)
Date: 2005-12-19 02:19 pm (UTC)Oh yeah. I only found like 3 permissions that were off. Didn't solve the problem, though.
(no subject)
Date: 2005-12-19 07:55 pm (UTC)(no subject)
Date: 2005-12-19 07:57 pm (UTC)(no subject)
Date: 2005-12-20 08:09 am (UTC)(no subject)
Date: 2005-12-20 02:02 pm (UTC)Update..
Date: 2005-12-20 06:52 am (UTC)I ran Hardware Test, which came out okay. I then I ran the Disk Utility from the start DVD and discovered that I couldn't do a repair, I couldn't even mount the partition. All I could do was erase the HD and then reinstall all the software.
During this, I discover that several other of the users have had issues lately similar to what you're talking about. There could well be something in 10.4 that's wonky and potentially data-killing.
Re: Update..
Date: 2005-12-20 02:02 pm (UTC)That doesn't match my symptoms, because I have had zero data problems. In fact, when I switched user accounts, I had no problems copying data over.
I think I discovered the culprit on BOTH machines last night, but I'm going to wait until I get back from my Christmas trip before testing it. IM me if you wanna know the details.
Re: your situation, did you run Smarttools? I'd be interestted in what the SMART data from the hard drives has to say.