php5-cli + PHP bug 42682: stream_select() indicates bad number of readable descriptors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: php5-cli
$ lsb_release -rd
Description: Ubuntu 8.04.2
Release: 8.04
$ uname -srvmpio
Linux 2.6.24-21-server #1 SMP Mon Aug 25 17:28:54 UTC 2008 x86_64 unknown unknown GNU/Linux
$ apt-cache policy php5-cli
php5-cli:
Installed: 5.2.4-2ubuntu5.5
Candidate: 5.2.4-2ubuntu5.5
Version table:
*** 5.2.4-2ubuntu5.5 0
500 http://
100 /var/lib/
5.2.4-2ubuntu5 0
500 http://
Similar to:
php5-cli + openssl bug on edgy 64bit (amd)
https:/
I'm running into the problem where stream_select() indicates bad number of readable descriptors as in PHP bug #42682:
http://
Steps to reproduce:
- Run code as in PHP bug 42682 link
- Output is: "select : 0, r=1, w=0, e=0"
- Output should be as in PHP bug 42682
Intrepid is OK:
$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
$ apt-cache policy php5-cli
php5-cli:
Installed: 5.2.6-2ubuntu4.1
Candidate: 5.2.6-2ubuntu4.1
Version table:
*** 5.2.6-2ubuntu4.1 0
500 http://
500 http://
100 /var/lib/
5.2.6-2ubuntu4 0
500 http://
$ php test.php
select : 1, r=1, w=0,
e=0
Reading...
Contents: [220 *******
]
select : 0, r=0, w=0,
e=0
^C
Hi,
If possible can you test this on the Karmic live cd?
Thanks
chuck