# php 5.5 - bug54268.phpt fails

- Thread: https://externals.io/message/65552
- Original archive: https://news-web.php.net/php.internals/65552
- Started by Remi Collet on 2013-02-01T08:39:01+00:00
- Messages: 3
- 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

---

## #65552 — Remi Collet — 2013-02-01T08:39:01+00:00

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

Hi,

I'm trying to get a 0 failed test (during fedora build)

For now, php 5.4 is ok (fedora 16-18)

With php 5.5 bug54268.phpt fails.
Seems a regression

This test is defined to run with memory_limit=8M

$ build-cgi/sapi/cli/php -n -d memory_limit=8M Zend/tests/bug54268.php
Segmentation fault

Reducing the memory_limit allow the test to pass :

$ build-cgi/sapi/cli/php -n -d memory_limit=4M Zend/tests/bug54268.php
Fatal error: Allowed memory size of 4194304 bytes exhausted (tried to
allocate 130968 bytes) in ...

So, I propose to lower the memory_limit in the unit test.

Any better proposal ?


Remi.

---

## #65553 — Ferenc Kovacs — 2013-02-01T09:30:37+00:00

URL: https://externals.io/message/65552#65553 · In reply to: #65552

2013.02.01. 10:02, "Remi Collet" <remi@fedoraproject.org> ezt írta:
>
> Hi,
>
> I'm trying to get a 0 failed test (during fedora build)
>
> For now, php 5.4 is ok (fedora 16-18)
>
> With php 5.5 bug54268.phpt fails.
> Seems a regression
>
> This test is defined to run with memory_limit=8M
>
> $ build-cgi/sapi/cli/php -n -d memory_limit=8M Zend/tests/bug54268.php
> Segmentation fault
>
> Reducing the memory_limit allow the test to pass :
>
> $ build-cgi/sapi/cli/php -n -d memory_limit=4M Zend/tests/bug54268.php
> Fatal error: Allowed memory size of 4194304 bytes exhausted (tried to
> allocate 130968 bytes) in ...
>
> So, I propose to lower the memory_limit in the unit test.
>
> Any better proposal ?

this sounds like a bug and should be looked into.

---

## #65554 — Remi Collet — 2013-02-01T10:09:01+00:00

URL: https://externals.io/message/65552#65554 · In reply to: #65553

Le 01/02/2013 10:30, Ferenc Kovacs a écrit :
> 2013.02.01. 10:02, "Remi Collet" <remi@fedoraproject.org
> > […]

> this sounds like a bug and should be looked into.

For tracking  https://bugs.php.net/bug.php?id=64123


Remi.
