|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-06-20 12:32 UTC] sas at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 21:00:01 2025 UTC |
I built PHP with debug code enabled and I have noticed that my Apache error log is full of memory fault warnings like as follows below. This only started happening when started using transactions with PostgreSQL 6.4.2. So it might not be PHP fault. However it only shows under Linux and not under SunOS. If I disable the debug code it leads to segmentation fault errors which usually leads to "Document contains no data" warnings in the browser. This might not be of a great help but I believe the information of the warnings could be more helpful if the code in variables.c passed the file and the line number of the functions in variables.c (pval_copy_constructor() and pval_copy_destructor()) that calls the memory allocations. --------------------------------------- Block 0x081DEEB8 status at variables.c:89: Beginning: Cached (allocated on variables.c:148, 3 bytes) End: OK Allocated from variables.c:148: --------------------------------------- and --------------------------------------- Block 0x082346D0 status at variables.c:89: Beginning: Overrun (magic=0x08234510, expected=0x7312F8DC) End: Unknown --------------------------------------- and --------------------------------------- [Mon Mar 22 23:59:31 1999] [error] Possible PHP3 memory leak detected (harmless): 3 bytes from control_structures_inline.h:459 ---------------------------------------