mokeyish / smartdns-rs

A cross platform local DNS server (Dnsmasq like) written in rust to obtain the fastest website IP for the best Internet experience, supports DoT, DoQ, DoH, DoH3.
GNU General Public License v3.0
520 stars 35 forks source link

windows 版本卸载服务报错 #297

Closed jelly0930 closed 1 month ago

jelly0930 commented 1 month ago

smartdns 版本0.7.2

我在卸载时也遇到了错误, smartdns service uninstall 2024-06-06 14:45:47.585:ERROR:smartdns::service::service_manager:177: Failed thread 'main' panicked at src\main.rs:148:18: called Result::unwrap() on an Err value: Custom { kind: Other, error: "Failed" } note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

image

然后按提示设置了RUST_BACKTRACE=1,set RUST_BACKTRACE=full 两个环境变量,再次卸载时又遇到了新的报错,问下这个怎么处理呢

smartdns service uninstall 2024-06-06 15:03:06.239:ERROR:smartdns::service::service_manager:177: Failed thread 'main' panicked at src\main.rs:148:18: called Result::unwrap() on an Err value: Custom { kind: Other, error: "Failed" } stack backtrace: 0: 0x7ff75990b323 - 1: 0x7ff75952459d - 2: 0x7ff7598d5d3d - 3: 0x7ff75990ce33 - 4: 0x7ff75990c78f - 5: 0x7ff75990d270 - 6: 0x7ff75990d05e - 7: 0x7ff75990cfa9 - 8: 0x7ff75990cf94 - 9: 0x7ff759522fe7 - 10: 0x7ff759528773 - 11: 0x7ff759898485 - 12: 0x7ff7598a5aa1 - 13: 0x7ff7598a1a93 - 14: 0x7ff75989abc6 - 15: 0x7ff75989aae6 - 16: 0x7ff75989a8a6 - 17: 0x7ff7594c12ef - 18: 0x7ff7594c1406 - 19: 0x7fffd1fb257d - 20: 0x7fffd286aa48 -

image

mokeyish commented 1 month ago

修复了,测试了几种情况。你可以再试试,如果有问题再说详细重现步骤。