<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>273696</bug_id>
          
          <creation_ts>2011-05-20 06:48:26 +0000</creation_ts>
          <short_desc>Kmail crashes on startup</short_desc>
          <delta_ts>2011-12-07 18:26:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kmail</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>184324</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="timo paukkio">timo.paukkio</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1121135</commentid>
    <comment_count>0</comment_count>
    <who name="timo paukkio">timo.paukkio</who>
    <bug_when>2011-05-20 06:48:26 +0000</bug_when>
    <thetext>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:
Kmail crashes after password prompt, tried hitting escape, got it to work couple of times, now nothing.

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7fb7a772c700 (LWP 2422)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007fb7b972d392 in ?? () from /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0
#2  0x00007fb7ba67f2af in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb7ba67fca9 in g_async_queue_timed_pop () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb7ba6d3a5a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb7ba6d13e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fb7c035ed8c in start_thread (arg=0x7fb7a772c700) at pthread_create.c:304
#7  0x00007fb7c27af04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb7a6da0700 (LWP 2423)):
#0  __libc_enable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:66
#1  0x00007fb7c27a1ee8 in __poll (fds=&lt;value optimized out&gt;, nfds=&lt;value optimized out&gt;, timeout=&lt;value optimized out&gt;) at ../sysdeps/unix/sysv/linux/poll.c:85
#2  0x00007fb7ba6aa104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb7ba6aa9f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb7b18dbc44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007fb7ba6d13e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fb7c035ed8c in start_thread (arg=0x7fb7a6da0700) at pthread_create.c:304
#7  0x00007fb7c27af04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb7a0604700 (LWP 2425)):
#0  0x00007fb7ba6a9102 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb7ba6a9f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb7ba6aa639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb7c30ff446 in QEventDispatcherGlib::processEvents (this=0x273a5f0, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fb7c30d3882 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fb7c30d3abc in QEventLoop::exec (this=0x7fb7a0603d10, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fb7c2fea924 in QThread::exec (this=&lt;value optimized out&gt;) at thread/qthread.cpp:492
#7  0x00007fb7c30b5c2f in QInotifyFileSystemWatcherEngine::run (this=0x25a7240) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fb7c2fed175 in QThreadPrivate::start (arg=0x25a7240) at thread/qthread_unix.cpp:320
#9  0x00007fb7c035ed8c in start_thread (arg=0x7fb7a0604700) at pthread_create.c:304
#10 0x00007fb7c27af04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb79fe03700 (LWP 2426)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007fb7c2fed79e in wait (this=&lt;value optimized out&gt;, mutex=0x270af00, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=&lt;value optimized out&gt;, mutex=0x270af00, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb7c2fe2218 in QThreadPoolThread::run (this=0x254a250) at concurrent/qthreadpool.cpp:140
#4  0x00007fb7c2fed175 in QThreadPrivate::start (arg=0x254a250) at thread/qthread_unix.cpp:320
#5  0x00007fb7c035ed8c in start_thread (arg=0x7fb79fe03700) at pthread_create.c:304
#6  0x00007fb7c27af04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb7c584d840 (LWP 2420)):
[KCrash Handler]
#6  QMetaObject::cast (this=0x7fb7c40980e0, obj=0x100d4140000002c) at kernel/qmetaobject.cpp:266
#7  0x00007fb7c3b4c49a in qobject_cast&lt;QTreeModel*&gt; (this=0x250f260, item=0x250f2e0, expand=false) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:366
#8  treeModel (this=0x250f260, item=0x250f2e0, expand=false) at ../../include/QtGui/private/../../../src/gui/itemviews/qtreewidget_p.h:222
#9  QTreeWidget::setItemExpanded (this=0x250f260, item=0x250f2e0, expand=false) at itemviews/qtreewidget.cpp:3140
#10 0x00007fb7c4201d79 in setExpanded (this=0x24a3d90) at /usr/include/qt4/QtGui/qtreewidget.h:409
#11 KMail::FolderView::restoreItemStates (this=0x24a3d90) at ../../kmail/folderview.cpp:389
#12 0x00007fb7c420273f in KMail::FolderView::reload (this=0x24a3d90, openFoldersForUpdate=false) at ../../kmail/folderview.cpp:671
#13 0x00007fb7c4418245 in KMMainWidget::readConfig (this=0x2163900) at ../../kmail/kmmainwidget.cpp:602
#14 0x00007fb7c4424245 in KMMainWidget::KMMainWidget (this=0x2163900, parent=&lt;value optimized out&gt;, aGUIClient=0x212a9f0, actionCollection=&lt;value optimized out&gt;, config=...) at ../../kmail/kmmainwidget.cpp:241
#15 0x00007fb7c41ae3f8 in KMMainWin::KMMainWin (this=0x212a990, __in_chrg=&lt;value optimized out&gt;, __vtt_parm=&lt;value optimized out&gt;) at ../../kmail/kmmainwin.cpp:41
#16 0x00007fb7c43571d7 in KMKernel::openReader (this=0x7fffba0a1430, onlyCheck=false) at ../../kmail/kmkernel.cpp:422
#17 0x00007fb7c4357b10 in KMKernel::action (this=0x7fffba0a1430, mailto=&lt;value optimized out&gt;, check=false, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=...) at ../../kmail/kmkernel.cpp:1939
#18 0x00007fb7c435a2a4 in KMKernel::handleCommandLine (this=0x7fffba0a1430, noArgsOpensReader=true) at ../../kmail/kmkernel.cpp:368
#19 0x00000000004024ba in KMailApplication::newInstance (this=0x7fffba0a15a0) at ../../kmail/main.cpp:87
#20 0x00007fb7c52749a2 in KUniqueApplicationAdaptor::newInstance (this=0x1f9bd20, asn_id=&lt;value optimized out&gt;, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:436
#21 0x00007fb7c5274a42 in KUniqueApplicationAdaptor::qt_metacall (this=0x1f9bd20, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffba0a0700) at ./kuniqueapplication_p.moc:81
#22 0x00007fb7c0e659fa in QDBusConnectionPrivate::deliverCall (this=0x1e87ec0, object=0x1f9bd20, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:942
#23 0x00007fb7c0e66b1a in QDBusConnectionPrivate::activateCall (this=0x1e87ec0, object=0x1f9bd20, flags=337, msg=...) at qdbusintegrator.cpp:845
#24 0x00007fb7c0e6733a in QDBusConnectionPrivate::activateObject (this=0x1e87ec0, node=..., msg=..., pathStartPos=&lt;value optimized out&gt;) at qdbusintegrator.cpp:1410
#25 0x00007fb7c0e67578 in QDBusActivateObjectEvent::placeMetaCall (this=0x20cafe0) at qdbusintegrator.cpp:1524
#26 0x00007fb7c30e849a in QObject::event (this=0x7fffba0a15a0, e=&lt;value optimized out&gt;) at kernel/qobject.cpp:1226
#27 0x00007fb7c35c4fa4 in QApplication::event (this=0x7fffba0a15a0, e=0x20cafe0) at kernel/qapplication.cpp:2503
#28 0x00007fb7c35c29e4 in QApplicationPrivate::notify_helper (this=0x1e9c130, receiver=0x7fffba0a15a0, e=0x20cafe0) at kernel/qapplication.cpp:4462
#29 0x00007fb7c35c73aa in QApplication::notify (this=&lt;value optimized out&gt;, receiver=0x7fffba0a15a0, e=0x20cafe0) at kernel/qapplication.cpp:4341
#30 0x00007fb7c526e866 in KApplication::notify (this=0x7fffba0a15a0, receiver=0x7fffba0a15a0, event=0x20cafe0) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007fb7c30d449c in QCoreApplication::notifyInternal (this=0x7fffba0a15a0, receiver=0x7fffba0a15a0, event=0x20cafe0) at kernel/qcoreapplication.cpp:731
#32 0x00007fb7c30d7c25 in sendEvent (receiver=0x0, event_type=0, data=0x1e08b30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1e08b30) at kernel/qcoreapplication.cpp:1372
#34 0x00007fb7c30ff253 in sendPostedEvents (s=0x1e9d280) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#35 postEventSourceDispatch (s=0x1e9d280) at kernel/qeventdispatcher_glib.cpp:277
#36 0x00007fb7ba6a9bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fb7ba6aa3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fb7ba6aa639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fb7c30ff3ef in QEventDispatcherGlib::processEvents (this=0x1e08310, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:422
#40 0x00007fb7c3669dfe in QGuiEventDispatcherGlib::processEvents (this=&lt;value optimized out&gt;, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007fb7c30d3882 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007fb7c30d3abc in QEventLoop::exec (this=0x7fffba0a13e0, flags=...) at kernel/qeventloop.cpp:201
#43 0x00007fb7c30d7ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#44 0x0000000000403175 in main (argc=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at ../../kmail/main.cpp:158

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1121176</commentid>
    <comment_count>1</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-05-20 10:44:25 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 184324 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>