Debian Bug report logs - #778607
PHP and apache ends with segmentation fault

version graph

Package: php5; Maintainer for php5 is (unknown);

Reported by: Arkadiusz Bubała <arkadiusz.bubala@open-e.com>

Date: Tue, 17 Feb 2015 12:24:02 UTC

Severity: normal

Found in version php5/5.6.5+dfsg-1

Fixed in version 5.6.9+dfsg-1

Done: Ondřej Surý <ondrej@sury.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#778607; Package php5. (Tue, 17 Feb 2015 12:24:06 GMT) (full text, mbox, link).


Acknowledgement sent to Arkadiusz Bubała <arkadiusz.bubala@open-e.com>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Tue, 17 Feb 2015 12:24:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Arkadiusz Bubała <arkadiusz.bubala@open-e.com>
To: submit@bugs.debian.org
Subject: PHP and apache ends with segmentation fault
Date: Tue, 17 Feb 2015 13:20:12 +0100
Package: php5
Version: 5.6.5+dfsg-1

This is continuation of bug #753851. This bug still exists.

There is simple script that causes this issue:

<?php
function crash()
{
    $notDefined[$i] = 'test';
}

function error_handler() { return false; }

set_error_handler('error_handler');
crash();
echo "made it once\n";
crash();
echo "ok\n";
?>

The bug is already reported to PHP here: 
https://bugs.php.net/bug.php?id=67314

There is simple work around to increment 
(executor_globals.uninitialized_zval.refcount__gc) reference counter in 
zend_error() function if error handler is set.

This bug was reproduced on the current Debian Jessie version,  php5 
5.6.5+dfsg-1 and apache 2.4.10-3.

-- 
Best regards
Arkadiusz Bubała
Open-E Poland Sp. z o.o.
www.open-e.com




Reply sent to Ondřej Surý <ondrej@sury.org>:
You have taken responsibility. (Wed, 27 Jan 2016 11:09:08 GMT) (full text, mbox, link).


Notification sent to Arkadiusz Bubała <arkadiusz.bubala@open-e.com>:
Bug acknowledged by developer. (Wed, 27 Jan 2016 11:09:08 GMT) (full text, mbox, link).


Message #10 received at 778607-done@bugs.debian.org (full text, mbox, reply):

From: Ondřej Surý <ondrej@sury.org>
To: 778607-done@bugs.debian.org
Subject: Fixed in 5.6.9+dfsg-1
Date: Wed, 27 Jan 2016 12:06:11 +0100
Version: 5.6.9+dfsg-1

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



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 25 Feb 2016 07:25:35 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 00:47:05 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.