• 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: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/


  • Subject: Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/
  • From: Jens Alfke <email@hidden>
  • Date: Sat, 22 Oct 2016 14:26:02 -0700

> On Oct 22, 2016, at 2:21 PM, Jean Suisse <email@hidden> wrote:
>
> I don’t know if it’s so irrelevant, because in the backtrace the swift code calls -[NSURLDirectoryEnumerator nextObject]. Maybe the ObjC code doesn’t. Hence my question.

Obj-C for…in loops use NSFastEnumeration, which is equivalent to calling nextObject, just faster.

My point is that the crash is not in the enumerator at all, but in the glue where the value it returns is translated into Swift. There seems to be some bug there, specifically with handling dates.

—Jens
_______________________________________________

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: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/
      • From: Raglan T Tiger <email@hidden>
    • Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/
      • From: Jean Suisse <email@hidden>
References: 
 >EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/ (From: Jean Suisse <email@hidden>)
 >Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/ (From: Quincey Morris <email@hidden>)
 >Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/ (From: Jean Suisse <email@hidden>)
 >Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/ (From: Jens Alfke <email@hidden>)
 >Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/ (From: Jean Suisse <email@hidden>)
 >Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/ (From: Jean Suisse <email@hidden>)
 >Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/ (From: Jens Alfke <email@hidden>)
 >Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/ (From: Jean Suisse <email@hidden>)
 >Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/ (From: Jens Alfke <email@hidden>)
 >Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/ (From: Jean Suisse <email@hidden>)

  • Prev by Date: Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/
  • Next by Date: Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/
  • Previous by thread: Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/
  • Next by thread: Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/
  • Index(es):
    • Date
    • Thread