I have a page that shows a hierarchical list of categories. The page has worked fine on every server it has been implemented on. I have put it on a new server, and it crashes every time creating a core dump file.
Using GDB to interpret the file, I get the following backtrace:
[QUOTE]
Program terminated with signal 11, Segmentation fault.
#0 0x0828eddd in zend_get_constant_ex (name=0x3 <Address 0x3 out of bounds>, name_len=3208081480, result=0x0, scope=0x0) at /home/cpeasyapache/src/php-5.2.6/Zend/zend_constants.c:253
253 zend_error(E_ERROR, “Cannot access parent:: when current class scope has no parent”);
(gdb) bt
#0 0x0828eddd in zend_get_constant_ex (name=0x3 <Address 0x3 out of bounds>, name_len=3208081480, result=0x0, scope=0x0) at /home/cpeasyapache/src/php-5.2.6/Zend/zend_constants.c:253
#1 0x0828f2e9 in zend_delete_global_variable (name=<value optimized out>, name_len=3) at /home/cpeasyapache/src/php-5.2.6/Zend/zend_execute_API.c:1613
#2 0x0818e965 in zif_mb_strwidth (ht=0, return_value=0x1, return_value_ptr=0x15c88410, this_ptr=0x108aae2, return_value_used=365462404)
at /home/cpeasyapache/src/php-5.2.6/ext/mbstring/mbstring.c:2284
#3 0x0818efc9 in zif_mb_stristr (ht=0, return_value=0x8d9b7c0, return_value_ptr=0x1, this_ptr=0x0, return_value_used=1) at /home/cpeasyapache/src/php-5.2.6/ext/mbstring/mbstring.c:1947
#4 0x0108a3dd in ?? ()
#5 0x00000000 in ?? ()
My server is running PHP Version 5.2.5
I can’t figure out where the problem lies. Any ideas where to even start looking?
Thank you for the assistance.