sveinbjornt / Sloth

Mac app that shows all open files, directories, sockets, pipes and devices in use by all running processes. Nice GUI for lsof.
https://sveinbjorn.org/sloth
BSD 3-Clause "New" or "Revised" License
8.26k stars 156 forks source link

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: aString != nil' #5

Closed abhinavsingh closed 5 years ago

abhinavsingh commented 5 years ago

Downloaded and started latest release and ran into:

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: aString != nil'
terminating with uncaught exception of type NSException
abort() called

Application Specific Backtrace 1:
0   CoreFoundation                      0x00007fff4f91becd __exceptionPreprocess + 256
1   libobjc.A.dylib                     0x00007fff7b9d7720 objc_exception_throw + 48
2   CoreFoundation                      0x00007fff4f936b2a +[NSException raise:format:arguments:] + 98
3   Foundation                          0x00007fff51cdae0d -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194
4   AppKit                              0x00007fff4cdd0b7e -[NSMenuItem initWithTitle:action:keyEquivalent:] + 308
5   Sloth                               0x000000010fc5409d -[VolumesPopUpButton populateMenu] + 772
6   Sloth                               0x000000010fc53742 -[VolumesPopUpButton initWithCoder:] + 66
7   AppKit                              0x00007fff4cdf7d3e -[NSClassSwapper initWithCoder:] + 602
8   Foundation                          0x00007fff51bce091 _decodeObjectBinary + 2449
9   Foundation                          0x00007fff51bcf9f5 -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 1684
10  Foundation                          0x00007fff51bcef8c -[NSArray(NSArray) initWithCoder:] + 196
11  Foundation                          0x00007fff51bce091 _decodeObjectBinary + 2449
12  Foundation                          0x00007fff51bcd5e7 _decodeObject + 246
13  Foundation                          0x00007fff51bcd4e3 -[NSKeyedUnarchiver decodeObjectForKey:] + 205
14  AppKit                              0x00007fff4cdf6799 -[NSView initWithCoder:] + 1933
15  Foundation                          0x00007fff51bce091 _decodeObjectBinary + 2449
16  Foundation                          0x00007fff51bcd5e7 _decodeObject + 246
17  Foundation                          0x00007fff51bcd4e3 -[NSKeyedUnarchiver decodeObjectForKey:] + 205
18  AppKit                              0x00007fff4ce1cf5a -[NSWindowTemplate initWithCoder:] + 1048
19  Foundation                          0x00007fff51bce091 _decodeObjectBinary + 2449
20  Foundation                          0x00007fff51bcd5e7 _decodeObject + 246
21  Foundation                          0x00007fff51bcd4e3 -[NSKeyedUnarchiver decodeObjectForKey:] + 205
22  AppKit                              0x00007fff4cdabd35 -[NSNibConnector initWithCoder:] + 66
23  AppKit                              0x00007fff4cdabbdb -[NSNibOutletConnector initWithCoder:] + 76
24  Foundation                          0x00007fff51bce091 _decodeObjectBinary + 2449
25  Foundation                          0x00007fff51bcf9f5 -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 1684
26  Foundation                          0x00007fff51bcef8c -[NSArray(NSArray) initWithCoder:] + 196
27  Foundation                          0x00007fff51bce091 _decodeObjectBinary + 2449
28  Foundation                          0x00007fff51bcd5e7 _decodeObject + 246
29  Foundation                          0x00007fff51bcd4e3 -[NSKeyedUnarchiver decodeObjectForKey:] + 205
30  AppKit                              0x00007fff4cdaa7f0 -[NSIBObjectData initWithCoder:] + 200
31  Foundation                          0x00007fff51bce091 _decodeObjectBinary + 2449
32  Foundation                          0x00007fff51bcd5e7 _decodeObject + 246
33  Foundation                          0x00007fff51bcd4e3 -[NSKeyedUnarchiver decodeObjectForKey:] + 205
34  AppKit                              0x00007fff4cdaa595 loadNib + 317
35  AppKit                              0x00007fff4cda9ab1 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 696
36  AppKit                              0x00007fff4cda96f6 -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 204
37  AppKit                              0x00007fff4cda94b7 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 447
38  AppKit                              0x00007fff4cd9d790 NSApplicationMain + 505
39  libdyld.dylib                       0x00007fff7caa5ed9 start + 1

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff7cbe523e __pthread_kill + 10
1   libsystem_pthread.dylib         0x00007fff7cc9bc1c pthread_kill + 285
2   libsystem_c.dylib               0x00007fff7cb4e1c9 abort + 127
3   libc++abi.dylib                 0x00007fff7a1cf231 abort_message + 231
4   libc++abi.dylib                 0x00007fff7a1cf3cd default_terminate_handler() + 265
5   libobjc.A.dylib                 0x00007fff7b9d9c87 _objc_terminate() + 97
6   libc++abi.dylib                 0x00007fff7a1dadfe std::__terminate(void (*)()) + 8
7   libc++abi.dylib                 0x00007fff7a1ce86e __cxa_rethrow + 99
8   libobjc.A.dylib                 0x00007fff7b9d7b6e objc_exception_rethrow + 40
9   com.apple.Foundation            0x00007fff51bce6e2 _decodeObjectBinary + 4066
10  com.apple.Foundation            0x00007fff51bcd5e7 _decodeObject + 246
11  com.apple.Foundation            0x00007fff51bcd4e3 -[NSKeyedUnarchiver decodeObjectForKey:] + 205
12  com.apple.AppKit                0x00007fff4cdaa595 loadNib + 317
13  com.apple.AppKit                0x00007fff4cda9ab1 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 696
14  com.apple.AppKit                0x00007fff4cda96f6 -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 204
15  com.apple.AppKit                0x00007fff4cda94b7 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 447
16  com.apple.AppKit                0x00007fff4cd9d790 NSApplicationMain + 505
17  libdyld.dylib                   0x00007fff7caa5ed9 start + 1
sveinbjornt commented 5 years ago

Hmm, seems that you have a volume mounted where NSURLVolumeNameKey returns nil. Anyway, now fixed in master.