Jami crashes if started without existing profile
If it gets started for the first time on a fresh system Jami will crash.
Using a new Jami version with an old profile works fine.
console log
Daemon is running
No accounts to migrate
Screen saver dbus interface: "org.freedesktop.ScreenSaver"
void ContactAdapter::connectSignals() No contact model
Can't update current call type AccountModel::getAccountInfo, can't find
qt.core.qobject.connect: QObject::connect(lrc::api::ContactModel, CurrentAccount): invalid nullptr parameter
Can't update current account info data for ""
Main window loaded using OpenGLRhi
QByteArrayFromFile: file does not exist "/home/alexander/.var/app/net.jami.Jami/cache/JamitmpSwarmImage"
QByteArrayFromFile: can't open file "/home/alexander/.var/app/net.jami.Jami/cache/JamitmpSwarmImage"
QByteArrayFromFile: file does not exist "/home/alexander/.var/app/net.jami.Jami/cache/JamitmpSwarmImage"
QByteArrayFromFile: can't open file "/home/alexander/.var/app/net.jami.Jami/cache/JamitmpSwarmImage"
From the log it looks like the client fails to notice that no profile exists and proceeds anyway.
It should present the user with the account creation dialog.
This issue plagues Jami for a while now but I can't pinpoint a commit.
The backtrace looks pretty empty as well.
Backtrace
#0 0x00007f76a6516e21 in () at /app/lib/libQt6WebEngineCore.so.6
#1 0x00007f7730618670 in () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2 0x00007f773073a480 in std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_pad(char, long, std::ios_base&, char*, char const*, int&) const () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007f76c09f7cc0 in ()
#4 0x0002ffff00001fa4 in ()
#5 0x00007f76c09f8088 in ()
#6 0x00007f76c09f7cf0 in ()
#7 0x00007f76c09f7da0 in ()
#8 0x00007f7734cfde1e in _dl_runtime_resolve_xsavec () at ../sysdeps/x86_64/dl-trampoline.h:126
#9 0x00007f77308384f8 in vtable for std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> > () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007f769c006000 in ()
#11 0x00007f769c006000 in ()
#12 0x00007f769c006000 in ()
#13 0x00007f769c005ff0 in ()
#14 0x00007f769c006064 in ()
#15 0x00007f769c0061f0 in ()
#16 0x00007f773083fd20 in (anonymous namespace)::c_locale_impl () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#17 0x0000000000000010 in ()
#18 0x00007f769c005ff0 in ()
#19 0x0000000000000010 in ()
#20 0x0000000000000200 in ()
#21 0x00373536312f3632 in ()
#22 0x00007f77308386d8 in vtable for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> > () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#23 0x0000000000000006 in ()
#24 0x0000000000000000 in ()