[php-maint] Bug#495960: Bug#495960: [php5] PHP gets stuck after executing code
Ondřej Surý
ondrej at sury.org
Thu Aug 21 16:20:30 UTC 2008
Hi Zoltan,
could you try:
a) disable all php modules and try if it locks up
b) enable php modules one by one and try if it locks up
c) install php5-dbg and try running php under gdb and get backtrace?
Ondrej.
P.S.: BTW, just a hint - you can give '-o output.log' to strace...
it doesn't matter here, but this way you can separate stderr from
program and output from strace.
2008/8/21 Zoltan Ivanfi <ifi at fw.hu>:
> Package: php5
> Severity: important
>
> --- Please enter the report below this line. ---
>
> Hi,
>
> On our server, PHP gets stuck after executing the source file, both CLI
> and run from Apache. The code is run correctly, but after it PHP (and
> the Apache process with it) can not exit. It even happens with an empty
> source, like "echo | php". Using strace I tracked down the problem to a
> futex() call, but I don't know how could I fix it. Please see the
> result of the following command attached:
>
> echo | strace php 2>php-strace.log
>
> It's a 64-bit system, if that matters. (I'm afraid it does...)
>
> Any advice?
>
> Thanks,
>
> Zoltan
>
> --- System information. ---
>
> user at host:~$ uname -a
> Linux host 2.6.18-6-amd64 #1 SMP Mon Jun 16 22:30:01 UTC 2008 x86_64
> GNU/Linux
>
> user at host:~$ dpkg -l | grep 'php\|libc6' | cut -c -70
> ii libapache2-mod-php5 5.2.6-2+b1
> ii libc6 2.7-13
> ii libc6-i386 2.7-13
> ii php-pear 5.2.0-8+etch11
> ii php5-cli 5.2.6-2+b1
> ii php5-common 5.2.6-2+b1
> ii php5-gd 5.2.6-2+b1
> ii php5-mysql 5.2.6-2+b1
>
> PS: Sorry for the handcrafted system information, but I was using a
> different machine to report the bug.
>
> Br,
>
> Zoltan
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-php-maint
>
--
Ondřej Surý <ondrej at sury.org>
More information about the pkg-php-maint
mailing list