WTF: [[NSWorkspace sharedWorkspace] recycleURLs] launct für jede url einen Thread...

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • WTF: [[NSWorkspace sharedWorkspace] recycleURLs] launct für jede url einen Thread...

    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

    Quellcode

    1. Thread 401:
    2. 0 libsystem_kernel.dylib 0x00007fffda5aac22 __psynch_mutexwait + 10
    3. 1 libsystem_pthread.dylib 0x00007fffda695dfa _pthread_mutex_lock_wait + 100
    4. 2 libsystem_pthread.dylib 0x00007fffda693519 _pthread_mutex_lock_slow + 285
    5. 3 com.apple.desktopservices 0x00007fffd0ebc43b TFSCopyOperation::DoMoveToTrash(TRef<TCFURLInfo*, TInternalRefCountPolicy<TCFURLInfo> > const&) + 867
    6. 4 com.apple.desktopservices 0x00007fffd0ebbaeb TFSCopyOperation::Run() + 117
    7. 5 com.apple.desktopservices 0x00007fffd0eab28b _NodeOperationV2 + 432
    8. 6 com.apple.desktopservices 0x00007fffd0eab0cc _NodeOperation + 143
    9. 7 com.apple.CoreServices.CarbonCore 0x00007fffc5be7d59 _FSFileOperationOperate + 546
    10. 8 libsystem_pthread.dylib 0x00007fffda69593b _pthread_body + 180
    11. 9 libsystem_pthread.dylib 0x00007fffda695887 _pthread_start + 286
    12. 10 libsystem_pthread.dylib 0x00007fffda69508d thread_start + 13
    13. Thread 402 Crashed:
    14. 0 com.apple.desktopservices 0x00007fffd0ebc4b5 TFSCopyOperation::DoMoveToTrash(TRef<TCFURLInfo*, TInternalRefCountPolicy<TCFURLInfo> > const&) + 989
    15. 1 com.apple.desktopservices 0x00007fffd0ebbaeb TFSCopyOperation::Run() + 117
    16. 2 com.apple.desktopservices 0x00007fffd0eab28b _NodeOperationV2 + 432
    17. 3 com.apple.desktopservices 0x00007fffd0eab0cc _NodeOperation + 143
    18. 4 com.apple.CoreServices.CarbonCore 0x00007fffc5be7d59 _FSFileOperationOperate + 546
    19. 5 libsystem_pthread.dylib 0x00007fffda69593b _pthread_body + 180
    20. 6 libsystem_pthread.dylib 0x00007fffda695887 _pthread_start + 286
    21. 7 libsystem_pthread.dylib 0x00007fffda69508d thread_start + 13
    22. Thread 403:
    23. 0 com.apple.desktopservices 0x00007fffd0ebc4b5 TFSCopyOperation::DoMoveToTrash(TRef<TCFURLInfo*, TInternalRefCountPolicy<TCFURLInfo> > const&) + 989
    24. 1 com.apple.desktopservices 0x00007fffd0ebbaeb TFSCopyOperation::Run() + 117
    25. 2 com.apple.desktopservices 0x00007fffd0eab28b _NodeOperationV2 + 432
    26. 3 com.apple.desktopservices 0x00007fffd0eab0cc _NodeOperation + 143
    27. 4 com.apple.CoreServices.CarbonCore 0x00007fffc5be7d59 _FSFileOperationOperate + 546
    28. 5 libsystem_pthread.dylib 0x00007fffda69593b _pthread_body + 180
    29. 6 libsystem_pthread.dylib 0x00007fffda695887 _pthread_start + 286
    30. 7 libsystem_pthread.dylib 0x00007fffda69508d thread_start + 13
    Alles anzeigen

    Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von gritsch ()