• 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: App hangs when displaying any sheet in 10.5 [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App hangs when displaying any sheet in 10.5 [SOLVED]


  • Subject: Re: App hangs when displaying any sheet in 10.5 [SOLVED]
  • From: "Hamish Allan" <email@hidden>
  • Date: Fri, 6 Jun 2008 05:12:17 +0100

On Thu, Jun 5, 2008 at 5:12 PM, Brian Stern <email@hidden> wrote:

> While float and int are the same size they are returned from functions in
> different registers (on both ppc and intel). If the calling function expects
> a float returned type but an int is returned instead the calling function
> will certainly get a bogus value. In addition it may save and restore the
> wrong registers and not save and restore a register that needs to be
> preserved, resulting in memory corruption.

That shouldn't be what happened here, though -- the method in question
was returning a float. Perhaps the calling function expected an int,
but I don't see why...

Hamish
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: App hangs when displaying any sheet in 10.5 [SOLVED]
      • From: Graham Cox <email@hidden>
References: 
 >Where to start looking to fix hang? (From: Graham Cox <email@hidden>)
 >Re: Where to start looking to fix hang? (From: j o a r <email@hidden>)
 >App hangs when displaying any sheet in 10.5 [was Re: Where to start looking to fix hang?] (From: Graham Cox <email@hidden>)
 >Re: App hangs when displaying any sheet in 10.5 [was Re: Where to start looking to fix hang?] (From: Graham Cox <email@hidden>)
 >Re: App hangs when displaying any sheet in 10.5 [was Re: Where to start looking to fix hang?] (From: Andy Lee <email@hidden>)
 >Re: App hangs when displaying any sheet in 10.5 [SOLVED] (From: Graham Cox <email@hidden>)
 >Re: App hangs when displaying any sheet in 10.5 [SOLVED] (From: Brian Stern <email@hidden>)

  • Prev by Date: Re: App hangs when displaying any sheet in 10.5 [SOLVED]
  • Next by Date: Re: gcc-4.0 Fail with Realease Configuration
  • Previous by thread: Re: App hangs when displaying any sheet in 10.5 [SOLVED]
  • Next by thread: Re: App hangs when displaying any sheet in 10.5 [SOLVED]
  • Index(es):
    • Date
    • Thread