#27610 [NoF->Opn]: Segmentation fault using large object functions with php-odbc & php-pgsql

From: Date: Wed, 24 Mar 2004 12:31:33 +0000
Subject: #27610 [NoF->Opn]: Segmentation fault using large object functions with php-odbc & php-pgsql
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-56754@lists.php.net to get a copy of this message
ID: 27610 User updated by: mark at lapcrew dot com Reported By: mark at lapcrew dot com -Status: No Feedback +Status: Open Bug Type: Reproducible crash Operating System: Linux PHP Version: 4.3.4 New Comment: Can you point me in the right direction on how to generate the a backtrace, an example or a howto site. Thanks Previous Comments: ------------------------------------------------------------------------ [2004-03-15 16:46:07] iliaa@php.net Please generate a backtrace of the crash. ------------------------------------------------------------------------ [2004-03-15 16:06:57] mark at lapcrew dot com Description: ------------ When both php-odbc & php-pgsql are installed an attempt to read data thru the pg_lo_read_all() function causes a segmentation fault. Removing the php-odbc module eliminated the problem. The following setup is being used Linux 2.6.1 Apache 2.0.48 PHP 4.3.4 PostgreSQL 7.4.1 Reproduce code: --------------- Load both the php-odbc & php-pgsql module and attempt to read large object data from a PostgreSQL database using pg_lo_read_all(). Run from the command line to see the segmentation fault error, or look in the apache error log ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27610&edit=1

« previous php.bugs (#56754) next »