Re: Crash in virtual method call
Re: Crash in virtual method call
- Subject: Re: Crash in virtual method call
- From: Bill Royds <email@hidden>
- Date: Wed, 11 Jun 2008 22:55:11 -0400
On 11-Jun-08, at 17:55 , Doug Hill wrote: - In the course of stepping into the method that crashes, Xcode first calls "non-virtual thunk for <MyClass>:: <MyMethod>". It does this even though the method being called is a virtual method. It also displays the source of this call as a random header file in user includes.
Check to see whether the method is missing the virtual keyword in one of the header declares.
It looks like the method is compile as a virtual (which has a dispatch table for method calls, with offsets for each version), but you are passing a direct call (with only the address of the vtab base). |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden