From: dqj at requesttech dot com Operating system: Redhat 9.0 PHP version: 4.3.3 PHP Bug Type: Reproducible crash Bug description: pg_lo_import causes crash under all circumstances
Description: ------------ No changes to php.ini distribution. No output shown in logs. Just doesn't finish the page. (I have put echoes and breaks in to narrow it to the pg_lo_import() call). We have checked file permissions, etc. This code has worked under PHP 4.2 and other versions. Have tried switching the pg_lo_import parameters back and forth, just in case, as described in the bug documentation. Reproduce code: --------------- <?php $res = pg_connect( "host=myhost dbname=mytest user=myuser password=zzz" ); pg_exec( $res, "BEGIN" ); $oid = pg_lo_import( $res, "/tmp/dqj.tmp" ); pg_exec( $res, "COMMIT" ); echo "RES: $res, OID: $oid<br/>"; flush(); ?> Expected result: ---------------- $oid should have a value. Echoed results should appear. Actual result: -------------- Blank page. (Or echoed results prior to subroutine call, if debug is included.) -- Edit bug report at http://bugs.php.net/?id=26043&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26043&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26043&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26043&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26043&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26043&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=26043&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26043&r=support Expected behavior: http://bugs.php.net/fix.php?id=26043&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26043&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26043&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26043&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26043&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26043&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26043&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26043&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26043&r=float