kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #137921
[Bug 1502168] [NEW] select's FD_ISSET returns true with no data to read
Public bug reported:
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Ubuntu 3.13.0-65.105-generic 3.13.11-ckt26
3.13.0-63-generic seems to work fine, but in 3.13.0-65-generic, when
using select; FD_ISSET returns true even when there is no data on a tty
with min=0, time=0. getchar() returns -1
Wondering if it's anything to do with the fix for
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1397976 which was
added in 3.13.0-65.105?
Actually noticed this within sox:
play xx.wav
hangs due to continually reading the tty (it's not great code - but it showed up the bug). Whereas:
play xx.wav < /dev/null
is fine.
Cheers,
Tarim
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1502168
Title:
select's FD_ISSET returns true with no data to read
Status in linux package in Ubuntu:
New
Bug description:
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Ubuntu 3.13.0-65.105-generic 3.13.11-ckt26
3.13.0-63-generic seems to work fine, but in 3.13.0-65-generic, when
using select; FD_ISSET returns true even when there is no data on a
tty with min=0, time=0. getchar() returns -1
Wondering if it's anything to do with the fix for
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1397976 which was
added in 3.13.0-65.105?
Actually noticed this within sox:
play xx.wav
hangs due to continually reading the tty (it's not great code - but it showed up the bug). Whereas:
play xx.wav < /dev/null
is fine.
Cheers,
Tarim
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1502168/+subscriptions
Follow ups
-
[Bug 1502168] Re: select's FD_ISSET returns true with no data to read
From: Amul Shah, 2015-10-05
-
[Bug 1502168] Re: select's FD_ISSET returns true with no data to read
From: Tarim, 2015-10-03
-
[Bug 1502168] WifiSyslog.txt
From: Tarim, 2015-10-03
-
[Bug 1502168] UdevLog.txt
From: Tarim, 2015-10-03
-
[Bug 1502168] UdevDb.txt
From: Tarim, 2015-10-03
-
[Bug 1502168] PulseList.txt
From: Tarim, 2015-10-03
-
[Bug 1502168] ProcModules.txt
From: Tarim, 2015-10-03
-
[Bug 1502168] ProcInterrupts.txt
From: Tarim, 2015-10-03
-
[Bug 1502168] ProcEnviron.txt
From: Tarim, 2015-10-03
-
[Bug 1502168] ProcCpuinfo.txt
From: Tarim, 2015-10-03
-
[Bug 1502168] Lspci.txt
From: Tarim, 2015-10-03
-
[Bug 1502168] CurrentDmesg.txt
From: Tarim, 2015-10-03
-
[Bug 1502168] CRDA.txt
From: Tarim, 2015-10-03
-
[Bug 1502168] BootDmesg.txt
From: Tarim, 2015-10-03
-
[Bug 1502168] Re: select's FD_ISSET returns true with no data to read
From: Tarim, 2015-10-03
-
[Bug 1502168] Missing required logs.
From: Brad Figg, 2015-10-02