Bug #51778 [Fbk->NoF]: crash on libphp5.so, when running ampache's initial scripts
| From: | php-bugs at lists dot php dot net | Date: | Sun, 24 Jun 2018 04:22:27 +0000 |
| Subject: | Bug #51778 [Fbk->NoF]: crash on libphp5.so, when running ampache's initial scripts | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-215892@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=51778&edit=1
ID: 51778
Updated by: php-bugs@lists.php.net
Reported by: nkostis at gmail dot com
Summary: crash on libphp5.so, when running ampache's initial
scripts
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Apache2 related
Operating System: plugapps (arch linux)
PHP Version: 5.2.13
Assigned To: cmb
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2018-03-11 13:08:12] cmb@php.net
Hmm, rather old ticket without much helpful information. Can
anybody still reproduce this with current PHP versions? If so, a
proper backtrace might be helpful.
------------------------------------------------------------------------
[2010-06-30 11:46:35] p dot d dot mallinson at liv dot ac dot uk
I'm having the same problem on Solaris 10. phpinfo() works fine, so does setting variables but
as soon as I try $path = getenv("PATH") it causes Apache segmentation fault in the child
which was running.
------------------------------------------------------------------------
[2010-05-18 18:43:15] nkostis at gmail dot com
speaking with others on the plugapps forums, this seems to be only related with php on arm.
Also, it's not related to apache, for example it crashes with lighttpd as well.
maybe a newer php wouldn't have the issue, although plugapps devs also mentioned that they
can't get it to compile on arm/openpogo (that's a different bug though)
------------------------------------------------------------------------
[2010-05-18 10:30:22] mike@php.net
Nope, sorry. I'm running PHP on 2.6.33-ARCH x86_64 without problems, but that doesn't mean
anything to your problem.
------------------------------------------------------------------------
[2010-05-12 19:12:28] nkostis at gmail dot com
Ok, this script works:
<?php
phpinfo();
?>
while this one crashes apache (with the same stack trace as initially posted):
<?php
$prefix = dirname(__FILE__); #or .. = dirname(".");
?>
Finally if i run the same script without an argument passed for dirname:
<?php
$prefix = dirname();
?>
php issues an error, but there's no crash.
This implies stack corruption and compiler problems, but calling:
$row_classes = array('even', 'odd');
doesn't crash apache.
any ideas? is this helpful at all?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=51778
--
Edit this bug report at https://bugs.php.net/bug.php?id=51778&edit=1