Bug 273012

Summary: kmail crashing on start up
Product: [Unmaintained] kmail Reporter: timo paukkio <timo.paukkio>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description timo paukkio 2011-05-11 10:16:12 UTC
Application: kmail (1.13.6)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
when starting kmail I'll get the prompt to enter password. After typing in the password kmail crashes.

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7fbbc7934700 (LWP 2680)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007fbbd9935392 in ?? () from /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0
#2  0x00007fbbda8872af in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbbda887ca9 in g_async_queue_timed_pop () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fbbda8dba5a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fbbda8d93e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fbbe0566d8c in start_thread (arg=0x7fbbc7934700) at pthread_create.c:304
#7  0x00007fbbe29b704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fbbc53cc700 (LWP 2681)):
#0  0x00007fbbda8b20ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fbbda8b29f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbbd1ae3c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#3  0x00007fbbda8d93e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fbbe0566d8c in start_thread (arg=0x7fbbc53cc700) at pthread_create.c:304
#5  0x00007fbbe29b704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fbbc080c700 (LWP 2683)):
#0  QTimerInfoList::timerWait (this=0x1240650, tm=...) at kernel/qeventdispatcher_unix.cpp:455
#1  0x00007fbbe3306c2c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fbbc080bb8c) at kernel/qeventdispatcher_glib.cpp:136
#2  0x00007fbbe3306cd5 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#3  0x00007fbbda8b10a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fbbda8b1f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fbbda8b2639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fbbe3307446 in QEventDispatcherGlib::processEvents (this=0x1244a70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#7  0x00007fbbe32db882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fbbe32dbabc in QEventLoop::exec (this=0x7fbbc080bd10, flags=...) at kernel/qeventloop.cpp:201
#9  0x00007fbbe31f2924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#10 0x00007fbbe32bdc2f in QInotifyFileSystemWatcherEngine::run (this=0x10e6900) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007fbbe31f5175 in QThreadPrivate::start (arg=0x10e6900) at thread/qthread_unix.cpp:320
#12 0x00007fbbe0566d8c in start_thread (arg=0x7fbbc080c700) at pthread_create.c:304
#13 0x00007fbbe29b704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fbbc000b700 (LWP 2684)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007fbbe31f579e in wait (this=<value optimized out>, mutex=0x1246b90, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1246b90, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fbbe31ea218 in QThreadPoolThread::run (this=0x10be9d0) at concurrent/qthreadpool.cpp:140
#4  0x00007fbbe31f5175 in QThreadPrivate::start (arg=0x10be9d0) at thread/qthread_unix.cpp:320
#5  0x00007fbbe0566d8c in start_thread (arg=0x7fbbc000b700) at pthread_create.c:304
#6  0x00007fbbe29b704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbbe5a55840 (LWP 2678)):
[KCrash Handler]
#6  executePendingSort (this=0x0, item=0x1046f60, column=0) at ../../include/QtGui/private/../../../src/gui/itemviews/qtreewidget_p.h:205
#7  QTreeModel::index (this=0x0, item=0x1046f60, column=0) at itemviews/qtreewidget.cpp:231
#8  0x00007fbbe3d54732 in index (this=<value optimized out>, item=0x1046f60, select=<value optimized out>) at ../../include/QtGui/private/../../../src/gui/itemviews/qtreewidget_p.h:224
#9  QTreeWidget::setItemSelected (this=<value optimized out>, item=0x1046f60, select=<value optimized out>) at itemviews/qtreewidget.cpp:3032
#10 0x00007fbbe4409ecf in setSelected (this=0xfdead0) at /usr/include/qt4/QtGui/qtreewidget.h:397
#11 KMail::FolderView::restoreItemStates (this=0xfdead0) at ../../kmail/folderview.cpp:390
#12 0x00007fbbe440a73f in KMail::FolderView::reload (this=0xfdead0, openFoldersForUpdate=false) at ../../kmail/folderview.cpp:671
#13 0x00007fbbe4620245 in KMMainWidget::readConfig (this=0xc9dcb0) at ../../kmail/kmmainwidget.cpp:602
#14 0x00007fbbe462c245 in KMMainWidget::KMMainWidget (this=0xc9dcb0, parent=<value optimized out>, aGUIClient=0xc0e520, actionCollection=<value optimized out>, config=...) at ../../kmail/kmmainwidget.cpp:241
#15 0x00007fbbe43b63f8 in KMMainWin::KMMainWin (this=0xc0e4c0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmail/kmmainwin.cpp:41
#16 0x00007fbbe455f1d7 in KMKernel::openReader (this=0x7fffea821360, onlyCheck=false) at ../../kmail/kmkernel.cpp:422
#17 0x00007fbbe455fb10 in KMKernel::action (this=0x7fffea821360, mailto=<value optimized out>, check=false, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=...) at ../../kmail/kmkernel.cpp:1939
#18 0x00007fbbe45622a4 in KMKernel::handleCommandLine (this=0x7fffea821360, noArgsOpensReader=true) at ../../kmail/kmkernel.cpp:368
#19 0x00000000004024ba in KMailApplication::newInstance (this=0x7fffea8214d0) at ../../kmail/main.cpp:87
#20 0x00007fbbe547c9a2 in KUniqueApplicationAdaptor::newInstance (this=0xad3d10, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:436
#21 0x00007fbbe547ca42 in KUniqueApplicationAdaptor::qt_metacall (this=0xad3d10, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffea820630) at ./kuniqueapplication_p.moc:81
#22 0x00007fbbe106d9fa in QDBusConnectionPrivate::deliverCall (this=0x9d0ed0, object=0xad3d10, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:942
#23 0x00007fbbe106eb1a in QDBusConnectionPrivate::activateCall (this=0x9d0ed0, object=0xad3d10, flags=337, msg=...) at qdbusintegrator.cpp:845
#24 0x00007fbbe106f33a in QDBusConnectionPrivate::activateObject (this=0x9d0ed0, node=..., msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1410
#25 0x00007fbbe106f578 in QDBusActivateObjectEvent::placeMetaCall (this=0xc0e640) at qdbusintegrator.cpp:1524
#26 0x00007fbbe32f049a in QObject::event (this=0x7fffea8214d0, e=<value optimized out>) at kernel/qobject.cpp:1226
#27 0x00007fbbe37ccfa4 in QApplication::event (this=0x7fffea8214d0, e=0xc0e640) at kernel/qapplication.cpp:2503
#28 0x00007fbbe37ca9e4 in QApplicationPrivate::notify_helper (this=0x9e5140, receiver=0x7fffea8214d0, e=0xc0e640) at kernel/qapplication.cpp:4462
#29 0x00007fbbe37cf3aa in QApplication::notify (this=<value optimized out>, receiver=0x7fffea8214d0, e=0xc0e640) at kernel/qapplication.cpp:4341
#30 0x00007fbbe5476866 in KApplication::notify (this=0x7fffea8214d0, receiver=0x7fffea8214d0, event=0xc0e640) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007fbbe32dc49c in QCoreApplication::notifyInternal (this=0x7fffea8214d0, receiver=0x7fffea8214d0, event=0xc0e640) at kernel/qcoreapplication.cpp:731
#32 0x00007fbbe32dfc25 in sendEvent (receiver=0x0, event_type=0, data=0x951b30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x951b30) at kernel/qcoreapplication.cpp:1372
#34 0x00007fbbe3307253 in sendPostedEvents (s=0x9e6290) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#35 postEventSourceDispatch (s=0x9e6290) at kernel/qeventdispatcher_glib.cpp:277
#36 0x00007fbbda8b1bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fbbda8b23a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fbbda8b2639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fbbe33073ef in QEventDispatcherGlib::processEvents (this=0x951310, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#40 0x00007fbbe3871dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007fbbe32db882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007fbbe32dbabc in QEventLoop::exec (this=0x7fffea821310, flags=...) at kernel/qeventloop.cpp:201
#43 0x00007fbbe32dfecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#44 0x0000000000403175 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:158

Reported using DrKonqi
Comment 1 Christophe Marin 2011-05-11 10:57:13 UTC

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