Skip to content
Snippets Groups Projects
Closed crash when app goes to background
  • View options
  • crash when app goes to background

  • View options
  • Closed Issue created by Kateryna Kostiuk

    [Bug report]

    • Device model:

    • iOS version: any

    • Jami version: master

    • Can you reproduce the bug: [occasionally]

    The app crashes frequently, especially when transitioning between background and foreground

    Thread 3 Crashed:
    0   libswiftCore.dylib            	0x0000000190cae5b4 swift_isUniquelyReferenced_nonNull_native + 0 (SwiftObject.mm:1375)
    1   Ring                          	0x00000001009db31c specialized Dictionary._Variant.isUniquelyReferenced() + 8 (<compiler-generated>:0)
    2   Ring                          	0x00000001009db31c specialized Dictionary._Variant.updateValue(_:forKey:) + 8 (<compiler-generated>:0)
    3   Ring                          	0x00000001009db31c specialized Dictionary.updateValue(_:forKey:) + 8 (AccountConfigModel.swift:0)
    4   Ring                          	0x00000001009db31c AccountConfigModel.update(withDetails:) + 640
    5   Ring                          	0x0000000100ba9ddc AccountModel.updateVolatileDetails(dictionary:) + 168 (AccountModel.swift:152)
    6   Ring                          	0x0000000100bb6174 AccountsService.accountDetailsChanged(accountId:details:) + 432
    7   Ring                          	0x0000000100bb7f90 @objc AccountsService.accountDetailsChanged(accountId:details:) + 108
    8   Ring                          	0x00000001008e3cdc -[AccountAdapter registerConfigurationHandler]::$_2::operator()(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::map<std::__1::basic_string<cha... + 164 (AccountAdapter.mm:71)
    9   Ring                          	0x00000001008e3cdc decltype(std::declval<-[AccountAdapter registerConfigurationHandler]::$_2&>()(std::declval<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&>(), std::declv... + 164 (invoke.h:340)
    10  Ring                          	0x00000001008e3cdc void std::__1::__invoke_void_return_wrapper<void, true>::__call[abi:ue170006]<-[AccountAdapter registerConfigurationHandler]::$_2&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__... + 164 (invoke.h:415)
    11  Ring                          	0x00000001008e3cdc std::__1::__function::__alloc_func<-[AccountAdapter registerConfigurationHandler]::$_2, std::__1::allocator<-[AccountAdapter registerConfigurationHandler]::$_2>, void (std::__1::basic_string<char, ... + 164 (function.h:193)
    12  Ring                          	0x00000001008e3cdc std::__1::__function::__func<-[AccountAdapter registerConfigurationHandler]::$_2, std::__1::allocator<-[AccountAdapter registerConfigurationHandler]::$_2>, void (std::__1::basic_string<char, std::_... + 188 (function.h:364)
    13  Ring                          	0x0000000100eaf2b8 void jami::emitSignal<libjami::ConfigurationSignal::VolatileDetailsChanged, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::map<std::__1::basic_strin... + 476
    14  Ring                          	0x0000000100ec7fd0 std::__1::__function::__func<void jami::runOnMainThread<jami::Account::setRegistrationState(jami::RegistrationState, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocat... + 644
    15  Ring                          	0x0000000100eeaa3c jami::ScheduledExecutor::loop() + 520
    16  Ring                          	0x0000000100eeac54 void* std::__1::__thread_proxy[abi:ue170006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, jami::ScheduledExecutor::Scheduled... + 68
    17  libsystem_pthread.dylib       	0x00000001ef2f906c _pthread_start + 136 (pthread.c:931)
    18  libsystem_pthread.dylib       	0x00000001ef2f40d8 thread_start + 8

    Linked items 0

  • Link items together to show that they're related or that one is blocking others.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading