Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Random freezing from Snow Leopard - total lock-up for about 30 seconds

I am having random freezes like the authors of many recent topics on this forum. From the number of 'views' on their threads, it seems that many other users have the same problem.

These are not like any other freezes I have ever had - usually when the beach ball shows, it still allows me to show the dock, move windows etc... but these freezes bring everything to a halt.

Since this problem first started for me the say I upgraded, and seems to be the same (from what I can tell) for other users who reported this, does anyone know if there is something about snow leopard that uses the hardware differently? So that whereas under leopard (32-bit) there may not have been a fault, but on switching to 10.6 a problem could reveal itself?

Mac Pro 1,1 2007, 2x 2.66 GHz Dual-Core, Mac OS X (10.6), 4 x 1Gb Apple RAM, 1x 500Gb WD Caviar, 2x Optiarc Superdrive, GeForce 7300 256Mb, Dual monitors

Posted on Sep 3, 2009 2:38 AM

Reply
525 replies

May 30, 2010 4:22 AM in response to redpola

Following on from my supposition that the defect is in accessing certain parts of my hard drive, I decided to test this theory.

splat:~ neil$ strings ~/Music/iTunes/iTunes\ Music/Mobile\ Applications/Bobby\ Carrot\ Forever.ipa

<lots of output>

HANG! With exactly the same symptoms as the beachball - i.e. every other process started to beachball when asked to access disk.

And finally:

Bus Error

The weird thing is that /bin/strings crashed, which means that there is a driver error causing the user-side apps to error / fail.

The best thing about this is that I hope I've isolated this in one file which I can make sure is never seeked, so it doesn't affect my use of this machine.

Writing up a defect report now, with a REPRODUCEABLE use case in it.

May 30, 2010 9:26 AM in response to Allan Eckert

Allan Eckert wrote:
Apple does NOT check these forums for problems. These forums are user to user. If you wish to let Apple know about a problem used feedback.

Allan

Message was edited by: Allan Eckert


No, Allan, I believe it's incorrect to say that Apple does not check these forums for problems. According to Apple's own description, there are Apple employees who focus on passing along information obtained from these forums to the appropriate technical departments within Apple.

Here's a portion of the description of the forums from Apple, describing the forum personnel:

"Apple Hosts — Hosts are Apple Employees who focus on gathering technical feedback that will be forwarded to the appropriate Apple group. They also help identify possible content for Apple's Knowledge Base and, when possible, they correct erroneous information in the forums. Hosts will also attempt to maintain proper decorum in the discussion forums. Due to post volume and other factors, Hosts may not respond promptly, or at all, to these discussions."

However, while Apple does seem to pay attention to these forums, which seems like a smart business approach, it's not very likely that an Apple employee will respond by posting here.

May 31, 2010 4:11 AM in response to redpola

"Following on from my supposition that the defect is in accessing certain parts of my hard drive, I decided to test this theory."

So, you have a faulty harddrive, faulty filesystem or just a one corrupted file? How this helps the rest of us? =)

It's unbelievable how poorly OS X 10.6.3 performs with 2GB ⚠ of memory (or 1.75GB actually, 9400M takes the 256MB) in just a normal everyday use with Safari and etc. "Free Memory" runs down very fast with just surfing around, and after that starts heavy swapping/paging - the memory pager does it's job very poorly. iFreeMem helps a little bit, but it's not a solution. And I don't think changing to 4GB isn't either, there will be time when 4GB isn't enough and after that there's still this poor and slow memory managment/paging left... =(

Message was edited by: thobie

May 31, 2010 6:24 AM in response to thobie

thobie,

Mach/Darwin uses up free memory as fast as it can - it's designed to. If it didn't you would have a very slow machine indeed.

Your cynicism is somewhat deserved and I should explain:

I believe a defect exists where an incompatibility between Apple's hard disk drivers and certain physical drives causes the driver code to erroneously be unable to read certain parts of the physical drive and to hang the disk bus. This causes all processes to hang in disk wait until the bus is reset, causing the beachball for several minutes that is common to the defect this thread describes.

Neil.

Aug 8, 2010 7:25 PM in response to robrecord

I have a similar problem. When I click a sub-menu it freezes. For ex. when I click on the airport drop down to change networks it freezes and I can't change networks. Also most of my applications like system preferences and preview will close automatically and I will have to 'reopen' several times. Thanks for any help!

P.S. I tried to download 6.1 and it said that my system didn't have the right configurations

Sep 10, 2010 5:05 PM in response to redpola

Hard drive hang on specific file


I have also seen this for mounted drives. I think it must be a re-try forever loop in the driver and it can occur on mounted drives too. It can eventually cause a cascade of other processes hanging.

The problem is previously undetected media errors. I have encountered it on USB hard disks and on freebie USB flash drives (example: a conference giveaway 1GB flash USB with a logo printed on it; since I had 2 fail on me in the past year, I stopped using free ones altogether.)

As drives capacities keep increasing, this kind of problem will happen more often. I think it is a serious bug that the driver retries forever. On a mounted drive, disconnecting the device does not break the loop (I saw that in OSX 10.6.3) and a hard shutdown is needed.

Apple was planning on adding ZFS from Sun to address this problem, but it was not included in Snow Leopard for unknown reasons. ZFS is open sourced and 5-6 years old now; it has "RAIDz" and error detection for all files, and if I list everything it has, this would sound like a commercial, so I won't... (I'm just a happy user with 10TB Opensolaris box that can handle 2 drive failures without loss.))

How to determine which file was causing the hang:
* If Finder hangs during a copy, then using Activity Monitor to inspect Finder for Open Files and Ports can help narrow it down.

* Try copying suspected files with command line "tar cvf - /path > /dev/null" (where /path is the path to the directory which has a problem file, possibly in a subdirectory). This will list files as they are read, so if a hang occurs, the problem file is the last one it outputs.

If the problem is in an OSX file, rebooting to single user mode and using the above tar command might work.

Sep 18, 2010 5:08 PM in response to robrecord

Dale Weisshaar
wrote:

Have any of you tried the following? That's what I would do.
Try using Disk Utility to do a Disk Repair, as shown in this link, while booted up on your install disk.
You could have some directory corruption. Let us know what errors Disk Utility reports and if DU was able to repair them.
Then Repair Permissions.


 DALE


It's like an expert's answer, I learned a lot from what you said.

Oct 20, 2010 11:30 AM in response to robrecord

I've been getting the freeze mainly with Mail. I shut it down, and wham, everything starts failing but I can't force quit anything, it all just stops and I have to hold the power button for five seconds to turn off the mac.
After that, I get this grey screen with a loading bar that has to finish doing something first before the os actually boots up.

Nov 3, 2010 9:22 AM in response to robrecord

I think that this is a problem with Adobe CS4 and the new Flash Player, and I think it centers around the clipboard memory. I think what is going on is that there is a shared clipboard, however the owner of that memory is undefined according to the console (OSX). I suspect that Adobe has created a shared clipboard space between its applications and the interaction with the recent flashplayer is causing ownership issues.

The error happens when a CS4 app (possibly CS5, untested with me) quits. I assume it checks to see if other CS apps are running; if not it releases the memory that the clipboard uses. With the new update to flash player, it appears to the OS that dreamweaver is releasing memory it was not allocated; This is a security problem from the perspective of the kernel.

Just a theory, the only fix will be with adobe, I suspect.

Random freezing from Snow Leopard - total lock-up for about 30 seconds

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.