# Endless loop in zend_alloc.c

- Thread: https://externals.io/message/27059
- Original archive: https://news-web.php.net/php.internals/27059
- Started by Edin Kadribasic on 2006-12-17T17:25:07+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #27059 — Edin Kadribasic — 2006-12-17T17:25:07+00:00

URL: https://externals.io/message/27059#27059

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

---

## #27062 — Andi Gutmans — 2006-12-17T23:34:37+00:00

URL: https://externals.io/message/27059#27062 · In reply to: #27059

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.

> -----Original Message-----
> From: Edin Kadribasic [mailto:edink@emini.dk] 
> Sent: Sunday, December 17, 2006 9:25 AM
> To: Dmitry Stogov; PHP Internals List
> Subject: [PHP-DEV] Endless loop in zend_alloc.c
> 
> 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
> 
> --
>  To 
> unsubscribe, visit: http://www.php.net/unsub.php
