Endless loop in zend_alloc.c

php.internals

Edin Kadribasic

19 years ago
Hi, Trying to compile current php-5.2-dev on Windows using the new VC++ 8.0 (2005). PHP compiles without problems but on startup ends up in and endless loop at around line 768 of zend_alloc.c. rand() and do...while() never exit there. If I disable ZEND_MM_COOKIES PHP starts up fine. Edin

Andi Gutmans

19 years ago
Thanks for the heads-up. We are planning to work on changing this magic # generation this week anyway, so hopefully your problem will go away with the improvements.

Edin Kadribasic

19 years ago
The problem seems to occur using any version of the Microsoft compiler. It is what is locking up http://snaps.php.net/ at the moments since the snaps box runs the newly created binary to complete the installation process. Edin Andi Gutmans wrote: