Opened 19 years ago
Closed 19 years ago
#2865 closed defect (fixed)
Refernce to request.META.SERVER_PORT cause httpd crush on Apache 2.2.2/mod_python 3.2.8
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Core (Other) | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Starting from #3866, reference to request.META.SERVER_PORT is causing httpd crush on Apache 2.2.2/mod_python 3.2.8/Python 2.4.3/MacOSX 10.4.7.
Here is the relevant error_log:
[Tue Oct 03 12:35:05 2006] [notice] child pid 2649 exit signal Trace/BPT trap (5 ) dyld: lazy symbol binding failed: Symbol not found: _apr_sockaddr_port_get Referenced from: /usr/local/apache2/modules/mod_python.so Expected in: flat namespace dyld: Symbol not found: _apr_sockaddr_port_get Referenced from: /usr/local/apache2/modules/mod_python.so Expected in: flat namespace
This seems to be caused by referencing connection.local_addr attribute of a request object.
Since I could not find any alternatives to find correct SERVER_PORT, I suggest just revert #3866.
Change History (2)
comment:1 by , 19 years ago
| Component: | Admin interface → Core framework |
|---|
comment:2 by , 19 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [3927]) Fixed #2865 -- Reverted [3866] (problem with mod_python SERVER_PORT