Bug 397428

Summary: Segment fault starting KOrganizer
Product: [Applications] korganizer Reporter: Shmuel (Seymour J.) Metz <smetz3>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: smetz3, winter
Priority: NOR Keywords: drkonqi
Version: 5.8.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Shmuel (Seymour J.) Metz 2018-08-13 17:52:05 UTC
Application: korganizer (5.8.3)

Qt Version: 5.11.1
Frameworks Version: 5.48.0
Operating System: Linux 4.17.12-1-pae i686
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed: Office -> KOrganizer, selected KOrganizer Reminder Daemon from Hidden Icons

- Unusual behavior I noticed:

Bur reporter kept disappearing from screen

-- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1a347c0 (LWP 15599))]

Thread 6 (Thread 0xaaf61b40 (LWP 15612)):
#0  0xb7fa2d41 in __kernel_vsyscall ()
#1  0xb44217d2 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xab414d9a in ?? () from /usr/lib/dri/i965_dri.so
#3  0xb441b3b7 in start_thread () from /lib/libpthread.so.0
#4  0xb631be76 in clone () from /lib/libc.so.6

Thread 5 (Thread 0xad0ffb40 (LWP 15607)):
#0  g_mutex_unlock (mutex=0x2034330) at gthread-posix.c:1355
#1  0xb3a76116 in g_main_context_release (context=0x2034330) at gmain.c:3302
#2  0xb3a7712f in g_main_context_iterate (context=context@entry=0x2034330, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3905
#3  0xb3a772b4 in g_main_context_iteration (context=0x2034330, may_block=1) at gmain.c:3964
#4  0xb68542bc in QEventDispatcherGlib::processEvents (this=0x204de10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0xb67fdaf1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0xb559abd7 in Akonadi::SessionThread::waitForSocketData() () at /usr/include/qt5/QtCore/qflags.h:120
#7  0xb68357c4 in QtPrivate::QSlotObjectBase::call (a=0xad0fed8c, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#8  QSingleShotTimer::timerEvent (this=0x2067970) at kernel/qtimer.cpp:318
#9  0xb682a096 in QObject::event(QEvent*) () at kernel/qobject.cpp:1232
#10 0xb724e8a6 in QApplicationPrivate::notify_helper (this=0x1f43d50, receiver=0x2067970, e=0xad0ff010) at kernel/qapplication.cpp:3728
#11 0xb7256284 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3487
#12 0xb67fef8f in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at ../../include/QtCore/5.11.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#13 0xb685355a in QCoreApplication::sendEvent (event=0xad0ff010, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#14 QTimerInfoList::activateTimers() () at kernel/qtimerinfo_unix.cpp:643
#15 0xb6853f19 in timerSourceDispatch (source=0x1fd24c0) at kernel/qeventdispatcher_glib.cpp:182
#16 0xb3a76f4d in g_main_dispatch (context=0x2034330) at gmain.c:3177
#17 g_main_context_dispatch (context=0x2034330) at gmain.c:3830
#18 0xb3a77211 in g_main_context_iterate (context=context@entry=0x2034330, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3903
#19 0xb3a772b4 in g_main_context_iteration (context=0x2034330, may_block=1) at gmain.c:3964
#20 0xb6854299 in QEventDispatcherGlib::processEvents (this=0x204de10, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#21 0xb67fdaf1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#22 0xb66575a1 in QThread::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#23 0xb6657688 in QThread::run (this=0x1fe3730) at thread/qthread.cpp:592
#24 0xb6662127 in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:367
#25 0xb441b3b7 in start_thread () from /lib/libpthread.so.0
#26 0xb631be76 in clone () from /lib/libc.so.6

Thread 4 (Thread 0xada46b40 (LWP 15603)):
#0  0xb7fa2d41 in __kernel_vsyscall ()
#1  0xb7fa298a in __vdso_clock_gettime ()
#2  0xb549d951 in ?? () from /usr/lib/libKF5AkonadiCore.so.5
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xaee45b40 (LWP 15601)):
#0  0xb7fa2d41 in __kernel_vsyscall ()
#1  0xb6309d3b in read () from /lib/libc.so.6
#2  0xb3abd095 in read (__nbytes=16, __buf=0xaee4500c, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0xaf301260) at gwakeup.c:210
#4  0xb3a76c13 in g_main_context_check (context=0xae500640, max_priority=2147483647, fds=0x2076c90, n_fds=1) at gmain.c:3681
#5  0xb3a77115 in g_main_context_iterate (context=context@entry=0xae500640, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3900
#6  0xb3a772b4 in g_main_context_iteration (context=0xae500640, may_block=1) at gmain.c:3964
#7  0xb68542bc in QEventDispatcherGlib::processEvents (this=0xae5005d0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0xb67fdaf1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0xb66575a1 in QThread::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0xb5f7313c in ?? () from /usr/lib/libQt5DBus.so.5
#11 0xb6662127 in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:367
#12 0xb441b3b7 in start_thread () from /lib/libpthread.so.0
#13 0xb631be76 in clone () from /lib/libc.so.6

Thread 2 (Thread 0xafcd6b40 (LWP 15600)):
#0  0xb7fa2d41 in __kernel_vsyscall ()
#1  0xb631149b in poll () from /lib/libc.so.6
#2  0xb3a0348d in ?? () from /usr/lib/libxcb.so.1
#3  0xb3a05653 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#4  0xafe96453 in QXcbEventReader::run (this=0x1f56c80) at qxcbconnection.h:409
#5  0xb6662127 in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:367
#6  0xb441b3b7 in start_thread () from /lib/libpthread.so.0
#7  0xb631be76 in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb1a347c0 (LWP 15599)):
[KCrash Handler]
#7  0xb6b02c6b in KJob::setError (this=0x251fe50, errorCode=100) at /usr/src/debug/kcoreaddons-5.48.0-1.1.i386/src/lib/jobs/kjob.cpp:241
#8  0xb5597620 in Akonadi::SessionPrivate::serverStateChanged (this=0x202e850, state=Akonadi::ServerManager::Broken) at /usr/src/debug/akonadi-server-18.04.3-1.1.i386/src/core/session.cpp:265
#9  0xb55987c0 in Akonadi::Session::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/akonadi-server-18.04.3-1.1.i386/build/src/core/KF5AkonadiCore_autogen/include/moc_session.cpp:121
#10 0xb6829890 in QMetaObject::activate(QObject*, int, int, void**) () at kernel/qobject.cpp:3771
#11 0xb6829e6d in QMetaObject::activate (sender=0x202b780, m=0xb56eb1bc <Akonadi::ServerManager::staticMetaObject>, local_signal_index=2, argv=0xbfda8a04) at kernel/qobject.cpp:3633
#12 0xb5592231 in Akonadi::ServerManager::stateChanged (this=0x202b780, _t1=<optimized out>) at /usr/src/debug/akonadi-server-18.04.3-1.1.i386/build/src/core/KF5AkonadiCore_autogen/include/moc_servermanager.cpp:192
#13 0xb559400a in Akonadi::ServerManagerPrivate::setState (state=<optimized out>, this=<optimized out>) at /usr/src/debug/akonadi-server-18.04.3-1.1.i386/src/core/servermanager.cpp:99
#14 Akonadi::ServerManagerPrivate::timeout (this=<optimized out>) at /usr/src/debug/akonadi-server-18.04.3-1.1.i386/src/core/servermanager.cpp:127
#15 Akonadi::ServerManager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /usr/src/debug/akonadi-server-18.04.3-1.1.i386/build/src/core/KF5AkonadiCore_autogen/include/moc_servermanager.cpp:100
#16 0xb68268a6 in QMetaCallEvent::placeMetaCall (this=0x21d8460, object=0x202b780) at kernel/qobject.cpp:506
#17 0xb682a0d3 in QObject::event(QEvent*) () at kernel/qobject.cpp:1251
#18 0xb724e8a6 in QApplicationPrivate::notify_helper (this=0x1f43d50, receiver=0x202b780, e=0x21d8460) at kernel/qapplication.cpp:3728
#19 0xb7256284 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3487
#20 0xb67fef8f in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at ../../include/QtCore/5.11.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#21 0xb68020fe in QCoreApplication::sendEvent (event=0x21d8460, receiver=0x202b780) at kernel/qcoreapplication.h:234
#22 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at kernel/qcoreapplication.cpp:1745
#23 0xb68024e7 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1599
#24 0xb6854cf3 in postEventSourceDispatch (s=0x1fc8630) at kernel/qeventdispatcher_glib.cpp:276
#25 0xb3a76f4d in g_main_dispatch (context=0xaf3049d0) at gmain.c:3177
#26 g_main_context_dispatch (context=0xaf3049d0) at gmain.c:3830
#27 0xb3a77211 in g_main_context_iterate (context=context@entry=0xaf3049d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3903
#28 0xb3a772b4 in g_main_context_iteration (context=0xaf3049d0, may_block=1) at gmain.c:3964
#29 0xb6854299 in QEventDispatcherGlib::processEvents (this=0x1fccbd0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#30 0xaff2e463 in QPAEventDispatcherGlib::processEvents (this=0x1fccbd0, flags=...) at qeventdispatcher_glib.cpp:69
#31 0xb67fdaf1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#32 0xb6805fd3 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#33 0xb6c4e831 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1761
#34 0xb724e814 in QApplication::exec () at kernel/qapplication.cpp:2902
#35 0x0042d238 in main () at /usr/src/debug/korganizer-18.04.3-1.1.i386/src/main.cpp:64
#36 0xb6239011 in __libc_start_main () from /lib/libc.so.6
#37 0x0042d3a3 in _start () at ../sysdeps/i386/start.S:112

Reported using DrKonqi
Comment 1 Allen Winter 2019-11-16 16:57:47 UTC
way old and Akonadi is a lot better these days.  re-open if still occurs