Unsolved QNativeSocketEngine::hasPendingDatagrams() was called in QAbstractSocket::UnconnectedState
-
Re: Warning: hasPendingDatagrams called in UnconnectedState. Huh?
Hello,
I am using Qt 5.10.1 on ubuntu 16.04 . I have connected 7 inch LCD screen to Beaglebone black using HDMI cable.
My issue is when I run my program for the first instance it works alright and when I stop that using ctrl+Z and again run the same program I get error "QNativeSocketEngine::hasPendingDatagrams() was called in QAbstractSocket::UnconnectedState "
when I restart Beaglebone it works fine. I am not getting what is an issue and every time I cannot restart my controller.
Please help me.
-
@neha9 said in QNativeSocketEngine::hasPendingDatagrams() was called in QAbstractSocket::UnconnectedState:
I stop that using ctrl+Z
That means the program is still alive but paused. Most probably you're trying to use same port which is already in used by the first instance which is paused. How do you connect? Did you check whether there are any errors when connecting?