Bug 252425

Summary: Crash on startup
Product: [Unmaintained] kmail Reporter: Vladimir Prus <ghost>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 1.13.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vladimir Prus 2010-09-26 14:05:18 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic-pae i686
Distribution: Ubuntu maverick (development branch)

-- 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.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0xb2251780 (LWP 2363))]

Thread 2 (Thread 0xac8fab70 (LWP 2372)):
#0  0xb5872f71 in pthread_mutex_lock () from /lib/libc.so.6
#1  0xb3c04db8 in g_main_context_acquire () from /lib/libglib-2.0.so.0
#2  0xb3c069ae in ?? () from /lib/libglib-2.0.so.0
#3  0xb3c07008 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0xb5b8d59f in QEventDispatcherGlib::processEvents (this=0x953e7a0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0xb5b5d609 in QEventLoop::processEvents (this=0xac8fa220, flags=) at kernel/qeventloop.cpp:149
#6  0xb5b5da8a in QEventLoop::exec (this=0xac8fa220, flags=...) at kernel/qeventloop.cpp:201
#7  0xb5a59b7e in QThread::exec (this=0x94c7558) at thread/qthread.cpp:490
#8  0xb5b3c35b in QInotifyFileSystemWatcherEngine::run (this=0x94c7558) at io/qfilesystemwatcher_inotify.cpp:248
#9  0xb5a5cdf9 in QThreadPrivate::start (arg=0x94c7558) at thread/qthread_unix.cpp:266
#10 0xb539fcc9 in start_thread () from /lib/libpthread.so.0
#11 0xb58656ae in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb2251780 (LWP 2363)):
[KCrash Handler]
#7  0xb64165ad in qobject_cast<QTreeModel*> (this=0xb5c923f4, item=0x94354d0, expand=false) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:455
#8  treeModel (this=0xb5c923f4, item=0x94354d0, expand=false) at ../../include/QtGui/private/../../../src/gui/itemviews/qtreewidget_p.h:222
#9  QTreeWidget::setItemExpanded (this=0xb5c923f4, item=0x94354d0, expand=false) at itemviews/qtreewidget.cpp:3140
#10 0xb6a4f073 in setExpanded (this=0x93faa58) at /usr/include/qt4/QtGui/qtreewidget.h:409
#11 KMail::FolderView::restoreItemStates (this=0x93faa58) at ../../kmail/folderview.cpp:389
#12 0xb6a5623d in KMail::FolderView::reload (this=0x93faa58, openFoldersForUpdate=false) at ../../kmail/folderview.cpp:671
#13 0xb6ccee8b in KMMainWidget::readConfig (this=0x9132ba8) at ../../kmail/kmmainwidget.cpp:593
#14 0xb6ce24e1 in KMMainWidget::KMMainWidget (this=0x9132ba8, parent=0x8f54e50, aGUIClient=0x8f54e84, actionCollection=0x91329e0, config=...) at ../../kmail/kmmainwidget.cpp:232
#15 0xb69d3a1a in KMMainWin::KMMainWin (this=0x8f54e50, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmail/kmmainwin.cpp:41
#16 0xb6be6701 in KMKernel::openReader (this=0xbfd0c5a8, onlyCheck=false) at ../../kmail/kmkernel.cpp:422
#17 0xb6bedbbb in KMKernel::action (this=0xbfd0c5a8, mailto=false, check=<value optimized out>, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=...) at ../../kmail/kmkernel.cpp:1939
#18 0xb6bf0435 in KMKernel::handleCommandLine (this=0xbfd0c5a8, noArgsOpensReader=true) at ../../kmail/kmkernel.cpp:368
#19 0x08049dd9 in KMailApplication::newInstance (this=0xbfd0c670) at ../../kmail/main.cpp:87
#20 0x0804a870 in main (argc=1, argv=0xbfd0c834) at ../../kmail/main.cpp:146

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-18 18:32:23 UTC
[Comment from a bug triager]
This issue is being tracked at bug 254781. Merging. Thanks

*** This bug has been marked as a duplicate of bug 254781 ***