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

Breaking changes in 3.30 #5697

Closed
matadan opened this issue Mar 25, 2018 · 0 comments
Closed

Breaking changes in 3.30 #5697

matadan opened this issue Mar 25, 2018 · 0 comments

Comments

@matadan
Copy link

matadan commented Mar 25, 2018

Goals

Access the objectTypes to use for introspection.

Expected Results

Same behaviour as 3.3.2

Actual Results

  • thread Fix for memory leakage when typed tables are created in a group. #8, queue = 'com.apple.NSXPCConnection.m-user.com.apple.cloudd', stop reason = Fatal error: Unexpectedly found nil while unwrapping an Optional value
    frame #0: 0x0000000106d58900 libswiftCore.dylib_swift_runtime_on_report frame #1: 0x0000000106d99181 libswiftCore.dylib_swift_stdlib_reportFatalError + 113
    frame Support for 'float' and 'double' column types and a lot of other fixes #2: 0x0000000106d3538f libswiftCore.dylibpartial apply forwarder for closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in closure #2 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in Swift._fatalErrorMessage(Swift.StaticString, Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never + 63 frame #3: 0x0000000106a601eb libswiftCore.dylibfunction signature specialization <preserving fragile attribute, Arg[1] = [Closure Propagated : reabstraction thunk helper from @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> () to @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> (@out ()), Argument Types : [@callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> ()]> of generic specialization <preserving fragile attribute, ()> of Swift.StaticString.withUTF8Buffer((Swift.UnsafeBufferPointer<Swift.UInt8>) -> A) -> A + 187
    frame Explicit string size - Obj-C #4: 0x0000000106ce90f1 libswiftCore.dylibpartial apply forwarder for closure #2 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in Swift._fatalErrorMessage(Swift.StaticString, Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never + 113 frame #5: 0x0000000106a601eb libswiftCore.dylibfunction signature specialization <preserving fragile attribute, Arg[1] = [Closure Propagated : reabstraction thunk helper from @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> () to @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> (@out ()), Argument Types : [@callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> ()]> of generic specialization <preserving fragile attribute, ()> of Swift.StaticString.withUTF8Buffer((Swift.UnsafeBufferPointer<Swift.UInt8>) -> A) -> A + 187
    frame Tutorial (./examples/tutorial.m) ready for inspection and upload if found ok. #6: 0x0000000106c14410 libswiftCore.dylib`function signature specialization <preserving fragile attribute, Arg[2] = Dead, Arg[3] = Dead> of Swift._fatalErrorMessage(Swift.StaticString, Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never + 96
    • frame A 'config' step has been introduced into the build procedure. #7: 0x0000000103637ed1 RealmSwiftRealm.permissions.getter(self=0x000060c000226560) at Sync.swift:1313 frame #8: 0x00000001069c85e1 SynchroSync.sync(completionHandler=0x00000001069cfe80 Synchropartial apply forwarder for closure #1 () -> () in closure #1 (__C.CKAccountStatus, Swift.Optional<Swift.Error>) -> () in Synchro.Sync.start(completionHandler: Swift.Optional<(Swift.Optional<Swift.Error>) -> ()>) -> () at Sync.swift, self=0x000060800003cd00) at Sync.swift:135 frame #9: 0x00000001069c7012 Synchroclosure Column type rename #1 in Sync.start(accountStatus=available, error=nil, self=0x000060800003cd00, completionHandler=0x00000001024ee110 SynchroTestpartial apply forwarder for (extension in PromiseKit):PromiseKit.Resolver<A where A == ()>.resolve(Swift.Optional<Swift.Error>) -> () at SyncTests.swift) at Sync.swift:102 frame #10: 0x00000001069cd38b Synchropartial apply for closure Column type rename #1 in Sync.start(completionHandler:) at Sync.swift:0
      frame Subtable assigment issue fixed. #11: 0x00000001069c714f Synchrothunk for @callee_owned (@unowned CKAccountStatus, @owned Error?) -> () at Sync.swift:0 frame #12: 0x0000000103752662 CloudKit__65-[CKContainer(AccountStatus) accountStatusWithCompletionHandler:]_block_invoke.1414 + 319
      frame addRow rename to addEmptyRow #13: 0x000000010759e36c CoreFoundation__invoking___ + 140 frame #14: 0x000000010759e240 CoreFoundation-[NSInvocation invoke] + 320
      frame v.0.1.5 #15: 0x00000001039895ce Foundation__NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK__ + 17 frame #16: 0x0000000103bb588a Foundation-[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 790
      frame Renaming optimize references. #17: 0x0000000103bb99b0 Foundation__88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke.346 + 505 frame #18: 0x000000010875061c libxpc.dylib_xpc_connection_reply_callout + 36
      frame Xcode project #19: 0x00000001087459cc libxpc.dylib_xpc_connection_call_reply_async + 82 frame #20: 0x000000010837839f libdispatch.dylib_dispatch_client_callout3 + 8
      frame Check that $CONFIG_MK is writable. #21: 0x00000001083905b7 libdispatch.dylib_dispatch_mach_msg_async_reply_invoke + 369 frame #22: 0x000000010838057d libdispatch.dylib_dispatch_queue_serial_drain + 434
      frame Mini tutorial #23: 0x00000001083811ea libdispatch.dylib_dispatch_queue_invoke + 336 frame #24: 0x000000010837cf7c libdispatch.dylib_dispatch_queue_override_invoke + 733
      frame Error handling (Jesper) #25: 0x0000000108384102 libdispatch.dylib_dispatch_root_queue_drain + 772 frame #26: 0x0000000108383da0 libdispatch.dylib_dispatch_worker_thread3 + 132
      frame Makefile upgraded to latest version from core library #27: 0x00000001088431ca libsystem_pthread.dylib_pthread_wqthread + 1387 frame #28: 0x0000000108842c4d libsystem_pthread.dylibstart_wqthread + 13
      (lldb)

Steps to Reproduce

Code Sample

       let realm = try! Realm()

        guard let objectTypes = realm.configuration.objectTypes else { return }

Version of Realm and Tooling

Realm framework version: ?
3.3.0

Realm Object Server version: ?
N/A

Xcode version: ?
9.2

iOS/OSX version: ?

iOS 11

Dependency manager + version: ?
carthage 0.28.0

@matadan matadan changed the title Braking changes in 3.30 Breaking changes in 3.30 Mar 25, 2018
@matadan matadan closed this as completed Mar 25, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant