#2785 closed defect (invalid)
trac segfaults if templates_dir doesn't exist
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | general | Version: | 0.9.4 |
Severity: | normal | Keywords: | |
Cc: | jouvin@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
If templates_dir (as defined in trac.ini) doesn't exist, trac segfaults instead of giving an error message stating the problem. This can be a problem particularly if you run Trac inside mod_python as this means Apache segfaults.
This problem exists in 0.9.x and in 0.10dev.
Attachments (0)
Change History (4)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Still using CS 0.10.1. In fact I am using FastCGI and this is the FastCGI process that segfaults. But if the retry rate is too high, the fcgi is not restarted.
comment:3 by , 18 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Closing this ticket because, as Matt mentions, this isn't really a bug in Trac.
Feel free to reopen it if you really think it is.
comment:4 by , 18 years ago
Milestone: | 0.10 |
---|
I've tried mod_python, FastCGI and CGI and all give the same error message:
What version of Clearsilver are you using? It's quite difficult for Python code to cause a segfault, so it's probably coming from a C extension and Clearsilver seems like the most likely culprit.