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.

MacBook Air unstable after Yosemite latest update

Since the latest Yosemite update (few weeks ago) my Mac has been unstable crashing at least 5 times. I ran a hardware scan but no red flag. I also made a clean install (erase disk ...) yesterday and last night my laptop crashed again.

In addition to the wifi problem when resuming activity this is very frustrating 😠. Anyone with the same issue?

MacBook Air, OS X Yosemite (10.10.3), 13 inch from mid 2012

Posted on May 5, 2015 6:23 AM

Reply
8 replies

May 5, 2015 7:34 AM in response to loliea

These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.

Launch the Console application in any of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad and start typing the name.

In the Console window, select

DIAGNOSTIC AND USAGE INFORMATION System Diagnostic Reports

(not Diagnostic and Usage Messages) from the log list on the left. If you don't see that list, select

View Show Log List

from the menu bar.

There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of reports. A panic report has a name that begins with "Kernel" and ends in ".panic". Select the most recent one. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.

If you don't see any reports listed, but you know there was a panic, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.

In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)

Please don’t post other kinds of diagnostic report.

I know the report is long, maybe several hundred lines. Please post all of it anyway.

May 5, 2015 8:37 AM in response to Linc Davis

No kernel panic since reinstall of Yosemite but I have the following crash report:

com.apple.AmbientDisplayAgent_2015-05-04-221400_elies-MacBook-Air.crash

Process: com.apple.AmbientDisplayAgent [191]

Path: /System/Library/PrivateFrameworks/AmbientDisplay.framework/Versions/A/XPCServic es/com.apple.AmbientDisplayAgent.xpc/Contents/MacOS/com.apple.AmbientDisplayAgen t

Identifier: com.apple.AmbientDisplayAge

Version: 1.0 (1)

Code Type: X86-64 (Native)

Parent Process: launchd [1]

Responsible: com.apple.AmbientDisplayAgent [191]

User ID: 0

Date/Time: 2015-05-04 22:13:53.231 -0700

OS Version: Mac OS X 10.10.3 (14D136)

Report Version: 11

Anonymous UUID: xxxxxxxxxxxxx

Time Awake Since Boot: 23 seconds

Crashed Thread: 2 Dispatch queue: com.apple.root.default-qos.overcommit

Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:

abort() called

*** error for object 0x7fbbb2f00178: incorrect checksum for freed object - object was probably modified after being freed.

Thread 0:: Dispatch queue: com.apple.main-thread

0 libsystem_kernel.dylib 0x00007fff91d3c4de mach_msg_trap + 10

1 libsystem_kernel.dylib 0x00007fff91d3b64f mach_msg + 55

2 com.apple.CoreFoundation 0x00007fff9382deb4 __CFRunLoopServiceMachPort + 212

3 com.apple.CoreFoundation 0x00007fff9382d37b __CFRunLoopRun + 1371

4 com.apple.CoreFoundation 0x00007fff9382cbd8 CFRunLoopRunSpecific + 296

5 com.apple.Foundation 0x00007fff8ef53a59 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278

6 com.apple.Foundation 0x00007fff8efc917f -[NSRunLoop(NSRunLoop) run] + 74

7 libxpc.dylib 0x00007fff91d1792e _xpc_objc_main + 751

8 libxpc.dylib 0x00007fff91d19060 xpc_main + 490

9 com.apple.AmbientDisplayAgent 0x00000001042cb476 main + 269

10 libdyld.dylib 0x00007fff8fab45c9 start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager

0 libsystem_kernel.dylib 0x00007fff91d42232 kevent64 + 10

1 libdispatch.dylib 0x00007fff8d396a6a _dispatch_mgr_thread + 52

Thread 2 Crashed:: Dispatch queue: com.apple.root.default-qos.overcommit

0 libsystem_kernel.dylib 0x00007fff91d41286 __pthread_kill + 10

1 libsystem_c.dylib 0x00007fff8d5b7b53 abort + 129

2 libsystem_malloc.dylib 0x00007fff90abae06 szone_error + 625

3 libsystem_malloc.dylib 0x00007fff90ab2f55 tiny_free_list_remove_ptr + 161

4 libsystem_malloc.dylib 0x00007fff90ab11ae szone_free_definite_size + 1583

5 libdispatch.dylib 0x00007fff8d393c13 _dispatch_client_callout + 8

6 libdispatch.dylib 0x00007fff8d399074 _dispatch_mach_barrier_invoke + 86

7 libdispatch.dylib 0x00007fff8d393c13 _dispatch_client_callout + 8

8 libdispatch.dylib 0x00007fff8d397365 _dispatch_queue_drain + 1100

9 libdispatch.dylib 0x00007fff8d398a10 _dispatch_mach_invoke + 232

10 libdispatch.dylib 0x00007fff8d3966b7 _dispatch_root_queue_drain + 463

11 libdispatch.dylib 0x00007fff8d3a4fe4 _dispatch_worker_thread3 + 91

12 libsystem_pthread.dylib 0x00007fff8784a637 _pthread_wqthread + 729

13 libsystem_pthread.dylib 0x00007fff8784840d start_wqthread + 13

Thread 3:: Dispatch queue: com.apple.root.default-qos

0 libsystem_kernel.dylib 0x00007fff91d4148a __semwait_signal + 10

1 libsystem_c.dylib 0x00007fff8d5d8e50 usleep + 54

2 com.apple.AmbientDisplay 0x00000001042dbbf3 __87-[DeviceGammaContext interpolateCurrentTableToDestinationTableOverTime:withPreemption:]_block_invoke + 159

3 libdispatch.dylib 0x00007fff8d398323 _dispatch_call_block_and_release + 12

4 libdispatch.dylib 0x00007fff8d393c13 _dispatch_client_callout + 8

5 libdispatch.dylib 0x00007fff8d39688f _dispatch_root_queue_drain + 935

6 libdispatch.dylib 0x00007fff8d3a4fe4 _dispatch_worker_thread3 + 91

7 libsystem_pthread.dylib 0x00007fff8784a637 _pthread_wqthread + 729

8 libsystem_pthread.dylib 0x00007fff8784840d start_wqthread + 13

Thread 4:

0 libsystem_kernel.dylib 0x00007fff91d4194a __workq_kernreturn + 10

1 libsystem_pthread.dylib 0x00007fff8784840d start_wqthread + 13

Thread 5:

0 libsystem_kernel.dylib 0x00007fff91d4194a __workq_kernreturn + 10

1 libsystem_pthread.dylib 0x00007fff8784840d start_wqthread + 13

Thread 6:

0 libsystem_kernel.dylib 0x00007fff91d3c4de mach_msg_trap + 10

1 libsystem_kernel.dylib 0x00007fff91d3b64f mach_msg + 55

2 com.apple.CoreFoundation 0x00007fff9382deb4 __CFRunLoopServiceMachPort + 212

3 com.apple.CoreFoundation 0x00007fff9382d37b __CFRunLoopRun + 1371

4 com.apple.CoreFoundation 0x00007fff9382cbd8 CFRunLoopRunSpecific + 296

5 com.apple.CoreFoundation 0x00007fff938e4671 CFRunLoopRun + 97

6 com.apple.AmbientDisplayAgent 0x00000001042cc32f 0x1042ca000 + 9007

7 libsystem_pthread.dylib 0x00007fff8784a268 _pthread_body + 131

8 libsystem_pthread.dylib 0x00007fff8784a1e5 _pthread_start + 176

9 libsystem_pthread.dylib 0x00007fff8784841d thread_start + 13

Thread 7:

0 libsystem_kernel.dylib 0x00007fff91d4194a __workq_kernreturn + 10

1 libsystem_pthread.dylib 0x00007fff8784840d start_wqthread + 13

Thread 2 crashed with X86 Thread State (64-bit):

rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00000001043f9b28 rdx: 0x0000000000000000

rdi: 0x0000000000002d37 rsi: 0x0000000000000006 rbp: 0x00000001043f9b50 rsp: 0x00000001043f9b28

r8: 0x00000000fffffff0 r9: 0x0000000000000010 r10: 0x000000000c000000 r11: 0x0000000000000206

r12: 0x0000000000000001 r13: 0x00000001043ff000 r14: 0x00000001043fa000 r15: 0x00000001042d4000

rip: 0x00007fff91d41286 rfl: 0x0000000000000206 cr2: 0x00007fff7773efd8


Logical CPU: 0

Error Code: 0x02000148

Trap Number: 133

Binary Images:

0x1042ca000 - 0x1042cdff7 com.apple.AmbientDisplayAgent (1.0 - 1) <6D12A516-9EF6-3845-894F-8865CB89479E> /System/Library/PrivateFrameworks/AmbientDisplay.framework/Versions/A/XPCServic es/com.apple.AmbientDisplayAgent.xpc/Contents/MacOS/com.apple.AmbientDisplayAgen t

0x1042d9000 - 0x1042e0ff7 com.apple.AmbientDisplay (1.0 - 1) <A0B6599F-072C-379E-B921-A8227FAC1B2C> /System/Library/PrivateFrameworks/AmbientDisplay.framework/Versions/A/AmbientDi splay

May 5, 2015 8:59 AM in response to loliea

1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.

The test works on OS X 10.7 ("Lion") and later. I don't recommend running it on older versions of OS X. It will do no harm, but it won't do much good either.

Don't be put off by the complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.

2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.

There are ways to back up a computer that isn't fully functional. Ask if you need guidance.

3. Below are instructions to run a UNIX shell script, a type of program. As I wrote above, it changes nothing. It doesn't send or receive any data on the network. All it does is to generate a human-readable report on the state of the computer. That report goes nowhere unless you choose to share it. If you prefer, you can act on it yourself without disclosing the contents to me or anyone else.

You should be wondering whether you can believe me, and whether it's safe to run a program at the behest of a stranger. In general, no, it's not safe and I don't encourage it.

In this case, however, there are a couple of ways for you to decide whether the program is safe without having to trust me. First, you can read it. Unlike an application that you download and click to run, it's transparent, so anyone with the necessary skill can verify what it does.

You may not be able to understand the script yourself. But variations of it have been posted on this website thousands of times over a period of years. The site is hosted by Apple, which does not allow it to be used to distribute harmful software. Any one of the millions of registered users could have read the script and raised the alarm if it was harmful. Then I would not be here now and you would not be reading this message. See, for example, this discussion.

Nevertheless, if you can't satisfy yourself that these instructions are safe, don't follow them. Ask for other options.

4. Here's a general summary of what you need to do, if you choose to proceed:

☞ Copy a particular line of text to the Clipboard.

☞ Paste into the window of another application.

☞ Wait for the test to run. It usually takes a few minutes.

☞ Paste the results, which will have been copied automatically, back into a reply on this page.

These are not specific instructions; just an overview. The details are in parts 7 and 8 of this comment. The sequence is: copy, paste, wait, paste again. You don't need to copy a second time.

5. Try to test under conditions that reproduce the problem, as far as possible. For example, if the computer is sometimes, but not always, slow, run the test during a slowdown.

You may have started up in safe mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.

6. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.

7. Load this linked web page (on the website "Pastebin.") The title of the page is "Diagnostic Test." Below the title is a text box headed by three small icons. The one on the right represents a clipboard. Click that icon to select the text, then copy it to the Clipboard on your computer by pressing the key combination command-C.

If the text doesn't highlight when you click the icon, select it by triple-clicking anywhere inside the box. Don't select the whole page, just the text in the box.

8. Launch the built-in Terminal application in any of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad and start typing the name.

Click anywhere in the Terminal window to activate it. Paste from the Clipboard into the window by pressing command-V, then press return. The text you pasted should vanish immediately.

9. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter

exec bash

and press return. Then paste the script again.

10. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. If you don't know the password, or if you prefer not to enter it, just press return three times at the password prompt. Again, the script will still run.

If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.

11. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, a series of lines will appear in the Terminal window like this:

[Process started]

Part 1 of 8 done at … sec

Part 8 of 8 done at … sec

The test results are on the Clipboard.

Please close this window.

[Process completed]

The intervals between parts won't be exactly equal, but they give a rough indication of progress. The total number of parts may be different from what's shown here.

Wait for the final message "Process completed" to appear. If you don't see it within about ten minutes, the test probably won't complete in a reasonable time. In that case, press the key combination control-C or command-period to stop it and go to the next step. You'll have incomplete results, but still something.

12. When the test is complete, or if you stopped it because it was taking too long, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.

At the top of the results, there will be a line that begins with the words "Start time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.

If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.

13. When you post the results, you might see an error message on the web page: "You have included content in your post that is not permitted," or "The message contains invalid characters." That's a bug in the forum software. Please post the test results on Pastebin, then post a link here to the page you created.

14. This is a public forum, and others may give you advice based on the results of the test. They speak for themselves, not for me. The test itself is harmless, but whatever else you're told to do may not be. For others who choose to run it, I don't recommend that you post the test results on this website unless I asked you to.

______________________________________________________________

Copyright © 2014, 2015 by Linc Davis. As the sole author of this work (including the referenced "Diagnostic Test"), I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

May 5, 2015 11:40 AM in response to Linc Davis

Wow this script is way over my head, you're good in perl...

I don't feel comfortable running this script without clearly understand what it is doing. This is the internet after all :-)

I ran malware and adware program and even after the fresh install of Yosemite they found some issues. I cleaned-up everything and rebooted,

If I get more stability issue I will probably come back to the forum following-up on the thread.

Thanks Davis for the detail instructions.

MacBook Air unstable after Yosemite latest update

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