Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: (qmail 14730 invoked from network); 16 May 2009 19:45:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 May 2009 19:45:53 -0000 Received: (qmail 56463 invoked by uid 500); 16 May 2009 19:45:52 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 56405 invoked by uid 500); 16 May 2009 19:45:52 -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 56395 invoked by uid 99); 16 May 2009 19:45:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 May 2009 19:45:52 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.173.26.98] (HELO smtp.eiffel.com) (98.173.26.98) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 May 2009 19:45:42 +0000 Received: from naples.ise ([10.0.10.117]) by smtp.eiffel.com with esmtp (Exim 4.63) (envelope-from ) id 1M5Pop-0008Cj-U7 for modules-dev@httpd.apache.org; Sat, 16 May 2009 12:45:15 -0700 Message-ID: <4A0F17D3.6040306@eiffel.com> Date: Sat, 16 May 2009 12:45:23 -0700 From: Fabio Zund User-Agent: Thunderbird 2.0.0.21 (X11/20090409) MIME-Version: 1.0 To: modules-dev@httpd.apache.org Subject: Re: Module segfault on Ubuntu apache References: <4A0EF1C5.7090905@eiffel.com> <4A0EF3FC.30604@joe-lewis.com> In-Reply-To: <4A0EF3FC.30604@joe-lewis.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Joe Lewis wrote: > Fabio Zund wrote: >> However, when I compile and test the module on the apache (also >> version 2.2.11) that comes with Ubuntu 9.04, all i get are segfaults. >> >> Does anyone know differences between the original apache and the >> Ubuntu apache version? What in my module could cause such errors? > > Unfortunately, I have never looked at the sources and patches used on > ubuntu. I would suggest looking at the patches they include with > their source installation. I think that would be a very good place to > start. Additionally, debugging tools (e.g. gdb) might be a very good > place to start. Your hints for the day : run "gdb httpd" (or > whatever binary is used to start it, make sure you use the BINARY and > not an init script), and then at the gdb prompt, enter "run -X" - this > starts the binary in a single-instance mode. Point the browser to it > and generate the "errors". Then type "bt" to get a back trace. > Outside of that and looking at the patches, I am unable to help. > > Joe > > Thanks for the hints, I'll do that! - Fabio Zund