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/
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?
Provide the full back traces please. Also, does it happen with a
specific script or just always?
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
You can also try and use valgrind on it. Good chances are that it's not the
memory manager which is causing this problem.
At 11:12 AM 9/10/2004 +0200, Derick Rethans wrote:
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?Provide the full back traces please. Also, does it happen with a
specific script or just always?Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org