Results 1 to 6 of 6
  1. #1
    com.apple.powerchime (launchd) fails and crashes MBA
    I have a condo that I visit a five or six days each month. At the condo I have an old MBA (10.13.6) that performs a variety of tasks and runs 24/7 whether I'm there or not.

    A couple of days after I left last time I was unable to reach the machine remotely, so I was anxious to see what the logs showed.

    When I arrived a few days ago the logs were remarkably uninformative except that the following line was repeated over 850 times just before the machine became unresponsive:

    Code:
    com.apple.xpc.launchd[1] (com.apple.powerchime): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
    (All this does is control whether or not the power chime is enabled.)

    Anyone have any idea why this would run 850 times and then cause the machine to grind to a halt?

    I just checked the current system log and com.apple.powerchime doesn't appear at all.

  2. #2
    com.apple.powerchime (launchd) fails and crashes MBA
    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    Location
    MA
    Posts
    12,391
    Rep Power
    24
    I assume you have the MBA plugged in all the time and powerchime doesn't control the chime, but rather chimes when the charger is plugged in. Since this is a unattended Mac, you might want to disable that functionality so that it doesn't start to chime for no reason.

    Open a Terminal window and type the following
    Code:
    sudo defaults write com.apple.PowerChime ChimeOnAllHardware -bool false
    You will be prompted for your password, enter it for the command to succeed.

    Once that is done, kill powerchime if it is running with
    Code:
    sudo killall PowerChime
    You might or might not need to enter your password depending on how quickly you type the two command back to back.

    While annoying, the respawning of this application shouldn't have made the MBA unresponsive though.
    --
    Regards
    ...Ashwin


  3. #3
    Although the MBA is connected to power all the time I have it set to restart shortly after midnight every day. It chimes on restart. I agree that the respawn shouldn’t have made it MBA unresponsive. But, the last log entry on October 16 was the respawn. The next log entry was when I rebooted it on November 22. When I got there in the 22nd the fan was running like crazy, but the screen was blank and it was otherwise unresponsive.

  4. #4
    com.apple.powerchime (launchd) fails and crashes MBA
    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    Location
    MA
    Posts
    12,391
    Rep Power
    24
    The chime on start is unrelated to the PowerChime application which only chimes when the charger is plugged in.
    --
    Regards
    ...Ashwin


  5. #5
    com.apple.powerchime (launchd) fails and crashes MBA
    MacInWin's Avatar
    Member Since
    Jan 01, 2009
    Location
    Winchester, VA
    Posts
    7,536
    Your Mac's Specs
    MBP 15" Mid 2015, iPhone 11 Pro, an iMac, plus ATVs, AWatch, MacMini
    Rep Power
    28
    Could there have been a power failure? When the power returned, the chime would trigger just as if it were plugged in at that time.
    Jake

  6. #6
    I guess we've never owned a machine with PowerChime which is why I don't know anything about it.

    The subject machine is a 2009 MBA with a MagSafe power connector. I don't think it has PowerChime:

    Code:
    Axe:~ mnewman$ sudo /System/Library/CoreServices/PowerChime.app/Contents/MacOS/PowerChime
    Password:
    2019-11-24 13:05:53.801 PowerChime[9000:205343] PowerChime: ========= powerchime starting =============
    2019-11-24 13:05:53.810 PowerChime[9000:205343] PowerChime: PowerChime: chime enabled by hardware: 0
    2019-11-24 13:05:53.810 PowerChime[9000:205343] PowerChime: PowerChime disabled - ChimeOnNoHardware default: 0
    So, why did the application get respawned until the machine crashed?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 10-01-2019, 05:10 AM
  2. OpenGL ES1 perspective with depth buffer fails. Square fails to render
    By god0fgod in forum macOS - Development and Darwin
    Replies: 0
    Last Post: 08-20-2010, 11:46 AM
  3. launchd problems
    By DeviousDan in forum macOS - Operating System
    Replies: 0
    Last Post: 02-09-2009, 10:47 PM
  4. Mac 10.4: Launchd Problem
    By Pankaj in forum macOS - Development and Darwin
    Replies: 0
    Last Post: 02-19-2008, 03:05 AM
  5. Getting launchd working
    By dr_springfield in forum macOS - Development and Darwin
    Replies: 0
    Last Post: 05-10-2005, 02:40 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •