OS:Ubuntu 20.04.6 LTS
1、问题现象
- 双击google chrome 图标后,加载一会儿就结束了;
- 在终端输入 google-chrome 后提示错误。
$ google-chrome
---
[4019:4019:1219/151902.697728:ERROR:process_singleton_posix.cc(353)] The profile appears to be in use by another Google Chrome process (4294) on another computer (gpt). Chrome has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chrome.
[4019:4019:1219/151902.697779:ERROR:message_box_dialog.cc(146)] Unable to show a dialog outside the UI thread message loop: Google Chrome - The profile appears to be in use by another Google Chrome process (4294) on another computer (gpt). Chrome has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chrome.
---
2、调查原因
根据提示gpt,想起来我更改了账户的名称为gpt后,就再也打不开google chrome。
3、解决问题
清除加锁文件及缓存文件,google-chrome被正常启动了。
rm -rf ~/.config/google-chrome/Singleton*