Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

进程启动被杀后 无法退出 导致锁死 #1029

Closed
hq-zhonger opened this issue Mar 21, 2024 · 3 comments
Closed

进程启动被杀后 无法退出 导致锁死 #1029

hq-zhonger opened this issue Mar 21, 2024 · 3 comments
Labels
duplicate This issue or pull request already exists question Questions related to rod

Comments

@hq-zhonger
Copy link

path, _ := launcher.LookPath()
u := launcher.New().Bin(path).MustLaunch()
rod.New().ControlURL(u).MustConnect().MustPage("https://example.com")

浏览器启动时 被杀毒软件直接杀掉 代码就死循环卡在这,无法触发ctx和超时done掉,不主动终止程序。会一直锁死。

@hq-zhonger hq-zhonger added the question Questions related to rod label Mar 21, 2024
Copy link

Please add a valid Rod Version: v0.0.0 to your issue. Current version is v0.114.8

generated by check-issue

@hq-zhonger
Copy link
Author

最新版god 问题已经找到
在程序调试的时候正常被杀了会触发err 但是正常运行就不会触发err导致锁死
微信图片_20240321111341
就是这里被杀之后setupCmd这里已经死了 cmd.Start却不会触发err导致锁死
微信图片_20240321111506
这里添加error之后 就可以正常退出
微信图片_20240321111558

@ysmood
Copy link
Member

ysmood commented Mar 21, 2024

Duplicated:

#739 (comment)

@ysmood ysmood added the duplicate This issue or pull request already exists label Mar 21, 2024
@ysmood ysmood closed this as not planned Won't fix, can't repro, duplicate, stale Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists question Questions related to rod
Projects
None yet
Development

No branches or pull requests

2 participants