Package: php4 Version: 4:4.3.10-7 Severity: grave I get the segfault doing like this: You need postgresql installed createdb testdb run the following script:
#! /usr/bin/php4 -f <?php $conn = pg_pconnect("dbname=chris"); ?> I tried to run gdb: > gdb php4 GNU gdb 6.3-debian Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-linux"...(no debugging symbols found) Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) run -f UNIX.php Starting program: /usr/bin/php4 -f UNIX.php (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) ... (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1211660416 (LWP 2853)] 0xb7a33350 in ?? () (gdb) bt #0 0xb7a33350 in ?? () #1 0x081a5321 in plist_entry_destructor () #2 0x081a3c18 in zend_hash_clean () #3 0x081a3cbc in zend_hash_graceful_reverse_destroy () #4 0x081a546f in zend_destroy_rsrc_list () #5 0x0819df6c in zend_shutdown () #6 0x08168ba8 in php_module_shutdown () #7 0x081c21a2 in main () (gdb) I did this on a today sid. The problem seems to be localized in php4-pgsql rebuilding php4-pgsql had no effect. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.10-1-686 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) (ignored: LC_ALL set to [EMAIL PROTECTED]) Versions of packages php4 depends on: ii libapache-mod-php4 4:4.3.10-7 server-side, HTML-embedded scripti ii libapache2-mod-php4 4:4.3.10-7 server-side, HTML-embedded scripti ii php4-common 4:4.3.10-7 Common files for packages built fr -- debconf information: php4/run_apache_sslconfig: true php4/run_apacheconfig: true php4/update_apache_php_ini: true -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]