The Samba-Bugzilla – Bug 9476
ccache segfaults when run from a directory that has been deleted
Last modified: 2013-01-05 17:23:26 UTC
I was confused for a minute upon doing this why ccache had spontaneously stopped working, so it would be nice to handle the error rather than segfaulting.
This was fixed in ccache 3.1.8, please give it a spin.