Hello DPP users!
Two weeks ago I got my first Mac - a Mac Pro. I've upgraded the installation
to 10.5.2 right from the beginning. I also installed Canon's DPP 3.2.0.6
and it worked then. Now, some days later, I have trouble starting
DPP because it shows the spinning wheel and literally takes *minutes* to
start.
/var/log/system.log shows this:
Feb 29 21:27:19 xor Digital Photo Professional[7277]: *** -[NSLock unlock]: lock
(<NSLock: 0x14aa78a0> '(null)') unlocked when not locked
Feb 29 21:27:19 xor Digital Photo Professional[7277]: *** Break on _NSLockError() to debug.
Feb 29 21:27:19 xor Digital Photo Professional[7277]: *** -[NSLock unlock]: lock (<NSLock: 0x14aa78a0>
'(null)') unlocked when not locked
Feb 29 21:27:19 xor Digital Photo Professional[7277]: *** Break on _NSLockError() to debug.
Using "Spin Control" I got a backtrace of the hanging DPP process. The trace indicated
that the process hangs in the lstat() syscall. I used the following DTrace script to find
out which file it is lstat()ing:
$ sudo dtrace -s /dev/stdin
syscall::lstat:entry
{
printf("%s: %s\n", execname, copyinstr(arg0));
}
^D
It turns out DPP hangs because it lstats files in the /net directory! Sample DTrace output:
2 17978 lstat:entry Digital Photo P: /net
2 17978 lstat:entry Digital Photo P: /net/barton.localnet
2 17978 lstat:entry Digital Photo P: /net/barton
barton is an (offline) host in my LAN. /net is a autofsd/automountd
directory according to /etc/fstab:
$ mount | grep /net
map -hosts on /net (autofs, automounted)
When the DPP window finally appears on the screen after several minutes I see
"/home" and "/net" directories in the folder sidebar on the left. The shell command
"ls /net" hangs, too.
Does anyone know how I can prevent this strange behaviour?
I'm sorry if this is a stupid question but I'm new to the Mac...