Re: [PHP4BETA] SIGSEGV at zend_execute.c:1329
| From: | Zeev Suraski | Date: | Thu, 20 May 1999 15:20:16 +0000 |
| Subject: | Re: [PHP4BETA] SIGSEGV at zend_execute.c:1329 | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-898@lists.php.net to get a copy of this message | ||
Any chance you could give us that script? Or let us access that box?
Zeev
At 11:16 20/05/99 , Thies C. Arntzen wrote:
0x40f18 in execute (op_array=0x1318f0) at zend_execute.c:1329
1329 if (zend_hash_find(EG(function_table), fname->value.str.val, fname->value.str.len+1, (void **) &function_state.function)==FAILURE) {
(gdb) where
#0 0x40f18 in execute (op_array=0x1318f0) at zend_execute.c:1329
#1 0x410f4 in execute (op_array=0x13f4d0) at zend_execute.c:1363
#2 0x410f4 in execute (op_array=0x128808) at zend_execute.c:1363
#3 0x410f4 in execute (op_array=0x128808) at zend_execute.c:1363
#4 0x410f4 in execute (op_array=0xcab38) at zend_execute.c:1363
#5 0x238cc in php_execute_script (primary_file=0xeffff8f0) at main.c:1197
#6 0x290bc in main (argc=2, argv=0xeffff974) at cgi_main.c:432
(gdb) p *executor_globals->function_table $5 = {nTableSize = 463, nHashSizeIndex = 6, nNumOfElements = 414, nNextFreeElement = 77, pHashFunction = 0x3954c <hashpjw>, pInternalPointer = 0xb3700, pListHead = 0xb3700, pListTail = 0x345910, arBuckets = 0xb9178, pDestructor = 0x33418 <destroy_zend_function>, persistent = 1 '\001'} (gdb) p fname $6 = (zval *) 0x0 (gdb) p function_state
$7 = {function_symbol_table = 0x1c1e10, function = 0x1318f0, reserved = {0x0, 0x0, 0x0, 0xb0578}} problem seems to be fname = 0; script is HUGE - got no short snippet that causes the crash... tc-- Zeev Suraski <zeev@zend.com> http://www.zend.com/ For a PGP public key, finger bourbon@netvision.net.il -- PHP 4 BetaThies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany-- PHP 4 Beta