-
Notifications
You must be signed in to change notification settings - Fork 569
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
您好,请教一个问题createsocket 创建后,关闭程序时需要释放么 #132
Comments
你这个代码看起来没什么问题 |
您好,我用qt6,整个工程就写了一条语句Socket::Ptr sockRecv = Socket::createSocket();//创建一个UDP数据接收端口,在调试状态关闭程序,程序会崩溃,恳请指教,谢谢! |
可以看下栈信息. |
您好,调试test_udpSock时,我将while(!exitProgram) 改成 if(!exitProgram) 在debug下,程序也会崩溃。 the inferior stopped because it received a signal from operating system Signal name :SIGSEGV |
不好意思,能帮我看下么?谢谢!! |
这个测试也没能复现。你可以用 gdb 调试下看看。 |
好的,谢谢! |
我创建了以后,关闭程序的时候会报如下错误,
the inferior stopped because it received a signal from operating system
Signal name :SIGSEGV
The text was updated successfully, but these errors were encountered: