https://bugs.kde.org/show_bug.cgi?id=413260

            Bug ID: 413260
           Summary: click on a mail on local maildir folder crashed
                    akonadi server
           Product: Akonadi
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: server
          Assignee: kdepim-bugs@kde.org
          Reporter: kol...@aon.at
  Target Milestone: ---

SUMMARY
I was just reading a mail in a local maildir folder when akonadi server
crashed when I selected a new mail.


EXPECTED RESULT
no crash

SOFTWARE/OS VERSIONS

openSuse Tumbleweed 20191016

ADDITIONAL INFORMATION
Application: Akonadi Server (akonadiserver), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2da5922900 (LWP 4319))]

Thread 7 (Thread 0x7f2da15e4700 (LWP 4327)):
[KCrash Handler]
#6  0x00007f2da7f8dabe in std::__atomic_base<int>::load
(__m=std::memory_order_relaxed, this=0x34003a) at
/usr/include/c++/9/bits/atomic_base.h:413
#7  QAtomicOps<int>::load<int> (_q_value=...) at
../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:227
#8  QBasicAtomicInteger<int>::load (this=0x34003a) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:103
#9  QtPrivate::RefCount::deref (this=0x34003a) at
../../include/QtCore/../../src/corelib/tools/qrefcount.h:66
#10 QString::operator= (this=this@entry=0x7f2d3c04bb48, other=...) at
tools/qstring.cpp:2434
#11 0x000055a366e28f01 in
Akonadi::Server::ItemRetrievalManager::retrievalJobFinished
(this=0x55a367c6dd80, request=0x7f2d3c04bb30, errorMsg=...) at
/usr/src/debug/akonadi-server-19.08.2-1.1.x86_64/src/server/storage/itemretrievalmanager.cpp:224
#12 0x00007f2da8102638 in QtPrivate::QSlotObjectBase::call (a=0x7f2da15e3700,
r=0x55a367c6dd80, this=0x7f2d90019f20) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#13 QMetaObject::activate (sender=0x7f2d9000c180, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3789
#14 0x000055a366e73b04 in
Akonadi::Server::AbstractItemRetrievalJob::requestCompleted
(this=this@entry=0x7f2d9000c180, _t1=<optimized out>, _t2=...) at
/usr/src/debug/akonadi-server-19.08.2-1.1.x86_64/build/src/server/libakonadiserver_autogen/5XLNPBDXWK/moc_itemretrievaljob.cpp:136
#15 0x000055a366e2aeb3 in Akonadi::Server::ItemRetrievalJob::callFinished
(this=0x7f2d9000c180, watcher=<optimized out>) at
/usr/include/qt5/QtCore/qchar.h:88
#16 0x00007f2da8102638 in QtPrivate::QSlotObjectBase::call (a=0x7f2da15e38c0,
r=0x7f2d9000c180, this=0x7f2d90005290) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#17 QMetaObject::activate (sender=0x7f2d90021ee0, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3789
#18 0x00007f2da845d93f in
QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from
/usr/lib64/libQt5DBus.so.5
#19 0x00007f2da845da40 in ?? () from /usr/lib64/libQt5DBus.so.5
#20 0x00007f2da8102eea in QObject::event (this=0x7f2d90021ee0, e=<optimized
out>) at kernel/qobject.cpp:1260
#21 0x00007f2da80d754f in doNotify (event=0x7f2d3c048610,
receiver=0x7f2d90021ee0) at
../../include/QtCore/../../src/corelib/kernel/qobject.h:143
#22 QCoreApplication::notify (event=0x7f2d3c048610, receiver=0x7f2d90021ee0,
this=<optimized out>) at kernel/qcoreapplication.cpp:1171
#23 QCoreApplication::notifyInternal2 (receiver=0x7f2d90021ee0,
event=0x7f2d3c048610) at kernel/qcoreapplication.cpp:1095
#24 0x00007f2da80da208 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x55a367c59260) at
kernel/qcoreapplication.cpp:1840
#25 0x00007f2da812e343 in postEventSourceDispatch (s=0x7f2d90004bc0) at
kernel/qeventdispatcher_glib.cpp:277
#26 0x00007f2da668b6b3 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#27 0x00007f2da668d460 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f2da668d49f in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#29 0x00007f2da812d981 in QEventDispatcherGlib::processEvents
(this=0x7f2d90000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#30 0x00007f2da80d60db in QEventLoop::exec (this=this@entry=0x7f2da15e3ca0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#31 0x00007f2da7f0e021 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#32 0x00007f2da7f0f1a2 in QThreadPrivate::start (arg=0x55a367c59190) at
thread/qthread_unix.cpp:360
#33 0x00007f2da72d9f2a in start_thread () from /lib64/libpthread.so.0
#34 0x00007f2da7b7e4af in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f2da1de5700 (LWP 4326)):
#0  0x00007f2da7b73bdf in poll () from /lib64/libc.so.6
#1  0x00007f2da668d3ce in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2da668d49f in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f2da812d99b in QEventDispatcherGlib::processEvents
(this=0x7f2d74000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2da80d60db in QEventLoop::exec (this=this@entry=0x7f2da1de4ca0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f2da7f0e021 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f2da7f0f1a2 in QThreadPrivate::start (arg=0x55a367c58d40) at
thread/qthread_unix.cpp:360
#7  0x00007f2da72d9f2a in start_thread () from /lib64/libpthread.so.0
#8  0x00007f2da7b7e4af in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f2da25e6700 (LWP 4325)):
#0  0x00007f2da668b8f5 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f2da668cbfb in g_main_context_prepare () from
/usr/lib64/libglib-2.0.so.0
#2  0x00007f2da668d2fb in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2da668d49f in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#4  0x00007f2da812d99b in QEventDispatcherGlib::processEvents
(this=0x7f2d8c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f2da80d60db in QEventLoop::exec (this=this@entry=0x7f2da25e5ca0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f2da7f0e021 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f2da7f0f1a2 in QThreadPrivate::start (arg=0x55a367c407f0) at
thread/qthread_unix.cpp:360
#8  0x00007f2da72d9f2a in start_thread () from /lib64/libpthread.so.0
#9  0x00007f2da7b7e4af in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f2da2de7700 (LWP 4324)):
#0  0x00007f2da668d23f in g_main_context_acquire () from
/usr/lib64/libglib-2.0.so.0
#1  0x00007f2da668d285 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2da668d49f in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f2da812d99b in QEventDispatcherGlib::processEvents
(this=0x7f2d98000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2da80d60db in QEventLoop::exec (this=this@entry=0x7f2da2de6ca0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f2da7f0e021 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f2da7f0f1a2 in QThreadPrivate::start (arg=0x55a367c3e630) at
thread/qthread_unix.cpp:360
#7  0x00007f2da72d9f2a in start_thread () from /lib64/libpthread.so.0
#8  0x00007f2da7b7e4af in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f2da35e8700 (LWP 4323)):
#0  0x00007f2da663f1c0 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f2da668b446 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#2  0x00007f2da668d460 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2da668d49f in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#4  0x00007f2da812d99b in QEventDispatcherGlib::processEvents
(this=0x7f2d94000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f2da80d60db in QEventLoop::exec (this=this@entry=0x7f2da35e7ca0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f2da7f0e021 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f2da7f0f1a2 in QThreadPrivate::start (arg=0x55a367c03b70) at
thread/qthread_unix.cpp:360
#8  0x00007f2da72d9f2a in start_thread () from /lib64/libpthread.so.0
#9  0x00007f2da7b7e4af in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2da3e8b700 (LWP 4320)):
#0  0x00007f2da7b73bdf in poll () from /lib64/libc.so.6
#1  0x00007f2da668d3ce in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2da668d49f in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f2da812d99b in QEventDispatcherGlib::processEvents
(this=0x7f2d9c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2da80d60db in QEventLoop::exec (this=this@entry=0x7f2da3e8ac70,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f2da7f0e021 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f2da83fb4f6 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f2da7f0f1a2 in QThreadPrivate::start (arg=0x7f2da847dd80) at
thread/qthread_unix.cpp:360
#8  0x00007f2da72d9f2a in start_thread () from /lib64/libpthread.so.0
#9  0x00007f2da7b7e4af in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2da5922900 (LWP 4319)):
#0  0x00007f2da7b73bdf in poll () from /lib64/libc.so.6
#1  0x00007f2da668d3ce in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2da668d49f in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f2da812d981 in QEventDispatcherGlib::processEvents
(this=0x55a367bd1ab0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f2da80d60db in QEventLoop::exec (this=this@entry=0x7ffd478cad40,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f2da80ddd42 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x000055a366e97285 in AkApplicationBase::exec
(this=this@entry=0x7ffd478cae40) at
/usr/src/debug/akonadi-server-19.08.2-1.1.x86_64/src/shared/akapplication.cpp:124
#7  0x000055a366d04db5 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/akonadi-server-19.08.2-1.1.x86_64/src/server/main.cpp:78
[Inferior 1 (process 4319) detached]

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to