|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-05-09 23:06 UTC] nkostis at gmail dot com
Description: ------------ I get this core dump when running anything from ampache (test.php, index.php, install.php, any ampache version): #0 0x406300a8 in _zval_ptr_dtor () from /etc/httpd/modules/libphp5.so #1 0x40660624 in zend_do_fcall_common_helper_SPEC () from /etc/httpd/modules/libphp5.so #2 0x4065dec8 in execute () from /etc/httpd/modules/libphp5.so the rest of the stack trace is unknown as LAMP runs on limited hardware (the pogoplug) and i have not install debug symbols. Pogoplug currently runs plugapps, an arm optimized version of Arch linux. I am not sure whether this crash is a vanilla php bug or a plugapps php issue. A basic "phpinfo()" script runs fine so at least basic php operation is properly configured. Sorry if the bug is not vanilla php and i'm wasting your time. Test script: --------------- any ampache script, i.e. test.php (http://pastebin.com/FXAtKNyJ), run on plugbox linux (arch 2.6.33 based) PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 04:00:01 2025 UTC |
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?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.