Date: Sun, 14 Sep 2008 10:43:51 -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: <20080914174351.GA16390@icarus.home.lan> In-Reply-To: <gajbjm$pa8$1@ger.gmane.org> References: <gadd9p$p5r$1@ger.gmane.org> <20080912095828.GA52822@icarus.home.lan> <gajbjm$pa8$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 14, 2008 at 05:45:59PM +0200, Matias Surdi wrote: > Jeremy Chadwick escribió: >> 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. >> > > I've noticed that compiling python without threads support fixes the > problem, but that's not a solution for me as I need threads. Any other > ideas? Doesn't surprise me. I'd recommend first reporting your problem upstream to the mod_python authors, as this does not appear to be a FreeBSD or FreeBSD ports issue. As for solution, the solution here is to not use mod_python. Surely something like cgiwrap or FastCGI could be made to work with python. -- | 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?20080914174351.GA16390>