Martin Devera
devik at cdi.cz
Fri Dec 9 12:32:55 EST 2005
>> return apache.OK >> >> Coredumps in getreq_rec_ml... > > I stuffed some ap_log_rerror statements into getreq_rec_ml and every > thing is fine up to "return tuple_from_method_list(ml);". > > tuple_from_method_list is defined in src/util.c. I'm out of time right > now but I'll poke at it later and see what I can learn. Fix: --- src/requestobject.c.old Fri Dec 9 16:36:46 2005 +++ src/requestobject.c Fri Dec 9 16:36:53 2005 @@ -1311,7 +1311,7 @@ static PyObject *getreq_rec_ml(requestob { const PyMemberDef *md = find_memberdef(request_rec_mbrs, (char*)name); ap_method_list_t *ml = - (ap_method_list_t *)((char *)self->request_rec + md->offset); + *(ap_method_list_t **)((char *)self->request_rec + md->offset); return tuple_from_method_list(ml); } I found other coredump, more on it later :)
|