From: mark at lapcrew dot com Operating system: Linux PHP version: 4.3.4 PHP Bug Type: Reproducible crash Bug description: Segmentation fault using large object functions with php-odbc & php-pgsql
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 bug report at http://bugs.php.net/?id=27610&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27610&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27610&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27610&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27610&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27610&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27610&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27610&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27610&r=support Expected behavior: http://bugs.php.net/fix.php?id=27610&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27610&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27610&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27610&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27610&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27610&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27610&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27610&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27610&r=float