Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2008 02:58:28 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Matias Surdi <matiassurdi@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: mod_python core dump
Message-ID:  <20080912095828.GA52822@icarus.home.lan>
In-Reply-To: <gadd9p$p5r$1@ger.gmane.org>
References:  <gadd9p$p5r$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 12, 2008 at 11:39:35AM +0200, Matias Surdi wrote:
> I've installed mod_python from the ports on a recently installed FreeBSD  
> 7 box and, despite all the build process goes well, when I try to start  
> apache I get a core dump. If I disable the "Loadmodule" directive for  
> mod_python in httpd.conf, then apache starts perfectly.
>
> The versions I'm using are:
>
> # pkg_version -v
> apache-2.0.63_2                     =   up-to-date with port
> autoconf-2.62                       =   up-to-date with port
> autoconf-wrapper-20071109           =   up-to-date with port
> bash-3.2.39_1                       =   up-to-date with port
> dovecot-1.1.3                       =   up-to-date with port
> expat-2.0.1                         =   up-to-date with port
> gettext-0.17_1                      =   up-to-date with port
> gmake-3.81_3                        =   up-to-date with port
> help2man-1.36.4_2                   =   up-to-date with port
> libiconv-1.11_1                     =   up-to-date with port
> libtool-1.5.26                      =   up-to-date with port
> linux_base-fc-4_10                  <   needs updating (port has 4_13)
> m4-1.4.11,1                         =   up-to-date with port
> mod_python-3.3.1_2                  =   up-to-date with port
> p5-gettext-1.05_2                   =   up-to-date with port
> pcre-7.7_1                          =   up-to-date with port
> perl-5.8.8_1                        =   up-to-date with port
> pkg-config-0.23_1                   =   up-to-date with port
> postfix-2.5.4,1                     =   up-to-date with port
> py25-sqlite3-2.5.2_1                =   up-to-date with port
> python25-2.5.2_3                    =   up-to-date with port
> sqlite3-3.5.6                       =   up-to-date with port
>
> Any help will be appreciated, thanks.

You'll need to provide a gdb backtrace to determine the cause of the
core, and provide any error messages shown in Apache's error log
(default: /var/log/httpd-error.log).  The above information doesn't
provide enough detail.

Please also be aware that, quite often, debugging Apache and Apache
modules is a tedious and difficult task.  It's rarely a simple thing.

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080912095828.GA52822>