Bug 254781 - KMail crashed upon restart [invalid QTreeWidget::setItemSelected, KMail::FolderView::restoreItemStates, KMail::FolderView::reload, KMMainWidget::readConfig]
Summary: KMail crashed upon restart [invalid QTreeWidget::setItemSelected, KMail::Fold...
Status: RESOLVED DUPLICATE of bug 184324
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.4.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 251702 252425 252865 254782 254785 254787 254789 259812 259821 259823 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-20 19:48 UTC by Christopher Yeleighton
Modified: 2010-12-14 14:03 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.00 KB, text/plain)
2010-11-04 00:42 UTC, Richard Salts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Yeleighton 2010-10-20 19:48:29 UTC
Application: kontact (4.4.5)
KDE Platform Version: 4.4.4 (KDE 4.4.4) "release 3"
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-0.4-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
I told KMail to quit because it is the only way I know to clean up my IMAP mailbox.  I relaunched it shortly thereafter.  It asked for my passwords and crashed.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f692bf8c760 (LWP 10250))]

Thread 2 (Thread 0x7f690c45a710 (LWP 10273)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f692a409222 in wait (this=<value optimized out>, mutex=0x186fb20, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x186fb20, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f692a3ff0d0 in QThreadPoolThread::run (this=0xa2c3a0) at concurrent/qthreadpool.cpp:140
#4  0x00007f692a408bf5 in QThreadPrivate::start (arg=0xa2c3a0) at thread/qthread_unix.cpp:248
#5  0x00007f6924353a4f in start_thread (arg=0x7f690c45a710) at pthread_create.c:297
#6  0x00007f692918782d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f692bf8c760 (LWP 10250)):
[KCrash Handler]
#5  data (this=0x51, item=0x177abb0, select=false) at ../../src/corelib/tools/qscopedpointer.h:135
#6  qGetPtrHelper<QScopedPointer<QObjectData> > (this=0x51, item=0x177abb0, select=false) at ../../src/corelib/global/qglobal.h:2315
#7  d_func (this=0x51, item=0x177abb0, select=false) at itemviews/qtreewidget.h:370
#8  QTreeWidget::setItemSelected (this=0x51, item=0x177abb0, select=false) at itemviews/qtreewidget.cpp:3021
#9  0x00007f6911f397d0 in setSelected (this=0xe75960) at /usr/include/QtGui/qtreewidget.h:397
#10 KMail::FolderView::restoreItemStates (this=0xe75960) at /usr/src/debug/kdepim-4.4.4/kmail/folderview.cpp:390
#11 0x00007f6911f3a037 in KMail::FolderView::reload (this=0xe75960, openFoldersForUpdate=false) at /usr/src/debug/kdepim-4.4.4/kmail/folderview.cpp:671
#12 0x00007f69121483a7 in KMMainWidget::readConfig (this=0x172fc70) at /usr/src/debug/kdepim-4.4.4/kmail/kmmainwidget.cpp:593
#13 0x00007f6912155088 in KMMainWidget::KMMainWidget (this=0x172fc70, parent=<value optimized out>, aGUIClient=0xa85698, actionCollection=<value optimized out>, config=...)
    at /usr/src/debug/kdepim-4.4.4/kmail/kmmainwidget.cpp:232
#14 0x00007f6912695948 in KMailPart::KMailPart (this=0xa85650, parentWidget=<value optimized out>, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /usr/src/debug/kdepim-4.4.4/kmail/kmail_part.cpp:112
#15 0x00007f691269695f in KPluginFactory::createPartInstance<KMailPart> (parentWidget=0x727370, parent=0x727370, args=...) at /usr/include/kpluginfactory.h:467
#16 0x00007f692a933fb4 in KPluginFactory::create (this=0xa0dcc0, iface=0x7f6928eaa3e0 "KParts::ReadOnlyPart", parentWidget=0x727370, parent=0x727370, args=..., keyword=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.4/kdecore/util/kpluginfactory.cpp:191
#17 0x00007f692b60be27 in create<KParts::ReadOnlyPart> (this=0x727370, libname=0xa628f8 "kmailpart") at /usr/include/kpluginfactory.h:491
#18 KontactInterface::Core::createPart (this=0x727370, libname=0xa628f8 "kmailpart") at /usr/src/debug/kdepimlibs-4.4.4/kontactinterface/core.cpp:87
#19 0x00007f691336fbf0 in KMailPlugin::createPart (this=0xa53c80) at /usr/src/debug/kdepim-4.4.4/kontact/plugins/kmail/kmail_plugin.cpp:179
#20 0x00007f692b60b4a9 in KontactInterface::Plugin::part (this=0xa53c80) at /usr/src/debug/kdepimlibs-4.4.4/kontactinterface/plugin.cpp:191
#21 0x00007f692bbad38e in Kontact::MainWindow::selectPlugin (this=0x727370, plugin=0xa53c80) at /usr/src/debug/kdepim-4.4.4/kontact/src/mainwindow.cpp:778
#22 0x00007f692bba94ac in Kontact::MainWindow::loadSettings (this=0x727370) at /usr/src/debug/kdepim-4.4.4/kontact/src/mainwindow.cpp:944
#23 0x00007f692bbabf78 in Kontact::MainWindow::initObject (this=0x727370) at /usr/src/debug/kdepim-4.4.4/kontact/src/mainwindow.cpp:210
#24 0x00007f692bbac36c in Kontact::MainWindow::MainWindow (this=0x727370, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /usr/src/debug/kdepim-4.4.4/kontact/src/mainwindow.cpp:146
#25 0x0000000000403514 in KontactApp::newInstance (this=0x7fff54312a10) at /usr/src/debug/kdepim-4.4.4/kontact/src/main.cpp:136
#26 0x00007f692aec5f06 in KUniqueApplicationAdaptor::newInstance (this=0x725d60, asn_id=<value optimized out>, args=...) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kuniqueapplication.cpp:454
#27 0x00007f692aec5f82 in KUniqueApplicationAdaptor::qt_metacall (this=0x725d60, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff54311c00)
    at /usr/src/debug/kdelibs-4.4.4/build/kdeui/kuniqueapplication_p.moc:81
#28 0x00007f6927a03188 in QDBusConnectionPrivate::deliverCall (this=0x62f1b0, object=0x725d60, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:904
#29 0x00007f6927a051ae in QDBusConnectionPrivate::activateCall (this=0x62f1b0, object=0x725d60, flags=337, msg=...) at qdbusintegrator.cpp:809
#30 0x00007f6927a05aae in QDBusConnectionPrivate::activateObject (this=0x62f1b0, node=..., msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1364
#31 0x00007f6927a05cf8 in QDBusActivateObjectEvent::placeMetaCall (this=0x7ebfe0) at qdbusintegrator.cpp:1477
#32 0x00007f692a501509 in QObject::event (this=0x7fff54312a10, e=0x7ebfe0) at kernel/qobject.cpp:1248
#33 0x00007f69298e3b0d in QApplication::event (this=0x7fff54312a10, e=0x7ebfe0) at kernel/qapplication.cpp:2355
#34 0x00007f69298e14d4 in QApplicationPrivate::notify_helper (this=0x643250, receiver=0x7fff54312a10, e=0x7ebfe0) at kernel/qapplication.cpp:4302
#35 0x00007f69298e9aca in QApplication::notify (this=<value optimized out>, receiver=0x7fff54312a10, e=0x7ebfe0) at kernel/qapplication.cpp:4185
#36 0x00007f692add2c06 in KApplication::notify (this=0x7fff54312a10, receiver=0x7fff54312a10, event=0x7ebfe0) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#37 0x00007f692a4efe4c in QCoreApplication::notifyInternal (this=0x7fff54312a10, receiver=0x7fff54312a10, event=0x7ebfe0) at kernel/qcoreapplication.cpp:726
#38 0x00007f692a4f35ba in sendEvent (receiver=0x0, event_type=0, data=0x60db90) at kernel/qcoreapplication.h:215
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60db90) at kernel/qcoreapplication.cpp:1367
#40 0x00007f692a518173 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#41 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#42 0x00007f6922018a93 in g_main_dispatch (context=0x63cd20) at gmain.c:1960
#43 IA__g_main_context_dispatch (context=0x63cd20) at gmain.c:2513
#44 0x00007f6922019270 in g_main_context_iterate (context=0x63cd20, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#45 0x00007f6922019510 in IA__g_main_context_iteration (context=0x63cd20, may_block=1) at gmain.c:2654
#46 0x00007f692a51867f in QEventDispatcherGlib::processEvents (this=0x613220, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#47 0x00007f692998214e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007f692a4ef292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007f692a4ef495 in QEventLoop::exec (this=0x7fff54312960, flags=...) at kernel/qeventloop.cpp:201
#50 0x00007f692a4f388b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#51 0x000000000040417e in main (argc=1, argv=0x7fff54312ff8) at /usr/src/debug/kdepim-4.4.4/kontact/src/main.cpp:224

Reported using DrKonqi
Comment 1 Christophe Marin 2010-10-21 11:12:08 UTC
*** Bug 254782 has been marked as a duplicate of this bug. ***
Comment 2 Christophe Marin 2010-10-21 11:12:13 UTC
*** Bug 254785 has been marked as a duplicate of this bug. ***
Comment 3 Christophe Marin 2010-10-21 11:12:18 UTC
*** Bug 254787 has been marked as a duplicate of this bug. ***
Comment 4 Christophe Marin 2010-10-21 11:12:25 UTC
*** Bug 254789 has been marked as a duplicate of this bug. ***
Comment 5 Richard Salts 2010-11-04 00:42:17 UTC
Created attachment 53114 [details]
New crash information added by DrKonqi

The crash usually occurs after some strangeness with an email being downloaded or timing out, starting after this situation will usually cause the problem. Clearing the imap folders from .kde/share/apps/kmail/imap will usually allow kmail/kontact to start normally.
Comment 6 Dario Andres 2010-11-18 18:30:57 UTC
[Comment from a bug triager]
This could be related to bug 184324.
Comment 7 Dario Andres 2010-11-18 18:32:14 UTC
[Comment from a bug triager]
From bug 252425 (workaround included):
-- Information about the crash:
KMail started to crash every time I start it, see enclosed backtrace. Editing
kmailrc so that all occurences of MainFolderViewItemIsExpanded=true are changed
to 'false' appears to fix this problem.

From bug 252865:
-- Information about the crash:
Trying to lanch the app. After entering password, the app fail lo lanch
properly an crash.
Comment 8 Dario Andres 2010-11-18 18:32:23 UTC
*** Bug 252425 has been marked as a duplicate of this bug. ***
Comment 9 Dario Andres 2010-11-18 18:32:28 UTC
*** Bug 252865 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2010-11-18 20:43:59 UTC
*** Bug 251702 has been marked as a duplicate of this bug. ***
Comment 11 Christophe Marin 2010-11-29 15:59:29 UTC

*** This bug has been marked as a duplicate of bug 184324 ***
Comment 12 Dario Andres 2010-12-14 14:03:54 UTC
*** Bug 259812 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2010-12-14 14:03:56 UTC
*** Bug 259821 has been marked as a duplicate of this bug. ***
Comment 14 Dario Andres 2010-12-14 14:03:59 UTC
*** Bug 259823 has been marked as a duplicate of this bug. ***