Edit report at https://bugs.php.net/bug.php?id=52389&edit=1
ID: 52389 Updated by: fel...@php.net Reported by: miroslav dot zacek at skype dot net Summary: Memory (de)allocation problem for pgsql notices -Status: Feedback +Status: Open Type: Bug Package: PostgreSQL related Operating System: Linux (Kubuntu) PHP Version: 5.3.2 Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2011-11-10 19:06:09] ecrist at claimlynx dot com Tried the patch attached to this report against 5.3.8 and we get more segfaults than before. Additionally, we've added a call session_write_close() to every page and that also doesn't solve the problem for us. I can provide backtraces or anything else needed to aid a solution to this bug. ------------------------------------------------------------------------ [2011-11-09 21:49:37] ecrist at claimlynx dot com This bug is seen on FreeBSD 8.2-STABLE as of Nov 4, 2011 with PHP 5.3.8 on Apache 2.2.21 and Postgres 8.4.9. ------------------------------------------------------------------------ [2011-07-12 14:00:25] me at dzonder dot net This bug still exists on PHP 5.3.6 (FreeBSD 8.2 official port). My workaround is to explicitly call session_write_close() in scripts where sessions with pgsql are used. ------------------------------------------------------------------------ [2010-11-20 01:58:58] fel...@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2010-10-25 23:51:58] php at maxnet dot eu Oops, didn't notice the patch was for 5.3 Applied it to 5.2.14 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=52389 -- Edit this bug report at https://bugs.php.net/bug.php?id=52389&edit=1