Using PHP 4.3.9RC3 I keep getting core dumps every time I run php on a
development box, which I'm finding strange.

#0  0x0817ac8e in shutdown_memory_manager (silent=1, clean_cache=0)
    at /usr/local/src/php4-STABLE-200409100630/Zend/zend_alloc.c:491
491                                     REMOVE_POINTER_FROM_LIST(ptr);

How does one go around figuring out how to fix this or what is causing
this to core dump?

Looking at the source for zend_alloc.c it contains the following (line
numbering included):

     94 #define REMOVE_POINTER_FROM_LIST(p)             \
     95     if (p==AG(head)) {                          \
     96         AG(head) = p->pNext;                    \
     97     } else {                                    \
     98         p->pLast->pNext = p->pNext;             \
     99     }                                           \
    100     if (p->pNext) {                             \
    101         p->pNext->pLast = p->pLast;             \
    102     }

Regards
--jm

-- 
Jacques Marneweck
http://www.powertrip.co.za/blog/

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to