Rafael Sadowski <[email protected]> wrote: > Switch off retguard in qtwebkit fix the crashes above. > > Please find below a diff to disbale retguard for qtwebkit and respect > CC/CXX in Qt.
This diff misses the point. The problem should be looked at a little deeper. retguard is a stack-corruption detector. The return address isn't what is expected. This looks like an interface where JIT and non-JIT code touch, perhaps by adjusting the return address on the stack without being aware it needs an XOR. Maybe the XOR cookie be discovered by XOR'ing the previous return value if that is known, to re-apply it to the new ret value. Aren't you a little curious? Also -- with your diff, is the old -fstack-protector(-strong) enabled or disabled? I think it is disabled.
