Login Item corrupted and can not be deleted from Users & Groups after updating to macOS High Sierra 10.13.1

Originator:karl
Number:rdar://35355838 Date Originated:2017-11-05
Status:Closed / Dupe of 33524015 (Closed) Resolved:
Product: Product Version:
Classification: Reproducible:
 
Summary:

This is a very similar report to bug `34857430`.  The only difference is that this is now occurring on OSX 10.13.1 (17B48).  

If there is in fact a solution, please share. Otherwise, this is a report of the same bug on a new build of OSX.  The reported "solution" to this bug was to remove the `~/Library/Application\ Support/com.apple.backgroundtaskmanagementagent/backgrounditems.btm` file.

This worked, until after updating to 10.13.1.  Now, the `backgrounditems.btm` file is not present on my machine, therefore it can not be removed.

Steps to Reproduce:
same as `34857430`, except now on macOS 10.13.1

Expected Results:
same as `34857430`

Here is a truncated stack trace.  The same one (and similar ones) is available in the github issues link below.

```
Process:               Slack [31246]
Path:                  /Applications/Slack.app/Contents/MacOS/Slack
Identifier:            com.tinyspeck.slackmacgap
Version:               2.8.2 (4331)
App Item ID:           803453959
App External ID:       824071960
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Slack [31246]
User ID:               501

Date/Time:             2017-11-05 12:24:27.271 -0800
OS Version:            Mac OS X 10.13.1 (17B48)
Report Version:        12
Bridge OS Version:     3.0 (14Y661)
Anonymous UUID:        63597570-A405-33E8-EEA0-EE3FDB7D5E10

Sleep/Wake UUID:       B0EA3282-6FDC-4116-84EC-40124798980E

Time Awake Since Boot: 400000 seconds
Time Since Wake:       350000 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Illegal instruction: 4
Termination Reason:    Namespace SIGNAL, Code 0x4
Terminating Process:   exc handler [0]

Application Specific Information:
*** CFEqual() called with NULL first argument ***

Thread 0 Crashed:: CrBrowserMain  Dispatch queue: com.apple.main-thread
0   com.apple.CoreFoundation      	0x00007fff4415a89c CFEqual + 620


 
```


Actual Results:
same as 34857430

```
### Error:18446744073709551581 File:/BuildRoot/Library/Caches/com.apple.xbs/Sources/AccountsPref/AccountsPref-285/LoginItem.m Line:68
```

and come from the `com.apple.preferences.users.remoteservice` process.


Version/Build:
OS Version:            Mac OS X 10.13.1 (17B48)


Configuration:
Here's some additional information documenting this problem:

https://github.com/electron/electron/issues/10561#issuecomment-334634029

https://discussions.apple.com/thread/8096021
https://discussions.apple.com/thread/8086931
https://discussions.apple.com/thread/8089760

Comments

is now closed / duplicate of 33524015.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!