[php-maint] Bug#495960: Bug#495960: Bug#495960: [php5] PHP gets stuck after executing code

sean finney seanius at debian.org
Thu Aug 21 16:56:09 UTC 2008


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 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20080821/0f1927f9/attachment-0001.pgp 


More information about the pkg-php-maint mailing list