[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#293156: marked as done (apache: segfaults when started, strace shows failure after or during reading file pkg's magic.mime)



Your message dated Tue, 8 Feb 2005 05:27:51 +1000 (EST)
with message-id <12738.210.11.154.230.1107804471.squirrel@mail.0c3.net>
and subject line Bug#293156: apache: segfaults when started,                     strace shows failure after or during reading file      pkg's           magic.mime
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; 1 Feb 2005 14:31:13 +0000
>From dustin@annexia.ca Tue Feb 01 06:31:13 2005
Return-path: <dustin@annexia.ca>
Received: from zz148179.cipherkey.net (sol.annexia.ca) [64.114.148.179] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cvz3h-0000bP-00; Tue, 01 Feb 2005 06:31:13 -0800
Received: from localhost (localhost [127.0.0.1])
	by sol.annexia.ca (Postfix) with ESMTP id A5D7A2FEF5;
	Tue,  1 Feb 2005 06:30:42 -0800 (PST)
Received: from sol.annexia.ca ([127.0.0.1])
	by localhost (sol [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
	id 01442-03; Tue, 1 Feb 2005 06:30:36 -0800 (PST)
Received: by sol.annexia.ca (Postfix, from userid 0)
	id 08CFB2FEF4; Tue,  1 Feb 2005 06:30:35 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Dustin Harriman <dustin@annexia.ca>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apache: segfaults when started,
 strace shows failure after or during reading file pkg's magic.mime
X-Mailer: reportbug 3.2
Date: Tue, 01 Feb 2005 06:30:35 -0800
Message-Id: <[🔎] 20050201143035.08CFB2FEF4@sol.annexia.ca>
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at annexia.ca
Delivered-To: submit@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: apache
Version: 1.3.33-3
Severity: important

I noticed that my wesite stopped accepting connections.  I have both apache-ssl and apache installed, apache-ssl still works fine.  I can't start apache manually with a command like "apache -X" of "apache -F", I just get a Segmentation fault.  Turning the LogLevel to debug also shows no errors.  Upgrading from apache 1.3.33-2 to 1.3.33-3 didn't help, nor reinstalling the package apache.  Checking my RAM and blocks on all filesystems show no problems.  Reverting to an original copy of httpd.conf didn't help, which has no VirtualHosts, so I don't think bug 284215 is happening here.

An strace shows interesting output near the end when running the command
"strace apache -X":
------------------------------

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
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40019000
read(3, "# Internet (IP) protocols\n#\n# Up"..., 4096) = 2478
close(3)                                = 0
munmap(0x40019000, 4096)                = 0
open("/usr/share/misc/file/magic.mime", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=30429, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40019000
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(0x40019000, 4096)                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

---------------------------------------------
The 5th last line looks interesting, perhaps input is expected but there
is none in the empty ""?

I upgraded the "file" and "libmagic1" packages (since
/usr/share/misc/file/magic.mime comes from libmagic1), still no luck.  Could
this affect people upgrading to sarge?

My website is down (at least on port 80, SSL access still works) and can't get up, please help!

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

Versions of packages apache depends on:
ii  apache-common               1.3.33-3     support files for all Apache webse
ii  debconf                     1.4.29       Debian configuration management sy
ii  dpkg                        1.10.22      Package maintenance system for Deb
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-16    Berkeley v4.2 Database Libraries [
ii  libexpat1                   1.95.8-1     XML parsing C library - runtime li
ii  libmagic1                   4.12-1       File type determination library us
ii  logrotate                   3.6.5-2      Log rotation utility
ii  mime-support                3.28-1       MIME files 'mime.types' & 'mailcap
ii  perl                        5.8.4-2      Larry Wall's Practical Extraction 

-- debconf information:
* apache/enable-suexec: false
  apache/server-name: localhost
  apache/document-root: /var/www
  apache/server-port: 80
  apache/init: true
  apache/server-admin: webmaster@annexia.ca

---------------------------------------
Received: (at 293156-done) by bugs.debian.org; 7 Feb 2005 19:28:22 +0000
>From adconrad@0c3.net Mon Feb 07 11:28:22 2005
Return-path: <adconrad@0c3.net>
Received: from loki.0c3.net [69.0.240.48] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CyEYX-0003wa-00; Mon, 07 Feb 2005 11:28:22 -0800
Received: from localhost
	([127.0.0.1] helo=mail.0c3.net ident=www-data)
	by loki.0c3.net with esmtp (Exim 4.34)
	id 1CyEY3-0000Ew-2j
	for 293156-done@bugs.debian.org; Mon, 07 Feb 2005 12:27:51 -0700
Received: from 210.11.154.230
        (SquirrelMail authenticated user adconrad)
        by mail.0c3.net with HTTP;
        Tue, 8 Feb 2005 05:27:51 +1000 (EST)
Message-ID: <12738.210.11.154.230.1107804471.squirrel@mail.0c3.net>
In-Reply-To: <[🔎] 42078A7B.3080709@annexia.ca>
References: <[🔎] 20050201143035.08CFB2FEF4@sol.annexia.ca>         
    <[🔎] 20050201150330.GA30545@0c3.net>      
    <[🔎] 35862.10.10.10.3.1107270477.squirrel@webmail.annexia.ca>   
    <[🔎] 22595.210.11.154.230.1107594509.squirrel@mail.0c3.net>
    <[🔎] 24158.210.11.154.230.1107607845.squirrel@mail.0c3.net>
    <[🔎] 42078A7B.3080709@annexia.ca>
Date: Tue, 8 Feb 2005 05:27:51 +1000 (EST)
Subject: Re: Bug#293156: apache: segfaults when started,
                     strace shows failure after or during reading file 
     pkg's           magic.mime
From: "Adam Conrad" <adconrad@0c3.net>
To: 293156-done@bugs.debian.org
Reply-To: adconrad@0c3.net
User-Agent: SquirrelMail/1.5.1 [CVS]
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Mail-From: adconrad@0c3.net
X-SA-Exim-Scanned: No (on loki.0c3.net); SAEximRunCond expanded to false
Delivered-To: 293156-done@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=-0.6 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	PRIORITY_NO_NAME,SUBJ_HAS_SPACES,SUBJ_HAS_UNIQ_ID autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Dustin said:
>
> Be it known that you are the man!

On that note, closing the bug. :)

... Adam





Reply to: