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

ifi at fw.hu ifi at fw.hu
Thu Aug 21 18:51:27 UTC 2008


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 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



More information about the pkg-php-maint mailing list