Bug 404561

Summary: Make sure importing Jami account works
Product: [Unmaintained] ring-kde Reporter: Emmanuel Lepage Vallée <emmanuel.lepage>
Component: generalAssignee: Emmanuel Lepage Vallée <emmanuel.lepage>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: notmart
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Emmanuel Lepage Vallée 2019-02-19 16:27:57 UTC
This hasn't been tried in a long time and was reported to crash.
Comment 1 Emmanuel Lepage Vallée 2019-02-19 16:29:16 UTC
" yeah, went to import, then got back, then went to create, got back, clicked import again, it crashed"
Comment 2 Marco Martin 2019-02-19 16:31:10 UTC
full backtrace during import:
Application: ring-kde (ring-kde), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3dab43ef80 (LWP 26389))]

Thread 5 (Thread 0x7f3d7ffff700 (LWP 26403)):
#0  0x00007f3da82a49f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56280d7d79c8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x56280d7d7978, cond=0x56280d7d79a0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x56280d7d79a0, mutex=0x56280d7d7978) at pthread_cond_wait.c:655
#3  0x00007f3d761fbb1b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f3d761fb847 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f3da829e6db in start_thread (arg=0x7f3d7ffff700) at pthread_create.c:463
#6  0x00007f3da5a2a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f3d8e8ee700 (LWP 26392)):
#0  0x00007f3da5a1dbf9 in __GI___poll (fds=0x7f3d80004a00, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f3da0a2d539 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3da0a2d64c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3da691615b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f3da68b764a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3da66df41a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f3da70822e5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f3da66e0bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f3da829e6db in start_thread (arg=0x7f3d8e8ee700) at pthread_create.c:463
#9  0x00007f3da5a2a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f3d8f0ef700 (LWP 26391)):
#0  0x00007f3da5a1dbf9 in __GI___poll (fds=0x7f3d880248d0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f3da0a2d539 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3da0a2d64c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3da691615b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f3da68b764a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3da66df41a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f3da86d4015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f3da66e0bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f3da829e6db in start_thread (arg=0x7f3d8f0ef700) at pthread_create.c:463
#9  0x00007f3da5a2a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f3d96121700 (LWP 26390)):
#0  0x00007f3da5a1dbf9 in __GI___poll (fds=0x7f3d96120cb8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f3da07c4747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f3da07c636a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f3d98ce3d4a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f3da66e0bc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3da829e6db in start_thread (arg=0x7f3d96121700) at pthread_create.c:463
#6  0x00007f3da5a2a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f3dab43ef80 (LWP 26389)):
[KCrash Handler]
#6  0x000056280bf234f6 in ProfileModelPrivate::slotAccountRemoved (this=0x56280d82bd20, a=0x56280ec94e00) at /home/diau/git/kf5/build/extragear/pim/ring-kde/libringqt/src/profilemodel.cpp:346
#7  0x000056280bf2cdd8 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<Account*>, void, void (ProfileModelPrivate::*)(Account*)>::call (f=(void (ProfileModelPrivate::*)(ProfileModelPrivate * const, Account *)) 0x56280bf233fa <ProfileModelPrivate::slotAccountRemoved(Account*)>, o=0x56280d82bd20, arg=0x7ffd184395a0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:152
#8  0x000056280bf2cb2b in QtPrivate::FunctionPointer<void (ProfileModelPrivate::*)(Account*)>::call<QtPrivate::List<Account*>, void> (f=(void (ProfileModelPrivate::*)(ProfileModelPrivate * const, Account *)) 0x56280bf233fa <ProfileModelPrivate::slotAccountRemoved(Account*)>, o=0x56280d82bd20, arg=0x7ffd184395a0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:185
#9  0x000056280bf2c73c in QtPrivate::QSlotObject<void (ProfileModelPrivate::*)(Account*), QtPrivate::List<Account*>, void>::impl (which=1, this_=0x56280e7c7fd0, r=0x56280d82bd20, a=0x7ffd184395a0, ret=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:414
#10 0x00007f3da68e8f3f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x000056280c053da6 in AccountModel::accountRemoved (this=0x56280d806c10, _t1=0x56280ec94e00) at /home/diau/git/kf5/build/extragear/pim/ring-kde/build/build_libringqt/ringqt_autogen/UVLADIE3JM/moc_accountmodel.cpp:704
#12 0x000056280beae7fc in AccountModel::remove (this=0x56280d806c10, account=0x56280ec94e00) at /home/diau/git/kf5/build/extragear/pim/ring-kde/libringqt/src/accountmodel.cpp:1143
#13 0x000056280beabdca in AccountModel::updateAccounts (this=0x56280d806c10) at /home/diau/git/kf5/build/extragear/pim/ring-kde/libringqt/src/accountmodel.cpp:605
#14 0x000056280c05286c in AccountModel::qt_static_metacall (_o=0x56280d806c10, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0x7f3d8801d0c0) at /home/diau/git/kf5/build/extragear/pim/ring-kde/build/build_libringqt/ringqt_autogen/UVLADIE3JM/moc_accountmodel.cpp:295
#15 0x00007f3da68e9992 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f3da8aa883c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f3da8aafdd0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f3da68b9328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f3da68bbe87 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f3da6916b23 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f3da0a2d387 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f3da0a2d5c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f3da0a2d64c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f3da691613f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f3da68b764a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f3da68c0800 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x000056280bd2f163 in main (argc=1, argv=0x7ffd1843a088) at /home/diau/git/kf5/extragear/pim/ring-kde/clients/mobile/main.cpp:200
Comment 3 Christoph Cullmann 2025-06-14 15:10:03 UTC
This project is unfortunately no longer maintained.

If a new maintainer wants to step up and take care, the project is archived here:

https://invent.kde.org/network/ring-kde

You can just clone it in your private namespace on invent.kde.org and if you have started to work on it and fixed/implemented something get it reviewed and the project unarchived.

Sorry for the inconveniences.