Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
4.8.5
-
-
cab363afa347e22c5f738f15533489e0cd671d59
Description
Upon registering QSocketNotifier in BB10, a spurious warning is logged:
"io_notifier_remove_fd fd 17 not found"
It seems to be related to the call order in QEventDispatcherBlackberry:
—
// Call the base Unix implementation. Needed to allow select() to be called correctly
QEventDispatcherUNIX::registerSocketNotifier(notifier);
// Register the fd with bps
BpsChannelScopeSwitcher channelSwitcher(d->bps_channel);
int io_events = ioEvents(sockfd);
if (io_events)
bps_remove_fd(sockfd);
—
The call to super::registerSocketNotifier causes an entry in enabled_fds
for given type, thus the ioEvents() returns nonzero and the code tries
to clean up underlying bps first, which complains...
Attachments
For Gerrit Dashboard: QTBUG-34536 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
70216,2 | BlackBerry: Prevent superfluous removal of socket notifiers | stable | qt/qtbase | Status: MERGED | +2 | 0 |