If an application shuts
down unexpectedly while Mozilla is running, Mozilla fails to clear the profile lock file. After you reboot
your applications and launch Mozilla, a dialog
displays the following error message:
Mozilla
cannot use the profile because it is in use. Please choose another profile
or create a new one.
Solution
Remove the following
file: $HOME/.mozilla/<profilename>/<random>/lock