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

2 BUGS - Crash & [/Users/ragu/Projects/PineTreesHealth/Radiata-iOS/Pods/Realm/Realm/RLMUser.mm:57:20: Implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'NSUInteger' (aka 'unsigned int')] #7043

Closed
ragu-pdx opened this issue Jan 13, 2021 · 2 comments

Comments

@ragu-pdx
Copy link

ragu-pdx commented Jan 13, 2021

!!! MANDATORY TO FILL OUT !!!

Goals

No Crashes

Expected Results

No Crashes

Actual Results

Crashes

libsystem_kernel.dylib
__pthread_kill
libsystem_c.dylib
abort
Realm
please_report_this_error_to_help_at_realm_dot_io
Realm
realm::util::terminate_internal(std::*1::basic_stringstream<char, std::*1::char_traits, std::1::allocator >&)
Realm
realm::util::terminate(char const
, char const
, long, std::initializer_listrealm::util::Printable&&)
Realm
realm::DB::grab_read_lock(realm::DB::ReadLockInfo&, realm::VersionID)
Realm
realm::DB::start_read(realm::VersionID)
Realm
realm::impl::RealmCoordinator::begin_read(realm::VersionID, bool)
Realm
realm::Realm::begin_read(realm::VersionID)
Realm
realm::Realm::read_group()
Realm
RLMClassInfo::table() const RLMClassInfo.mm:42
Realm
RLMGetObjects RLMObjectStore.mm:195
RealmSwift
RealmSwift.Realm.objects(A.Type) -> RealmSwift.Results Realm.swift:641
Radiata
merged generic specialization <Radiata.SystemTimeZoneObject> of (extension in Radiata):RealmSwift.Realm.contentUpdated<A where A: Radiata.ContentEquatable, A: Radiata.Persistent>(
: A, filter: __C.NSPredicate?) -> Swift.Bool
Radiata
generic specialization <Radiata.ReaderInformationObject> of (extension in Radiata):RealmSwift.Realm.writeIfContentUpdate<A where A: Radiata.ContentEquatable, A: Radiata.Persistent>(: A, filter: __C.NSPredicate?) -> A? Realm+ContentEquatable.swift:20
Radiata
closure #1 () ~~> () in Radiata.BluetoothService.peripheral(
:_ C.PBPeripheral, deviceInformation: _C.PBDeviceInformation)~~ > () BluetoothService.swift:177
Radiata
Radiata.RunLoopThread.(execute in 25C052638766C1F8EA472462436432EF)(Radiata.(BlockWrapper in 25C052638766C1F8EA472462436432EF)) -> () RunLoopThread.swift:69
Radiata
@objc Radiata.RunLoopThread.(execute in 25C052638766C1F8EA472462436432EF)(Radiata.(BlockWrapper in 25C052638766C1F8EA472462436432EF)) > () <compilergenerated>:0
Foundation
__NSThreadPerformPerform

Also another issue:
Pods/Realm/Realm/RLMUser.mm:57:20: Implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'NSUInteger' (aka 'unsigned int')
Pods/Realm/Realm/RLMApp.mm:201:47: Implicit conversion loses integer precision: 'unsigned long long' to 'NSUInteger' (aka 'unsigned int')
Pods/Realm/Realm/RLMApp.mm:235:20: Implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'NSUInteger' (aka 'unsigned int')

Steps for others to Reproduce

Unsure as this is happening at random on other people's devices. Not everyone experiencing, but enough are.

Code Sample

            try self.write {
                retVal = self.create(T.self, value: object, update: .error)
            }

Version of Realm and Tooling

Realm framework version: 10.5.0

Realm Object Server version: None

Xcode version: 12.3

iOS/OSX version: iOS 14.3

Dependency manager + version: Cocoapods Latest

@leemaguire
Copy link
Contributor

Hi @ragu-pth Can you give us a larger code sample that may help us with this issue? Thanks

@sync-by-unito sync-by-unito bot changed the title 2 BUGS - Crash & [/Users/ragu/Projects/PineTreesHealth/Radiata-iOS/Pods/Realm/Realm/RLMUser.mm:57:20: Implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'NSUInteger' (aka 'unsigned int')] 2 BUGS - Crash & [/Users/ragu/Projects/PineTreesHealth/Radiata-iOS/Pods/Realm/Realm/RLMUser.mm:57:20: Implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'NSUInteger' (aka 'unsigned int')] Jan 14, 2021
@ejm01
Copy link
Contributor

ejm01 commented Jan 28, 2021

This issue has been closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@ejm01 ejm01 closed this as completed Jan 28, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants