Bug 306565 - kontact crash when advancing to next unread message
Summary: kontact crash when advancing to next unread message
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: mail (show other bugs)
Version: 4.8.x
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 313084 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-09-10 19:28 UTC by Andreas Karrenbauer
Modified: 2017-01-07 22:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Karrenbauer 2012-09-10 19:28:58 UTC
Application: kontact (4.8.5)
KDE Platform Version: 4.8.5 (4.8.5) "release 521"
Qt Version: 4.8.2
Operating System: Linux 3.4.6-2.10-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

Kontact crashed when pressing the button for advancing  to next unread message

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ffc42a21780 (LWP 2834))]

Thread 4 (Thread 0x7ffc29ea8700 (LWP 2854)):
#0  0x00007ffc3a8ce8f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffc3f21f177 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007ffc3f21f1a9 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007ffc3a8cae0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffc3ff252bd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7ffc295a7700 (LWP 2858)):
#0  0x00007ffc3a8cdd9f in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007ffc3a35b3d1 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffc3a31ef05 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffc3a31f5fb in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ffc3a31f7f4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007ffc406a3e36 in QEventDispatcherGlib::processEvents (this=0x7ffc240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007ffc40673842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007ffc40673a97 in QEventLoop::exec (this=0x7ffc295a6e00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007ffc405735f7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007ffc4057661b in QThreadPrivate::start (arg=0x1f5bba0) at thread/qthread_unix.cpp:307
#10 0x00007ffc3a8cae0e in start_thread () from /lib64/libpthread.so.0
#11 0x00007ffc3ff252bd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ffbc38bd700 (LWP 13007)):
#0  0x00007ffc3a8cec61 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffc40576a8f in wait (time=30000, this=0x29e3c40) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x29e3bb8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ffc40569e9f in QThreadPoolThread::run (this=0x29f6120) at concurrent/qthreadpool.cpp:141
#4  0x00007ffc4057661b in QThreadPrivate::start (arg=0x29f6120) at thread/qthread_unix.cpp:307
#5  0x00007ffc3a8cae0e in start_thread () from /lib64/libpthread.so.0
#6  0x00007ffc3ff252bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ffc42a21780 (LWP 2834)):
[KCrash Handler]
#6  0x00007ffc3fe75d25 in raise () from /lib64/libc.so.6
#7  0x00007ffc3fe771a8 in abort () from /lib64/libc.so.6
#8  0x00007ffc4056bd44 in qt_message_output (msgType=<optimized out>, buf=<optimized out>) at global/qglobal.cpp:2260
#9  0x00007ffc4056beff in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7ffbe0e21900 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0x7fff634bed38) at global/qglobal.cpp:2306
#10 0x00007ffc4056c0a4 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2489
#11 0x00007ffbe0dced46 in operator-> (this=<optimized out>) at /usr/src/debug/kdepim-4.8.5/kmail/codecmanager.cpp:50
#12 CodecManager::self () at /usr/src/debug/kdepim-4.8.5/kmail/codecmanager.cpp:73
#13 0x00007ffbe0dce1ca in CodecAction::mimeCharsets (this=0x25b5ea0) at /usr/src/debug/kdepim-4.8.5/kmail/codecaction.cpp:82
#14 0x00007ffbe0dea18b in KMComposeWin::applyComposerSetting (this=0x2502f10, mComposerBase=0x2506300) at /usr/src/debug/kdepim-4.8.5/kmail/kmcomposewin.cpp:2678
#15 0x00007ffbe0dea3d4 in KMComposeWin::autoSaveMessage (this=0x2502f10, force=true) at /usr/src/debug/kdepim-4.8.5/kmail/kmcomposewin.cpp:1810
#16 0x00007ffbe0d6df59 in KMKernel::dumpDeadLetters (this=<optimized out>) at /usr/src/debug/kdepim-4.8.5/kmail/kmkernel.cpp:1285
#17 0x00007ffbe0d6e217 in kmCrashHandler (sigId=<optimized out>) at /usr/src/debug/kdepim-4.8.5/kmail/kmkernel.cpp:1135
#18 0x00007ffc41e36739 in KCrash::defaultCrashHandler (sig=6) at /usr/src/debug/kdelibs-4.8.5/kdeui/util/kcrash.cpp:307
#19 <signal handler called>
#20 0x00007ffc3fe75d25 in raise () from /lib64/libc.so.6
#21 0x00007ffc3fe771a8 in abort () from /lib64/libc.so.6
#22 0x00007ffc4056bd44 in qt_message_output (msgType=<optimized out>, buf=<optimized out>) at global/qglobal.cpp:2260
#23 0x00007ffc4056beff in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7ffbe0a449e0 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0x7fff634bf918) at global/qglobal.cpp:2306
#24 0x00007ffc4056c0a4 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2489
#25 0x00007ffbe09e812a in operator-> (this=<optimized out>) at /usr/src/debug/kdepim-4.8.5/mailcommon/mailkernel.cpp:48
#26 MailCommon::Kernel::self () at /usr/src/debug/kdepim-4.8.5/mailcommon/mailkernel.cpp:64
#27 0x00007ffbe09d7fe9 in MailCommon::FolderCollection::writeConfig (this=0x405f140) at /usr/src/debug/kdepim-4.8.5/mailcommon/foldercollection.cpp:210
#28 0x00007ffbe09d8a11 in MailCommon::FolderCollection::~FolderCollection (this=0x405f140, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.8.5/mailcommon/foldercollection.cpp:83
#29 0x00007ffbe09d8aa9 in MailCommon::FolderCollection::~FolderCollection (this=0x405f140, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.8.5/mailcommon/foldercollection.cpp:85
#30 0x00007ffbe09d67c6 in deref (value=0x405f140, d=0x2e0c550) at /usr/include/QtCore/qsharedpointer_impl.h:342
#31 deref (this=<optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:336
#32 ~ExternalRefCount (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:401
#33 ~QSharedPointer (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:466
#34 QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData (x=0x4292350, this=<optimized out>) at /usr/include/QtCore/qmap.h:651
#35 0x00007ffc3fe788b1 in __run_exit_handlers () from /lib64/libc.so.6
#36 0x00007ffc3fe78935 in exit () from /lib64/libc.so.6
#37 0x00007ffbc6790732 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#38 0x00007ffc3be02ba6 in _XError () from /usr/lib64/libX11.so.6
#39 0x00007ffc3bdffdf1 in ?? () from /usr/lib64/libX11.so.6
#40 0x00007ffc3be00b39 in _XReply () from /usr/lib64/libX11.so.6
#41 0x00007ffc3bde67a1 in XGetWindowProperty () from /usr/lib64/libX11.so.6
#42 0x00007ffc41f1670b in NETWinInfo::update (this=0x7fff634c01e0, dirty_props=<optimized out>) at /usr/src/debug/kdelibs-4.8.5/kdeui/windowmanagement/netwm.cpp:3962
#43 0x00007ffc41f17ed6 in NETWinInfo::event (this=0x7fff634c01e0, event=0x7fff634c02a0, properties=0x7fff634c01b0, properties_size=2) at /usr/src/debug/kdelibs-4.8.5/kdeui/windowmanagement/netwm.cpp:3925
#44 0x00007ffc41f0cfb3 in KWindowSystemPrivate::x11Event (this=0x4f18680, ev=0x7fff634c02a0) at /usr/src/debug/kdelibs-4.8.5/kdeui/windowmanagement/kwindowsystem_x11.cpp:198
#45 0x00007ffc41dfd0b6 in publicX11Event (e=0x7fff634c02a0, this=<optimized out>) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/ksystemeventfilter.cpp:43
#46 KSystemEventFilterPrivate::filterEvent (this=0x8bd3200, message=0x7fff634c02a0) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/ksystemeventfilter.cpp:102
#47 0x00007ffc406677ae in QAbstractEventDispatcher::filterEvent (this=<optimized out>, message=<optimized out>) at kernel/qabstracteventdispatcher.cpp:539
#48 0x00007ffc41131988 in x11EventSourceDispatch (s=0x1d917a0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#49 0x00007ffc3a31f405 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#50 0x00007ffc3a31f738 in ?? () from /usr/lib64/libglib-2.0.so.0
#51 0x00007ffc3a31f7f4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#52 0x00007ffc406a3dcf in QEventDispatcherGlib::processEvents (this=0x1d66320, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#53 0x00007ffc4113169e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00007ffc40673842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#55 0x00007ffc40673a97 in QEventLoop::exec (this=0x7fff634c0640, flags=...) at kernel/qeventloop.cpp:204
#56 0x00007ffc406788b5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#57 0x0000000000403919 in main (argc=3, argv=0x7fff634c0cd8) at /usr/src/debug/kdepim-4.8.5/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-03-06 21:32:34 UTC
*** Bug 313084 has been marked as a duplicate of this bug. ***
Comment 2 Denis Kurz 2016-09-24 19:30:11 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:36:35 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.