Open d00353122 opened 4 years ago
2、nty_example_block_server执行出现段错误;如下: (gdb) 99 if (nty_listen(sockfd, 5) < 0) { (gdb)
Thread 1 "nty_example_blo" received signal SIGSEGV, Segmentation fault. 0x0000555555567e4b in HashListener (l=0x555555791a70) at nty_hash.c:93 93 return listener->s->s_addr.sin_port & (NUM_BINS_LISTENERS - 1); (gdb) bt
at nty_hash.c:218
(gdb)
如上问题,想请教一下,谢谢;(怀疑环境配置还有哪里有问题,请作者帮忙指正一下)
可以加入gitter: https://gitter.im/ntytcp/community
2、nty_example_block_server执行出现段错误;如下: (gdb) 99 if (nty_listen(sockfd, 5) < 0) { (gdb)
Thread 1 "nty_example_blo" received signal SIGSEGV, Segmentation fault. 0x0000555555567e4b in HashListener (l=0x555555791a70) at nty_hash.c:93 93 return listener->s->s_addr.sin_port & (NUM_BINS_LISTENERS - 1); (gdb) bt
0 0x0000555555567e4b in HashListener (l=0x555555791a70) at nty_hash.c:93
1 0x0000555555568392 in ListenerHTInsert (ht=0x55555578d440, it=0x555555791a70)
2 0x0000555555558bb0 in nty_listen (sockid=0, backlog=5) at nty_api.c:379
3 0x00005555555836ae in main () at nty_example_tcp_server.c:99
(gdb)
如上问题,想请教一下,谢谢;(怀疑环境配置还有哪里有问题,请作者帮忙指正一下)