Forums temporarily locked down! Please read!

Author Topic: Mail refusing to Lock  (Read 72447 times)

nomolo

  • H4X0r
  • ****
  • Posts: 37
    • View Profile
Mail refusing to Lock
« on: July 22, 2014, 08:48:55 PM »
I have encrypted my Mail folder in Espionage 3.6 following the instructions in the video. I think I repeated everything in the video, including encrypting com.apple.mail and replicating the Lock and Unlock folder actions. I succeeded in unlocking and locking Mail a few times. However, it wasn't working entirely smoothly. Mail would lock but come.apple.mail would not automatically unlock unless I first clicked in the "i" symbol next to the Mail slider.  I wonder if this was anything to do with the size of the encrypted Mail folder, which is shown as 60.28 GB.

Then Mail started to refuse  to Lock. I get a "Mail locked" message, followed a few seconds later by a Critical Alert saying that Mail has failed to lock. It remains open, despite a restart. I don't think I've lost any data - I just can't lock it.  I'm using OS  10.9.4. My console messages are below. (Ignore the messages about the 'Linn" folder, which was a test folder which I moved to a different location.)

Any idea what I should do?

Many thanks!


22/07/2014 10:02:13.239 Espionage[243]: *** -[NSCondition waitUntilDate:]: condition (<NSCondition: 0x600000303840> '(null)') not locked
22/07/2014 10:02:13.239 Espionage[243]: *** Break on _NSLockError() to debug.
22/07/2014 10:02:13.239 Espionage[243]: *** -[NSCondition waitUntilDate:]: condition (<NSCondition: 0x600000303840> '(null)') not locked by current thread
22/07/2014 10:02:13.239 Espionage[243]: *** Break on _NSLockError() to debug.
22/07/2014 10:02:13.768 Espionage[243]: *** -[NSCondition dealloc]: condition (<NSCondition: 0x600000303840> '(null)') deallocated while still in use
22/07/2014 10:02:13.769 Espionage[243]: *** Break on _NSLockError() to debug.
22/07/2014 10:02:22.300 Espionage[243]: ERROR (+[DiskMaster unmountDiskForFolderFace:mountpoint:forcefully:updateUI:error:]:531): failed because: unlockStatus != noErr
22/07/2014 10:02:22.300 Espionage[243]: ERROR (-[LockFolderTask go:]:84): failed to unmount '/Users/mf/Library/Mail': Error Domain=NSOSStatusErrorDomain Code=-47 "The operation couldn’t be completed. (OSStatus error -47.)" (fBsyErr: File is busy (delete))
22/07/2014 10:02:22.301 Espionage[243]: INFO: Posted critical message: Failed to lock 'Mail': The operation couldn’t be completed. (OSStatus error -47.)
22/07/2014 10:02:47.600 Espionage[243]: ERROR (+[DiskMaster unmountDiskForFolderFace:mountpoint:forcefully:updateUI:error:]:531): failed because: unlockStatus != noErr
22/07/2014 10:02:47.600 Espionage[243]: ERROR (-[LockFolderTask go:]:84): failed to unmount '/Users/mf/Library/Mail': Error Domain=NSOSStatusErrorDomain Code=-47 "The operation couldn’t be completed. (OSStatus error -47.)" (fBsyErr: File is busy (delete))
22/07/2014 10:02:47.600 Espionage[243]: INFO: Posted critical message: Failed to lock 'Mail': The operation couldn’t be completed. (OSStatus error -47.)
22/07/2014 10:03:54.579 Espionage[243]: *** -[NSCondition waitUntilDate:]: condition (<NSCondition: 0x608000302130> '(null)') not locked
22/07/2014 10:03:54.580 Espionage[243]: *** Break on _NSLockError() to debug.
22/07/2014 10:03:54.580 Espionage[243]: *** -[NSCondition waitUntilDate:]: condition (<NSCondition: 0x608000302130> '(null)') not locked by current thread
22/07/2014 10:03:54.580 Espionage[243]: *** Break on _NSLockError() to debug.
22/07/2014 10:03:59.580 Espionage[243]: *** -[NSCondition dealloc]: condition (<NSCondition: 0x608000302130> '(null)') deallocated while still in use
22/07/2014 10:03:59.580 Espionage[243]: *** Break on _NSLockError() to debug.
22/07/2014 10:03:59.581 Espionage[243]: ERROR (-[LockFolderTask executeLockActions:]:39): last action failed 'Error Domain=Espionage Code=1103 "Could not close the application: Mail. In order to avoid possible data loss, folder lock has been cancelled" UserInfo=0x60800046eb00 {NSLocalizedDescription=Could not close the application: Mail. In order to avoid possible data loss, folder lock has been cancelled}'
22/07/2014 10:03:59.581 Espionage[243]: INFO: Posted alert message: The folder 'Mail' cannot be locked, because last action failed with error:
Could not close the application: Mail. In order to avoid possible data loss, folder lock has been cancelled
22/07/2014 10:06:52.289 Espionage[243]: ERROR (+[DiskMaster unmountDiskForFolderFace:mountpoint:forcefully:updateUI:error:]:531): failed because: unlockStatus != noErr
22/07/2014 10:06:52.289 Espionage[243]: ERROR (-[LockFolderTask go:]:84): failed to unmount '/Users/mf/Library/Mail': Error Domain=NSOSStatusErrorDomain Code=-47 "The operation couldn’t be completed. (OSStatus error -47.)" (fBsyErr: File is busy (delete))
22/07/2014 10:06:52.290 Espionage[243]: INFO: Posted critical message: Failed to lock 'Mail': The operation couldn’t be completed. (OSStatus error -47.)
22/07/2014 10:09:23.064 Espionage[243]: ERROR (+[DiskMaster unmountDiskForFolderFace:mountpoint:forcefully:updateUI:error:]:531): failed because: unlockStatus != noErr
22/07/2014 10:09:23.064 Espionage[243]: ERROR (-[LockFolderTask go:]:84): failed to unmount '/Users/mf/Library/Mail': Error Domain=NSOSStatusErrorDomain Code=-47 "The operation couldn’t be completed. (OSStatus error -47.)" (fBsyErr: File is busy (delete))
22/07/2014 10:09:23.064 Espionage[243]: INFO: Posted critical message: Failed to lock 'Mail': The operation couldn’t be completed. (OSStatus error -47.)
22/07/2014 10:10:09.776 Espionage[243]: INFO: backed up: /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Backups/database3 2014-07-22 101009
22/07/2014 10:12:58.019 Espionage[264]: FAILURE: Job com.taoeffect.Espionage3Helper is not loaded in launchd.
22/07/2014 10:49:30.597 Espionage[264]: WARN (-[FolderList setupFolderFace:]:754): folder mountpoint unreachable '/Users/mf/Desktop/Linn': Error Domain=NSCocoaErrorDomain Code=260 "The file “Linn” couldn’t be opened because there is no such file." UserInfo=0x6000002752c0 {NSURL=file:///Users/mf/Desktop/Linn/, NSFilePath=/Users/mf/Desktop/Linn, NSUnderlyingError=0x600000056110 "The operation couldn’t be completed. No such file or directory"}
22/07/2014 10:49:40.645 Espionage[264]: ERROR (-[StatFolderTask go:]:56): failed to calculate folder size for '/Users/mf/Library/Mail': Error Domain=Espionage Code=1000 "User canceled size calculation" UserInfo=0x60000187af80 {NSLocalizedDescription=User canceled size calculation}
22/07/2014 11:22:01.896 Espionage[264]: ERROR (+[DiskMaster unmountDiskForFolderFace:mountpoint:forcefully:updateUI:error:]:531): failed because: unlockStatus != noErr
22/07/2014 11:22:01.896 Espionage[264]: ERROR (-[LockFolderTask go:]:84): failed to unmount '/Users/mf/Library/Mail': Error Domain=NSOSStatusErrorDomain Code=-47 "The operation couldn’t be completed. (OSStatus error -47.)" (fBsyErr: File is busy (delete))
22/07/2014 11:22:01.897 Espionage[264]: INFO: Posted critical message: Failed to lock 'Mail': The operation couldn’t be completed. (OSStatus error -47.)
22/07/2014 11:22:20.483 Espionage[264]: ERROR (+[DiskMaster unmountDiskForFolderFace:mountpoint:forcefully:updateUI:error:]:531): failed because: unlockStatus != noErr
22/07/2014 11:22:20.484 Espionage[264]: ERROR (-[LockFolderTask go:]:84): failed to unmount '/Users/mf/Library/Mail': Error Domain=NSOSStatusErrorDomain Code=-47 "The operation couldn’t be completed. (OSStatus error -47.)" (fBsyErr: File is busy (delete))
22/07/2014 11:22:20.484 Espionage[264]: INFO: Posted critical message: Failed to lock 'Mail': The operation couldn’t be completed. (OSStatus error -47.)
22/07/2014 11:22:41.819 Espionage[264]: ERROR (+[DiskMaster unmountDiskForFolderFace:mountpoint:forcefully:updateUI:error:]:531): failed because: unlockStatus != noErr
22/07/2014 11:22:41.819 Espionage[264]: ERROR (-[LockFolderTask go:]:84): failed to unmount '/Users/mf/Library/Mail': Error Domain=NSOSStatusErrorDomain Code=-47 "The operation couldn’t be completed. (OSStatus error -47.)" (fBsyErr: File is busy (delete))
22/07/2014 11:22:41.820 Espionage[264]: INFO: Posted critical message: Failed to lock 'Mail': The operation couldn’t be completed. (OSStatus error -47.)
22/07/2014 11:22:48.342 Espionage[264]: FAILURE: Job com.taoeffect.Espionage3Helper is not loaded in launchd.
22/07/2014 14:32:17.728 Espionage[264]: WARN (-[FolderList setupFolderFace:]:754): folder mountpoint unreachable '/Users/mf/Desktop/Linn': Error Domain=NSCocoaErrorDomain Code=260 "The file “Linn” couldn’t be opened because there is no such file." UserInfo=0x6000004727c0 {NSURL=file:///Users/mf/Desktop/Linn/, NSFilePath=/Users/mf/Desktop/Linn, NSUnderlyingError=0x600000457880 "The operation couldn’t be completed. No such file or directory"}
22/07/2014 17:59:59.465 Espionage[264]: WARN (-[FolderList setupFolderFace:]:754): folder mountpoint unreachable '/Users/mf/Desktop/Linn': Error Domain=NSCocoaErrorDomain Code=260 "The file “Linn” couldn’t be opened because there is no such file." UserInfo=0x608000677340 {NSURL=file:///Users/mf/Desktop/Linn/, NSFilePath=/Users/mf/Desktop/Linn, NSUnderlyingError=0x608000447560 "The operation couldn’t be completed. No such file or directory"}
22/07/2014 18:00:17.271 Espionage[264]: ERROR (+[DiskMaster unmountDiskForFolderFace:mountpoint:forcefully:updateUI:error:]:531): failed because: unlockStatus != noErr
22/07/2014 18:00:17.271 Espionage[264]: ERROR (-[LockFolderTask go:]:84): failed to unmount '/Users/mf/Library/Mail': Error Domain=NSOSStatusErrorDomain Code=-47 "The operation couldn’t be completed. (OSStatus error -47.)" (fBsyErr: File is busy (delete))
22/07/2014 18:00:17.272 Espionage[264]: INFO: Posted critical message: Failed to lock 'Mail': The operation couldn’t be completed. (OSStatus error -47.)
22/07/2014 21:16:25.476 Espionage[264]: WARN (-[FolderList setupFolderFace:]:754): folder mountpoint unreachable '/Users/mf/Desktop/Linn': Error Domain=NSCocoaErrorDomain Code=260 "The file “Linn” couldn’t be opened because there is no such file." UserInfo=0x60000066afc0 {NSURL=file:///Users/mf/Desktop/Linn/, NSFilePath=/Users/mf/Desktop/Linn, NSUnderlyingError=0x60000064e3a0 "The operation couldn’t be completed. No such file or directory"}
22/07/2014 21:16:30.046 Espionage[264]: *** -[NSCondition waitUntilDate:]: condition (<NSCondition: 0x60000011a1f0> '(null)') not locked
22/07/2014 21:16:30.046 Espionage[264]: *** Break on _NSLockError() to debug.
22/07/2014 21:16:30.046 Espionage[264]: *** -[NSCondition waitUntilDate:]: condition (<NSCondition: 0x60000011a1f0> '(null)') not locked by current thread
22/07/2014 21:16:30.046 Espionage[264]: *** Break on _NSLockError() to debug.
22/07/2014 21:16:30.369 Espionage[264]: *** -[NSCondition dealloc]: condition (<NSCondition: 0x60000011a1f0> '(null)') deallocated while still in use
22/07/2014 21:16:30.370 Espionage[264]: *** Break on _NSLockError() to debug.
22/07/2014 21:16:35.054 Espionage[264]: ERROR (+[DiskMaster unmountDiskForFolderFace:mountpoint:forcefully:updateUI:error:]:531): failed because: unlockStatus != noErr
22/07/2014 21:16:35.054 Espionage[264]: ERROR (-[LockFolderTask go:]:84): failed to unmount '/Users/mf/Library/Mail': Error Domain=NSOSStatusErrorDomain Code=-47 "The operation couldn’t be completed. (OSStatus error -47.)" (fBsyErr: File is busy (delete))
22/07/2014 21:16:35.055 Espionage[264]: INFO: Posted critical message: Failed to lock 'Mail': The operation couldn’t be completed. (OSStatus error -47.)

greg

  • Administrator
  • Veteran
  • *****
  • Posts: 898
    • View Profile
    • http://www.taoeffect.com
Re: Mail refusing to Lock
« Reply #1 on: July 23, 2014, 01:25:28 AM »
Thanks for the log nomolo!

Strangely there's no mention of the com.apple.mail folder in it. Did you make sure to setup folder actions (for the Mail folder) to lock and unlock the com.apple.mail folder?

Also, you are right that very large Mail folders could result in some problems *initially*. The reason for this is that Spotlight has to re-index all of your email after you encrypt it (it stores its index within the disk image, which is good as otherwise it would leak data outside of the encrypted folder).

So I recommend doing the following:

1. Restart.
2. Make sure your folder actions are setup properly for the Mail folder (to open Mail and lock/unlock com.apple.mail).
3. Unlock Mail and let your computer sit there with it unlocked for like an hour (at least until you stop seeing activity from Spotlight/"mdimporter" in the Activity Monitor app). Make sure to not turn your computer off, and make sure the folders aren't set to autolock while you're waiting for Spotlight to re-index the folders.

If that doesn't help please let us know!

Thanks again for the system log!
« Last Edit: July 23, 2014, 01:27:00 AM by greg »
Follow @espionageapp on twitter for news!

nomolo

  • H4X0r
  • ****
  • Posts: 37
    • View Profile
Re: Mail refusing to Lock
« Reply #2 on: July 23, 2014, 06:08:35 AM »
Thanks Greg - I'll try that!

nomolo

  • H4X0r
  • ****
  • Posts: 37
    • View Profile
Re: Mail refusing to Lock
« Reply #3 on: July 25, 2014, 09:28:06 PM »
Greg, unfortunately, the problem still continues...

I have:

(a) left Mail unlocked for several hours to allow Spotlight to finish indexing
(b) repaired permissions
(c) rebuilt the directory using Disk Warrior
(d) restored all encrypted folders, deleted and then reinstalled Espionage and repeated the whole exercise
(e) reinstalled Mavericks and then reinstalled Espionage and repeated the exercise

I am pretty sure that I have set up folder actions as shown in your video. A screenshot of my settings is attached.

The problem remains as before: Mail unlocks initially and then refuses to lock again.  See screenshots. When unlocking Mail, com.apple.mail fails to open until I click the "i" next to the Mail folder symbol in the Espionage window.

I have been installing Mail Act-On. Do you think that could be relevant?

I attach my latest console messages.

Many thanks!



24/07/2014 23:23:53.804 com.apple.launchd.peruser.501[200]: (com.taoeffect.Espionage3.13232[1581]) Exited: Killed: 9
24/07/2014 23:28:53.978 Espionage[254]: FAILURE: Job com.taoeffect.Espionage3Helper is not loaded in launchd.
24/07/2014 23:28:55.950 Espionage[254]: WARN (-[DBMaster initWithMasterDBURL:createIfNecessary:error:]:104): not reachable 'file:///Users/mf/Library/Application%20Support/com.taoeffect.Espionage3/database3': Error Domain=NSCocoaErrorDomain Code=260 "The file “database3” couldn’t be opened because there is no such file." UserInfo=0x608000264700 {NSURL=file:///Users/mf/Library/Application%20Support/com.taoeffect.Espionage3/database3, NSFilePath=/Users/mf/Library/Application Support/com.taoeffect.Espionage3/database3, NSUnderlyingError=0x60800005afd0 "The operation couldn’t be completed. No such file or directory"}
24/07/2014 23:29:10.819 WindowServer[86]: disable_update_timeout: UI updates were forcibly disabled by application "Espionage" for over 1.00 seconds. Server has re-enabled them.
24/07/2014 23:29:15.786 WindowServer[86]: common_reenable_update: UI updates were finally reenabled by application "Espionage" after 5.97 seconds (server forcibly re-enabled them after 1.00 seconds)
24/07/2014 23:29:20.823 WindowServer[86]: disable_update_timeout: UI updates were forcibly disabled by application "Espionage" for over 1.00 seconds. Server has re-enabled them.
24/07/2014 23:29:20.843 WindowServer[86]: common_reenable_update: UI updates were finally reenabled by application "Espionage" after 1.02 seconds (server forcibly re-enabled them after 1.00 seconds)
24/07/2014 23:29:31.543 Espionage[254]: Couldn't contact spell checker for Multilingual
24/07/2014 23:29:35.389 Espionage[254]: ERROR (-[NSData(TECrypto) encrypt:withParams:]:92): (null) (null) (null) (null)
24/07/2014 23:29:35.389 Espionage[254]: ERROR (-[DBMaster getSubDBWithPassword:error:]:175): failed because: !lookup
24/07/2014 23:29:57.702 Espionage[254]: INFO: backed up: /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Backups/database3 2014-07-24 232957
24/07/2014 23:30:31.265 mds[35]: (Normal) Volume: volume:0x7fd0ba80f000 ********** Bootstrapped Creating a default store:1 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/NiEIrft^]p
24/07/2014 23:30:31.374 fseventsd[46]: could not open <</Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/NiEIrft^]p/.fseventsd/fseventsd-uuid>> (No such file or directory)
24/07/2014 23:30:31.400 fseventsd[46]: log dir: /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/NiEIrft^]p/.fseventsd getting new uuid: 7390652F-AEC9-464C-B1D5-C0B5E3B509A7
24/07/2014 23:30:33.034 mds[35]: (Normal) Volume: volume:0x7fd0b909ae00 ********** Bootstrapped Creating a default store:1 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/S\n^qaWLNM
24/07/2014 23:30:33.139 fseventsd[46]: could not open <</Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/S\n^qaWLNM/.fseventsd/fseventsd-uuid>> (No such file or directory)
24/07/2014 23:30:33.240 fseventsd[46]: log dir: /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/S\n^qaWLNM/.fseventsd getting new uuid: 66A4878C-BD81-4F30-ABAE-78AFC8CB9318
24/07/2014 23:30:34.079 fseventsd[46]: could not open <</Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/io^VqSV[Jn/.fseventsd/fseventsd-uuid>> (No such file or directory)
24/07/2014 23:30:34.080 mds[35]: (Normal) Volume: volume:0x7fd0ba8e2000 ********** Bootstrapped Creating a default store:1 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/io^VqSV[Jn
24/07/2014 23:30:34.105 fseventsd[46]: log dir: /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/io^VqSV[Jn/.fseventsd getting new uuid: 9D57999C-E280-4DB4-B3E6-8C42C65A0E99
24/07/2014 23:30:34.210 mds[35]: (Normal) Volume: volume:0x7fd0ba8f4a00 ********** Bootstrapped Creating a default store:1 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/yZhm]bx\vU
24/07/2014 23:30:34.320 fseventsd[46]: could not open <</Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/yZhm]bx\vU/.fseventsd/fseventsd-uuid>> (No such file or directory)
24/07/2014 23:30:34.329 fseventsd[46]: log dir: /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/yZhm]bx\vU/.fseventsd getting new uuid: 6868AB67-05BE-40A7-979A-6E14B521BE23
24/07/2014 23:30:39.018 fseventsd[46]: Events arrived for /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/io^VqSV[Jn after an unmount request! Re-initializing.
24/07/2014 23:30:39.018 fseventsd[46]: creating a dls for /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/io^VqSV[Jn but it already has one...
24/07/2014 23:30:45.534 fseventsd[46]: Events arrived for /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/S\n^qaWLNM after an unmount request! Re-initializing.
24/07/2014 23:30:45.534 fseventsd[46]: creating a dls for /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/S\n^qaWLNM but it already has one...
24/07/2014 23:31:07.137 Espionage[254]: INFO: Migration v1 -> v2 success!
24/07/2014 23:31:14.107 Espionage[254]: FAILURE: Job com.taoeffect.Espionage3Helper is not loaded in launchd.
24/07/2014 23:32:01.336 fseventsd[46]: disk logger: failed to open output file /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/S\n^qaWLNM/.fseventsd/636573382ae4e13c (No such file or directory). mount point /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/S\n^qaWLNM/.fseventsd
24/07/2014 23:32:01.336 fseventsd[46]: disk logger: failed to open output file /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/S\n^qaWLNM/.fseventsd/636573382ae4e13c (No such file or directory). mount point /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/S\n^qaWLNM/.fseventsd
24/07/2014 23:32:01.336 fseventsd[46]: disk logger: failed to open output file /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/io^VqSV[Jn/.fseventsd/636573382ae4da74 (No such file or directory). mount point /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/io^VqSV[Jn/.fseventsd
24/07/2014 23:32:01.337 fseventsd[46]: disk logger: failed to open output file /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/io^VqSV[Jn/.fseventsd/636573382ae4da74 (No such file or directory). mount point /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/io^VqSV[Jn/.fseventsd
24/07/2014 23:51:19.812 Espionage[254]: WARN (-[TEAppDelegate isGoodFolderAtURL:error:]:1147): Only encrypt folders in the Library folder if you know what you're doing. If you're encrypting application data, do not run the application until its data is unlocked. Are you sure you want to do this?
24/07/2014 23:52:14.039 mds[35]: (Normal) Volume: volume:0x7fd0ba961000 ********** Bootstrapped Creating a default store:1 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/qH`_Eqn^mB
24/07/2014 23:52:14.151 fseventsd[46]: could not open <</Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/qH`_Eqn^mB/.fseventsd/fseventsd-uuid>> (No such file or directory)
24/07/2014 23:52:15.000 fseventsd[46]: log dir: /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/qH`_Eqn^mB/.fseventsd getting new uuid: 2AEF702C-2A07-4F0C-8078-D28B1C109EA8
25/07/2014 01:04:32.579 fseventsd[46]: Events arrived for /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/qH`_Eqn^mB after an unmount request! Re-initializing.
25/07/2014 01:04:32.579 fseventsd[46]: creating a dls for /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/qH`_Eqn^mB but it already has one...
25/07/2014 01:04:39.739 Espionage[254]: INFO: Posted alert message: The original folder has been placed in the Trash.

You can securely delete it by selecting "Secure Empty Trash..." from the Finder menu.
25/07/2014 01:05:24.698 Espionage[254]: WARN (-[TEAppDelegate isGoodFolderAtURL:error:]:1147): Only encrypt folders in the Library folder if you know what you're doing. If you're encrypting application data, do not run the application until its data is unlocked. Are you sure you want to do this?
25/07/2014 01:05:31.415 fseventsd[46]: disk logger: failed to open output file /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/qH`_Eqn^mB/.fseventsd/636573382bacd836 (No such file or directory). mount point /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/qH`_Eqn^mB/.fseventsd
25/07/2014 01:05:31.415 fseventsd[46]: disk logger: failed to open output file /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/qH`_Eqn^mB/.fseventsd/636573382bacd836 (No such file or directory). mount point /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/qH`_Eqn^mB/.fseventsd
25/07/2014 01:05:34.108 Espionage[254]: ERROR (+[DiskMaster createDiskForFolderFace:diskInfoSettings:options:icon:error:]:241): failed to create 'file:///Users/mf/Library/Application%20Support/com.taoeffect.Espionage3/Data/Temp/A1558098-59D8-4A28-B072-D8C9FDC02CA2.sparsebundle': hdiutil: create failed - Resource busy
 
25/07/2014 01:05:34.109 Espionage[254]: ERROR (-[EncryptFolderTask go:]:137): Error creating disk image for 'com.apple.mail': Error Domain=Espionage Code=1 "Failed to create disk image, error:

hdiutil: create failed - Resource busy
" UserInfo=0x60001206ec40 {NSLocalizedDescription=Failed to create disk image, error:

hdiutil: create failed - Resource busy
}
25/07/2014 01:05:34.112 Espionage[254]: WARN (-[EncryptFolderTask go:]:232): Failed to create disk image, error:

hdiutil: create failed - Resource busy
25/07/2014 01:10:50.910 Espionage[254]: WARN (-[TEAppDelegate isGoodFolderAtURL:error:]:1147): Only encrypt folders in the Library folder if you know what you're doing. If you're encrypting application data, do not run the application until its data is unlocked. Are you sure you want to do this?
25/07/2014 01:11:01.907 mds[35]: (Normal) Volume: volume:0x7fd0c1000000 ********** Bootstrapped Creating a default store:1 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/YWQKmkOJ[Y
25/07/2014 01:11:02.006 fseventsd[46]: could not open <</Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/YWQKmkOJ[Y/.fseventsd/fseventsd-uuid>> (No such file or directory)
25/07/2014 01:11:02.006 fseventsd[46]: log dir: /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/YWQKmkOJ[Y/.fseventsd getting new uuid: B1D71861-468E-452E-BE12-E6A6DD360E04
25/07/2014 01:11:10.542 fseventsd[46]: Events arrived for /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/YWQKmkOJ[Y after an unmount request! Re-initializing.
25/07/2014 01:11:10.542 fseventsd[46]: creating a dls for /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/YWQKmkOJ[Y but it already has one...
25/07/2014 01:11:11.271 fseventsd[46]: disk logger: failed to open output file /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/YWQKmkOJ[Y/.fseventsd/636573382bad2547 (No such file or directory). mount point /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/YWQKmkOJ[Y/.fseventsd
25/07/2014 01:11:11.272 fseventsd[46]: disk logger: failed to open output file /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/YWQKmkOJ[Y/.fseventsd/636573382bad2547 (No such file or directory). mount point /Users/mf/Library/Application Support/com.taoeffect.Espionage3/Data/Temp/YWQKmkOJ[Y/.fseventsd
25/07/2014 01:11:11.312 Espionage[254]: INFO: Posted alert message: The original folder has been placed in the Trash.

You can securely delete it by selecting "Secure Empty Trash..." from the Finder menu.
25/07/2014 01:16:40.651 Espionage[254]: ERROR (-[StatFolderTask go:]:56): failed to calculate folder size for '/Users/mf/Library/Mail': Error Domain=Espionage Code=1000 "User canceled size calculation" UserInfo=0x60000d87b980 {NSLocalizedDescription=User canceled size calculation}
25/07/2014 01:19:09.156 Espionage[254]: *** -[NSCondition waitUntilDate:]: condition (<NSCondition: 0x60000011bab0> '(null)') not locked
25/07/2014 01:19:09.156 Espionage[254]: *** Break on _NSLockError() to debug.
25/07/2014 01:19:09.157 Espionage[254]: *** -[NSCondition waitUntilDate:]: condition (<NSCondition: 0x60000011bab0> '(null)') not locked by current thread
25/07/2014 01:19:09.157 Espionage[254]: *** Break on _NSLockError() to debug.
25/07/2014 01:19:10.013 Espionage[254]: *** -[NSCondition dealloc]: condition (<NSCondition: 0x60000011bab0> '(null)') deallocated while still in use
25/07/2014 01:19:10.014 Espionage[254]: *** Break on _NSLockError() to debug.
25/07/2014 01:19:16.634 Espionage[254]: ERROR (+[DiskMaster unmountDiskForFolderFace:mountpoint:forcefully:updateUI:error:]:531): failed because: unlockStatus != noErr
25/07/2014 01:19:16.668 Espionage[254]: ERROR (-[LockFolderTask go:]:84): failed to unmount '/Users/mf/Library/Mail': Error Domain=NSOSStatusErrorDomain Code=-47 "The operation couldn’t be completed. (OSStatus error -47.)" (fBsyErr: File is busy (delete))
25/07/2014 01:19:16.668 Espionage[254]: INFO: Posted critical message: Failed to lock 'Mail': The operation couldn’t be completed. (OSStatus error -47.)
25/07/2014 10:25:25.798 Espionage[254]: *** -[NSCondition waitUntilDate:]: condition (<NSCondition: 0x600000306780> '(null)') not locked
25/07/2014 10:25:25.799 Espionage[254]: *** Break on _NSLockError() to debug.
25/07/2014 10:25:25.799 Espionage[254]: *** -[NSCondition waitUntilDate:]: condition (<NSCondition: 0x600000306780> '(null)') not locked by current thread
25/07/2014 10:25:25.799 Espionage[254]: *** Break on _NSLockError() to debug.
25/07/2014 10:25:26.788 Espionage[254]: *** -[NSCondition dealloc]: condition (<NSCondition: 0x600000306780> '(null)') deallocated while still in use
25/07/2014 10:25:26.788 Espionage[254]: *** Break on _NSLockError() to debug.
25/07/2014 10:25:33.433 Espionage[254]: ERROR (+[DiskMaster unmountDiskForFolderFace:mountpoint:forcefully:updateUI:error:]:531): failed because: unlockStatus != noErr
25/07/2014 10:25:33.433 Espionage[254]: ERROR (-[LockFolderTask go:]:84): failed to unmount '/Users/mf/Library/Mail': Error Domain=NSOSStatusErrorDomain Code=-47 "The operation couldn’t be completed. (OSStatus error -47.)" (fBsyErr: File is busy (delete))
25/07/2014 10:25:33.433 Espionage[254]: INFO: Posted critical message: Failed to lock 'Mail': The operation couldn’t be completed. (OSStatus error -47.)
25/07/2014 10:25:53.494 Espionage[254]: ERROR (+[DiskMaster unmountDiskForFolderFace:mountpoint:forcefully:updateUI:error:]:531): failed because: unlockStatus != noErr
25/07/2014 10:25:53.494 Espionage[254]: ERROR (-[LockFolderTask go:]:84): failed to unmount '/Users/mf/Library/Mail': Error Domain=NSOSStatusErrorDomain Code=-47 "The operation couldn’t be completed. (OSStatus error -47.)" (fBsyErr: File is busy (delete))
25/07/2014 10:25:53.494 Espionage[254]: INFO: Posted critical message: Failed to lock 'Mail': The operation couldn’t be completed. (OSStatus error -47.)
25/07/2014 12:29:15.529 Espionage[254]: FAILURE: Job com.taoeffect.Espionage3Helper is not loaded in launchd.
25/07/2014 22:15:20.308 Espionage[254]: *** -[NSCondition waitUntilDate:]: condition (<NSCondition: 0x6000003010e0> '(null)') not locked
25/07/2014 22:15:20.308 Espionage[254]: *** Break on _NSLockError() to debug.
25/07/2014 22:15:20.309 Espionage[254]: *** -[NSCondition waitUntilDate:]: condition (<NSCondition: 0x6000003010e0> '(null)') not locked by current thread
25/07/2014 22:15:20.309 Espionage[254]: *** Break on _NSLockError() to debug.
25/07/2014 22:15:21.282 Espionage[254]: *** -[NSCondition dealloc]: condition (<NSCondition: 0x6000003010e0> '(null)') deallocated while still in use
25/07/2014 22:15:21.283 Espionage[254]: *** Break on _NSLockError() to debug.
25/07/2014 22:15:35.001 Espionage[254]: ERROR (+[DiskMaster unmountDiskForFolderFace:mountpoint:forcefully:updateUI:error:]:531): failed because: unlockStatus != noErr
25/07/2014 22:15:35.001 Espionage[254]: ERROR (-[LockFolderTask go:]:84): failed to unmount '/Users/mf/Library/Mail': Error Domain=NSOSStatusErrorDomain Code=-47 "The operation couldn’t be completed. (OSStatus error -47.)" (fBsyErr: File is busy (delete))
25/07/2014 22:15:35.001 Espionage[254]: INFO: Posted critical message: Failed to lock 'Mail': The operation couldn’t be completed. (OSStatus error -47.)
25/07/2014 22:16:09.747 Espionage[254]: ERROR (+[DiskMaster unmountDiskForFolderFace:mountpoint:forcefully:updateUI:error:]:531): failed because: unlockStatus != noErr
25/07/2014 22:16:09.747 Espionage[254]: ERROR (-[LockFolderTask go:]:84): failed to unmount '/Users/mf/Library/Mail': Error Domain=NSOSStatusErrorDomain Code=-47 "The operation couldn’t be completed. (OSStatus error -47.)" (fBsyErr: File is busy (delete))
25/07/2014 22:16:09.747 Espionage[254]: INFO: Posted critical message: Failed to lock 'Mail': The operation couldn’t be completed. (OSStatus error -47.)
25/07/2014 22:16:38.412 Espionage[254]: ERROR (+[DiskMaster unmountDiskForFolderFace:mountpoint:forcefully:updateUI:error:]:531): failed because: unlockStatus != noErr
25/07/2014 22:16:38.412 Espionage[254]: ERROR (-[LockFolderTask go:]:84): failed to unmount '/Users/mf/Library/Mail': Error Domain=NSOSStatusErrorDomain Code=-47 "The operation couldn’t be completed. (OSStatus error -47.)" (fBsyErr: File is busy (delete))
25/07/2014 22:16:38.413 Espionage[254]: INFO: Posted critical message: Failed to lock 'Mail': The operation couldn’t be completed. (OSStatus error -47.)
25/07/2014 22:17:05.010 Espionage[254]: ERROR (+[DiskMaster unmountDiskForFolderFace:mountpoint:forcefully:updateUI:error:]:531): failed because: unlockStatus != noErr
25/07/2014 22:17:05.011 Espionage[254]: ERROR (-[LockFolderTask go:]:84): failed to unmount '/Users/mf/Library/Mail': Error Domain=NSOSStatusErrorDomain Code=-47 "The operation couldn’t be completed. (OSStatus error -47.)" (fBsyErr: File is busy (delete))
25/07/2014 22:17:05.011 Espionage[254]: INFO: Posted critical message: Failed to lock 'Mail': The operation couldn’t be completed. (OSStatus error -47.)

greg

  • Administrator
  • Veteran
  • *****
  • Posts: 898
    • View Profile
    • http://www.taoeffect.com
Re: Mail refusing to Lock
« Reply #4 on: July 26, 2014, 04:18:11 AM »
OK, thank you for that very helpful description! Please ask us, btw, if you think you should re-install Mavericks, as that's a very long process that we don't want you to have to go through if it's unnecessary (it wasn't necessary in this case).

The "clicking on the info icon to unlock com.apple.Mail" problem looks it's due partly to a bug in Espionage (the size of the folder is calculated synchronously with the unlock operation; it should be asynchronous), and partly because of how huge your Mail folder is. Somewhat comedically, you were "saved" by another bug that interrupted the folder size calc and allowed the unlock to proceed (clicking the Info icon shouldn't disrupt the folder size calculation).

The reason the folder fails to lock, however, doesn't seem to have anything to do with the above, but rather it may simply be that something is using the Mail folder and preventing it from locking. You said you "left Mail unlocked for several hours to allow Spotlight to finish indexing", but then you restored the folder. That sortof defeats the purpose, as now you'll need to leave it unlocked again and let Spotlight finish. I suspect that's why the folder isn't locking (because Spotlight is madly indexing it).

This has been a very productive system log! Several bugs found from it! Thanks very much, and let us know if leaving the folder unlocked for a few hours to let Spotlight finish (you can keep Activity Monitor open and sort processes by CPU usage to keep tabs on Spotlight. 'mdworker' and 'mds' is Spotlight).
Follow @espionageapp on twitter for news!

nomolo

  • H4X0r
  • ****
  • Posts: 37
    • View Profile
Re: Mail refusing to Lock
« Reply #5 on: July 26, 2014, 07:05:30 AM »
Greg - thanks. I didn't leave Mail for hours to finish indexing and then immediately proceed to restore the encrypted folder. After leaving it for a day, I tried to unlock Mail and found I couldn't despite several attempts. I then repaired permissions, tried to unlock and found I couldn't. Repaired the directory, tried to unlock and couldn't etc. My summary of what I did was less than complete.

After my last post I discovered that Spotlight had not indexed properly, and was not finding a lot of stuff. So I'm now reindexing. Perhaps that will help...


greg

  • Administrator
  • Veteran
  • *****
  • Posts: 898
    • View Profile
    • http://www.taoeffect.com
Re: Mail refusing to Lock
« Reply #6 on: July 26, 2014, 06:10:01 PM »
Keep us posted on this. We'll also make sure that the unlock/size calc bug is fixed for the next bugfix update.
Follow @espionageapp on twitter for news!

nomolo

  • H4X0r
  • ****
  • Posts: 37
    • View Profile
Re: Mail refusing to Lock
« Reply #7 on: July 26, 2014, 07:48:41 PM »
Greg

Well, I've made some progress. The problem was caused by DrivePulse, a feature of Drive Genius 3, which constantly monitors the drive for problems. Turning this off allows my Mail folder to lock. Turning it back on blocks locking.

Folder actions are still not working properly, either to unlock or lock.  I have to manually quit Mail before it will lock. If I try to lock with Mail running I get a Critical Alert. Once Mail is locked I have to separately lock the com.apple.mail folder.  The problem on unlocking is as I've previously described (a manual click on the "i" is needed.)

One question: I see that Library>Containers also contains a folder called "com.apple.MailServiceAgent".  Is there any need to encrypt this?

Thanks for all your help!




greg

  • Administrator
  • Veteran
  • *****
  • Posts: 898
    • View Profile
    • http://www.taoeffect.com
Re: Mail refusing to Lock
« Reply #8 on: July 26, 2014, 10:05:37 PM »
Greg

Well, I've made some progress. The problem was caused by DrivePulse, a feature of Drive Genius 3, which constantly monitors the drive for problems. Turning this off allows my Mail folder to lock. Turning it back on blocks locking.

Awesome! Congrats on figuring that out, and actually this is a known issue, I should have remembered to ask. I just created an issue right now to auto-detect Drive Genius and warn users about this conflict so that hopefully this won't happen again.

Quote
Folder actions are still not working properly, either to unlock or lock.  I have to manually quit Mail before it will lock. If I try to lock with Mail running I get a Critical Alert.

What does it say? Could you post more logs that contain that error?

Quote
Once Mail is locked I have to separately lock the com.apple.mail folder.  The problem on unlocking is as I've previously described (a manual click on the "i" is needed.)

Yes, this we'll have fixed in the next release, please allow us some time though as one of our core devs is on vacation and won't be back until after August 3rd. We'll try to fix this before then but I can't guarantee we'll be able to.

Quote
One question: I see that Library>Containers also contains a folder called "com.apple.MailServiceAgent".  Is there any need to encrypt this?

Thanks for all your help!

It doesn't seem to contain anything of value on my end, but verify for yourself. Check folders that don't have the little arrow in their icon (those are aliases that point to the real location of the folder so they can be skipped).
Follow @espionageapp on twitter for news!

nomolo

  • H4X0r
  • ****
  • Posts: 37
    • View Profile
Re: Mail refusing to Lock
« Reply #9 on: July 26, 2014, 11:59:35 PM »
Greg

New problems occurring, which I'm documenting with console messages as they occur. Can I email these to you - and if so at what address?]

greg

  • Administrator
  • Veteran
  • *****
  • Posts: 898
    • View Profile
    • http://www.taoeffect.com
Re: Mail refusing to Lock
« Reply #10 on: July 27, 2014, 12:51:45 AM »
You can email them to support@taoeffect.com. If you need to encrypt your email with GPG, our public key is https://www.taoeffect.com/other/A884B988.asc
Follow @espionageapp on twitter for news!

nomolo

  • H4X0r
  • ****
  • Posts: 37
    • View Profile
Re: Mail refusing to Lock
« Reply #11 on: September 07, 2014, 10:52:11 AM »
Hi

Although I thought that Drive Genius and Drive Pulse were what was preventing my encrypted Mail folder from locking, it turns out the problem still continues despite the fact that I have disabled these.

My console readings are posted below.

I've also attached an EtreCheck report on my launch agents, login items, plugins etc.  Is there anything there that looks like it could be the cause?

Many thanks!

07/09/2014 11:34:18.812 Espionage[235]: INFO: Posted critical message: Failed to lock 'Mail': The operation couldn’t be completed. (OSStatus error -47.)
07/09/2014 11:34:43.243 Espionage[235]: ERROR (+[DiskMaster unmountDiskForFolderFace:mountpoint:forcefully:updateUI:error:]:531): failed because: unlockStatus != noErr
07/09/2014 11:34:43.243 Espionage[235]: ERROR (-[LockFolderTask go:]:84): failed to unmount '/Users/mf/Library/Mail': Error Domain=NSOSStatusErrorDomain Code=-47 "The operation couldn’t be completed. (OSStatus error -47.)" (fBsyErr: File is busy (delete))
07/09/2014 11:34:43.244 Espionage[235]: INFO: Posted critical message: Failed to lock 'Mail': The operation couldn’t be completed. (OSStatus error -47.)

-----------------------------
EtreCheck version: 1.9.15 (52)
Report generated 7 September 2014 11:35:55 BST

Hardware Information: ?
   MacBook Pro (13-inch, Mid 2012) (Verified)
   MacBook Pro - model: MacBookPro9,2
   1 2.5 GHz Intel Core i5 CPU: 2 cores
   8 GB RAM

Video Information: ?
   Intel HD Graphics 4000 - VRAM: (null)
      Color LCD 1280 x 720

System Software: ?
   OS X 10.9.4 (13E28) - Uptime: 1 day 21:2:52

Disk Information: ?
   APPLE HDD HTS545050A7E362 disk0 : (500.11 GB)
   S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted>: 209.7 MB
      MF (disk0s2) / [Startup]: 479.59 GB (181.86 GB free)
      Recovery HD (disk0s3) <not mounted>: 650 MB
      Spare (disk0s4) /Volumes/Spare: 19.01 GB (4.4 GB free)
      Recovery HD (disk0s5) <not mounted>: 650 MB

   HL-DT-ST DVDRW  GS41N 

USB Information: ?
   Apple Inc. FaceTime HD Camera (Built-in)
   Apple Inc. Apple Internal Keyboard / Trackpad
   Apple Computer, Inc. IR Receiver
   Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller

Thunderbolt Information: ?
   Apple Inc. thunderbolt_bus

Gatekeeper: ?
   Mac App Store and identified developers

Launch Daemons: ?
   [loaded]   com.adobe.fpsaud.plist Support
   [loaded]   com.microsoft.office.licensing.helper.plist Support
   [loaded]   com.prosofteng.DriveGenius.locum.plist Support
   [loaded]   com.rogueamoeba.instanton-agent.plist Support

User Launch Agents: ?
   [running]   com.ctmdev.foxtrot.prostarter.plist Support
   [not loaded]   info.lokiware.attachmenttamer.cleanup.plist Support
   [failed]   info.lokiware.attachmenttamer.setupagent.plist Support

User Login Items: ?
   Default Folder X Helper
   iTunesHelper
   CopyPaste Pro
   Keyboard Maestro
   Clarify Helper
   iMOnTime
   LaunchBar
   Zooom2
   Rogue Amoeba Schedule Helper
   HazelHelper
   iDeskCal
   Typinator
   ForeverSave 2
   Espionage
   XtraFinder
   Keyboard Maestro Engine
   BusyCalAlarm
   Espionage
   XtraFinder

Internet Plug-ins: ?
   SharePointBrowserPlugin: Version: 14.1.0 Support
   FlashPlayer-10.6: Version: 14.0.0.176 - SDK 10.6 Support
   Flash Player: Version: 14.0.0.176 - SDK 10.6 Support
   QuickTime Plugin: Version: 7.7.3
   Default Browser: Version: 537 - SDK 10.9

Audio Plug-ins: ?
   BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
   AirPlay: Version: 2.0 - SDK 10.9
   AppleAVBAudio: Version: 203.2 - SDK 10.9
   InstantOn: Version: 8.0.1 - SDK 10.8 Support
   iSightAudio: Version: 7.7.3 - SDK 10.9

iTunes Plug-ins: ?
   Quartz Composer Visualizer: Version: 1.4 - SDK 10.9

User Internet Plug-ins ?
   EMusic: Version: EMusic 1.0.0 Support

3rd Party Preference Panes: ?
   Default Folder X  Support
   Flash Player  Support
   Hazel  Support

Time Machine: ?
   Skip System Files: NO
   Mobile backups: OFF
   Auto backup: NO - Auto backup turned off
   Volumes being backed up:
      MF: Disk size: 446.65 GB Disk used: 277.29 GB
   Destinations:
      MF Backup [Local] (Last used)
      Total size: 2 TB
      Total number of backups: 63
      Oldest backup: 2013-06-23 01:40:59 +0000
      Last backup: 2014-09-03 08:34:49 +0000
      Size of backup disk: Excellent
         Backup size 2 TB > (Disk size 446.65 GB X 3)
   Time Machine details may not be accurate.
   All volumes being backed up may not be listed.

Top Processes by CPU: ?
        6%   WindowServer
        1%   Zooom2
        1%   fontd
        1%   Google Chrome
        0%   Espionage

Top Processes by Memory: ?
   1.54 GB   iTunes
   303 MB   mds_stores
   303 MB   com.apple.IconServicesAgent
   164 MB   Finder
   139 MB   Espionage

Virtual Memory Information: ?
   1.40 GB   Free RAM
   3.59 GB   Active RAM
   1.64 GB   Inactive RAM
   1.02 GB   Wired RAM
   21.09 GB   Page-ins
   15 MB   Page-outs


greg

  • Administrator
  • Veteran
  • *****
  • Posts: 898
    • View Profile
    • http://www.taoeffect.com
Re: Mail refusing to Lock
« Reply #12 on: September 09, 2014, 07:05:23 PM »
What happens if you try to manually eject the folder? You can do this by choosing Go to Folder... from the Finder's Go menu, and pasting in: ~/Library

In there you should see a folder called Mail. Try right-clicking on it and choosing Eject, let us know what happens.
Follow @espionageapp on twitter for news!

zsolt

  • Global Moderator
  • Veteran
  • *****
  • Posts: 823
    • View Profile
Re: Mail refusing to Lock
« Reply #13 on: September 09, 2014, 07:58:42 PM »
Or you can launch disk utility and the volume should be listed there, then eject it using the eject button.
also, you can try to use lsof to see which files are open on the Mail volume, something like

lsof | grep -i Mail

let us know the outcome

Zsolt
Follow @espionageapp on twitter for news! | For general Mac support, please visit Mac Me Support

nomolo

  • H4X0r
  • ****
  • Posts: 37
    • View Profile
Re: Mail refusing to Lock
« Reply #14 on: September 09, 2014, 09:50:16 PM »
Thanks for these suggestions Greg & Szolt. Unfortunately, neither technique for ejecting Mail worked.  I get a message that Mail failed to eject because one or more programs may be using it.

Typing lsof | grep -i Mail into the Terminal producing this:

cfprefsd   177   mf  txt      REG                1,1       372 10165775 /Users/mf/Library/Containers/com.apple.mail/Data/Library/Preferences/com.apple.help.plist
cfprefsd   177   mf  txt      REG                1,1       131   435191 /Users/mf/Library/Preferences/com.apple.mail-shared.plist
iMOnTime   230   mf  txt      REG                1,1       777  1749573 /Applications/iMOnTime.app/Contents/Resources/emailtype.png
com.apple  257   mf  txt      REG                1,1     68496  6794984 /System/Library/PrivateFrameworks/ShareKit.framework/Versions/A/PlugIns/Mail.sharingservice/Contents/MacOS/Mail
com.apple  762   mf  txt      REG                1,1     74944  6741117 /System/Library/InternetAccounts/Mail.iaplugin/Contents/MacOS/Mail
com.apple  762   mf  txt      REG                1,8     32768   639477 /Users/mf/Library/Mail/V2/MailData/Envelope Index-shm
com.apple  762   mf    6u     REG                1,8 206848000   639476 /Users/mf/Library/Mail/V2/MailData/Envelope Index
com.apple  762   mf    7u     REG                1,8   1676872   639478 /Users/mf/Library/Mail/V2/MailData/Envelope Index-wal
com.apple  762   mf    8u     REG                1,8     32768   639477 /Users/mf/Library/Mail/V2/MailData/Envelope Index-shm
com.apple 1389   mf  cwd      DIR                1,1       374   436438 /Users/mf/Library/Containers/com.apple.MailServiceAgent/Data
com.apple 1389   mf  txt      REG                1,1     48576  6741234 /System/Library/PrivateFrameworks/MailService.framework/Versions/A/XPCServices/com.apple.MailServiceAgent.xpc/Contents/MacOS/com.apple.MailServiceAgent 


I quit ImOnTime, in case that was causing the problem, but I was still unable to eject Mail. Does the above suggest any other possible cause?

If I restart the computer, then unlock Mail, I can lock it straight afterwards. But after I've been working for a while, it refuses to lock.