[Modcplusplus-devel] Apache segfaults w/mod_cplusplus-1.4.3
Brought to you by:
gr84b8,
johnksterling
From: Michael S. <ms...@ca...> - 2005-01-24 15:21:38
|
Hi I managed to compile mod_cplusplus-1.4.3 on Gentoo. ./autogen.sh --with-apxs=/usr/sbin/apxs2 ./autogen.sh --with-apxs=/usr/sbin/apxs2 make cp src/.libs/libmod_cplusplus.* /usr/lib/apache2/modules/ cp include/* /usr/include/apache2/ Apache segfaults when it loads the module. The end of my apache startup log: [Mon Jan 24 15:26:38 2005] [debug] mod_so.c(247): loaded module suexec_module [Mon Jan 24 15:26:38 2005] [debug] mod_so.c(247): loaded module disk_cache_module [Mon Jan 24 15:26:38 2005] [debug] mod_so.c(247): loaded module file_cache_module [Mon Jan 24 15:26:38 2005] [debug] mod_so.c(247): loaded module mem_cache_module [Mon Jan 24 15:26:38 2005] [debug] mod_so.c(247): loaded module cgi_module [Mon Jan 24 15:26:38 2005] [debug] mod_so.c(247): loaded module cplusplus_module [EOF] # gdb apache2 core GNU gdb 6.0 Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1". Core was generated by `/usr/sbin/apache2 -f /etc/httpd/httpd.conf -DSSL -e debug -E /var/log/httpd'. Program terminated with signal 11, Segmentation fault. [---snip---] Reading symbols from /usr/lib/libmd5.so.0...done. Loaded symbols for /usr/lib/libmd5.so.0 Reading symbols from /usr/lib/libmysqlclient.so.12...done. Loaded symbols for /usr/lib/libmysqlclient.so.12 #0 0x409c26a5 in pcre_free_substring () from /usr/lib/libpcre.so.0 (gdb) (gdb) bt #0 0x409c26a5 in pcre_free_substring () from /usr/lib/libpcre.so.0 #1 0x08137cc0 in ?? () #2 0x407811a8 in ?? () from /usr/lib/libglib-2.0.so.0 #3 0x40781dc0 in _g_debug_flags () from /usr/lib/libglib-2.0.so.0 #4 0x40732c7c in _g_messages_thread_private_init () from /usr/lib/libglib-2.0.so.0 I have dev-libs/libpcre-4.5 installed via emerge/portage. Any idea, somebody |