0 Replies Latest reply on Apr 30, 2012 12:23 PM by johnnykrz

    Volumes remounted when opening FM12 database

    johnnykrz

      Summary

      Volumes remounted when opening FM12 database

      Product

      FileMaker Pro

      Version

      12.0v1

      Operating system version

      OS 10.7.3

      Description of the issue

      On a new Mac Mini with OS 10.7.3, FM 12.0v1 appears to disconnect and then reconnect all external volumes (USB & AFP mounts most notably). You can see it happen if you have a Finder window open or volumes on the desktop; They will disappear and then reappear. If the disk has folders open by default such as an installer on a flash drive that was connected to USB, the folder will pop open when it mounts again. Usually, it happens so fast that documents open on that share do not seem to notice, but occasionally, other applications will error because the volume is missing and if folders on  an external volume are open in Finder, they will return to the default Finder location.

      NOTE: The Mac Mini has mostly one function and that is to print jobs from an FM12 file being hosted by FMSA. While the Mac Mini is only used to print PDFs in the print shop from that database (troubles with PDFs in FM12 in another post), on the other end PDFs are being imported to the database using an Applescript to export PDF files from Adobe InDesign into a folder located on an AFP share which is then imported by a calculated path ($importPath) in the Import PDF script step. I mention this because my first thought was that FM12 was verifying something in the script and causing Finder or some system task to crash. However, in troubleshooting I found that it happened to any databased opened from FMSA12 even if it had no container fields and no external references of any kind.

      Steps to reproduce the problem

      Connect to an AFP share and have it display on the desktop in Finder Preferences (it is easier to notice there than on the sidebar because the sidebar lags more than the desktop icon). Open an FM12 file hosted on a FileMaker Server Advanced (on a Mac OS X Server 10.7). Watch as the AFP mount (and all other external volumes) disappear for a moment and then reappear causing Finder to react as if the volumes were remounted. No other applications usually seem to notice and there is no error reported to the user, but I am attaching the console errors.

      Expected result

      Files to open without causing volumes to unmount and remount.

      Actual result

      Volumes are disconnected and then reconnected.

      Exact text of any error message(s) that appear

      No errors appear except in console. They follow:


      4/30/12 2:16:07.000 PM kernel[0]: AFP_VFS afpfs_unmount: /Volumes/Shared Files 2, flags 0, pid 262
      4/30/12 2:16:07.000 PM kernel[0]: AFP_VFS afpfs_unmount : We are the last mnt/sbmnt using volume /Volumes/Shared Files 2 0xffffff80e0239008
      4/30/12 2:16:07.000 PM kernel[0]: AFP_VFS afpfs_unmount : We are the last volume using socket /Volumes/Shared Files 2 0xffffff80e0239008
      4/30/12 2:16:07.684 PM NetAuthSysAgent[387]: NAHSelectionAcquireCredential complete: iakerb 826BE869D7F476159530729795822AB7 - john@WELLKNOWN:COM.APPLE.LKDC: GSSCred: 0x7fa131e0fe90
      4/30/12 2:16:07.838 PM NetAuthSysAgent[387]: NAHSelectionAcquireCredential The operation couldn’t be completed. (com.apple.NetworkAuthenticationHelper error -1765328228 - acquire_kerberos failed john@0.1.10: -1765328228 - unable to reach any KDC in realm 0.1.10)
      4/30/12 2:16:07.859 PM NetAuthSysAgent[387]: NAHSelectionAcquireCredential The operation couldn’t be completed. (com.apple.NetworkAuthenticationHelper error -1765328378 - acquire_kerberos failed john@SCOOTER.PRIVATE: -1765328378 - Client (john@SCOOTER.PRIVATE) unknown)
      4/30/12 2:16:08.000 PM kernel[0]: ASP_TCP asp_tcp_usr_control: invalid kernelUseCount 0
      4/30/12 2:16:08.000 PM kernel[0]: AFP_VFS afpfs_mount: /Volumes/Shared Files 2, pid 387
      4/30/12 2:16:08.000 PM kernel[0]: AFP_VFS afpfs_mount : succeeded on volume 0xffffff80e023f008 /Volumes/Shared Files 2 (error = 0, retval = 0)

      Configuration information

      The problem doesn't seem to be widespread, but happens constantly on the new Mac Mini and I have noticed it on other systems as well, including my own Mac Pro with which I have experienced no other related issues. On other systems, it is harder to recreate.

      Workaround

      No workaround is necessary since it does remount the volume for you and doesn't cause any work to be lost. It's just annoying, but I think it bothers me more as the dev/admin than it does the user of the Mac Mini.