On 6 Mar 2009 at 23:51, Alex Efros wrote: > When I run apache for the first time after reboot - without strace/core, > just to see is it crash - I got this in kernel log: > > 2009-03-06_20:48:56.60108 kern.info: apache2[4621]: segfault at > 4d554ed0 ip 4d541399 sp 594130d0 error 7 in ld-2.6.1.so[4d53a000+1a000]
ah crap, i know what it is. it's a several years old glibc bug where someone put a certain variable into the RELRO segment but forgot that it'll be written to later when a library with RWE GNU_STACK is loaded. the workaround is to find that library (just extract them from strace, probably it'll be pari's library) and run execstack -c on it.
