How frequently does the bug occur?

      Sometimes

      Description

      Our app crashed for some users (including me) at launch, when loading the database. And this only happens once per user.
      We suspect it's due to a migration ...
      This migration: https://github.com/Infomaniak/android-kMail/blob/1.0.9/app/src/main/java/com/infomaniak/mail/data/cache/RealmDatabase.kt#L175

      Stacktrace & log output

      Unable to find source-code formatter for language: shell. 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
      OS Version: Android 13 (TQ3A.230805.001)
      Report Version: 104
      
      Exception Type: Unknown (SIGSEGV)
      
      Application Specific Information:
      Segfault
      
      Thread 0 Crashed:
      0   libart.so                       0x6d179e5f6c        <unknown> + 468547690348
      1   split_config.arm64_v8a.apk      0x6c91704f48        register_results_notification_cb
      2   split_config.arm64_v8a.apk      0x6c91702744        Java_io_realm_kotlin_internal_interop_realmcJNI_register_1results_1notification_1cb
      3   base.odex                       0x6c9a7a4744        <unknown> + 466448172868
      

      https://sentry-mobile.infomaniak.com/share/issue/1dd3e2bd23154ad0982af11835ad33d3/

      Can you reproduce the bug?

      No

      Reproduction Steps

      No response

      Version

      1.10.2

      What Atlas App Services are you using?

      Local Database only

      Are you using encryption?

      No

      Platform OS and version(s)

      Android 12 and 13

      Build environment

      https://github.com/Infomaniak/android-kMail/blob/1.0.9/app/build.gradle
      https://github.com/Infomaniak/android-kMail/blob/1.0.9/gradle/libs.versions.toml#L17

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

              Created:
              Updated: