http://bugs.winehq.org/show_bug.cgi?id=15649
--- Comment #15 from Philip Nilsson leffeman@gmail.com 2009-06-18 10:30:23 ---
"cat /proc/sys/kernel/randomize_va_space"
I've tried disabling it before, with the result that the application would always crash. I tried it again, and now it works every time! (Even other hooking applications that I've never been able to get working.) A bisect shows that it works after commit 8e16e7871063df35ca3a6de6fb165767c00bd087 is applied.
This is strange, because I am pretty sure I tried disabling ASLR later than that patch with crashing as the result. It is possible that I had that patch reverted at the time though (it was causing another bug).
I can't see how this patch might be relevant, though.