Uploaded image for project: 'Realm .NET SDK'
  1. Realm .NET SDK
  2. RNET-135

UWP: Realm crashes in UWP background tasks

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None

      Goals

      I was trying to use CRUD operations in background tasks.

      Expected Results

      I expected to work, a it works on SQLite

      Actual Results

      It makes the background task crash.
      <!--- e.g. the stack trace of a crash -->

      Steps to Reproduce

      Make a background task, do read operation or a write transaction, boom! crashes.

      Code Sample

      Use this in a background task:

      Unable to find source-code formatter for language: csharp. 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
      instance.Write(() =>
                  {
                      instance.Add(entity);
                  });
      

      Version of Realm and Tooling

      • Realm Object Server Version: ?
      • Flavor:
        • [Developer
      • Server OS & Version: Cloud
      • Client SDK Version: V3.0
      • Client OS & Version: Windows 10 RS4 release

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: