|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-01-14 20:58 UTC] xenon54 at generationphp dot net
[2006-01-14 22:48 UTC] tony2001@php.net
[2006-01-15 00:38 UTC] xenon54 at generationphp dot net
[2006-01-23 01:00 UTC] php-bugs at lists dot php dot net
[2006-03-12 17:40 UTC] alexdg at gmail dot com
[2008-09-06 13:15 UTC] test at example dot com
[2008-12-10 08:06 UTC] fb at smartterra dot de
[2008-12-10 08:14 UTC] fb at smartterra dot de
[2009-08-16 10:38 UTC] jef at superior dot nl
[2009-11-11 04:53 UTC] no at thanks dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 03:00:01 2025 UTC |
Description: ------------ I'm receiving a Segmentation Fault when accessing index.php from cacti. I recompiled PHP without sessions support and the segmentation fault was not happening anymore. httpd-2.0.52-22.ent.centos4 glibc-2.3.4-2.13 cacti-0.8.6h Thanks for any help Reproduce code: --------------- I tried to locate the source of the segmentation fault. I located the line by using exit; to see where the fault is caused. To me, it makes no sense but giving it to you anyway. /cacti/lib/functions.php:137 if (isset($_SESSION["sess_config_array"])) { $config_array = $_SESSION["sess_config_array"]; } Expected result: ---------------- Segmentation fault Actual result: -------------- Backtrace #0 0x00345d30 in vfprintf () from /lib/tls/libc.so.6 #1 0x0036114b in vsprintf () from /lib/tls/libc.so.6 #2 0x0034e4cb in sprintf () from /lib/tls/libc.so.6 #3 0x0137cdfa in _convert_to_string (op=0xbf4006a0, __zend_filename=0x15cfcf0 "/usr/src/php-5.1.1/Zend/zend_vm_execute.h", __zend_lineno=4607) at /usr/src/php-5.1.1/Zend/zend_operators.c:544 #4 0x013b7ffd in ZEND_END_SILENCE_SPEC_TMP_HANDLER (execute_data=0xbf400cc0) at /usr/src/php-5.1.1/Zend/zend_vm_execute.h:4607 Frames #3 0x0137cdfa in _convert_to_string (op=0xbf4006a0, __zend_filename=0x15cfcf0 "/usr/src/php-5.1.1/Zend/zend_vm_execute.h", __zend_lineno=4607) at /usr/src/php-5.1.1/Zend/zend_operators.c:544 544 op->value.str.len = zend_sprintf(op->value.str.val, "%ld", lval); /* SAFE */ #4 0x013b7ffd in ZEND_END_SILENCE_SPEC_TMP_HANDLER (execute_data=0xbf400cc0) at /usr/src/php-5.1.1/Zend/zend_vm_execute.h:4607 4607 convert_to_string(&restored_error_reporting); error_log from Apache [Sat Jan 14 09:28:35 2006] [notice] child pid 2125 exit signal Segmentation fault (11)