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

Bug#337507: marked as done (apache2: apache segfault when requesting text file)



Your message dated Fri, 04 Nov 2005 15:45:12 -0600
with message-id <436BD668.40200@gmail.com>
and subject line Bug#337507: apache2: apache segfault when requesting text file
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; 4 Nov 2005 20:13:25 +0000
>From overlordq@gmail.com Fri Nov 04 12:13:25 2005
Return-path: <overlordq@gmail.com>
Received: from thedarkcitadel.com [66.160.141.148] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EY7wD-0003Cw-00; Fri, 04 Nov 2005 12:13:25 -0800
Received: by thedarkcitadel.com (Postfix, from userid 0)
	id 3F8118CD49; Fri,  4 Nov 2005 14:13:23 -0600 (CST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Brent G." <overlordq@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apache2: apache segfault when requesting text file
X-Mailer: reportbug 3.17
Date: Fri, 04 Nov 2005 14:13:23 -0600
Message-Id: <[🔎] 20051104201323.3F8118CD49@thedarkcitadel.com>
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-Level: 
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

Package: apache2
Version: 2.0.55-3
Severity: important

I dont have the slightest clue when this error popped up since it only happens for a certain file which isn't requested all that often, but whenever somebody tries to load it, apache then proceeds to segfault. 
Anyways, here's the backtrace:

--
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 20501)]
0x080672ed in ap_send_error_response ()
(gdb) bt
#0  0x080672ed in ap_send_error_response ()
#1  0x0806971a in ap_process_request ()
#2  0x08064b19 in _start ()
#3  0x08239d48 in ?? ()
#4  0x00000004 in ?? ()
#5  0x08239d48 in ?? ()
#6  0x08239d48 in ?? ()
#7  0x08233c00 in ?? ()
#8  0x08233b28 in ?? ()
#9  0x00000000 in ?? ()
#10 0x081c0fd0 in ?? ()
#11 0x00000000 in ?? ()
#12 0x08233c00 in ?? ()
#13 0xbfbf0998 in ?? ()
#14 0x08081c26 in ap_run_process_connection ()
#15 0x08081c26 in ap_run_process_connection ()
#16 0x080758d9 in ap_graceful_stop_signalled ()
#17 0x08075a9d in ap_graceful_stop_signalled ()
#18 0x08075b8a in ap_graceful_stop_signalled ()
#19 0x080763ae in ap_mpm_run ()
#20 0x0807bebe in main ()
--


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.12.3-linode14
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages apache2 depends on:
ii  apache2-mpm-prefork           2.0.55-3   traditional model for Apache2

apache2 recommends no packages.

-- no debconf information

---------------------------------------
Received: (at 337507-done) by bugs.debian.org; 4 Nov 2005 22:04:44 +0000
>From adconrad@0c3.net Fri Nov 04 14:04:44 2005
Return-path: <adconrad@0c3.net>
Received: from loki.0c3.net [69.0.240.48] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EY9fw-0007m7-00; Fri, 04 Nov 2005 14:04:44 -0800
Received: from [66.103.220.238] (helo=[66.103.220.238])
	by loki.0c3.net with asmtp (Exim 4.34)
	id 1EY9fR-00044k-4j
	for 337507-done@bugs.debian.org; Fri, 04 Nov 2005 15:04:13 -0700
Resent-From: Adam Conrad <adconrad@0c3.net>
Resent-To: 337507-done@bugs.debian.org
Resent-Date: Fri, 4 Nov 2005 17:03:57 -0500
Resent-Message-Id: <436BDACD.3050501@0c3.net>
Resent-User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013)
Received: from zproxy.gmail.com ([64.233.162.204])
	by loki.0c3.net with esmtp (Exim 4.34)
	id 1EY9Mu-0003xf-Au
	for adconrad@0c3.net; Fri, 04 Nov 2005 14:45:04 -0700
Received: by zproxy.gmail.com with SMTP id i11so443089nzh
        for <adconrad@0c3.net>; Fri, 04 Nov 2005 13:44:58 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding;
        b=ayBHsc3lQNZh6sidgLUxmsXkPUqCx+2BbJ6m1KDdojLlpAJJlZkhJDj0FuBW1vcan26baiCd4n1yapGPEleQYitqhZYf2ipWxCbyXEZiovay/zT2Itof9tAKNT4vEfkoxHnPdo9lI+wb6D91VeWkpDT94TkMP7vtOO5HY9tjG5Y=
Received: by 10.65.110.10 with SMTP id n10mr2670011qbm;
        Fri, 04 Nov 2005 13:44:58 -0800 (PST)
Received: from ?70.178.82.111? ( [70.178.82.111])
        by mx.gmail.com with ESMTP id d2sm1085154qbc.2005.11.04.13.44.58;
        Fri, 04 Nov 2005 13:44:58 -0800 (PST)
Message-ID: <436BD668.40200@gmail.com>
Date: Fri, 04 Nov 2005 15:45:12 -0600
From: OQ <overlordq@gmail.com>
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Adam Conrad <adconrad@0c3.net>
Subject: Re: Bug#337507: apache2: apache segfault when requesting text file
References: <[🔎] 20051104201323.3F8118CD49@thedarkcitadel.com> <[🔎] 436BD20A.6020004@0c3.net>
In-Reply-To: <[🔎] 436BD20A.6020004@0c3.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Score: / (0.0)
X-Scan-Signature: d4a84c1b9bbe5c7fd421a34bb3bc23aa
Delivered-To: 337507-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-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Adam Conrad wrote:
> Brent G. wrote:
> 
>>I dont have the slightest clue when this error popped up since it
>>only happens for a certain file which isn't requested all that often,
>>but whenever somebody tries to load it, apache then proceeds to
>>segfault.
> 
> 
> Can you provide the text file for which this occurs?  Furhtermore, does
> it occur if you try the same text file on another webserver?  What about
> if you move the file to another path?
> 
> If it seems to be path or server-dependant, then we'll need as much info
> as possible about how your paths are set up, what your apache
> configuration looks like, etc (as well as the text file itself, if it's
> not sensitive...)
> 
> ... Adam
> 

Arg, ok it's working now.  What I did was disable all of the running
modules with a2dismod and then restart apache, and then load them up
one-by-one restarting apache each time, and for some reason it seems to
be working nicely now.

Only odd thing I noticed was that after I disabled rewrite and expires,
and a couple others, it was giving a 301 redirect for files that
redirected back to the same location.

One thing I did fix was some annoying error in apache2.conf:
The line was
--
# Include generic snippets of statements
Include /etc/apache2/conf.d/[^.#]*
--

But whenever I restarted apache it'd always complain:

grep: /etc/apache2/conf.d/[^.#]*: No such file or directory


so I changed it to:

Include /etc/apache2/conf.d/*


same thing with the

--
# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/[^.#]*
--

line. Anyways, firefox was caching the 301 redirect pages for some
reason (had to force-reload) so I dont know exactly which step fixed the
problem.

So feel free to close the bug, and I do apologize for opening it.



Reply to: