• 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: Need help with a very scary error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help with a very scary error


  • Subject: Re: Need help with a very scary error
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Sun, 1 Nov 2009 12:43:39 +0100


Le 1 nov. 2009 à 02:34, Joar Wingfors a écrit :


On 31 okt 2009, at 05.14, Jean-Daniel Dupas wrote:

I managed to reliably reproduce this issues in a complex project, but didn't managed to reproduce it in a simple test case.

I don't know if this is relevant, but some of these call (especially the one that fails) are perform asynchronously in a serial dispatch_queue, and this code is in a shared library.


If it's easy to reproduce, I'd try to reproduce it with Guard Malloc or stack canaries enabled.


Thank you for the suggestion, unfortunately it does not change the result and does not report error.
And I don't see how a stack corruption can explain this as I don't do anything between the computation and the printf (and I print the argument in the printf to check its validity).


Note that if I use llround instead of relying on implicit float->int conversion, I don't get this error anymore.



-- Jean-Daniel




_______________________________________________ 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
  • Follow-Ups:
    • Re: Need help with a very scary error
      • From: Chris Suter <email@hidden>
  • Next by Date: Re: Need help with a very scary error
  • Next by thread: Re: Need help with a very scary error
  • Index(es):
    • Date
    • Thread