Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 91885 invoked from network); 23 Apr 2007 19:08:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Apr 2007 19:08:25 -0000 Received: (qmail 49352 invoked by uid 500); 23 Apr 2007 19:08:19 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 49324 invoked by uid 500); 23 Apr 2007 19:08:19 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 49232 invoked by uid 99); 23 Apr 2007 19:08:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 12:08:19 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of djwortham@gmail.com designates 64.233.184.227 as permitted sender) Received: from [64.233.184.227] (HELO wr-out-0506.google.com) (64.233.184.227) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 12:08:09 -0700 Received: by wr-out-0506.google.com with SMTP id q50so1599647wrq for ; Mon, 23 Apr 2007 12:07:48 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=KAPtwBjDAJwvDaZaxVLXOnAxY5EUWXpIBjO+pZKDSk+xpSa55evGCwJzYQnoh8Bvd/jvUW3920AEwPgvqi6XIDrFNWvwwmIiogZPdFh1maAmvlmnG038F5eXjGcA28qcrShyr1ptDn1bP7mPychvBCHJ1p+Kf6u9HHO8HFzGnUc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=fdjE/hMtkR0UkxQpU3r+1D9iRD5VjFPMGG3ATkybeoYR9tnDBwehPElJFraeF0ErW94yD9FdXtesWYYVydAJWVxrYM9J+OMvf3pQ57UpskHj48H4Tj32/erXlAOLet6xL7bvg0wUjCCpjqQcJBNRUbAuN+q9V1sfHlKKwCWvSm8= Received: by 10.114.174.2 with SMTP id w2mr2680262wae.1177355268251; Mon, 23 Apr 2007 12:07:48 -0700 (PDT) Received: by 10.115.88.10 with HTTP; Mon, 23 Apr 2007 12:07:48 -0700 (PDT) Message-ID: <5280fae50704231207x235531ecu472c2830107ad73c@mail.gmail.com> Date: Mon, 23 Apr 2007 14:07:48 -0500 From: "David Wortham" To: modules-dev@httpd.apache.org Subject: Re: Debugging Apache with GDB In-Reply-To: <20070423195745.764a30e9@grimnir> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_41411_23735394.1177355268190" References: <5280fae50704231119i2e9e8feeqb376c3d852a05bce@mail.gmail.com> <20070423195745.764a30e9@grimnir> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_41411_23735394.1177355268190 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Nick, Thanks for the response. I think it was a gdb versioning issue. The server was running a version (I assume newer than my development box). I put some pressure on the powers that be and I got gdb installed on the high-traffic box (although I didn't attach gdb to the httpd process... just used it to read the core dumps). Using the same version of gdb to read the trace seemed to fix whatever file format difference existed. I found the source of the SegFaults and am on my way to fixing them. Thanks again, Dave On 4/23/07, Nick Kew wrote: > > On Mon, 23 Apr 2007 13:19:40 -0500 > "David Wortham" wrote: > > > My problem is that I am getting core dumps (using the > > CoreDumpDirectory directive of the MPM module) but I can't read them > > with my version of gdb (I am running 6.3-5). My specific error is: > > "/home/.../core.pid" is not a core dump: File format not recognized > > What does "file core.whatever" tell you? What you're saying sounds > a little implausible. > > > Any suggestions? > > See the fatal exception stuff at > http://people.apache.org/~trawick/ > for alternative diagnostic tools. > > > -- > Nick Kew > > Application Development with Apache - the Apache Modules Book > http://www.apachetutor.org/ > -- David Wortham Senior Web Applications Developer Unspam Technologies, Inc. 1901 Prospector Dr. #30 Park City, UT 84060 (435) 513-0672 ------=_Part_41411_23735394.1177355268190--