Safari pinwheels and Mac runs slow in one account, lots of "nsurlstoraged" crash reports
Safari now usually takes a long time to open windows and tabs and enter urls. Sometimes this makes everything else on this user account slow. The problem does not exist in other user accounts. The problem still exists when doing a safe boot.
I'm not sure when the problem first started but I did notice the Mac and particularly Spotlight ran slower after manually installing the OS X El Capitan 10.11.2 Combo Update. I rebuilt the Spotlight index using the System Preference method and through Onyx. I've reset the SMC.
I've also cleared cookies, disabled Safari extensions, and manually deleted the "com.apple.Safari" folder from ~/Library/Caches. Maybe not in the right order or timing though.
Checking the Console I see in the User Diagnostics Reports section many "nsurlstoraged" crashes listed. Sometimes new ones get generated without the user doing anything, often if not always new ones are generated when a new tab or window is opened.
Here's an example nsurlstoraged crash report minus most of the "Binary Images" section:
Process: nsurlstoraged [860]
Path: /usr/libexec/nsurlstoraged
Identifier: nsurlstoraged
Version: 760.5.1
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: nsurlstoraged [860]
User ID: 501
Date/Time: 2016-06-03 09:53:07.770 -0700
OS Version: Mac OS X 10.11.5 (15F34)
Report Version: 11
Anonymous UUID: E411A541-9861-5B4D-6C9B-BCD80B3D1BAA
Time Awake Since Boot: 6000 seconds
System Integrity Protection: enabled
Crashed Thread: 1 Dispatch queue: com.apple.cookied.cookieserver
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00007fbbbdb0d885
Exception Note: EXC_CORPSE_NOTIFY
VM Regions Near 0x7fbbbdb0d885:
MALLOC_SMALL 00007fbb8c000000-00007fbb8d000000 [ 16.0M] rw-/rwx SM=PRV
-->
STACK GUARD 00007fff556e7000-00007fff58ee7000 [ 56.0M] ---/rwx SM=NUL stack guard for thread 0
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff9af0df72 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff9af0d3b3 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8b2f91c4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8b2f868c __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff8b2f7ed8 CFRunLoopRunSpecific + 296
5 com.apple.CoreFoundation 0x00007fff8b3399b1 CFRunLoopRun + 97
6 com.apple.CFNetwork 0x00007fff8752b407 _nsurlstoraged_main + 851
7 libdyld.dylib 0x00007fff8f5135ad start + 1
Thread 1 Crashed:: Dispatch queue: com.apple.cookied.cookieserver
0 com.apple.CFNetwork 0x00007fff87543cfd CompactCookieHeader::getEnumeratedString(CookieData::FieldNames) const + 239
1 com.apple.CFNetwork 0x00007fff87543ac3 CompactCookieHeader::assertCookieValid(unsigned char) const + 75
2 com.apple.CFNetwork 0x00007fff874acc52 CompactCookieArray::assertCookiesValid(unsigned char) const + 182
3 com.apple.CFNetwork 0x00007fff874acb7f CompactCookieArray::fastValidateAndReturnOrReleaseAndReturnNil(CompactCookieArr ay const*) + 19
4 com.apple.CFNetwork 0x00007fff8768fcdf BinaryCookieStorage::readCookiesFromStream(__CFReadStream*, MemoryCookies*, __CFData const**) + 427
5 com.apple.CFNetwork 0x00007fff8758e1fe DiskCookieStorage::readFileToCookies(MemoryCookies*) + 168
6 com.apple.CFNetwork 0x00007fff8758db13 DiskCookieStorage::initialize(MemoryCookies const*) + 207
7 com.apple.CFNetwork 0x00007fff8769a003 PersistentCookieServer::completeInitialization(__CFString const*) + 941
8 com.apple.CFNetwork 0x00007fff8765f9b7 ___ZN12CookieServer27completeInitializationAsyncEv_block_invoke + 24
9 libdispatch.dylib 0x00007fff9821c93d _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007fff9821140b _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff9821603b _dispatch_queue_drain + 754
12 libdispatch.dylib 0x00007fff9821c707 _dispatch_queue_invoke + 549
13 libdispatch.dylib 0x00007fff98214d53 _dispatch_root_queue_drain + 538
14 libdispatch.dylib 0x00007fff98214b00 _dispatch_worker_thread3 + 91
15 libsystem_pthread.dylib 0x00007fff895744de _pthread_wqthread + 1129
16 libsystem_pthread.dylib 0x00007fff89572341 start_wqthread + 13
Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff9af14efa kevent_qos + 10
1 libdispatch.dylib 0x00007fff98217165 _dispatch_mgr_invoke + 216
2 libdispatch.dylib 0x00007fff98216dcd _dispatch_mgr_thread + 52
Thread 3:
0 libsystem_kernel.dylib 0x00007fff9af145e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff89574578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff89572341 start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff9af145e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff89574578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff89572341 start_wqthread + 13
Thread 1 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fff876f14b0 rcx: 0x00007fbbbdb0d885 rdx: 0x00007fbbfbe40999
rdi: 0x00007fbb8c80a657 rsi: 0x00007fbbbdb0d885 rbp: 0x000070000007f550 rsp: 0x000070000007f550
r8: 0x0000000000000003 r9: 0x00000000ffffffff r10: 0x000070000007f570 r11: 0x0000000000000206
r12: 0x00007fff87543bd0 r13: 0x000000000000000a r14: 0x00007fbb8c80a657 r15: 0x00007fff876f158c
rip: 0x00007fff87543cfd rfl: 0x0000000000010246 cr2: 0x00007fbb8bc17000
Logical CPU: 0
Error Code: 0x02000170
Trap Number: 133
Binary Images:
0x106519000 - 0x106531fff nsurlstoraged (760.5.1) <A17C7877-2B5E-36B6-9AC5-644F244E9790> /usr/libexec/nsurlstoraged
0x7fff69279000 - 0x7fff692b025f dyld (360.22) <A468D85E-D8D6-3461-8C99-49D3B9ACFC63> /usr/lib/dyld
0x7fff87477000 - 0x7fff876feff3 com.apple.CFNetwork (760.5.1 - 760.5.1) <EE9426D1-F11C-3DD4-AE08-EA29AEB27177> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x7fff87811000 - 0x7fff8784fff7 libGLImage.dylib (12.1) <BB1F1A93-5101-3906-AB17-8D83FCB200F9> /System/
…
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 1799
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=176.2M resident=0K(0%) swapped_out_or_unallocated=176.2M(100%)
Writable regions: Total=36.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=36.2M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 2048K 2
Dispatch continuations 4096K 2
Kernel Alloc Once 4K 2
MALLOC 18.3M 13
MALLOC guard page 32K 7
Process Corpse Info 2048K 2
STACK GUARD 56.0M 6
Stack 9824K 6
VM_ALLOCATE 20K 3
__DATA 8312K 142
__LINKEDIT 91.5M 4
__TEXT 84.7M 146
__UNICODE 552K 2
shared memory 32K 6
=========== ======= =======
TOTAL 276.9M 329
VIN,iMac (21.5-inch Late 2009), OS X El Capitan (10.11.5), 12 GB of RAM, 500 GB hard drive