[Akonadi] [Bug 424760] New: KOrganiser crash when changing calendar of an event

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Jul 28 16:44:59 BST 2020


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

            Bug ID: 424760
           Summary: KOrganiser crash when changing calendar of an event
           Product: Akonadi
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: ICal file resource
          Assignee: kdepim-bugs at kde.org
          Reporter: niluxv.opensource.C-h2ty6xl at yandex.com
  Target Milestone: ---

Application: akonadi_ical_resource (5.13.3 (19.12.3))

Qt Version: 5.12.8
Frameworks Version: 5.68.0
Operating System: Linux 5.4.0-42-generic x86_64
Windowing system: X11
Distribution: Ubuntu 20.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
1. Create a new event (in some calendar `cal_a`); save (ok/apply)
2. Select this event and click edit
3. Change the calendar of the event to a different one (say `cal_b`); save
(ok/apply)
Crash reporter now reports a crash, *but KOrganiser seems to keep running
fine*; the event also did actually change its calendar

-- Backtrace:
Application: Personal Calendar (akonadi_ical_resource), signal: Segmentation
fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f69d0fc0580 (LWP 2425))]

Thread 4 (Thread 0x7f69ce25d700 (LWP 2460)):
#0  g_source_ref (source=0x7f69c40047c0) at ../../../glib/gmain.c:2166
#1  0x00007f69d41f7168 in g_source_iter_next (iter=iter at entry=0x7f69ce25cae0,
source=source at entry=0x7f69ce25cad8) at ../../../glib/gmain.c:1046
#2  0x00007f69d41f8aff in g_main_context_check
(context=context at entry=0x7f69c4000c30, max_priority=2147483647,
fds=fds at entry=0x7f69c40025e0, n_fds=n_fds at entry=1) at
../../../glib/gmain.c:3860
#3  0x00007f69d41f9152 in g_main_context_iterate
(context=context at entry=0x7f69c4000c30, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:4044
#4  0x00007f69d41f92e3 in g_main_context_iteration (context=0x7f69c4000c30,
may_block=may_block at entry=1) at ../../../glib/gmain.c:4108
#5  0x00007f69d5f88583 in QEventDispatcherGlib::processEvents
(this=0x7f69c4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f69d5f2f4db in QEventLoop::exec (this=this at entry=0x7f69ce25cca0,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007f69d5d67785 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007f69d5d689d2 in QThreadPrivate::start (arg=0x55ccdeabeca0) at
thread/qthread_unix.cpp:361
#9  0x00007f69d48d8609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#10 0x00007f69d59de103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f69ceb2d700 (LWP 2447)):
#0  __GI___libc_read (nbytes=16, buf=0x7f69ceb2ca60, fd=7) at
../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=7, buf=buf at entry=0x7f69ceb2ca60,
nbytes=nbytes at entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f69d424189f in read (__nbytes=16, __buf=0x7f69ceb2ca60,
__fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x7f69c8001bb0) at ../../../glib/gwakeup.c:210
#4  0x00007f69d41f8cfe in g_main_context_check
(context=context at entry=0x7f69c0000c30, max_priority=2147483647,
fds=fds at entry=0x7f69c0011ce0, n_fds=n_fds at entry=1) at
../../../glib/gmain.c:3825
#5  0x00007f69d41f9152 in g_main_context_iterate
(context=context at entry=0x7f69c0000c30, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:4044
#6  0x00007f69d41f92e3 in g_main_context_iteration (context=0x7f69c0000c30,
may_block=may_block at entry=1) at ../../../glib/gmain.c:4108
#7  0x00007f69d5f88583 in QEventDispatcherGlib::processEvents
(this=0x7f69c0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007f69d5f2f4db in QEventLoop::exec (this=this at entry=0x7f69ceb2cc70,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0x00007f69d5d67785 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0x00007f69d630eefa in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#11 0x00007f69d5d689d2 in QThreadPrivate::start (arg=0x7f69d6391d80) at
thread/qthread_unix.cpp:361
#12 0x00007f69d48d8609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#13 0x00007f69d59de103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f69d039f700 (LWP 2432)):
#0  0x00007f69d59d196f in __GI___poll (fds=0x7f69d039eba8, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f69d1796c1a in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f69d179890a in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f69d0baa298 in QXcbEventQueue::run (this=0x55ccdea41e00) at
qxcbeventqueue.cpp:228
#4  0x00007f69d5d689d2 in QThreadPrivate::start (arg=0x55ccdea41e00) at
thread/qthread_unix.cpp:361
#5  0x00007f69d48d8609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007f69d59de103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f69d0fc0580 (LWP 2425)):
[KCrash Handler]
#6  0x00007f69d6d8cb8a in QString::QString (other=..., this=0x7ffd78d48e50) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:957
#7  Akonadi::Item::remoteId (this=this at entry=0x7ffd78d49070) at
./src/core/item.cpp:187
#8  0x00007f69d6f6bfdf in Akonadi::ResourceBasePrivate::itemRemoved
(this=0x55ccdeadd770, item=...) at ./src/agentbase/resourcebase.cpp:330
#9  0x00007f69d5f5c458 in QtPrivate::QSlotObjectBase::call (a=0x7ffd78d48f80,
r=0x55ccdeadd770, this=0x55ccdeaeff00) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#10 QMetaObject::activate (sender=0x55ccdeadf2c0, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3784
#11 0x00007f69d6da0259 in Akonadi::Monitor::itemRemoved (this=<optimized out>,
_t1=...) at
./obj-x86_64-linux-gnu/src/core/KF5AkonadiCore_autogen/include/moc_monitor.cpp:950
#12 0x00007f69d6dafb69 in Akonadi::MonitorPrivate::emitToListeners<void
(Akonadi::Monitor::*)(Akonadi::Item const&), Akonadi::Item> (signal=<optimized
out>, this=0x55ccdeadfab0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:463
#13 Akonadi::MonitorPrivate::emitItemsNotification (this=0x55ccdeadfab0,
msg_=..., items=..., collection=..., collectionDest=...) at
./src/core/monitor_p.cpp:1077
#14 0x00007f69d6db09be in Akonadi::MonitorPrivate::emitNotification
(this=this at entry=0x55ccdeadfab0, msg=...) at ./src/core/monitor_p.cpp:558
#15 0x00007f69d6d50403 in Akonadi::ChangeRecorderPrivate::emitNotification
(this=0x55ccdeadfab0, msg=...) at ./src/core/changerecorder_p.cpp:238
#16 0x00007f69d6d4ebcc in Akonadi::ChangeRecorder::replayNext
(this=0x55ccdeadf2c0) at ./src/core/changerecorder.cpp:67
#17 0x00007f69d5f5c458 in QtPrivate::QSlotObjectBase::call (a=0x7ffd78d49350,
r=0x55ccdeadf2c0, this=0x55ccdeafc8b0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#18 QMetaObject::activate (sender=0x55ccdeaea140, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3784
#19 0x00007f69d6f75a4a in Akonadi::ResourceScheduler::executeChangeReplay
(this=0x55ccdeaea140) at
./obj-x86_64-linux-gnu/src/agentbase/KF5AkonadiAgentBase_autogen/include/moc_resourcescheduler_p.cpp:463
#20 Akonadi::ResourceScheduler::executeNext (this=0x55ccdeaea140) at
./src/agentbase/resourcescheduler.cpp:433
#21 0x00007f69d5f695b6 in QtPrivate::QSlotObjectBase::call (a=0x7ffd78d494a0,
r=<optimized out>, this=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#22 QSingleShotTimer::timerEvent (this=0x55ccdec61680) at kernel/qtimer.cpp:318
#23 0x00007f69d5f5ccf5 in QObject::event (this=0x55ccdec61680, e=<optimized
out>) at kernel/qobject.cpp:1283
#24 0x00007f69d6756a66 in QApplicationPrivate::notify_helper
(this=this at entry=0x55ccdea49d00, receiver=receiver at entry=0x55ccdec61680,
e=e at entry=0x7ffd78d497c0) at kernel/qapplication.cpp:3700
#25 0x00007f69d67600f0 in QApplication::notify (this=0x7ffd78d49ab0,
receiver=0x55ccdec61680, e=0x7ffd78d497c0) at kernel/qapplication.cpp:3446
#26 0x00007f69d5f3093a in QCoreApplication::notifyInternal2
(receiver=0x55ccdec61680, event=0x7ffd78d497c0) at
../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#27 0x00007f69d5f878b0 in QTimerInfoList::activateTimers (this=0x55ccdea51dd0)
at kernel/qtimerinfo_unix.cpp:643
#28 0x00007f69d5f881e4 in timerSourceDispatch (source=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:182
#29 idleTimerSourceDispatch (source=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:229
#30 0x00007f69d41f8fbd in g_main_dispatch (context=0x7f69c8005010) at
../../../glib/gmain.c:3309
#31 g_main_context_dispatch (context=context at entry=0x7f69c8005010) at
../../../glib/gmain.c:3974
#32 0x00007f69d41f9240 in g_main_context_iterate
(context=context at entry=0x7f69c8005010, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#33 0x00007f69d41f92e3 in g_main_context_iteration (context=0x7f69c8005010,
may_block=may_block at entry=1) at ../../../glib/gmain.c:4108
#34 0x00007f69d5f88565 in QEventDispatcherGlib::processEvents
(this=0x55ccdeaa5de0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#35 0x00007f69d5f2f4db in QEventLoop::exec (this=this at entry=0x7ffd78d49a00,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#36 0x00007f69d5f37246 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#37 0x00007f69d53ec9a0 in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1784
#38 0x00007f69d67569d9 in QApplication::exec () at kernel/qapplication.cpp:2856
#39 0x00007f69d6f5fcf2 in Akonadi::ResourceBase::init (r=...) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:116
#40 0x000055ccde0bb545 in ?? ()
#41 0x00007f69d58e30b3 in __libc_start_main (main=0x55ccde0b70b0, argc=3,
argv=0x7ffd78d49c58, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffd78d49c48) at ../csu/libc-start.c:308
#42 0x000055ccde0b70ee in ?? ()
[Inferior 1 (process 2425) detached]

Possible duplicates by query: bug 410345, bug 409383, bug 399890, bug 384419,
bug 372712.

Reported using DrKonqi

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


More information about the Kdepim-bugs mailing list