-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Core
-
None
SDK and version
SDK : Dart
Version: 1.0.3
Observations
Resolving a results in a frozen version of the realm the result was created in from a list of embedded objects on a realm object that has since been deleted will crash.
Crash log / stacktrace
Unable to find source-code formatter for language: stacktrace. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
===== CRASH ===== si_signo=Segmentation fault: 11(11), si_code=2, si_addr=0x0 version=2.19.4 (stable) (Tue Mar 7 09:58:46 2023 +0000) on "macos_arm64" pid=72185, thread=12035, isolate_group=main(0x13500c400), isolate=main(0x13502c200) os=macos, arch=arm64, comp=no, sim=no isolate_instructions=102654d80, vm_instructions=102654d80 pc 0x00000001109af650 fp 0x000000016e308a70 realm::Results::Results(std::__1::shared_ptr<realm::Realm>, std::__1::shared_ptr<realm::CollectionBase>, realm::DescriptorOrdering)+0x50 pc 0x00000001109b5778 fp 0x000000016e308e90 realm::Results::import_copy_into_realm(std::__1::shared_ptr<realm::Realm> const&)+0x2f4 pc 0x0000000110942a14 fp 0x000000016e3095d0 realm_results_resolve_in+0x24 pc 0x0000000105106e28 fp 0x000000016e3095f8 Unknown symbol ... pc 0x00000001027785d0 fp 0x000000016e30a750 dart::DartEntry::InvokeCode(dart::Code const&, unsigned long, dart::Array const&, dart::Array const&, dart::Thread*)+0x140 ...
Steps & Code to Reproduce
- has to be finished together with
-
RDART-748 Freezing results created from a list of embedded objects on a realm object since deleted will crash
- Closed