[php-maint] Bug#294501: marked as done (php4-pgsql: php4-psql causes apache to segfault upon startup)

Debian Bug Tracking System owner at bugs.debian.org
Sat Aug 6 04:48:23 UTC 2005


Your message dated Sat, 06 Aug 2005 14:34:49 +1000
with message-id <42F43DE9.3070400 at 0c3.net>
and subject line Closing these bugs, now that glibc 2.3.5 is in sid
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Feb 2005 01:14:35 +0000
>From matt at mattb.net.nz Wed Feb 09 17:14:35 2005
Return-path: <matt at mattb.net.nz>
Received: from carbon.meta.net.nz [203.97.93.14] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cz2uh-0007z1-00; Wed, 09 Feb 2005 17:14:35 -0800
Received: from [60.234.142.59] (helo=home.mattb.net.nz)
	by carbon.meta.net.nz with esmtpsa (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.43)
	id 1Cz2uZ-0004cm-EK
	for submit at bugs.debian.org; Thu, 10 Feb 2005 14:14:32 +1300
Received: from matt by home.mattb.net.nz with local (Exim 3.35 #1 (Debian))
	id 1Cz2uV-0005UW-00; Thu, 10 Feb 2005 14:14:23 +1300
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Matt Brown <debian-bugs at mattb.net.nz>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: php4-pgsql: php4-psql causes apache to segfault upon startup
X-Mailer: reportbug 3.2
Date: Thu, 10 Feb 2005 14:14:23 +1300
Message-Id: <E1Cz2uV-0005UW-00 at home.mattb.net.nz>
Sender: Matt Brown <matt at mattb.net.nz>
X-Spam-Score: 0.1 (/)
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

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>24\t\tstring\t@\t\tap"..., 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

---------------------------------------
Received: (at 294501-done) by bugs.debian.org; 6 Aug 2005 04:35:28 +0000
>From adconrad at 0c3.net Fri Aug 05 21:35:28 2005
Return-path: <adconrad at 0c3.net>
Received: from loki.0c3.net [69.0.240.48] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1E1GPA-0005uM-00; Fri, 05 Aug 2005 21:35:28 -0700
Received: from [203.49.196.168] (helo=[10.0.0.4])
	by loki.0c3.net with esmtp (Exim 4.34)
	id 1E1GOe-00081l-Pb; Fri, 05 Aug 2005 22:34:57 -0600
Message-ID: <42F43DE9.3070400 at 0c3.net>
Date: Sat, 06 Aug 2005 14:34:49 +1000
From: Adam Conrad <adconrad at 0c3.net>
User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050801)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: 294501-done at bugs.debian.org,  304607-done at bugs.debian.org
Subject: Closing these bugs, now that glibc 2.3.5 is in sid
X-Enigmail-Version: 0.92.0.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Delivered-To: 294501-done at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

These bugs were worked around in Sarge by making sure php4-pgsql and
php4-imap were loaded in a certain order in php.ini, and they've been
fixed properly in Sid now that a new glibc has been uploaded that fixes
the root cause of the issue.

... Adam



More information about the pkg-php-maint mailing list