Re: Crash on Linux+Clang (NSTimer)

2020-11-11 Thread Riccardo Mottola
David Chisnall wrote: This one is slightly more complicated because we're passing the address of `self` in the argument frame into slowMsgLookup, so our stack looks something like this: { other args } _cmd self return address from objc_msgSend _cmd &self (the stored version a little way up the

Re: Crash on Linux+Clang (NSTimer)

2020-11-11 Thread David Chisnall
On 10/11/2020 23:33, Riccardo Mottola wrote: Hello David, thank you for the thorough analysis. If this is the case, you'll be able to see by looking at the value of the %rsp register and the current instruction.  Please can you:  - Use `show registers rsp` to let me know your current st