Error when performing the CPU profile

So the GPU profile with nvprof works perfectly. However I get this error when trying to get the CPU profile as well:

fatal : Problem during SQL operation: database is locked
======== Error: Application received signal 11

Why am I getting this?