Debian Bug report logs -
#495960
[php5] PHP gets stuck after executing code
Reported by: Zoltan Ivanfi <ifi@fw.hu>
Date: Thu, 21 Aug 2008 16:06:01 UTC
Severity: important
Fixed in version 5.2.6-3
Done: Thijs Kinkhorst <thijs@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#495960; Package php5.
(full text, mbox, link).
Acknowledgement sent to Zoltan Ivanfi <ifi@fw.hu>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
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@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@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
[php-strace.log (text/x-log, attachment)]
Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#495960; Package php5.
(full text, mbox, link).
Acknowledgement sent to "Ondřej Surý" <ondrej@sury.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #10 received at 495960@bugs.debian.org (full text, mbox, reply):
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@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@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@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@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-php-maint
>
--
Ondřej Surý <ondrej@sury.org>
Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#495960; Package php5.
(full text, mbox, link).
Acknowledgement sent to sean finney <seanius@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #15 received at 495960@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
hiya,
is this a mixed etch/lenny system by any chance? what version of
libmysqlclient15off do you have installed?
there seem to be issues with the libmysqlclient from etch (the next upload of
php5 will have stricter dependencies to avoid this), but in the meantime if
this is the problem the fix is to upgrade libmysqlclient15off to the version
in lenny.
sean
On Thursday 21 August 2008 06:20:30 pm Ondřej Surý wrote:
> 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@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@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@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@lists.alioth.debian.org
> > http://lists.alioth.debian.org/mailman/listinfo/pkg-php-maint
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#495960; Package php5.
(full text, mbox, link).
Acknowledgement sent to <ifi@fw.hu>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #20 received at 495960@bugs.debian.org (full text, mbox, reply):
Hi,
Yes, it's a mixed system. I needed lenny's PHP because of the 64-bit
specific PHP select() bug that was fixed only in 5.2.6. I updated
libmysqlclient15off as you suggested, and it solved the problem indeed.
Thanks a lot!
Br,
Zoltan
> hiya,
>
> is this a mixed etch/lenny system by any chance? what version of
> libmysqlclient15off do you have installed?
>
> there seem to be issues with the libmysqlclient from etch (the next
> upload of php5 will have stricter dependencies to avoid this), but in the
> meantime if this is the problem the fix is to upgrade libmysqlclient15off
> to the version in lenny.
>
> sean
>
>
> On Thursday 21 August 2008 06:20:30 pm Ondřej Surý wrote:
> > 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@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@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@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@lists.alioth.debian.org
> > > http://lists.alioth.debian.org/mailman/listinfo/pkg-php-maint
Reply sent to Thijs Kinkhorst <thijs@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Zoltan Ivanfi <ifi@fw.hu>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #25 received at 495960-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Version: 5.2.6-3
On Thursday 21 August 2008 20:51, ifi@fw.hu wrote:
> Hi,
>
> Yes, it's a mixed system. I needed lenny's PHP because of the 64-bit
> specific PHP select() bug that was fixed only in 5.2.6. I updated
> libmysqlclient15off as you suggested, and it solved the problem indeed.
> Thanks a lot!
Good to hear your problem is solved, I'm now closing the bug.
Thijs
[Message part 2 (application/pgp-signature, inline)]
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 25 Sep 2008 07:29:37 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 02:59:02 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.