/    Sign up×
Community /Pin to ProfileBookmark

Segmentation Fault

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 ?? ()

[/QUOTE]

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.

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @lochgo spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...