Coolpy7 / coolpy7_benchmark

38 stars 15 forks source link

在centos上无法运行 报错信息如下 #1

Closed StrangeYear closed 5 years ago

StrangeYear commented 5 years ago

`2019/04/25 18:17:19 0 2019/04/25 18:17:19 conn no ip cat use panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x7241c9]

goroutine 1 [running]: main.main() D:/GolandProjects/coolpy7_benchmark/test_bench_sub/cp7_bench_sub.go:54 +0x4b9`

这个好像是找不到windows系统的路径?

jacoblai commented 5 years ago

这个错误是原因是我的测试连接代码为了用更多的网卡进行更大并发的测试,所以设计了一个loop取当前网络环境的虚拟IP,如果使用一个手机热点或并没有配置虚拟ip的网络环境可能会出现这个错误,请参阅中的增加虚拟ip部分的说明。https://coolpy7.gitbook.io/coolpy7book/kai-shi-shi-yong/dan-ji-qian-wan-ji-lian-jie-ce-shi-shuo-ming

jacoblai commented 5 years ago

说明白点 就是你需要一个正常的路由器来做这个测试,你可以考滤拿一个全新的路由器来做这个测试。

DongGuangHui0707 commented 3 years ago

@jacoblai 在CentsOS 的VM上同样的问题,也是需要增加虚拟IP,VM 的IP就是虚拟的IP了,这个怎么解呢?多谢!

jacoblai commented 3 years ago

没用过vm做这个事情,请到网上查一下资料。

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: DongGuangHui0707 <notifications@github.com> 发送时间: 2020年12月30日 10:38 收件人: Coolpy7/coolpy7_benchmark <coolpy7_benchmark@noreply.github.com> 抄送: Li Donghai <5241871@qq.com>, Mention <mention@noreply.github.com> 主题: 回复:[Coolpy7/coolpy7_benchmark] 在centos上无法运行 报错信息如下 (#1)

@jacoblai 在CentsOS 的VM上同样的问题,也是需要增加虚拟IP,VM 的IP就是虚拟的IP了,这个怎么解呢?多谢!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.