Re: [Modcplusplus-devel] Apache segfaults w/mod_cplusplus-1.4.3
Brought to you by:
gr84b8,
johnksterling
|
From: Michael S. <ms...@ca...> - 2005-01-25 00:22:08
|
Thanks John by looking at 'make check' I saw that the problem seems to be the CPPHandler that gets loaded by mod_cplusplus. mod_cplusplus loads just fine with the 'make check' config. will now look into the CPPHandler issue. It has been written for mod_cplusplus-1.2 and confirmed to work in 1.3, but not 1.4. Mike John K. Sterling wrote: > Hi Michael - > > couple of questions: > > 1) have you run 'make check'? It runs the test cases against your apache > install with the built in config file. I'd be curious if that segfaults, > too. > 2) What MPM are you running (prefork?) > 3) Can you send your config file over? I'll try to reproduce. > > Thanks - > > John > > >>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 >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >>Tool for open source databases. Create drag-&-drop reports. Save time by >>over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>_______________________________________________ >>Modcplusplus-devel mailing list >>Mod...@li... >>https://lists.sourceforge.net/lists/listinfo/modcplusplus-devel |