I met that firefox/thunderbird complained another its instance running even if no a running firefox/thunderbird process. Finally let them run again after removing the ‘.parentlock’ file in their default profile.
strace utility helps me a lot to find the solution.
strace -f -e file firfox