php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67414 PhD build fails with exit code 255
Submitted: 2014-06-10 12:59 UTC Modified: 2014-07-29 19:04 UTC
From: ondrej@php.net Assigned:
Status: Open Package: Scripting Engine problem
PHP Version: 5.6.0beta4 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-06-10 12:59 UTC] ondrej@php.net
Description:
------------
php cli fails with error code 255 with out of memory

[10-Jun-2014 12:42:33 UTC] PHP Fatal error:  Out of memory (allocated 262144) (tried to allocate 140150164861000 bytes) in Unknown on line 0


Test script:
---------------
relevant bits from php-doc package debian/rules:

$ php doc-base/configure.php
# OK
$ php PhD/PhD-*/render.php --docbook doc-base/.manual.xml --format xhtml
[12:42:08 - Rendering Style       ] Running full build
[12:42:08 - Indexing              ] Skipping indexing
[12:42:09 - Rendering Style       ] Running full build
[12:42:09 - Rendering Format      ] Starting Chunked-XHTML rendering
[12:42:33 - Rendering Format      ] Finished rendering
$ echo $?
255

php_error.log:
[10-Jun-2014 12:42:33 UTC] PHP Fatal error:  Out of memory (allocated 262144) (tried to allocate 140150164861000 bytes) in Unknown on line 0


Expected result:
----------------
exit code 0

Actual result:
--------------
The strace show something fishy in mmap/munmap at the end of the operation:

fstat(3, {st_mode=S_IFREG|0644, st_size=4318208, ...}) = 0
stat("/tmp/buildd/php-doc-20140201/output/index.sqlite", {st_mode=S_IFREG|0644, st_size=4318208, ...}) = 0
close(3)                                = 0
munmap(0x7f6d03921000, 266240)          = 0
munmap(0x7f6d038e0000, 266240)          = 0
munmap(0x7f6d0385e000, 266240)          = 0
munmap(0x7f6d0381d000, 266240)          = 0
munmap(0x7f6d037dc000, 266240)          = 0
munmap(0x7f6d0389f000, 266240)          = 0
munmap(0x7f6d0375a000, 266240)          = 0
munmap(0x7f6d03719000, 266240)          = 0
munmap(0x7f6d036d8000, 266240)          = 0
munmap(0x7f6d03697000, 266240)          = 0
munmap(0x7f6d03656000, 266240)          = 0
munmap(0x7f6d0379b000, 266240)          = 0
munmap(0x7f6d03615000, 266240)          = 0
munmap(0x7f6d03593000, 266240)          = 0
munmap(0x7f6d03552000, 266240)          = 0
munmap(0x7f6d03511000, 266240)          = 0
munmap(0x7f6d034d0000, 266240)          = 0
munmap(0x7f6d0348f000, 266240)          = 0
munmap(0x7f6d0344e000, 266240)          = 0
munmap(0x7f6d0340d000, 266240)          = 0
munmap(0x7f6d033cc000, 266240)          = 0
munmap(0x7f6d0338b000, 266240)          = 0
munmap(0x7f6d0334a000, 266240)          = 0
munmap(0x7f6d03309000, 266240)          = 0
munmap(0x7f6d032c8000, 266240)          = 0
munmap(0x7f6d03287000, 266240)          = 0
munmap(0x7f6d03246000, 266240)          = 0
munmap(0x7f6d03205000, 266240)          = 0
munmap(0x7f6d035d4000, 266240)          = 0
munmap(0x7f6d03183000, 266240)          = 0
munmap(0x7f6d03142000, 266240)          = 0
munmap(0x7f6d03101000, 266240)          = 0
munmap(0x7f6d030c0000, 266240)          = 0
munmap(0x7f6d0307f000, 266240)          = 0
munmap(0x7f6d0303e000, 266240)          = 0
munmap(0x7f6d02fbc000, 266240)          = 0
munmap(0x7f6d02ffd000, 266240)          = 0
munmap(0x7f6d02f7b000, 266240)          = 0
munmap(0x7f6d02f3a000, 266240)          = 0
munmap(0x7f6d02ef9000, 266240)          = 0
munmap(0x7f6d02eb8000, 266240)          = 0
munmap(0x7f6d02e77000, 266240)          = 0
munmap(0x7f6d02df5000, 266240)          = 0
munmap(0x7f6d02e36000, 266240)          = 0
munmap(0x7f6d02d73000, 266240)          = 0
munmap(0x7f6d02db4000, 266240)          = 0
munmap(0x7f6d02d32000, 266240)          = 0
munmap(0x7f6d02cf1000, 266240)          = 0
munmap(0x7f6d02cb0000, 266240)          = 0
munmap(0x7f6d02c6f000, 266240)          = 0
munmap(0x7f6d02c2e000, 266240)          = 0
munmap(0x7f6d02bed000, 266240)          = 0
munmap(0x7f6d02bac000, 266240)          = 0
munmap(0x7f6d02b6b000, 266240)          = 0
munmap(0x7f6d02b2a000, 266240)          = 0
munmap(0x7f6d02ae9000, 266240)          = 0
munmap(0x7f6d02a67000, 266240)          = 0
munmap(0x7f6d031c4000, 266240)          = 0
munmap(0x7f6d02aa8000, 266240)          = 0
munmap(0x7f6d029e5000, 266240)          = 0
munmap(0x7f6d029a4000, 266240)          = 0
munmap(0x7f6d02963000, 266240)          = 0
munmap(0x7f6d02922000, 266240)          = 0
munmap(0x7f6d028e1000, 266240)          = 0
munmap(0x7f6d028a0000, 266240)          = 0
munmap(0x7f6d0285f000, 266240)          = 0
munmap(0x7f6d0281e000, 266240)          = 0
munmap(0x7f6d027dd000, 266240)          = 0
munmap(0x7f6d0279c000, 266240)          = 0
munmap(0x7f6d0275b000, 266240)          = 0
munmap(0x7f6d026d9000, 266240)          = 0
munmap(0x7f6d0271a000, 266240)          = 0
munmap(0x7f6d02657000, 266240)          = 0
munmap(0x7f6d02698000, 266240)          = 0
munmap(0x7f6d02594000, 266240)          = 0
munmap(0x7f6d02553000, 266240)          = 0
munmap(0x7f6d025d5000, 266240)          = 0
munmap(0x7f6d02512000, 266240)          = 0
munmap(0x7f6d024d1000, 266240)          = 0
munmap(0x7f6d02490000, 266240)          = 0
munmap(0x7f6d0244f000, 266240)          = 0
munmap(0x7f6d02616000, 266240)          = 0
munmap(0x7f6d0240e000, 266240)          = 0
munmap(0x7f6d0238c000, 266240)          = 0
munmap(0x7f6d0234b000, 266240)          = 0
munmap(0x7f6d023cd000, 266240)          = 0
munmap(0x7f6d0230a000, 266240)          = 0
munmap(0x7f6d02288000, 266240)          = 0
munmap(0x7f6d02247000, 266240)          = 0
munmap(0x7f6d022c9000, 266240)          = 0
munmap(0x7f6d02206000, 266240)          = 0
munmap(0x7f6d021c5000, 266240)          = 0
munmap(0x7f6d02184000, 266240)          = 0
munmap(0x7f6d02143000, 266240)          = 0
munmap(0x7f6d02102000, 266240)          = 0
munmap(0x7f6d020c1000, 266240)          = 0
munmap(0x7f6d02080000, 266240)          = 0
munmap(0x7f6d0203f000, 266240)          = 0
munmap(0x7f6d01fbd000, 266240)          = 0
munmap(0x7f6d01ffe000, 266240)          = 0
munmap(0x7f6d01f7c000, 266240)          = 0
munmap(0x7f6d01f3b000, 266240)          = 0
munmap(0x7f6d01efa000, 266240)          = 0
munmap(0x7f6d01eb9000, 266240)          = 0
munmap(0x7f6d01e37000, 266240)          = 0
munmap(0x7f6d01e78000, 266240)          = 0
munmap(0x7f6d01db5000, 266240)          = 0
munmap(0x7f6d01d74000, 266240)          = 0
munmap(0x7f6d01df6000, 266240)          = 0
munmap(0x7f6d01d33000, 266240)          = 0
munmap(0x7f6d01cf2000, 266240)          = 0
munmap(0x7f6d01cb1000, 266240)          = 0
munmap(0x7f6d01c2f000, 266240)          = 0
munmap(0x7f6d01c70000, 266240)          = 0
munmap(0x7f6d01bee000, 266240)          = 0
munmap(0x7f6d01bad000, 266240)          = 0
munmap(0x7f6d01b6c000, 266240)          = 0
munmap(0x7f6d01b2b000, 266240)          = 0
munmap(0x7f6d01aea000, 266240)          = 0
munmap(0x7f6d01a28000, 266240)          = 0
munmap(0x7f6d02a26000, 266240)          = 0
munmap(0x7f6d019e7000, 266240)          = 0
munmap(0x7f6d019a6000, 266240)          = 0
munmap(0x7f6d01965000, 266240)          = 0
munmap(0x7f6d01924000, 266240)          = 0
munmap(0x7f6d018e3000, 266240)          = 0
munmap(0x7f6d018a2000, 266240)          = 0
munmap(0x7f6d01861000, 266240)          = 0
munmap(0x7f6d01820000, 266240)          = 0
munmap(0x7f6d017df000, 266240)          = 0
munmap(0x7f6d0175d000, 266240)          = 0
munmap(0x7f6d0171c000, 266240)          = 0
munmap(0x7f6d016db000, 266240)          = 0
munmap(0x7f6d0169a000, 266240)          = 0
munmap(0x7f6d0179e000, 266240)          = 0
munmap(0x7f6d01618000, 266240)          = 0
munmap(0x7f6d01659000, 266240)          = 0
munmap(0x7f6d015d7000, 266240)          = 0
munmap(0x7f6d01596000, 266240)          = 0
munmap(0x7f6d01555000, 266240)          = 0
munmap(0x7f6d01514000, 266240)          = 0
munmap(0x7f6d014d3000, 266240)          = 0
munmap(0x7f6d01492000, 266240)          = 0
munmap(0x7f6d01451000, 266240)          = 0
munmap(0x7f6d01410000, 266240)          = 0
munmap(0x7f6d0138e000, 266240)          = 0
munmap(0x7f6d013cf000, 266240)          = 0
munmap(0x7f6d0134d000, 266240)          = 0
munmap(0x7f6d0130c000, 266240)          = 0
munmap(0x7f6d012cb000, 266240)          = 0
munmap(0x7f6d0128a000, 266240)          = 0
munmap(0x7f6d01249000, 266240)          = 0
munmap(0x7f6d01208000, 266240)          = 0
munmap(0x7f6d01186000, 266240)          = 0
munmap(0x7f6d011c7000, 266240)          = 0
munmap(0x7f6d01145000, 266240)          = 0
munmap(0x7f6d01104000, 266240)          = 0
munmap(0x7f6d010c3000, 266240)          = 0
munmap(0x7f6d01082000, 266240)          = 0
munmap(0x7f6d01000000, 266240)          = 0
munmap(0x7f6d01041000, 266240)          = 0
munmap(0x7f6d00fbf000, 266240)          = 0
munmap(0x7f6d00f7e000, 266240)          = 0
munmap(0x7f6d00f3d000, 266240)          = 0
munmap(0x7f6d00efc000, 266240)          = 0
munmap(0x7f6d00ebb000, 266240)          = 0
munmap(0x7f6d00e7a000, 266240)          = 0
munmap(0x7f6d00e39000, 266240)          = 0
munmap(0x7f6d00df8000, 266240)          = 0
munmap(0x7f6d00db7000, 266240)          = 0
munmap(0x7f6d00d76000, 266240)          = 0
munmap(0x7f6d00d35000, 266240)          = 0
munmap(0x7f6d00cf4000, 266240)          = 0
munmap(0x7f6d00cb3000, 266240)          = 0
munmap(0x7f6d00c72000, 266240)          = 0
munmap(0x7f6d00c31000, 266240)          = 0
munmap(0x7f6d00bf0000, 266240)          = 0
munmap(0x7f6d00baf000, 266240)          = 0
munmap(0x7f6d00b6e000, 266240)          = 0
munmap(0x7f6d00b2d000, 266240)          = 0
munmap(0x7f6d00aec000, 266240)          = 0
munmap(0x7f6d00a6a000, 266240)          = 0
munmap(0x7f6d00aab000, 266240)          = 0
munmap(0x7f6d00a29000, 266240)          = 0
munmap(0x7f6d009e8000, 266240)          = 0
munmap(0x7f6d009a7000, 266240)          = 0
munmap(0x7f6d00966000, 266240)          = 0
munmap(0x7f6d008e4000, 266240)          = 0
munmap(0x7f6d00925000, 266240)          = 0
munmap(0x7f6d008a3000, 266240)          = 0
munmap(0x7f6d00862000, 266240)          = 0
munmap(0x7f6d007e0000, 266240)          = 0
munmap(0x7f6d0079f000, 266240)          = 0
munmap(0x7f6d0075e000, 266240)          = 0
munmap(0x7f6d00821000, 266240)          = 0fstat(3, {st_mode=S_IFREG|0644, st_size=4318208, ...}) = 0
stat("/tmp/buildd/php-doc-20140201/output/index.sqlite", {st_mode=S_IFREG|0644, st_size=4318208, ...}) = 0
close(3)                                = 0
munmap(0x7f6d03921000, 266240)          = 0
munmap(0x7f6d038e0000, 266240)          = 0
munmap(0x7f6d0385e000, 266240)          = 0
munmap(0x7f6d0381d000, 266240)          = 0
munmap(0x7f6d037dc000, 266240)          = 0
munmap(0x7f6d0389f000, 266240)          = 0
munmap(0x7f6d0375a000, 266240)          = 0
munmap(0x7f6d03719000, 266240)          = 0
munmap(0x7f6d036d8000, 266240)          = 0
munmap(0x7f6d03697000, 266240)          = 0
munmap(0x7f6d03656000, 266240)          = 0
munmap(0x7f6d0379b000, 266240)          = 0
munmap(0x7f6d03615000, 266240)          = 0
munmap(0x7f6d03593000, 266240)          = 0
munmap(0x7f6d03552000, 266240)          = 0
munmap(0x7f6d03511000, 266240)          = 0
munmap(0x7f6d034d0000, 266240)          = 0
munmap(0x7f6d0348f000, 266240)          = 0
munmap(0x7f6d0344e000, 266240)          = 0
munmap(0x7f6d0340d000, 266240)          = 0
munmap(0x7f6d033cc000, 266240)          = 0
munmap(0x7f6d0338b000, 266240)          = 0
munmap(0x7f6d0334a000, 266240)          = 0
munmap(0x7f6d03309000, 266240)          = 0
munmap(0x7f6d032c8000, 266240)          = 0
munmap(0x7f6d03287000, 266240)          = 0
munmap(0x7f6d03246000, 266240)          = 0
munmap(0x7f6d03205000, 266240)          = 0
munmap(0x7f6d035d4000, 266240)          = 0
munmap(0x7f6d03183000, 266240)          = 0
munmap(0x7f6d03142000, 266240)          = 0
munmap(0x7f6d03101000, 266240)          = 0
munmap(0x7f6d030c0000, 266240)          = 0
munmap(0x7f6d0307f000, 266240)          = 0
munmap(0x7f6d0303e000, 266240)          = 0
munmap(0x7f6d02fbc000, 266240)          = 0
munmap(0x7f6d02ffd000, 266240)          = 0
munmap(0x7f6d02f7b000, 266240)          = 0
munmap(0x7f6d02f3a000, 266240)          = 0
munmap(0x7f6d02ef9000, 266240)          = 0
munmap(0x7f6d02eb8000, 266240)          = 0
munmap(0x7f6d02e77000, 266240)          = 0
munmap(0x7f6d02df5000, 266240)          = 0
munmap(0x7f6d02e36000, 266240)          = 0
munmap(0x7f6d02d73000, 266240)          = 0
munmap(0x7f6d02db4000, 266240)          = 0
munmap(0x7f6d02d32000, 266240)          = 0
munmap(0x7f6d02cf1000, 266240)          = 0
munmap(0x7f6d02cb0000, 266240)          = 0
munmap(0x7f6d02c6f000, 266240)          = 0
munmap(0x7f6d02c2e000, 266240)          = 0
munmap(0x7f6d02bed000, 266240)          = 0
munmap(0x7f6d02bac000, 266240)          = 0
munmap(0x7f6d02b6b000, 266240)          = 0
munmap(0x7f6d02b2a000, 266240)          = 0
munmap(0x7f6d02ae9000, 266240)          = 0
munmap(0x7f6d02a67000, 266240)          = 0
munmap(0x7f6d031c4000, 266240)          = 0
munmap(0x7f6d02aa8000, 266240)          = 0
munmap(0x7f6d029e5000, 266240)          = 0
munmap(0x7f6d029a4000, 266240)          = 0
munmap(0x7f6d02963000, 266240)          = 0
munmap(0x7f6d02922000, 266240)          = 0
munmap(0x7f6d028e1000, 266240)          = 0
munmap(0x7f6d028a0000, 266240)          = 0
munmap(0x7f6d0285f000, 266240)          = 0
munmap(0x7f6d0281e000, 266240)          = 0
munmap(0x7f6d027dd000, 266240)          = 0
munmap(0x7f6d0279c000, 266240)          = 0
munmap(0x7f6d0275b000, 266240)          = 0
munmap(0x7f6d026d9000, 266240)          = 0
munmap(0x7f6d0271a000, 266240)          = 0
munmap(0x7f6d02657000, 266240)          = 0
munmap(0x7f6d02698000, 266240)          = 0
munmap(0x7f6d02594000, 266240)          = 0
munmap(0x7f6d02553000, 266240)          = 0
munmap(0x7f6d025d5000, 266240)          = 0
munmap(0x7f6d02512000, 266240)          = 0
munmap(0x7f6d024d1000, 266240)          = 0
munmap(0x7f6d02490000, 266240)          = 0
munmap(0x7f6d0244f000, 266240)          = 0
munmap(0x7f6d02616000, 266240)          = 0
munmap(0x7f6d0240e000, 266240)          = 0
munmap(0x7f6d0238c000, 266240)          = 0
munmap(0x7f6d0234b000, 266240)          = 0
munmap(0x7f6d023cd000, 266240)          = 0
munmap(0x7f6d0230a000, 266240)          = 0
munmap(0x7f6d02288000, 266240)          = 0
munmap(0x7f6d02247000, 266240)          = 0
munmap(0x7f6d022c9000, 266240)          = 0
munmap(0x7f6d02206000, 266240)          = 0
munmap(0x7f6d021c5000, 266240)          = 0
munmap(0x7f6d02184000, 266240)          = 0
munmap(0x7f6d02143000, 266240)          = 0
munmap(0x7f6d02102000, 266240)          = 0
munmap(0x7f6d020c1000, 266240)          = 0
munmap(0x7f6d02080000, 266240)          = 0
munmap(0x7f6d0203f000, 266240)          = 0
munmap(0x7f6d01fbd000, 266240)          = 0
munmap(0x7f6d01ffe000, 266240)          = 0
munmap(0x7f6d01f7c000, 266240)          = 0
munmap(0x7f6d01f3b000, 266240)          = 0
munmap(0x7f6d01efa000, 266240)          = 0
munmap(0x7f6d01eb9000, 266240)          = 0
munmap(0x7f6d01e37000, 266240)          = 0
munmap(0x7f6d01e78000, 266240)          = 0
munmap(0x7f6d01db5000, 266240)          = 0
munmap(0x7f6d01d74000, 266240)          = 0
munmap(0x7f6d01df6000, 266240)          = 0
munmap(0x7f6d01d33000, 266240)          = 0
munmap(0x7f6d01cf2000, 266240)          = 0
munmap(0x7f6d01cb1000, 266240)          = 0
munmap(0x7f6d01c2f000, 266240)          = 0
munmap(0x7f6d01c70000, 266240)          = 0
munmap(0x7f6d01bee000, 266240)          = 0
munmap(0x7f6d01bad000, 266240)          = 0
munmap(0x7f6d01b6c000, 266240)          = 0
munmap(0x7f6d01b2b000, 266240)          = 0
munmap(0x7f6d01aea000, 266240)          = 0
munmap(0x7f6d01a28000, 266240)          = 0
munmap(0x7f6d02a26000, 266240)          = 0
munmap(0x7f6d019e7000, 266240)          = 0
munmap(0x7f6d019a6000, 266240)          = 0
munmap(0x7f6d01965000, 266240)          = 0
munmap(0x7f6d01924000, 266240)          = 0
munmap(0x7f6d018e3000, 266240)          = 0
munmap(0x7f6d018a2000, 266240)          = 0
munmap(0x7f6d01861000, 266240)          = 0
munmap(0x7f6d01820000, 266240)          = 0
munmap(0x7f6d017df000, 266240)          = 0
munmap(0x7f6d0175d000, 266240)          = 0
munmap(0x7f6d0171c000, 266240)          = 0
munmap(0x7f6d016db000, 266240)          = 0
munmap(0x7f6d0169a000, 266240)          = 0
munmap(0x7f6d0179e000, 266240)          = 0
munmap(0x7f6d01618000, 266240)          = 0
munmap(0x7f6d01659000, 266240)          = 0
munmap(0x7f6d015d7000, 266240)          = 0
munmap(0x7f6d01596000, 266240)          = 0
munmap(0x7f6d01555000, 266240)          = 0
munmap(0x7f6d01514000, 266240)          = 0
munmap(0x7f6d014d3000, 266240)          = 0
munmap(0x7f6d01492000, 266240)          = 0
munmap(0x7f6d01451000, 266240)          = 0
munmap(0x7f6d01410000, 266240)          = 0
munmap(0x7f6d0138e000, 266240)          = 0
munmap(0x7f6d013cf000, 266240)          = 0
munmap(0x7f6d0134d000, 266240)          = 0
munmap(0x7f6d0130c000, 266240)          = 0
munmap(0x7f6d012cb000, 266240)          = 0
munmap(0x7f6d0128a000, 266240)          = 0
munmap(0x7f6d01249000, 266240)          = 0
munmap(0x7f6d01208000, 266240)          = 0
munmap(0x7f6d01186000, 266240)          = 0
munmap(0x7f6d011c7000, 266240)          = 0
munmap(0x7f6d01145000, 266240)          = 0
munmap(0x7f6d01104000, 266240)          = 0
munmap(0x7f6d010c3000, 266240)          = 0
munmap(0x7f6d01082000, 266240)          = 0
munmap(0x7f6d01000000, 266240)          = 0
munmap(0x7f6d01041000, 266240)          = 0
munmap(0x7f6d00fbf000, 266240)          = 0
munmap(0x7f6d00f7e000, 266240)          = 0
munmap(0x7f6d00f3d000, 266240)          = 0
munmap(0x7f6d00efc000, 266240)          = 0
munmap(0x7f6d00ebb000, 266240)          = 0
munmap(0x7f6d00e7a000, 266240)          = 0
munmap(0x7f6d00e39000, 266240)          = 0
munmap(0x7f6d00df8000, 266240)          = 0
munmap(0x7f6d00db7000, 266240)          = 0
munmap(0x7f6d00d76000, 266240)          = 0
munmap(0x7f6d00d35000, 266240)          = 0
munmap(0x7f6d00cf4000, 266240)          = 0
munmap(0x7f6d00cb3000, 266240)          = 0
munmap(0x7f6d00c72000, 266240)          = 0
munmap(0x7f6d00c31000, 266240)          = 0
munmap(0x7f6d00bf0000, 266240)          = 0
munmap(0x7f6d00baf000, 266240)          = 0
munmap(0x7f6d00b6e000, 266240)          = 0
munmap(0x7f6d00b2d000, 266240)          = 0
munmap(0x7f6d00aec000, 266240)          = 0
munmap(0x7f6d00a6a000, 266240)          = 0
munmap(0x7f6d00aab000, 266240)          = 0
munmap(0x7f6d00a29000, 266240)          = 0
munmap(0x7f6d009e8000, 266240)          = 0
munmap(0x7f6d009a7000, 266240)          = 0
munmap(0x7f6d00966000, 266240)          = 0
munmap(0x7f6d008e4000, 266240)          = 0
munmap(0x7f6d00925000, 266240)          = 0
munmap(0x7f6d008a3000, 266240)          = 0
munmap(0x7f6d00862000, 266240)          = 0
munmap(0x7f6d007e0000, 266240)          = 0
munmap(0x7f6d0079f000, 266240)          = 0
munmap(0x7f6d0075e000, 266240)          = 0
munmap(0x7f6d00821000, 266240)          = 0
munmap(0x7f6d006dc000, 266240)          = 0
munmap(0x7f6d0069b000, 266240)          = 0
munmap(0x7f6d0071d000, 266240)          = 0
munmap(0x7f6d00619000, 266240)          = 0
munmap(0x7f6d01a69000, 528384)          = 0
munmap(0x7f6d0065a000, 266240)          = 0
munmap(0x7f6d00597000, 266240)          = 0
munmap(0x7f6d00556000, 266240)          = 0
munmap(0x7f6d00493000, 266240)          = 0
munmap(0x7f6d00452000, 266240)          = 0
munmap(0x7f6d00515000, 266240)          = 0
munmap(0x7f6d00411000, 266240)          = 0
munmap(0x7f6d003d0000, 266240)          = 0
munmap(0x7f6d004d4000, 266240)          = 0
munmap(0x7f6d0034e000, 266240)          = 0
munmap(0x7f6d0038f000, 266240)          = 0
munmap(0x7f6d0028b000, 266240)          = 0
munmap(0x7f6d002cc000, 266240)          = 0
munmap(0x7f6d00209000, 266240)          = 0
munmap(0x7f6d001c8000, 266240)          = 0
munmap(0x7f6d00187000, 266240)          = 0
munmap(0x7f6d0024a000, 266240)          = 0
munmap(0x7f6d00083000, 266240)          = 0
munmap(0x7f6d000c4000, 266240)          = 0
munmap(0x7f6d00042000, 266240)          = 0
munmap(0x7f6d005d8000, 266240)          = 0
munmap(0x7f6d0030d000, 266240)          = 0
close(2)                                = 0
close(1)                                = 0
munmap(0x7f6d0c22a000, 4096)            = 0
close(0)                                = 0
munmap(0x7f6d0c22b000, 4096)            = 0
munmap(0x7f6d00001000, 266240)          = 0
munmap(0x7f6d00105000, 266240)          = 0
munmap(0x7f6d00146000, 266240)          = 0
munmap(0x7f6d03962000, 266240)          = 0
munmap(0x7f6d039a3000, 266240)          = 0
munmap(0x7f6d039e4000, 266240)          = 0
munmap(0x7f6d03a25000, 266240)          = 0
munmap(0x7f6d03a66000, 266240)          = 0
munmap(0x7f6d03aa7000, 266240)          = 0
mmap(NULL, 140106330017792, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
brk(0x7f6d0d9cb000)                     = 0x19f1000
mmap(NULL, 140106330148864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
mmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7f6cfbae8000
munmap(0x7f6cfbae8000, 5341184)         = 0
munmap(0x7f6d00000000, 61767680)        = 0
mprotect(0x7f6cfc000000, 135168, PROT_READ|PROT_WRITE) = 0
mmap(NULL, 140106330017792, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
lstat("/tmp/php_errors.log", {st_mode=S_IFREG|0644, st_size=282, ...}) = 0
open("/tmp/php_errors.log", O_WRONLY|O_CREAT|O_APPEND, 0644) = 0
open("/usr/share/zoneinfo/UTC", O_RDONLY) = 1
fstat(1, {st_mode=S_IFREG|0644, st_size=118, ...}) = 0
mmap(NULL, 118, PROT_READ, MAP_SHARED, 1, 0) = 0x7f6d0c22c000
close(1)                                = 0
munmap(0x7f6d0c22c000, 118)             = 0
write(0, "[10-Jun-2014 12:45:39 UTC] PHP F"..., 141) = 141
close(0)                                = 0
munmap(0x7f6d03ae8000, 2149664)         = 0
munmap(0x7f6d03fb1000, 2122976)         = 0
munmap(0x7f6d03cf5000, 2863896)         = 0
munmap(0x7f6d041b8000, 2126792)         = 0
munmap(0x7f6d043c0000, 2242888)         = 0
munmap(0x7f6d045e4000, 2147272)         = 0
munmap(0x7f6d04c2c000, 2143176)         = 0
munmap(0x7f6d049fa000, 2300608)         = 0
munmap(0x7f6d047f1000, 2132088)         = 0
munmap(0x7f6d05043000, 2135208)         = 0
munmap(0x7f6d04e38000, 2139024)         = 0
munmap(0x7f6d0796a000, 2505312)         = 0
munmap(0x7f6d0576e000, 2150592)         = 0
munmap(0x7f6d07562000, 4223976)         = 0
munmap(0x7f6d071e9000, 3639856)         = 0
munmap(0x7f6d0597c000, 25608208)        = 0
munmap(0x7f6d07bce000, 2214208)         = 0
munmap(0x7f6d07deb000, 2379040)         = 0
munmap(0x7f6d08030000, 2284776)         = 0
brk(0x1263000)                          = 0x1263000
munmap(0x7f6d0c06f000, 1052672)         = 0
munmap(0x7f6d0c170000, 266240)          = 0
munmap(0x7f6d0825e000, 323584)          = 0
exit_group(255)                         = ?

munmap(0x7f6d006dc000, 266240)          = 0
munmap(0x7f6d0069b000, 266240)          = 0
munmap(0x7f6d0071d000, 266240)          = 0
munmap(0x7f6d00619000, 266240)          = 0
munmap(0x7f6d01a69000, 528384)          = 0
munmap(0x7f6d0065a000, 266240)          = 0
munmap(0x7f6d00597000, 266240)          = 0
munmap(0x7f6d00556000, 266240)          = 0
munmap(0x7f6d00493000, 266240)          = 0
munmap(0x7f6d00452000, 266240)          = 0
munmap(0x7f6d00515000, 266240)          = 0
munmap(0x7f6d00411000, 266240)          = 0
munmap(0x7f6d003d0000, 266240)          = 0
munmap(0x7f6d004d4000, 266240)          = 0
munmap(0x7f6d0034e000, 266240)          = 0
munmap(0x7f6d0038f000, 266240)          = 0
munmap(0x7f6d0028b000, 266240)          = 0
munmap(0x7f6d002cc000, 266240)          = 0
munmap(0x7f6d00209000, 266240)          = 0
munmap(0x7f6d001c8000, 266240)          = 0
munmap(0x7f6d00187000, 266240)          = 0
munmap(0x7f6d0024a000, 266240)          = 0
munmap(0x7f6d00083000, 266240)          = 0
munmap(0x7f6d000c4000, 266240)          = 0
munmap(0x7f6d00042000, 266240)          = 0
munmap(0x7f6d005d8000, 266240)          = 0
munmap(0x7f6d0030d000, 266240)          = 0
close(2)                                = 0
close(1)                                = 0
munmap(0x7f6d0c22a000, 4096)            = 0
close(0)                                = 0
munmap(0x7f6d0c22b000, 4096)            = 0
munmap(0x7f6d00001000, 266240)          = 0
munmap(0x7f6d00105000, 266240)          = 0
munmap(0x7f6d00146000, 266240)          = 0
munmap(0x7f6d03962000, 266240)          = 0
munmap(0x7f6d039a3000, 266240)          = 0
munmap(0x7f6d039e4000, 266240)          = 0
munmap(0x7f6d03a25000, 266240)          = 0
munmap(0x7f6d03a66000, 266240)          = 0
munmap(0x7f6d03aa7000, 266240)          = 0
mmap(NULL, 140106330017792, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
brk(0x7f6d0d9cb000)                     = 0x19f1000
mmap(NULL, 140106330148864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
mmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7f6cfbae8000
munmap(0x7f6cfbae8000, 5341184)         = 0
munmap(0x7f6d00000000, 61767680)        = 0
mprotect(0x7f6cfc000000, 135168, PROT_READ|PROT_WRITE) = 0
mmap(NULL, 140106330017792, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
lstat("/tmp/php_errors.log", {st_mode=S_IFREG|0644, st_size=282, ...}) = 0
open("/tmp/php_errors.log", O_WRONLY|O_CREAT|O_APPEND, 0644) = 0
open("/usr/share/zoneinfo/UTC", O_RDONLY) = 1
fstat(1, {st_mode=S_IFREG|0644, st_size=118, ...}) = 0
mmap(NULL, 118, PROT_READ, MAP_SHARED, 1, 0) = 0x7f6d0c22c000
close(1)                                = 0
munmap(0x7f6d0c22c000, 118)             = 0
write(0, "[10-Jun-2014 12:45:39 UTC] PHP F"..., 141) = 141
close(0)                                = 0
munmap(0x7f6d03ae8000, 2149664)         = 0
munmap(0x7f6d03fb1000, 2122976)         = 0
munmap(0x7f6d03cf5000, 2863896)         = 0
munmap(0x7f6d041b8000, 2126792)         = 0
munmap(0x7f6d043c0000, 2242888)         = 0
munmap(0x7f6d045e4000, 2147272)         = 0
munmap(0x7f6d04c2c000, 2143176)         = 0
munmap(0x7f6d049fa000, 2300608)         = 0
munmap(0x7f6d047f1000, 2132088)         = 0
munmap(0x7f6d05043000, 2135208)         = 0
munmap(0x7f6d04e38000, 2139024)         = 0
munmap(0x7f6d0796a000, 2505312)         = 0
munmap(0x7f6d0576e000, 2150592)         = 0
munmap(0x7f6d07562000, 4223976)         = 0
munmap(0x7f6d071e9000, 3639856)         = 0
munmap(0x7f6d0597c000, 25608208)        = 0
munmap(0x7f6d07bce000, 2214208)         = 0
munmap(0x7f6d07deb000, 2379040)         = 0
munmap(0x7f6d08030000, 2284776)         = 0
brk(0x1263000)                          = 0x1263000
munmap(0x7f6d0c06f000, 1052672)         = 0
munmap(0x7f6d0c170000, 266240)          = 0
munmap(0x7f6d0825e000, 323584)          = 0
exit_group(255)                         = ?


Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-07-23 03:47 UTC] roctom at gmail dot com
Hi,

I'm trying to track down a memory leak in some of my code and I'm seeing similar munmap with a size of 266240, would anyone know where that allocation request is made?
 [2014-07-29 19:04 UTC] bjori@php.net
-Package: Doc Build problem +Package: Scripting Engine problem
 [2014-07-29 19:04 UTC] bjori@php.net
This isn't PhD fault.
I do believe it may be sqlite3 issue or the engine.

IIRC it happens when committing "big transaction" into sqlite3
 [2021-04-13 12:08 UTC] mo9494apk at outlook dot com
The following pull request has been associated:

Patch Name: Decorates build logs with git status and last commit data.
On GitHub:  https://github.com/php/systems/pull/16
Patch:      https://github.com/php/systems/pull/16.patch
 [2023-05-04 05:13 UTC] asharrvivek at gmail dot com
Latest Lifestyle News are sharing latest news portal about lifestyle, fashion, shopping, clothing, wedding, photgraphy, gifts etc. More info to visit: (https://latestlifestylenews.com)github.com
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 11:01:27 2024 UTC