Application crashes if QTcpSocket::bind is called.
-
Hi all.
If "bind" is called before "connectToHost", the application crashes while using QTcpSocket. I've made a video snapshot for this problem.
https://www.youtube.com/watch?v=LH6AtaUnL8s
Thanks in advance.
[Environment]
qt : Qt Creator 3.5.1(opensource) based on Qt 5.5.1
os : ubuntu 14.04 LTS
processor : intel i5-3570
os type : 64-bit -
-
Hi, stackprogrammer.
I don't know what you are talking about. -
Hi, stackprogrammer.
I don't know what you are talking about.@Gilbert-Lee said:
Hi, stackprogrammer.
I don't know what you are talking about.i 'm sorry,i was wrong,channel youtube is for you!!excuse me,i taught the solution is shared.
-
Ok, I see. I've searched a lot of articles through the internet using the keyword "QTcpSocket bind crash", but I can not find the appropriate solution. This is why I've made the video for myself. :)
-
Hi,
What version of Qt are you using to build your application ?
By the way, your application is not crashing, it's blocking, which is not the same thing to debug. In any case you might be hitting QTBUG-29732
-
Hi,
What version of Qt are you using to build your application ?
By the way, your application is not crashing, it's blocking, which is not the same thing to debug. In any case you might be hitting QTBUG-29732
@SGaist Thank you for your replay.
What version of Qt are you using to build your application ?
qt : Qt Creator 3.5.1(opensource) based on Qt 5.5.1
os : ubuntu 14.04 LTS
processor : intel i5-3570
os type : 64-bityour application is not crashing, it's blocking
I agree with you.And the bug I've issued does not match QTBUG-29732. My application binds a local local port perfectly.