Are there any others getting Apache child processes seg faulting when attempting to POST a form? It must be something ppc specific, since none of my friends seem to have problems with x86. I think I remember a message about this on this list. Thanks, Ron
on 08.10.2002 4:00 Uhr you <ron@ratbones.dyndns.org> wrote:
Are there any others getting Apache child processes seg faulting when attempting to POST a form?
It must be something ppc specific, since none of my friends seem to have problems with x86. I think I remember a message about this on this list.
Thanks,
Ron
This is what I posted some while ago:
Hello all,
while developing a php based website hosted on my up-to-date SuSE 7.3/PPC box, I found apache crashing each time I tried to POST a form with encoding="multipart/form-data". The following patch applied to mod_php4 helped:
--- main/rfc1867.c.orig Mon May 27 22:20:41 2002 +++ main/rfc1867.c Mon May 27 22:21:09 2002 @@ -109,6 +109,7 @@ if (*bufp) efree(*bufp); *bufp = emalloc(n + 1); + va_start(ap,fmt); vsnprintf(*bufp, n + 1, fmt, ap); return; }
This is pretty much the same problem that occurred with earlier squid builds. On the PPC it seems impossible to reuse a varargs list without first re-initializing it. Can someone point me to the principle problem with varargs on PPC? Is this a compiler bug? Is the reuse illegal?
Greetings, Uwe
participants (2)
-
ron@ratbones.dyndns.org
-
Uwe Hees