• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Crash in virtual method call
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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).
Bill Royds

 _______________________________________________
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

References: 
 >Crash in virtual method call (From: Doug Hill <email@hidden>)

  • Prev by Date: Re: 3.1 beta 7 error
  • Next by Date: Re: Error on compile
  • Previous by thread: Crash in virtual method call
  • Next by thread: Re: Crash in virtual method call
  • Index(es):
    • Date
    • Thread