On 26/12/15 20:13, David Chisnall wrote:
> Rereading the assembly, there was one obvious bug.  Can you rerun the tests 
> and see if this fixes it?  If not, then there are likely some less-obvious 
> bugs hiding.  

So after some investigation, I've found that libobjc2 start crashing
after this commit:
https://github.com/gnustep/libobjc2/commit/51071302779fdf6231fa75de133de34bd3efd171

It crashes exactly in the moment of objc_msgSend being called. For some
reason it corrupt call stack; obviously, there is kind of overflow bug,
or something like that.

Even though comment to that commit say " Currently, every objc_msgSend()
implementation except for x86-64 is broken", it's not completely clear
to me what exactly was done by that commit. I'd very appreciate if you
could explain and somehow advise me.

-- 
Dmitry Moskalchuk

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to