[php-maint] Bug#494773: php5-cli freezes in futex

Ariel asdebian at dsgml.com
Tue Aug 12 04:14:05 UTC 2008


Package: php5-cli
Version: 5.2.6-2
Severity: important

php freezes after running. It runs the script correctly, but then
freezes before exiting.

Even running php -h will make it freeze.

Here are the last few lines of strace'ing php:

open("/dev/urandom", O_RDONLY)          = 3
read(3, "\252\0d\217", 4)               = 4
close(3)                                = 0
open("/dev/urandom", O_RDONLY)          = 3
read(3, "\237\373\273\243", 4)          = 4
close(3)                                = 0
open("/dev/urandom", O_RDONLY)          = 3
read(3, "Q:mP", 4)                      = 4
close(3)                                = 0
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
munmap(0xb77a0000, 14520)               = 0
munmap(0xb7234000, 43364)               = 0
munmap(0xb744e000, 27528)               = 0
munmap(0xb7455000, 89948)               = 0
gettimeofday({1218513153, 28758}, NULL) = 0
munmap(0xb74ed000, 101552)              = 0
gettimeofday({1218513153, 29056}, NULL) = 0
futex(0xb74424e0, 0x80 /* FUTEX_??? */, 2

And then it hangs.

	-Ariel

PS. Why is it reading /dev/urandom? And why 3 times?

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.25
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages php5-cli depends on:
ii  lib 1.0.3-6                              high-quality block-sorting file co
ii  lib 2.7-6                                GNU C Library: Shared libraries
ii  lib 1.39+1.40-WIP-2006.11.14+dfsg-2etch1 common error description library
ii  lib 4.6.21-8                             Berkeley v4.6 Database Libraries [
ii  lib 1.6.dfsg.4~beta1-3                   MIT Kerberos runtime libraries
ii  lib 4.17-5etch3                          File type determination library us
ii  lib 5.6+20080713-1                       shared libraries for terminal hand
ii  lib 7.6-2.1                              Perl 5 Compatible Regular Expressi
ii  lib 0.9.8g-8                             SSL shared libraries
ii  lib 2.6.32.dfsg-2                        GNOME XML library
ii  mim 3.39-1                               MIME files 'mime.types' & 'mailcap
ii  php 5.2.6-2                              Common files for packages built fr
ii  tzd 2007k-2                              time zone and daylight-saving time
ii  ucf 2.0020                               Update Configuration File: preserv
ii  zli 1:1.2.3.3.dfsg-12                    compression library - runtime

php5-cli recommends no packages.

-- no debconf information





More information about the pkg-php-maint mailing list