Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode 10 - Testing failed EXC_BAD_ACCESS #535

Closed
1 task done
eliselbz opened this issue Jun 6, 2018 · 4 comments
Closed
1 task done

Xcode 10 - Testing failed EXC_BAD_ACCESS #535

eliselbz opened this issue Jun 6, 2018 · 4 comments

Comments

@eliselbz
Copy link

eliselbz commented Jun 6, 2018

  • I have read CONTRIBUTING and have done my best to follow them.

What did you do?

I try to run my test with Xcode 10.0 in beta

What actually happened instead?

I have a failure in the Stringers.swift file's in ligne 162 in return stringify(unboxed) in this function:
public func stringify<T>(_ value: T?) -> String { if let unboxed = value { return stringify(unboxed) } return "nil" }

I'm using Nimble for this method: toEventually(_ predicate: Predicate<T>, timeout: TimeInterval = AsyncDefaults.Timeout, pollInterval: TimeInterval = AsyncDefaults.PollInterval, description: String? = nil)
Here the failure: Thread 1: EXC_BAD_ACCESS (code=2, address=0x7ffee4675fc8)

Environment

List the software versions you're using:

  • Quick: 1.3.0

  • Nimble: 7.1.1

  • Xcode Version: 10.0 beta (Open Xcode; In menubar: Xcode > About Xcode)

  • Swift Version: 4.1 (Open Xcode Preferences; Components > Toolchains. If none, use Xcode Default.)

  • Cocoapods: 1.5.2 (Use pod --version in Terminal)

  • Swift Package Manager 4.1.0 (swiftpm-14050) (Use swift build --version in Terminal)

@eliselbz eliselbz changed the title Xcode 10 Xcode 10 - Testing failed EXC_BAD_ACCESS Jun 6, 2018
@eliselbz
Copy link
Author

eliselbz commented Jun 6, 2018

Oh it's seems this issue is a regression in Swift 4.2 and already reported: https://bugs.swift.org/browse/SR-7884
Thanks !

@morganchen12
Copy link
Contributor

This is also fixed in #532, which will likely be out before the Swift patch (and removes some redundant code anyway).

@ikesyo
Copy link
Member

ikesyo commented Jun 6, 2018

v7.1.2 has been released 🚀

https://github.com/Quick/Nimble/releases/tag/v7.1.2

@ikesyo ikesyo closed this as completed Jun 6, 2018
@ikesyo
Copy link
Member

ikesyo commented Jun 6, 2018

https://bugs.swift.org/browse/SR-7884

Thanks for the info @eelbeze!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants