Nanofunk Blog Main Site

Geek blog for all things hackintosh, dslr video plus tweaking, hacking and modding your gear and gadgets.

28Jul/1140

Mac OSX Lion 10.7 System Freezes: kernel: IOSurface: buffer allocation size is zero (console message)

Some people experience system freezes on Mac OS X 10.7 Lion, but also on Snow Leopard: kernel: IOSurface: buffer allocation size is zero.
The Error is visible with Console.app ("All Messages" respectively "kernel.log")

To reproduce the issue:
1) click on "Clear Display" in Console.app
2) go to http://www.adobe.com/software/flash/about/ and the error will show up in the console.

The error must be Flash related. Sometimes, the whole System is unresponsive, freezing everything but the mouse. There is no official response from Adobe or from Apple, so we can only hope and wait. Please check your Console.app for this error and respond to any of the existing discussions.

Screen Shot 2011 07 28 at 11 52 25

[Update] the error message also seems to have surfaced in 10.6.4 already, as visible in the Apple Discussion Forums

[Update] installing the Adobe Flash Player 11.0 from Adobe Labs seems to at least minimize the freezes, but still the console messages appear.

[Update] i posted a poll on insanelymac to see which browsers and systems are affected. please also post your results there!

[Update] the new Beta 2 11.0.d1.98 of the flash player is out (thanks JP Hansen)

[Update] The Flash Player 11 is officially released. It seems though, that not all issues are resolved with Mac OSX Lion compatibility.

[Update 23.12.2011] more than 6 months after the issue was reported, (and we have Apple Mac OS X 10.7.2 and 10.7.3 in beta) there is still no update on this issue from Adobe. Please write your concerns to the Adobe Forums in the existing thread to have them fix the issues! Especially for SSD owners this is unacceptable!

Existing Discussions:

* Nanofunk.net discussion thread in the Adobe Flash Player Forums
* Thread in the Apple Support Communities Forum
* Thread on MacRumors Forums regarding Lion Freezes with kernel: IOSurface

[Update] I posted to the Adobe Bugbase with a bug description. Hope they will respond now.

[Update 2012-2-22] still, the ticket in Adobe Bugbase is open, although there were several patches and bugfixes to Adobe Flash Player 11.1 (11.1.102.62 as of today).

Related posts:

  1. Install OS X 10.7 Lion on any Supported Intel Core 2 or Core i based PC & Make an OSX Lion Boot Disc
  2. MacBook Pro Early 2011 freezes and kernel panics: revert to 32bit to have a stable system
  3. Install Mac OS X Lion 10.7 on PC Hackintosh
  4. Mac OSX 10.7 Lion updating annoyances: Scolling, Versioning and no TRIM!
  5. hackintosh: XPC Bootloader Can Boot Mac OS X 10.7 Lion


DIY DSLR Video Setup: equipment, tools and gear to complete your setup.

This post was written by on July 28, 2011 and last edited on February 22, 2012
Post categories: apple, beta, examples, experimental, hackintosh, howto, installation, lion, news, osx, plugins, real life, review, update
Permalink: http://nanofunk.net/mac-osx-lion-10-7-system-freezes-kernel-iosurface-buffer-allocation-size-is-zero-console-message/

nanofunk blog is run by nanofunk himself, audiores and contributions from dslr4video, 2009-2012+
Follow us on twitter @nanofunk, follow our feed and share some link love on Facebook.
Comments (40) Trackbacks (3)
  1. we are having the same issue here. tested with macbook pro early 2011 and lion.
    flash player version 10,3,181,36 – google chrome canary.

  2. Same here. I hope Adobe or Apple can speak up. The dumps of these messages slow my system to a crawl and spin up the fan.

  3. I installed “Trim Enabler” and I am having temporary system freezes which I think is coming from Safari.

    I installed the Flash 11 beta, we’ll see how that goes. It’s definitely something Trim Enabler caused.

  4. I’ve had this problem intermittently for some months on a 5-year-old C2D MBP. Sometimes the screen just freezes (except for the mouse) and sometimes the screen goes black and everything seems to freeze. Hard reboot necessary. Thought Lion might cure it but if anything it’s got worse. Same buffer allocation message in console. Driving me insane.

  5. @aliquis we had the same issue here which disappeared after installing flash beta 11.0 from adobe labs and using safari instead of chrome — chrome seems to come with its own version of flash, so switching to safari solves issues for now.

  6. Thanks nanofunk wil give it a try. Only use Safari anyway, but have installed new Flash.

  7. The new Flash beta seems to have reduced the problem but not eradicated it. Just had a freeze right in the middle of writing an email in Apple Mail. Very strange.

  8. Reproducible.

  9. New beta is out..

  10. Have that problem with frequent temporary freezes but think that it is not flash related. Have flash-blocker installed in Safari.
    I do not see any related message in Console. Sometimes the CPU fan spins up, but activity monitor does not show any load peaks.

  11. this happens to me and i don’t have flash installed. seems to happen whenever i use facebook or skype for more than a few minutes… it’s terrible and my mba (mid 2008, clean lion install) is pretty much unusable! i’m gonna take it to the apple store and see what they say…

  12. I’m seeing weird freezes and similar messages in kernel.log. Do any of you ever have terminal open when this happens? I notice i can `ls` and see files, but trying to read a file gives me an input/output error.

  13. @rainer: do you have an SSD or TRIM enabler?
    @dd it can also be another adobe product, such as adobe AiR. what does Console.app say?
    @rick: yes, i have console open. what do you mean with “io error”?

  14. Hello. Thanks for the post!

    I updated to the latest Flash Beta 11d1.98, with Chrome 13 and 10.7.1 on MBA (no TRIM Enabler). I have yet to have this issue again, but I’ll report back if it happens!

    Thanks again,
    Mo

  15. @mo: keep in mind that chrome uses its own internal flash player! check the version here: http://www.adobe.com/software/flash/about/

  16. I thought that the Flash 11 beta had solved this, but I now think not. To test I uninstalled Flash completely and after a couple of hours the freeze recurred (while I was using Powerpoint). No buffer allocation size error in Console. If fact there is nothing at all in Console recorded from the time of the freeze or immediately before.

  17. Just reporting the same error that other users have had, even after updating to flash player 11 beta. Fans are spinning like crazy and temperatures are up pretty high. I’m going to try uninstalling flash player, but this isn’t a solution; its just a stopgap measure even IF it’s successful.

    here’s a sample:

    Sep 27 07:35:20 The-Golden-Ratio-3 kernel[0]: HFS: Very Low Disk: freeblks: 0, dangerlimit: 77
    Sep 27 07:36:35 The-Golden-Ratio-3 kernel[0]: (default pager): [KERNEL]: default_pager_backing_store_monitor – send LO_WAT_ALERT
    Sep 27 07:37:00 The-Golden-Ratio-3 kernel[0]: IOSurface: buffer allocation size is zero
    Sep 27 07:37:08 The-Golden-Ratio-3 kernel[0]: macx_swapoff SUCCESS
    Sep 27 07:37:08 The-Golden-Ratio-3 kernel[0]: (default pager): [KERNEL]: default_pager_backing_store_monitor – send LO_WAT_ALERT
    Sep 27 07:37:51 The-Golden-Ratio-3 kernel[0]: IOSurface: buffer allocation size is zero
    Sep 27 07:39:17 The-Golden-Ratio-3 kernel[0]: macx_swapoff SUCCESS
    Sep 27 07:46:08 The-Golden-Ratio-3 kernel[0]: IOSurface: buffer allocation size is zero
    Sep 27 07:53:51 The-Golden-Ratio-3 kernel[0]: IOSurface: buffer allocation size is zero
    Sep 27 07:55:51 The-Golden-Ratio-3 kernel[0]: IOSurface: buffer allocation size is zero
    Sep 27 09:43:38 The-Golden-Ratio-3 kernel[0]: IOSurface: buffer allocation size is zero
    Sep 27 09:44:13 The-Golden-Ratio-3 kernel[0]: IOSurface: buffer allocation size is zero
    Sep 27 09:44:51 The-Golden-Ratio-3 kernel[0]: IOSurface: buffer allocation size is zero
    Sep 27 09:46:40 The-Golden-Ratio-3 kernel[0]: IOSurface: buffer allocation size is zero
    Sep 27 09:47:19 The-Golden-Ratio-3 kernel[0]: IOSurface: buffer allocation size is zero
    Sep 27 09:47:49: — last message repeated 2 times —

    I have tons of space on my hard drive, and tons of free ram too. I’m not sure if it’s related, but “fseventsd” in Activity Monitor is using a HUGE amount of virtual memory (1.52GB). Repaired disk permissions on my drives, verified my disk and the external as well. Still nothing.

  18. Bryce, does it still happen with flash player 11 final and the 10.7.2 update?

  19. I have the issue but I never installed flash on my Lion MBP. But I have Chrome, so there is a copy somewhere…

  20. I’m still getting these messages on 10.7.2 with Flash version 11.0.1.152 installed.

  21. The reason for them is problems with Flash, I get most of these error when using Youtube.
    Solution: join HTML5 project on youtube – youtube will use HTML5 rather than flash to play videos. At this point using the system becomes bearable.

    Then to reduce these errors that are left try using OmniWeb instead of Chrome/Forefox/Safari. With Omniweb I dont get a sigle error of this type!

  22. 30/11… still the same issue here (OS X Lion 10.7.2, Safari 5.1.2, Flashplayer 11.1.102.55).

  23. I must agree with Jan. When I switched to OmniWeb, the messages disappeared. IMHO, OmniWeb is the best browser anyway, so why not use it instead of Safari?

  24. I’m having similar problem with Lion & Chrome and only when I try to play the Chrome widget “Dead Frontier” and a Facebook game that requires the Unity web player plug-in. My Intel Mac-Mini dead crashes with no warning and then restarts. The only notification I get that a crash took place is in Console:

    12/18/11 5:02:27.000 PM kernel: Previous Shutdown Cause: 3

    Chrome and any other programs I had running automatically start back up.
    Chrome, though, at the top asks me if I want to reopen the page that crashed–I say No-of course.

    Also it that Unity plug-in crashes in Safari and Firefox too, when I try to play the Facebook game Margaritaville. It’s only a Beta version so it’s not a browser problem in THAT case. Regardless, Chrome and Lion behave STRANGELY. I get weird warning messages occasionally about going to well-known safe websites like Google that it might not really be Google. I hit “ignore” but it is annoying. But if I restart my mac warnings go away for about 6 hours.

  25. more than 6 months after the issue was reported, (and we have Apple Mac OS X 10.7.2 and 10.7.3 in beta) there is still no update on this issue from Adobe. Please write your concerns to the Adobe Forums in the existing thread to have them fix the issues! Especially for SSD owners this is unacceptable!

  26. I’ve started getting this error recently just 2 days ago, I’ve never had this problem before, and the only thing I’ve changed was hooking up a new Wacom tablet (pen & touch), installed its software/drivers, it might’ve installed another program called Adobe Air (I really don’t know what that is but I’ve seen a pop up before that I closed).

    I’m using Chrome also, since it auto updates (along with flash), I don’t know if an update started messing with my system.

    My kernel_task will grow in size until it reaches 300-400mb and would slow my system to a crawl until I terminate Chrome and its flash plugin, then its memory usage will go back to 200, so as many have pointed out, it’s flash related.

    I’d just like to post this comment because for me, I’m pretty sure this problem started popping up just 2 days ago after I installed a new wacom tablet, I’m aware some probably doesn’t have the tablet hooked up, but I thought maybe it could help pinpoint the problem and maybe it has to do with the input devices others have. What I’m going to do is uninstall the wacom driver, unhooking it and see if the problem continue after a few hours.

  27. Well the problem still persist after uninstalling its drivers and unplugging my tablet, sigh.

  28. Same problem. My laptop heats up a lot too due to it, and slows down drastically sometimes.
    I have 10.7.2 installed.
    Ugh, it’s sooo annoying.

  29. still the same issue here (OS X Lion 10.7.3, Safari 5.1.3, Flashplayer 11.2.202.197)

  30. I made a huge effort drill down what is causing the problem:

    1. APPLE

    2. ADOBE (flash)

    1. Using Snow Leopard SSD (Vertex 3) drive – video on SKYPE freezing after 1 hour.
    2. I got freeze on movies.
    3. Returned SSD to OCZ that Apple found that SSD has SMART failure.
    4. Put original HDD to MaBook Pro (2011) – Installing LION
    5. Installed Lion on it – Freezing again
    6. APPLE vs ADOBE
    7. I noticed that I am freezing on that error mostly on videochat by using google talk plugin and can see the error in the console.
    8. By reading forums I assume its a flash, Uninstalled Flash.
    9. Still having the errors in the console – Assuming its APPLE – but not going to APPLE STORE – GENIUS knows nothing.
    10. As I am developing website I got an idea that if even you uninstall flash still you can get the script by inserting it into HTML – I went to one of these websites: VERDURA.COM – you would say nice HTML 5 + JQUERY – NO FLASH and as I am keep refreshing it I am getting error in the Console, so I am thinking what is wrong.
    11.Copied the code and removed all html except scripts and 1 of them was having SWF shockwave plugin.
    12. Made HTML file with that 1 line of code and keep refreshing it and getting the error in console – NOW IT IS FOR SURE FLASH to be exact SHOCKWAVE!!!!

    13. Break Point

    Major Question: Why I am getting errors when the Flash is gone?
    Answer: Looking for shockwave plugins, since CHROME is using own separated plugins I do

    “chrome://plugins/”

    Look what I have found even flash is gone:

    http://cl.ly/1b3z3j1R1r0j44201H19

    I disabled it, NO ERRORS SINCE THEN! Not even safari, firefox, chrome, console is clean.

    Hope it helps.

  31. I replaced plugin with older version:

    /Applications/Google Chrome.app/Contents/Versions/17.0.963.56/Google Chrome Framework.framework/Internet Plug-Ins/Flash Player Plugin for Chrome.plugin

    previously had Version: 11.1.102.62

    Replaced with and all works

    Version: 11.1.102.55
    Shockwave Flash 11.1 r102

  32. Correction to previous comment

    Additional info:

    I replaced plugin with older version and it doesnt work, you can try, but disabling it works. Maybe there is an older version and that can work.

    /Applications/Google Chrome.app/Contents/Versions/17.0.963.56/Google Chrome Framework.framework/Internet Plug-Ins/Flash Player Plugin for Chrome.plugin

  33. just tested with the current release Adobe Flash Player version 11.1.102.64 on Apple Mac OS X 10.7.2 (Macbook Pro Quad i7): same issues and errors still. Flash sucks big time!

  34. Try this turn off all browsers and launch photo booth. Click Effects and click arrows to browse effects. What do you see in the console?

    Photo booth is not flash…

  35. rentgeen: as i don’t have photobooth (de-installed it because i really don’t need it) i cannot perform your test. what are your results? same error message? if so, that error is not limited to adobe flash, it is a “regular” system error. although flash should not throw that error, or at least not spam our syslogs.

  36. nanofunk:

    Thats what I am saying, its not only about flash is about component how is basically flash and photo both using and that part is bad, I think its graphic card related, so maybe its a kext for card not sure, basically when you do that Photo Booth procedure above, there are 9 images and you click arrow for next effects you gonna get 9 IO errors 1 for each frame – Photo booth its not flash.

  37. For example I just bought macbook air for 1 friend, it came, turned it on an immediately tried photo booth – 9 IO Surface Errors and I didnt even install anything yet….

    Steve would be angry :)

  38. i have the same problem, my kernel log shows “kernel[0]: disk0s2: I/O error” and “IOSurface: buffer allocation size is zero” , i am not very sure they’re the same problem.

  39. Please keep up the good work ~ looking forward to hearing more on this problem


Leave a comment