Bug 331296 - Accepting an invitation crashes Kontact/KMail
Summary: Accepting an invitation crashes Kontact/KMail
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.12.2
Platform: Chakra Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-02-19 15:09 UTC by totte
Modified: 2017-01-07 22:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
partial backtrace of kontact/korganizer related crash on exit (3.19 KB, text/plain)
2014-04-28 22:21 UTC, Stefan Schwarzer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description totte 2014-02-19 15:09:22 UTC
Application: kontact (4.12.2)
KDE Platform Version: 4.12.2
Qt Version: 4.8.5
Operating System: Linux 3.12.6-1-CHAKRA x86_64
Distribution: "Chakra"

-- Information about the crash:
- What I was doing when the application crashed:
I received an e-mail with an invitation to a meeting (I've never seen one of those before, got to read up a bit on it) and clicked "Accept" which had the entire system slow down and especially Akonadi, KMail and Kontact - of which the latter two became more or less unresponsive.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb7ad4cf7c0 (LWP 717))]

Thread 4 (Thread 0x7fb78c9a9700 (LWP 775)):
#0  0x00007fb7a4acf03f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fb7a829f47d in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fb7a829f4b9 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007fb7a4acb0a2 in start_thread () from /lib/libpthread.so.0
#4  0x00007fb7aaa5443d in clone () from /lib/libc.so.6

Thread 3 (Thread 0x7fb74c0a6700 (LWP 777)):
#0  0x00007fb7a4acf03f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fb7a7fe140d in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fb7a82ce906 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007fb7a4acb0a2 in start_thread () from /lib/libpthread.so.0
#4  0x00007fb7aaa5443d in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7fb73d184700 (LWP 820)):
#0  0x00007fb7aaa4b96d in poll () from /lib/libc.so.6
#1  0x00007fb7a4509054 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fb7a450915c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fb7ab1c4e26 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007fb7ab196f4f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007fb7ab197245 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007fb7ab09664f in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007fb7ab098c8f in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fb7a4acb0a2 in start_thread () from /lib/libpthread.so.0
#9  0x00007fb7aaa5443d in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7fb7ad4cf7c0 (LWP 717)):
[KCrash Handler]
#6  atomic_increment (pw=0xffffffcb) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:66
#7  add_ref_copy (this=0xffffffc3) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:134
#8  shared_count (r=..., this=0x7fff659a4958) at /usr/include/boost/smart_ptr/detail/shared_count.hpp:382
#9  shared_ptr (this=0x7fff659a4950) at /usr/include/boost/smart_ptr/shared_ptr.hpp:328
#10 MessageViewer::Viewer::message (this=0x100de80) at /chakra/desktop-unstable/kdepim/src/kdepim-4.12.2/messageviewer/viewer/viewer.cpp:315
#11 0x00007fb736c0090f in mailICal (this=<optimized out>, viewerInstance=0x100de80, delMessage=true, status=..., subject=..., iCal=..., to=..., receiver=...) at /chakra/desktop-unstable/kdepim/src/kdepim-4.12.2/plugins/messageviewer/bodypartformatter/text_calendar.cpp:607
#12 (anonymous namespace)::UrlHandler::mail (viewerInstance=viewerInstance@entry=0x100de80, incidence=..., status=..., method=method@entry=KCalCore::iTIPReply, receiver=..., to=..., type=type@entry=(anonymous namespace)::UrlHandler::Answer, this=<optimized out>) at /chakra/desktop-unstable/kdepim/src/kdepim-4.12.2/plugins/messageviewer/bodypartformatter/text_calendar.cpp:754
#13 0x00007fb736c03065 in (anonymous namespace)::UrlHandler::handleInvitation (iCal=..., status=status@entry=KCalCore::Attendee::Accepted, part=part@entry=0x7fff659a5330, viewerInstance=viewerInstance@entry=0x100de80, this=<optimized out>) at /chakra/desktop-unstable/kdepim/src/kdepim-4.12.2/plugins/messageviewer/bodypartformatter/text_calendar.cpp:1002
#14 0x00007fb736c04c2f in (anonymous namespace)::UrlHandler::handleClick (this=<optimized out>, viewerInstance=0x100de80, part=0x7fff659a5330, path=...) at /chakra/desktop-unstable/kdepim/src/kdepim-4.12.2/plugins/messageviewer/bodypartformatter/text_calendar.cpp:1260
#15 0x00007fb742b774e7 in MessageViewer::URLHandlerManager::BodyPartURLHandlerManager::handleClick (this=<optimized out>, url=..., w=0x100e3f0) at /chakra/desktop-unstable/kdepim/src/kdepim-4.12.2/messageviewer/viewer/urlhandlermanager.cpp:286
#16 0x00007fb742b754e8 in MessageViewer::URLHandlerManager::handleClick (this=<optimized out>, url=..., w=0x100e3f0) at /chakra/desktop-unstable/kdepim/src/kdepim-4.12.2/messageviewer/viewer/urlhandlermanager.cpp:373
#17 0x00007fb742b582f6 in MessageViewer::ViewerPrivate::slotUrlOpen (this=0x100e3f0, url=...) at /chakra/desktop-unstable/kdepim/src/kdepim-4.12.2/messageviewer/viewer/viewer_p.cpp:2119
#18 0x00007fb742b6fc95 in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0x100e3f0, _c=16834176, _id=-61, _a=0x10ebd90) at /chakra/desktop-unstable/kdepim/src/build/messageviewer/viewer_p.moc:250
#19 0x00007fb7ab1b01de in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#20 0x00007fb7abb96e4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0x00007fb7abb9d410 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0x00007fb7ac891a5a in KApplication::notify (this=0x7fff659a5b60, receiver=0x100e3f0, event=0x212cb20) at /chakra/desktop-unstable/kdelibs/src/kdelibs-4.12.2/kdeui/kernel/kapplication.cpp:311
#23 0x00007fb7ab1982ed in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#24 0x00007fb7ab19b33f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#25 0x00007fb7ab1c5543 in ?? () from /usr/lib/libQtCore.so.4
#26 0x00007fb7a4508d66 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007fb7a45090b8 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0x00007fb7a450915c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x00007fb7ab1c4e05 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0x00007fb7abc33676 in ?? () from /usr/lib/libQtGui.so.4
#31 0x00007fb7ab196f4f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0x00007fb7ab197245 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#33 0x00007fb7ab19c35b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#34 0x0000000000403640 in main (argc=3, argv=0x7fff659a5ca8) at /chakra/desktop-unstable/kdepim/src/kdepim-4.12.2/kontact/src/main.cpp:219

Reported using DrKonqi
Comment 1 Stefan Schwarzer 2014-04-28 22:21:15 UTC
Created attachment 86322 [details]
partial backtrace of kontact/korganizer related crash on exit

I observe regular crashes when exiting kontact. These happen when I have tried to accept a meeting invitation email from an exchange server. That action typically gets stuck (the 'accept' button changes its border slightly, but the reply email never gets send and no entry into  my 
calendar is made. I can keep working, but kontact crashed when I leave it. I could reproduce this behavior (three times in a row now). The observation may be related to the original bug as the crash occurs also in the messageviewer. I have posted a partial backtrace that shows that there is possibly a null pointer dereference (#19/#20).

Application: kontact (4.11.5)
KDE Platform Version: 4.11.5
Qt Version: 4.8.6
Operating System: Linux 3.13-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (jessie)
Comment 2 Denis Kurz 2016-09-24 19:20:13 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 22:20:33 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.