Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#11422 - enable mod_mem_cache when using trac causes apache to crash
Attached to Project:
Arch Linux
Opened by Alper Kanat (T-u-N-i-X) - Sunday, 07 September 2008, 23:50 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 10 June 2009, 09:15 GMT
Opened by Alper Kanat (T-u-N-i-X) - Sunday, 07 September 2008, 23:50 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 10 June 2009, 09:15 GMT
|
DetailsEdit: changed title to better reflect the current understanding of the problem.
--Original Report-- All necessary information are detailed here: http://www.dscpl.com.au/wiki/ModPython/Articles/ExpatCausingApacheCrash Here's the version information on my Arch Linux box: [02:48] (tunix@raptiye ~)$ strings /usr/lib/libexpat.so.1.5.2 |grep expat_ expat_2.0.1 [02:49] (tunix@raptiye ~)$ python Python 2.5.2 (r252:60911, Jul 8 2008, 21:11:16) [GCC 4.3.2 20080626 (prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pyexpat >>> pyexpat.version_info (2, 0, 0) Apache on my production server crashes immediately when I use Trac and some Django apps using sqlite3.. |
This task depends upon
Closed by Jan de Groot (JGC)
Wednesday, 10 June 2009, 09:15 GMT
Reason for closing: Deferred
Additional comments about closing: No response for 6 months, please reopen if this is still an issue.
Wednesday, 10 June 2009, 09:15 GMT
Reason for closing: Deferred
Additional comments about closing: No response for 6 months, please reopen if this is still an issue.
@ Alper: you haven't indicated which package contains pyexpat, so...
@ Allan: I'm assigning to you as python maintainer ;)
It should make python use the system expat library and my quick test with "pyexpat.version_info" looks good but I don't have apache + mod_python setup anywhere to test.
[Wed Sep 10 14:15:39 2008] [notice] child pid 23962 exit signal Segmentation fault (11)
errors when i try to reach a mod_python page despite i've restarted apache.. :S
i'm not using php btw.. generally i have problem on trac and some django apps that use sqlite3 backend.. i can use those apps with other db engines..
From what I saw earlier, you load a lot of modules. Can you try disabling various modules until you figure out what the clash is?
Since httpd was still having the same problems, I started disabling modules in my httpd.conf until I stopped getting the segmentation fault messages. I found that if I disabled mod_mem_cache, trac worked without any problems. I re-enabled all other modules, and trac still works. My other php based app does, too (using mod_php).
I attached my current httpd.conf and my imported conf for trac to this post.
I built and installed python-pysqlite using that PKGBUILD, re-enabled mod_mem_cache and trac causes a segfault again.
I re-disabled mod_mem_cache and installed python from core. Trac seems to be working fine. I checked the versions as listed in the original issue and found the same mismatch (2.0.1 in apache, 2.0.0 in pyexpat).