php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4655 pg_close causes segfault when using DSO pgsql.so
Submitted: 2000-05-29 03:13 UTC Modified: 2002-10-01 15:23 UTC
From: pramsey at refractions dot net Assigned:
Status: Wont fix Package: PostgreSQL related
PHP Version: 3.0.16 OS: Linux 2.2.x
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2000-05-29 03:13 UTC] pramsey at refractions dot net
The pgsql.so functions are compiled as a module thusly:

gcc -shared -fPIC $RPM_OPT_FLAGS -DEAPI -DCOMPILE_DL=1 \
        -I. -I/usr/include/apache \
        -I/usr/include/pgsql -o pgsql.so \
        ./functions/pgsql.c -lpq -lc                                            

Most functions work fine, but when pg_close is called, the http instance segfaults. When pgsql.so is compiled directly into php with --include-pgsql the problem goes away.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 15:23 UTC] hholzgra@php.net
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.


 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Nov 27 12:01:23 2020 UTC