Uploaded image for project: 'Realm Cocoa SDK'
  1. Realm Cocoa SDK
  2. RCOCOA-259

Swift 3 Crash when enumerating RLMResults using forEach, flatMap, enumerated(), but not basic for-in

      Goals

      Iterate through RLMResults using forEach, flatMap, enumerated(), etc.

      Expected Results

      No crash like with other Sequence types

      Actual Results

      Crashes EXC_BAD_ACCESS, no stack trace

      Steps to Reproduce

      Open attached project, pod install, and run
      RealmTest.zip

      Realm version: 2.0.2

      Xcode version: 8.0

      iOS/OSX version: 10

      Dependency manager + version: Cocoapods 1.0.1

            Assignee:
            thomas.goyne@mongodb.com Thomas Goyne
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: