Intermittent stalling during audio/video playback

This issue is driving me up the wall. I hope someone can help.


Often, while listening to (for example) iTunes, playback stalls and there is silence for several seconds. If I listen to music for an hour, I guess I might experience the issue anywhere from 3-6 (?) times — though sometimes I can go for more than an hour without it happening. But: it doesn't just happen with iTunes — the same thing happens from time to time when using VLC for video playback (usually accompanied by some video artifacts), or HTML5 video playback within Safari. (I don't have Flash Player installed, though I occasionally use Google Chrome for Flash content; if I recall correctly I think the same thing sometimes happens with Flash videos/audio within Chrome too.)


Along the same lines, now and then I notice that when attempting an action within Mail.app, a task will appear in the Activity Window that's something like, 'waiting for the hard drive,' with a barber pole and stop sign. This will delay my action for several seconds. I suspect this is a different manifestation of the same underlying problem that causes the playback stalling.


I DON'T typically get the swirling beach ball of doom when any of these things happen. Mouse pointer does NOT freeze, and the system seems responsive in all other ways during these episodes.


I'm pretty Mac savvy, and I make sure to do regular hard drive maintenance (verifying volume with Disk Utility, rebuilding directory with DiskWarrior, etc.). My startup partition is only about 2/3 full. This week I used iDefrag to defrag the hard drive, thinking it might fix the problem, but nope it still happens. SMART diagnostics have never shown a problem.


When researching this issue on the web, some folks have suggested keeping an eye on the log files (Console.app), and Activity Monitor. I definitely haven't found anything in the log files that coincides with incidents of stalling. And nothing in particular seems to 'spike' in CPU activity in the Activity Monitor at the same time as the stalling; at least not that I've noticed.


I'm pretty good about keeping apps up to date, and I don't have too many apps running in the background. But the problem persists even when I've quit everything else except the app that's doing the audio/video playback.


This has been going on for a long time, and nothing I've tried has helped. Any advice or suggestions, anyone??


- Gord

iMac, OS X Mountain Lion (10.8.2)

Posted on Mar 4, 2013 8:48 PM

Reply
14 replies

Mar 4, 2013 10:55 PM in response to Gord Locke

Checking Console.app messages once again, the following lines seem to coincide with at least some of the stalling incidents:


===


2013/03/05 1:32:33.231 am Finder[595]: PlotISImageRef 0x29f50026 InContext 0x7f986b3c1340 in {33.000000,493.000000,16.000000,16.000000}, inAlign:5, inTransform:0, inFlags:0 failed. (err=-2582)

2013/03/05 1:32:34.499 am Dock[590]: no information back from LS about running process


2013/03/05 1:34:58.597 am Safari[8023]: PlotISImageRef 0x20990018 InContext 0x7ffb9b9d6ea0 in {33.000000,493.000000,16.000000,16.000000}, inAlign:5, inTransform:0, inFlags:0 failed. (err=-2582)

2013/03/05 1:35:00.853 am Dock[590]: no information back from LS about running process


2013/03/05 1:35:39.917 am TextEdit[8026]: PlotISImageRef 0x25910017 InContext 0x7f8873a45940 in {33.000000,493.000000,16.000000,16.000000}, inAlign:5, inTransform:0, inFlags:0 failed. (err=-2582)

2013/03/05 1:35:41.186 am Dock[590]: no information back from LS about running process


2013/03/05 1:42:14.318 am Finder[595]: PlotISImageRef 0x29f50026 InContext 0x7f986c064400 in {33.000000,514.000000,16.000000,16.000000}, inAlign:5, inTransform:0, inFlags:0 failed. (err=-2582)

2013/03/05 1:42:15.986 am Dock[590]: no information back from LS about running process


===


Any significance to this? Thanks for any help.


- Gord

Jun 21, 2013 4:57 PM in response to Gord Locke

I have the same issue. I have found a bad block on my drive (standard seagate that I installed myself). I suspect what is happening is that the quicktime software that feeds the multimedia playback, is sitting on a bad block, or has to read some library/dylib on some bad block somewhere, and times out after being unable to read, and then continues playback. I also can't see a pattern though. Fortunately it hasn't happened yet while I'm DJing, but I'm pretty sure it will one day, which will be nightmarishly embarrassing. It does it EVERY time I play back an AVI, so I thought it might be a problem with my commercial ie paid-for version of the DIVX codec, but the fact that it does it randomly in iTunes as well suggests to me that it is an OS/hardware level problem.


I'm going to just replace my drive and see if that helps.

An error dialog would be nice. Eg "Can't read mpeg.dylib, sorry for you!" or something more Apple-like like "Error -1342".

;-)


http://www.mac-forums.com/forums/apple-notebooks/226940-problems-my-macbook-stal ling-while-playing-videos-scrolling.html


I also thought it might be RAM, but I have 16GB so I seriously doubt it. Unless it is a bad section in the RAM somewhere - but in that case I'd expect a crash, not a delay. It seems to be related to a read-delay on the drive; it's that kind of symptom. And the delay is always for 1-5 seconds or so - enough to be annoying.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Intermittent stalling during audio/video playback

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