[php-maint] Bug#752913: Bug#752913: Bug#752913: Bug#752913: php5-cli: php crashes with general protection

Ondřej Surý ondrej at sury.org
Tue Jul 1 16:02:37 UTC 2014


Control: tag -1 +help

Hi Tim,

it looks like the fault is hidden somewhere in the Debian packaging /
patching, since I am able to run php-cli compiled from source package
compiled in similar way as Debian package without the general exception.

I'll try to apply our patches one by one and see where the problem could
be...

Ondrej.

On Tue, Jul 1, 2014, at 15:44, Ondřej Surý wrote:
> Hi Tim,
> 
> On Sat, Jun 28, 2014, at 09:23, Tim Schumacher wrote:
> > At Fri, 27 Jun 2014 20:44:20 +0200,
> > Ondřej Surý wrote:
> >  
> > > However I would suggest to report this bug to upstream developers
> > > at bugs.php.net. I could cut&paste your bugreport into their interface,
> > > but it would be better if you could be in touch with upstream directly,
> > > since you can provide more details if asked.
> > 
> > To get a proper bugreport I did take a snapshot from snaps.php.net and
> > compiled it with these flags:
> > 
> > './configure' '--with-pgsql' '--with-gd' '--with-curl'
> > '--with-openssl' '--enable-phar' '--enable-cli' '--with-iconv'
> > '--with-zlib' '--with-mhash' '--enable-sockets' '--with-mcrypt'
> > '--enable-calendar' '--enable-mbstring' '--with-pdo-pgsql'
> > '--enable-zip' '--enable-fpm'
> > 
> > I then started the server this way:
> > 
> > ~/tmp/php5.6-201406280430/sapi/cli/php -d date.timezone=Europe/Berlin
> > app/console server:run
> > 
> > Then ran the curl command and I got a proper exception from
> > php/symfony but no mysterious crash with general protection.
> > 
> > I then tried the same with 5.6 RC1 and got the same results.
> > 
> > So I think this is somehow a debian issue :/.
> 
> The problem here is that you haven't compiled the PHP with same
> parameters as we do in Debian package. F.e. we do use dynamically
> loaded modules and you have compiled your modules into the php
> binary, etc...
> 
> That said - I am able to reproduce the general protection error
> and I will try to compile PHP with same configure options as Debian
> php and we'll see...
> 
> Cheers,
> -- 
> Ondřej Surý <ondrej at sury.org>
> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
> 
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint


-- 
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server



More information about the pkg-php-maint mailing list