php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1736 pg_fetch_array, pg_fetch_object memory leak
Submitted: 1999-07-19 04:51 UTC Modified: 1999-07-19 09:19 UTC
From: sp at alkor dot ru Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 3.0.10 OS: FreeBSD-3.2-R, pache/1.3.6 (Free
Private report: No CVE-ID: None
 [1999-07-19 04:51 UTC] sp at alkor dot ru
When using pg_fetch_array or pg_fetch_object
functions apache prints a lot of

"apache in free(): warning: chunk is already free."

warnings. Script are working really strange,
including, sometimes, crashes, usually on signal 11.

Other software: PostgreSQL 6.4.2, both
Postgres & apache with PHP module was compiled
gcc-2.7.2.1 (with -g and -O flags) and
egcs-2.91.66.

When using pg_fetch_row this problem does not
appear.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-19 09:19 UTC] sas at cvs dot php dot net
fixed  in CVS
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 06:01:27 2019 UTC