|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-05-14 13:46 UTC] wez@php.net
[2004-05-14 14:05 UTC] operator at infomaniak dot ch
[2004-05-14 15:33 UTC] iliaa@php.net
[2004-05-14 16:41 UTC] operator at infomaniak dot ch
[2004-05-14 17:05 UTC] operator at infomaniak dot ch
[2004-05-14 17:08 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Feb 06 01:00:01 2026 UTC |
Description: ------------ When memory limit is reached, this irremdiably cause a segfault. -- php with no extensions at all compiled with: --disable-all \ --with-apxs=/usr/sbin/apxs \ --enable-sigchild \ --disable-ipv6 \ --enable-memory-limit \ --with-config-file-path=/etc/httpd \ --disable-static \ --enable-shared \ --enable-debug reproductible with any memory_limit value (tried from 512 bytes to 8M) Reproduce code: --------------- <? $i=1; while($i++) { $a .= "."; if (($i % 1024) == 0) { echo memory_get_usage() . "<br/>\n"; flush(); } } ?> Expected result: ---------------- some kind of "memory exhausted" message Actual result: -------------- apache thread segfault