Re: [PHP4BETA] core dump (w/gdb trace)

From: Date: Wed, 14 Jul 1999 20:53:21 +0000
Subject: Re: [PHP4BETA] core dump (w/gdb trace)
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-2006@lists.php.net to get a copy of this message
We fixed the constants startup for the thread safe version and messed up the thread unsafe... Update your tree, it should be ok now. Zeev At 02:40 PM 7/14/99 -0400, Brian Schaffner wrote:
I tried PHP4 with apache 1.3.6. Had to add a line to apache.c (a #define SECTION ...) to make it compile correctly. Then, it all installed, but didn't run. Got a core and the following debug trace... Program received signal SIGSEGV, Segmentation fault. 0x80aa56d in zend_hash_add_or_update (ht=0x0, arKey=0x8179318 "crypt_salt_length", nKeyLength=18, pData=0xbffffa44, nDataSize=36,
    pDest=0x0, flag=2) at zend_hash.c:127
127             h = ht->pHashFunction(arKey, nKeyLength);
(gdb) bt #0 0x80aa56d in zend_hash_add_or_update (ht=0x0, arKey=0x8179318 "crypt_salt_length", nKeyLength=18, pData=0xbffffa44,
    nDataSize=36, pDest=0x0, flag=2) at zend_hash.c:127
#1 0x80a47dc in zend_register_constant (c=0xbffffa44) at zend_constants.c:248 #2 0x80a4659 in zend_register_long_constant (name=0x8113239 "CRYPT_SALT_LENGTH", name_len=18, lval=2, flags=3, module_number=8)
    at zend_constants.c:174
#3 0x809c0fc in php_minit_crypt (type=1, module_number=8) at crypt.c:109 #4 0x80a9d7f in zend_startup_module (module=0x81374fc) at zend_API.c:539 #5 0x8079154 in module_startup_modules () at internal_functions.c:103 #6 0x80789b5 in php_module_startup (sf=0x8132c48) at main.c:843 #7 0x8077fdf in php_init_handler () #8 0x80c2839 in ap_init_modules () #9 0x80cc20d in main () (gdb) -- PHP 4 Beta


« previous php.version4 (#2006) next »