Bug #1736: pg_fetch_array, pg_fetch_object memory leak
| From: | sp at alkor dot ru | Date: | Mon, 19 Jul 1999 08:51:43 +0000 |
| Subject: | Bug #1736: pg_fetch_array, pg_fetch_object memory leak | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8708@lists.php.net to get a copy of this message | ||
From: sp@alkor.ru
Operating system: FreeBSD-3.2-R, pache/1.3.6 (FreeBSD) PHP/3.0.10 mod_ssl/2.3.5 OpenSSL/0.9.3a
PHP version: 3.0.10
PHP Bug Type: PostgreSQL related
Bug description: pg_fetch_array, pg_fetch_object memory leak
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.