Summary: | www-servers/apache-2.2.17 with sys-devel/gcc-4.5.2 gives PAX: terminating task /usr/sbin/apache2(apache2) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcin Mirosław <bug> |
Component: | Hardened | Assignee: | Apache Team - Bugzilla Reports <apache-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | CC: | hardened, mjo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://issues.apache.org/bugzilla/show_bug.cgi?id=50190 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Marcin Mirosław
2011-04-13 08:57:24 UTC
Problem isn't related only to hardened Gentoo. I'm adding url to apache bugzilla. I think the problem is related to toolchain and not on a particular version of apache. I have something similar here: PaX terminations of apache2. In my case ssl connections stop working. Not just apache-2.2.17 is affected, but recompiling 2.2.16 also results in a faulty httpd. Compiling apache using gcc-4.5.2 with -O1 or switching to gcc-4.4.5 solves the problem. So there's something wrong with -O2 in case of gcc-4.5.2. No other components of the system triggers PaX. Dw. I can confirm the problem (file http_filters.c, line 523, assertion "totalread >= 0" failed) with apache-2.2.17 compiled with gcc 4.6 (tried with -O3 and -O2) Using apr-1.4.2-r1 AND recompiling apache fixed it here. See bug #355171 The same for me, upgrade of apr and recompilation of apache solved problem for me. *** This bug has been marked as a duplicate of bug 355171 *** |