Package: php4-pgsql
Version: 3:4.3.9-1
Severity: grave
Justification: renders package unusable


After installing php4-pgsql restarting apache results in a segfault and
apache does not start. 

Removing the line
extension=pgsql.so 
from /etc/php4/apache/php.ini and restarting apache results in apache
starting correctly without segfaulting. 

The segfault looks like this, (strace -ff apache)

open("./php-apache.ini", O_RDONLY)      = -1 ENOENT (No such file or
directory)
open("/etc/php4/apache/php-apache.ini", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("./php.ini", O_RDONLY)             = -1 ENOENT (No such file or
directory)
open("/etc/php4/apache/php.ini", O_RDONLY) = 3
getcwd("/", 4096)                       = 2
lstat64("/etc", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
lstat64("/etc/php4", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/etc/php4/apache", {st_mode=S_IFDIR|0755, st_size=4096, ...}) =
0
lstat64("/etc/php4/apache/php.ini", {st_mode=S_IFREG|0644,
st_size=26720, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=26720, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x4035a000
read(3, "[PHP]\n\n;;;;;;;;;;;\n; WARNING ;\n;"..., 8192) = 8192
read(3, "time notices (these are warnings"..., 8192) = 8192
read(3, "onfiguration directives are used"..., 8192) = 8192
read(3, "rror_reporting(0) around the eva"..., 8192) = 2144
read(3, "", 4096)                       = 0
read(3, "", 8192)                       = 0
close(3)                                = 0
munmap(0x4035a000, 4096)                = 0
open("/var/lib/misc/protocols.db", O_RDWR|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
open("/var/lib/misc/protocols.db", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
open("/etc/protocols", O_RDONLY)        = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=2478, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x4035a000
read(3, "# Internet (IP) protocols\n#\n# Up"..., 4096) = 2478
close(3)                                = 0
munmap(0x4035a000, 4096)                = 0
open("/var/lib/misc/protocols.db", O_RDWR|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
open("/var/lib/misc/protocols.db", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
open("/etc/protocols", O_RDONLY)        = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=2478, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x4035a000
read(3, "# Internet (IP) protocols\n#\n# Up"..., 4096) = 2478
close(3)                                = 0
munmap(0x4035a000, 4096)                = 0
open("/usr/share/misc/file/magic.mime", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=30429, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x4035a000
read(3, "# Magic data for KMimeMagic (ori"..., 4096) = 4096
read(3, "audio/x-dec-basic\n>12\tlelong\t\t5\t"..., 4096) = 4096
read(3, " #!/usr/local/bin/ash    applica"..., 4096) = 4096
read(3, "\\040\\0\t\tapplication/x-tar\tgnu\n\n0"..., 4096) = 4096
read(3, "p Format proposal\n# (best; not y"..., 4096) = 4096
read(3, "--------------------------------"..., 4096) = 4096
read(3, "      0x05\t\n#>8     leshort\t  >0"..., 4096) = 4096
read(3, "#\n0\t\tstring\tMZ\n>[EMAIL PROTECTED]"..., 4096) = 1757
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x4035a000, 4096)                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 21098 detached

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages php4-pgsql depends on:
ii  debconf [debconf-2.0]       1.4.30.11    Debian configuration management sy
ii  libapache-mod-php4 [phpapi- 4:4.3.10-2   server-side, HTML-embedded scripti
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libpq3                      7.4.6-7      PostgreSQL C client library
ii  php4-cgi [phpapi-20020918]  4:4.3.10-2   server-side, HTML-embedded scripti
ii  php4-cli [phpapi-20020918]  4:4.3.10-2   command-line interpreter for the p

-- debconf information:
  php4/extension_pgsql_cgi: true
  php4/extension_pgsql_cli: true
  php4/add_extension: true
  php4/remove_extension: true
  php4/extension_pgsql_apache: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to