Ah, I see you had already corrected the stack overflowing, and found better way even. :)

I tested the correction with the test cases and they passed.
I also tried AwesomiumGL and I couldn't get it to crash, so looks to me that this bug is fixed.

The test cases at http://source.winehq.org/patches/ are still in pending state. Should I improve them somehow, or leave them as they are?

Thanks for help!
Janne