#4655 [Opn->]: pg_close causes segfault when using DSO pgsql.so

From: Date: Tue, 01 Oct 2002 20:23:30 +0000
Subject: #4655 [Opn->]: pg_close causes segfault when using DSO pgsql.so
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21136@lists.php.net to get a copy of this message
ID: 4655 Updated by: hholzgra@php.net Reported By: pramsey@refractions.net -Status: Open +Status: Won\'t fix Bug Type: PostgreSQL related Operating System: Linux 2.2.x PHP Version: 3.0.16 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2000-05-29 03:13:23] pramsey@refractions.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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=4655&edit=1

« previous php.bugs (#21136) next »