Apple Intelligence is now available on iPhone, iPad, and Mac!

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

Ventura 13.2 log and email issue

I have updated my iMac (4.2 GHz i7 27" 2017) to Ventura 13.2. Since the update I started noticing that the launchd logs were growing at a very fast rate. I have attached a portion of the logs for inspection. It seems that a process is attempting to start, but there is not process to handle this. I have attempted to isolate the cause and suspect it has something to do with users and user id's. Here is a portion of the log - you can see from the timestamps that this is an incessant issue. Does anyone have any ideas on this? Please let me know if I can provide more information, I will gladly do so.


launchd log is attached as additional text.



Another issue that is new: the Mail program keeps crashing! It starts up and I can read emails, but when I attempt to delete emails from the "All Trash" folder, clicking on "All Trash: will cause the program to crash. It is sending the reports to Apple, hopefully a response is forthcoming.


Any ideas would be appreciated ... I think both of these issues could be related to user id's and security by the way to logs look.


Thank you in advance.

iMac Line (2012 and Later)

Posted on Jan 30, 2023 5:04 AM

Reply
Question marked as Top-ranking reply

Posted on Jan 31, 2023 4:52 PM

Hi jterry,


Thanks for coming to Apple Support Communities for help today.


Since we can't interpret the launch logs you have included here, let's focus on the Mail app.


Does this issue with Mail happen in safe mode? This can clear cache and prevent interference from third-party apps. Here's how to start in safe mode: How to use safe mode on your Mac.


"Intel processor


  1. Turn on or restart your Mac, then immediately press and hold the Shift key as your Mac starts up.
  2. Release the key when you see the login window, then log in to your Mac. 
  3. You might be asked to log in again. On either the first or second login window, you should see ”Safe Boot” in the upper-right corner of the window."


Let us know what happens in safe mode and when you boot up normally again.


Have a fantastic day!






Similar questions

8 replies
Question marked as Top-ranking reply

Jan 31, 2023 4:52 PM in response to jterry

Hi jterry,


Thanks for coming to Apple Support Communities for help today.


Since we can't interpret the launch logs you have included here, let's focus on the Mail app.


Does this issue with Mail happen in safe mode? This can clear cache and prevent interference from third-party apps. Here's how to start in safe mode: How to use safe mode on your Mac.


"Intel processor


  1. Turn on or restart your Mac, then immediately press and hold the Shift key as your Mac starts up.
  2. Release the key when you see the login window, then log in to your Mac. 
  3. You might be asked to log in again. On either the first or second login window, you should see ”Safe Boot” in the upper-right corner of the window."


Let us know what happens in safe mode and when you boot up normally again.


Have a fantastic day!






Jan 31, 2023 7:51 PM in response to jterry

Hey jterry,


We're great that resolved the mail issue! Thanks for keeping us updated with the results.


For your login activity, let's try these steps below to see if it helps:


Remove login items to resolve startup problems on your Mac


1. On your Mac, choose Apple menu  > System Settings, click General  in the sidebar, then click Login Items on the right. (You may need to scroll down.)

2. Make a list of the login items in the Open at Login list—you’ll need to remember them later.
3. Select all of the login items, then click the Remove button .
4. Choose Apple menu  > Restart.

5. If this solves the problem, open Login Items settings again, add the login items one at a time, and restart your Mac after adding each one.

When the problem occurs again, follow the steps above to remove only the last login item you added.


If the issue persists, we recommend that you get in touch with Apple Support team next: Contact Apple for support and service


Cheers!


Jan 31, 2023 7:27 PM in response to MichaelB2019

I shut down the machine and rebooted into Safe Mode -- was unable to "crash" mail Yay!


I then rebooted machine in "normal" mode, started up email and was unable to cause it to crash. Apparently the issue has disappeared!


I am still getting all sorts of login activity in the launchd.log. It is amounting to about 4-5 megabytes per hour. Most of the information is regarding a process that can't start because of a bad getpwuid entry. It appears that the UID is coming from some sort of cloud interaction during the boot up. If there is a way to get the logs to you, please let me know. I would surely like to solve this one.


Thank you very much for your help on the email -- !!!


Have a great rest of your day.


Feb 1, 2023 5:05 PM in response to BrianK90

I turned off all the login items and restarted. No issues with mail, but I am still having an issue with a process which starts up and just keeps trying to do something -- what I don't know. Have looked everywhere I could think of to see what is happening, but I am at a loss. Here are a few lines where the process starts from the launchd.log:


(user/2146959360) <Notice>: created

2023-02-01 16:50:43.294773 (user/2146959360) <Notice>: entering bootstrap mode

2023-02-01 16:50:43.296632 (com.apple.FileProvider) <Error>: Unknown key for plist importer (key: com.apple.xpc.activity type: dictionary)

2023-02-01 16:50:43.300678 (user/2146959360/com.apple.cfprefsd.xpc.agent) <Notice>: draining messages from com.apple.cfprefsd.agent

2023-02-01 16:50:43.302343 (com.apple.distnoted.xpc.agent) <Notice>: This service is defined to be constantly running and is inherently inefficient.

2023-02-01 16:50:43.302358 (user/2146959360/com.apple.distnoted.xpc.agent) <Notice>: internal event: WILL_SPAWN, code = 0

2023-02-01 16:50:43.302362 (user/2146959360/com.apple.distnoted.xpc.agent) <Notice>: service state: spawn scheduled

2023-02-01 16:50:43.302363 (user/2146959360/com.apple.distnoted.xpc.agent) <Notice>: service state: spawning

2023-02-01 16:50:43.302396 (user/2146959360/com.apple.distnoted.xpc.agent) <Notice>: launching: speculative

2023-02-01 16:50:43.302666 (user/2146959360/com.apple.distnoted.xpc.agent [384]) <Notice>: xpcproxy spawned with pid 384

2023-02-01 16:50:43.302671 (user/2146959360/com.apple.distnoted.xpc.agent [384]) <Notice>: internal event: SPAWNED, code = 0

2023-02-01 16:50:43.302673 (user/2146959360/com.apple.distnoted.xpc.agent [384]) <Notice>: service state: xpcproxy

2023-02-01 16:50:43.303333 (user/2146959360/com.apple.distnoted.xpc.agent [384]) <Notice>: internal event: SOURCE_ATTACH, code = 0

2023-02-01 16:50:43.305732 (user/2146959360/com.apple.lsd) <Error>: Event stream com.apple.launchservices.LSObserver is already monitored by system/com.apple.lsd [216], ignoring

2023-02-01 16:50:43.306464 (com.apple.coreimportd) <Error>: Unknown key for plist importer (key: NoEnvironmentVariables type: dictionary)

2023-02-01 16:50:43.317167 (user/2146959360) <Notice>: exiting bootstrap mode

2023-02-01 16:50:43.317349 (user/2146959360) <Warning>: failed lookup: name = com.apple.BTServer.cloudpairing, requestor = bluetoothd[150], error = 3: No such process

2023-02-01 16:50:43.317806 (user/88) <Warning>: failed lookup: name = com.apple.BluetoothCloudServices, requestor = bluetoothd[150], error = 3: No such process

2023-02-01 16:50:43.319641 (user/2146959360/com.apple.distnoted.xpc.agent [384]) <Warning>: Could not find uid associated with service: 0: Undefined error: 0 2146959360

2023-02-01 16:50:43.319650 (user/2146959360/com.apple.distnoted.xpc.agent [384]) <Error>: Service could not initialize: getpwuid(2146959360), error 0x72 - The specified username does not exist

2023-02-01 16:50:43.319653 (user/2146959360/com.apple.distnoted.xpc.agent [384]) <Error>: initialization failure: 22D49: xpcproxy + 23263 [170][84DD29BF-D516-3DD6-BC71-9905E5072384]: 0x72

2023-02-01 16:50:43.319655 (user/2146959360/com.apple.distnoted.xpc.agent [384]) <Notice>: internal event: INIT, code = 114

2023-02-01 16:50:43.319881 (user/2146959360/com.apple.distnoted.xpc.agent [384]) <Notice>: xpcproxy exited due to exit(78)

2023-02-01 16:50:43.319890 (user/2146959360/com.apple.distnoted.xpc.agent [384]) <Notice>: exited due to exit(78)

2023-02-01 16:50:43.319892 (user/2146959360/com.apple.distnoted.xpc.agent [384]) <Notice>: already handled failed init, ignoring

2023-02-01 16:50:43.319894 (user/2146959360/com.apple.distnoted.xpc.agent [384]) <Notice>: service state: exited

2023-02-01 16:50:43.319896 (user/2146959360/com.apple.distnoted.xpc.agent [384]) <Notice>: internal event: EXITED, code = 0

2023-02-01 16:50:43.319898 (user/2146959360) <Notice>: service inactive: com.apple.distnoted.xpc.agent


I really don't know what to do -- the process was originally being kicked off by a user that had been added to appease Microsoft, I deleted the use and it did get rid of one of the statue processes in /var/log/db/com.apple.xpc.launchd -- after the restart, got this log in launchd.log. Don't really have any idea where this user thing is coming from.


Thanks for your help, if anyone has any ideas I am sure open for suggestions ! Thanks again for the help, it is appreciated.

Feb 7, 2023 2:19 AM in response to jterry

Hello,


I have the exact same problem in my launchd.log with Ventura 13.2 clean install (MacBook Pro 2019 16").


This problem seems to appear even after a fresh install (without anything installed) when you login to iCloud and reboot the Mac. After that, the error in the log are present.


I have already opened a case : FB11974985


2023-02-07 11:18:29.160344 (user/2146959360/com.apple.distnoted.xpc.agent) <Notice>: service state: spawning
2023-02-07 11:18:29.160391 (user/2146959360/com.apple.distnoted.xpc.agent) <Notice>: launching: inefficient
2023-02-07 11:18:29.161389 (user/2146959360/com.apple.distnoted.xpc.agent [4531]) <Notice>: xpcproxy spawned with pid 4531
2023-02-07 11:18:29.161420 (user/2146959360/com.apple.distnoted.xpc.agent [4531]) <Notice>: internal event: SPAWNED, code = 0
2023-02-07 11:18:29.161424 (user/2146959360/com.apple.distnoted.xpc.agent [4531]) <Notice>: service state: xpcproxy
2023-02-07 11:18:29.161427 (user/2146959360/com.apple.distnoted.xpc.agent [4531]) <Notice>: deferred event: domain spawn response: 0
2023-02-07 11:18:29.161434 (user/2146959360/com.apple.distnoted.xpc.agent [4531]) <Notice>: internal event: SOURCE_ATTACH, code = 0
2023-02-07 11:18:29.165625 (user/2146959360/com.apple.distnoted.xpc.agent [4531]) <Warning>: Could not find uid associated with service: 0: Undefined error: 0 2146959360
2023-02-07 11:18:29.165635 (user/2146959360/com.apple.distnoted.xpc.agent [4531]) <Error>: Service could not initialize: getpwuid(2146959360), error 0x72 - The specified username does not exist
2023-02-07 11:18:29.165640 (user/2146959360/com.apple.distnoted.xpc.agent [4531]) <Error>: initialization failure: 22D49: xpcproxy + 23263 [170][84DD29BF-D516-3DD6-BC71-9905E5072384]: 0x72
2023-02-07 11:18:29.165643 (user/2146959360/com.apple.distnoted.xpc.agent [4531]) <Notice>: internal event: INIT, code = 114
2023-02-07 11:18:29.165981 (user/2146959360/com.apple.distnoted.xpc.agent [4531]) <Notice>: xpcproxy exited due to exit(78)
2023-02-07 11:18:29.165999 (user/2146959360/com.apple.distnoted.xpc.agent [4531]) <Notice>: exited due to exit(78)
2023-02-07 11:18:29.166003 (user/2146959360/com.apple.distnoted.xpc.agent [4531]) <Notice>: already handled failed init, ignoring
2023-02-07 11:18:29.166006 (user/2146959360/com.apple.distnoted.xpc.agent [4531]) <Notice>: service state: exited
2023-02-07 11:18:29.166010 (user/2146959360/com.apple.distnoted.xpc.agent [4531]) <Notice>: internal event: EXITED, code = 0
2023-02-07 11:18:29.166013 (user/2146959360) <Notice>: service inactive: com.apple.distnoted.xpc.agent




Ventura 13.2 log and email issue

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