Date: 05/28/00
- Next message: heminhu <email protected>: "[PHP-DEV] PHP 4.0 Bug #4656: Don't use Session"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #4580 Updated: Apache dies with PHP as DSO"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: pramsey <email protected>
Operating system: Linux 2.2.x
PHP version: 3.0.16
PHP Bug Type: PostgreSQL related
Bug description: pg_close causes segfault when using DSO pgsql.so
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.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: heminhu <email protected>: "[PHP-DEV] PHP 4.0 Bug #4656: Don't use Session"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #4580 Updated: Apache dies with PHP as DSO"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

