Achtung: [[NSWorkspace sharedWorkspace] recycleURLs:] launcht für jede URL einen thread (und crasht dann bei ein paar hundert threads).
Für Abhilfe sorgt die methode trashItemAtURL von NSFileManager
Alles anzeigen
Für Abhilfe sorgt die methode trashItemAtURL von NSFileManager
Quellcode
- Thread 401:
- 0 libsystem_kernel.dylib 0x00007fffda5aac22 __psynch_mutexwait + 10
- 1 libsystem_pthread.dylib 0x00007fffda695dfa _pthread_mutex_lock_wait + 100
- 2 libsystem_pthread.dylib 0x00007fffda693519 _pthread_mutex_lock_slow + 285
- 3 com.apple.desktopservices 0x00007fffd0ebc43b TFSCopyOperation::DoMoveToTrash(TRef<TCFURLInfo*, TInternalRefCountPolicy<TCFURLInfo> > const&) + 867
- 4 com.apple.desktopservices 0x00007fffd0ebbaeb TFSCopyOperation::Run() + 117
- 5 com.apple.desktopservices 0x00007fffd0eab28b _NodeOperationV2 + 432
- 6 com.apple.desktopservices 0x00007fffd0eab0cc _NodeOperation + 143
- 7 com.apple.CoreServices.CarbonCore 0x00007fffc5be7d59 _FSFileOperationOperate + 546
- 8 libsystem_pthread.dylib 0x00007fffda69593b _pthread_body + 180
- 9 libsystem_pthread.dylib 0x00007fffda695887 _pthread_start + 286
- 10 libsystem_pthread.dylib 0x00007fffda69508d thread_start + 13
- Thread 402 Crashed:
- 0 com.apple.desktopservices 0x00007fffd0ebc4b5 TFSCopyOperation::DoMoveToTrash(TRef<TCFURLInfo*, TInternalRefCountPolicy<TCFURLInfo> > const&) + 989
- 1 com.apple.desktopservices 0x00007fffd0ebbaeb TFSCopyOperation::Run() + 117
- 2 com.apple.desktopservices 0x00007fffd0eab28b _NodeOperationV2 + 432
- 3 com.apple.desktopservices 0x00007fffd0eab0cc _NodeOperation + 143
- 4 com.apple.CoreServices.CarbonCore 0x00007fffc5be7d59 _FSFileOperationOperate + 546
- 5 libsystem_pthread.dylib 0x00007fffda69593b _pthread_body + 180
- 6 libsystem_pthread.dylib 0x00007fffda695887 _pthread_start + 286
- 7 libsystem_pthread.dylib 0x00007fffda69508d thread_start + 13
- Thread 403:
- 0 com.apple.desktopservices 0x00007fffd0ebc4b5 TFSCopyOperation::DoMoveToTrash(TRef<TCFURLInfo*, TInternalRefCountPolicy<TCFURLInfo> > const&) + 989
- 1 com.apple.desktopservices 0x00007fffd0ebbaeb TFSCopyOperation::Run() + 117
- 2 com.apple.desktopservices 0x00007fffd0eab28b _NodeOperationV2 + 432
- 3 com.apple.desktopservices 0x00007fffd0eab0cc _NodeOperation + 143
- 4 com.apple.CoreServices.CarbonCore 0x00007fffc5be7d59 _FSFileOperationOperate + 546
- 5 libsystem_pthread.dylib 0x00007fffda69593b _pthread_body + 180
- 6 libsystem_pthread.dylib 0x00007fffda695887 _pthread_start + 286
- 7 libsystem_pthread.dylib 0x00007fffda69508d thread_start + 13
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von gritsch ()