auther_bin
auther_bin at 21cn.com
Mon Feb 25 06:35:57 EST 2008
Dear friends, When I compiling the apache python mod_python and install it into my uClibc envirentment, but when I runing httpd -X, send a very little request with index.html it crashed. after some debuging work, I find there should be something wrong in mod_python.c line(about 1561) which looks like: --------------------------------- with my debug printing :) ------------------------ printf("JJJJJJJJ %s -> python_handler\n", phase); printf("JJJJJJJJ %x[%d]\n", &req->per_dir_config, (&python_module)->module_index); /* get configuration */ conf = (py_config *) ap_get_module_config(req->per_dir_config, &python_module); printf("JJJJJJJJ a %s conf=%x -> python_handler\n", phase,conf); ............. ------------------------------ end source -------------------------------------- I guess that, there should be a regester error in it. with some debug message I print: ------------- printing ------------------------------- JJJJJJJJJ PythonPostReadRequestHandler JJJJJJJJ PythonInitHandler -> python_handler JJJJJJJJ 820a544[29] Segmentation fault ------------- end printing --------------------------- any advices pls? apache: 2.2.6 mod_python:3.3.1 python:2.5.1 ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡auther_bin ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡auther_bin at 21cn.com ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2008-02-25
|