From: nik at optim dot com dot ru Operating system: Fedora Core 4 PHP version: 5.0.5 PHP Bug Type: PostgreSQL related Bug description: Segmetation fault at the end of execution
Description: ------------ My CLI scripts that use PostgreSQL function finish with "segmentation fault". Besides that the entire process is what it should be. Looks like the problem is somewhere in the very finalization. The problem persists in RPM-versions 5.0.4-10.4, 5.0.4-10, 5.0.5. Looks like there is nothing similar reported. I googled the suggestion about SELECT permissions on pg_ tables as a possible workaround. but it didn't help. I noticed, that the problem appears when I use TCP/IP connection to my Postgres daemon, i.e. with a hostname. When I switch to a local socket connection, i.e. with NULL hostname, the problem dissappeares. 5.0.4_2 version compiled for FreeBSD works fine. Other scripts without postgres function call work fine. Please, let me know what to do, I can try to compile different versions and see what happens. Thanks -- Edit bug report at http://bugs.php.net/?id=34662&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34662&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34662&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34662&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34662&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34662&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34662&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34662&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34662&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34662&r=support Expected behavior: http://bugs.php.net/fix.php?id=34662&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34662&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34662&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34662&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34662&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34662&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34662&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34662&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34662&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34662&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34662&r=mysqlcfg