[Bug 1102366] Re: libapache2-mod-php5: Segmentation fault on mediawiki POST requests after apache2 reload

Julio Auto 1102366 at bugs.launchpad.net
Tue Jan 7 16:36:49 UTC 2014


Nice! Any plans for raring? One of my raring setups is also affected.


On Tue, Jan 7, 2014 at 12:17 PM, Marc Deslauriers <
marc.deslauriers at canonical.com> wrote:

> Uploaded to quantal for processing by the SRU team. Thanks!
>
> ** Description changed:
>
> + SRU request:
> +
> + [impact]
> + Reloading apache2 will cause php5 to fail to work correctly, and will
> result in some website failures. This has been solved by backporting a
> minimal patch from more recent versions of php.
> +
> + [test case]
> + Reproducing this requires a specific setup, but the original bug
> reporter has tested the update and it has resolved the issue. The issue was
> also known to php upstream and has been fixed in saucy and higher.
> +
> + [regression potential]
> + An issue with this patch would cause php sessions to break, so it should
> be quickly discoverable.
> +
> +
> + Original report:
> +
>   This is the affected following setup:
>   * apache2-mpm-worker
>   * libapache2-mod-php5
>   * mediawiki
>   (all from quantal in my case).
>
>   After doing "/etc/init.d/apache2 reload", POST requests to mediawiki
> (e.g. page preview or save) fail with a lost connection. The log files only
> show a line like this:
>   [Mon Jan 21 12:21:06 2013] [notice] child pid 16018 exit signal
> Segmentation fault (11)
>
>   Doing "/etc/init.d/apache2 restart" works around the problem.
>
>   This seems to be the same as http://bugs.debian.org/cgi-
>   bin/bugreport.cgi?bug=691318 and possibly http://bugs.debian.org/cgi-
>   bin/bugreport.cgi?bug=694473 . I'm blaming PHP for now, in accordance
>   with the upstream reporters. :-)
>
>   Creating a backtrace from the apache child processes has proved quite
>   challenging, so I'm stopping here.
>
>   Thank you for your consideration,
> -   Philipp
> +   Philipp
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 12.10
>   Package: libapache2-mod-php5 5.4.6-1ubuntu1.1
>   ProcVersionSignature: Ubuntu 3.5.0-19.30-generic 3.5.7
>   Uname: Linux 3.5.0-19-generic x86_64
>   ApportVersion: 2.6.1-0ubuntu9
>   Architecture: amd64
>   Date: Mon Jan 21 12:34:51 2013
>   MarkForUpload: True
>   SourcePackage: php5
>   UpgradeStatus: Upgraded to quantal on 2012-12-10 (41 days ago)
>
> ** Changed in: php5 (Ubuntu Quantal)
>        Status: Confirmed => In Progress
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1102366
>
> Title:
>   libapache2-mod-php5: Segmentation fault on mediawiki POST requests
>   after apache2 reload
>
> Status in “php5” package in Ubuntu:
>   Invalid
> Status in “php5” source package in Quantal:
>   In Progress
> Status in “php5” source package in Raring:
>   Confirmed
> Status in “php5” package in Debian:
>   Fix Released
>
> Bug description:
>   SRU request:
>
>   [impact]
>   Reloading apache2 will cause php5 to fail to work correctly, and will
> result in some website failures. This has been solved by backporting a
> minimal patch from more recent versions of php.
>
>   [test case]
>   Reproducing this requires a specific setup, but the original bug
> reporter has tested the update and it has resolved the issue. The issue was
> also known to php upstream and has been fixed in saucy and higher.
>
>   [regression potential]
>   An issue with this patch would cause php sessions to break, so it should
> be quickly discoverable.
>
>
>   Original report:
>
>   This is the affected following setup:
>   * apache2-mpm-worker
>   * libapache2-mod-php5
>   * mediawiki
>   (all from quantal in my case).
>
>   After doing "/etc/init.d/apache2 reload", POST requests to mediawiki
> (e.g. page preview or save) fail with a lost connection. The log files only
> show a line like this:
>   [Mon Jan 21 12:21:06 2013] [notice] child pid 16018 exit signal
> Segmentation fault (11)
>
>   Doing "/etc/init.d/apache2 restart" works around the problem.
>
>   This seems to be the same as http://bugs.debian.org/cgi-
>   bin/bugreport.cgi?bug=691318 and possibly http://bugs.debian.org/cgi-
>   bin/bugreport.cgi?bug=694473 . I'm blaming PHP for now, in accordance
>   with the upstream reporters. :-)
>
>   Creating a backtrace from the apache child processes has proved quite
>   challenging, so I'm stopping here.
>
>   Thank you for your consideration,
>     Philipp
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 12.10
>   Package: libapache2-mod-php5 5.4.6-1ubuntu1.1
>   ProcVersionSignature: Ubuntu 3.5.0-19.30-generic 3.5.7
>   Uname: Linux 3.5.0-19-generic x86_64
>   ApportVersion: 2.6.1-0ubuntu9
>   Architecture: amd64
>   Date: Mon Jan 21 12:34:51 2013
>   MarkForUpload: True
>   SourcePackage: php5
>   UpgradeStatus: Upgraded to quantal on 2012-12-10 (41 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1102366/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1102366

Title:
  libapache2-mod-php5: Segmentation fault on mediawiki POST requests
  after apache2 reload

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1102366/+subscriptions



More information about the Ubuntu-server-bugs mailing list