Bug 194834 - crash at every startup
Summary: crash at every startup
Status: RESOLVED DUPLICATE of bug 184324
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Unspecified
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 202060 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-01 10:31 UTC by Juha Tuomala
Modified: 2009-07-31 15:00 UTC (History)
2 users (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 Juha Tuomala 2009-06-01 10:31:44 UTC
Version:            (using KDE 4.2.3)
Installed from:    Fedora RPMs

Application: KMail (kmail), signal SIGSEGV
0x0000003875aa7f81 in nanosleep () from /lib64/libc.so.6
Current language:  auto; currently c
[Current thread is 1 (Thread 0x7f85a8877810 (LWP 4906))]

Thread 2 (Thread 0x7f859d9f5950 (LWP 4909)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x0000003109c5b697 in QWaitConditionPrivate::wait () at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=0x4550688, mutex=0x4550680, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003109c51189 in QThreadPoolThread::run (this=0x42e4080) at concurrent/qthreadpool.cpp:140
#4  0x0000003109c5a6d2 in QThreadPrivate::start (arg=0x42e4080) at thread/qthread_unix.cpp:189
#5  0x00000038766073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x0000003875ae62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 1 (Thread 0x7f85a8877810 (LWP 4906)):
[KCrash Handler]
#5  QTreeWidget::d_func () at itemviews/qtreewidget.h:370
#6  QTreeWidget::setItemExpanded (this=0x21, item=0x44eaa30, expand=false) at itemviews/qtreewidget.cpp:3112
#7  0x00000034df170d61 in QTreeWidgetItem::setExpanded () at /usr/include/QtGui/qtreewidget.h:409
#8  KMail::FolderView::restoreItemStates (this=0x42f43e0) at /usr/src/debug/kdepim-4.2.3/kmail/folderview.cpp:377
#9  0x00000034df176c4f in KMail::FolderView::reload (this=0x42f43e0, openFoldersForUpdate=false) at /usr/src/debug/kdepim-4.2.3/kmail/folderview.cpp:667
#10 0x00000034df38812d in KMMainWidget::readConfig (this=0x42f1df0) at /usr/src/debug/kdepim-4.2.3/kmail/kmmainwidget.cpp:595
#11 0x00000034df398a99 in KMMainWidget (this=0x42f1df0, parent=<value optimized out>, aGUIClient=0x38cc480, actionCollection=<value optimized out>, config=0x20c7680)
    at /usr/src/debug/kdepim-4.2.3/kmail/kmmainwidget.cpp:233
#12 0x00000034df10b486 in KMMainWin (this=0x38cc420) at /usr/src/debug/kdepim-4.2.3/kmail/kmmainwin.cpp:41
#13 0x00000034df2c206f in KMKernel::openReader (this=0x7fffb08c9900, onlyCheck=false) at /usr/src/debug/kdepim-4.2.3/kmail/kmkernel.cpp:375
#14 0x00000034df2cfa78 in KMKernel::action (this=0x7fffb08c9900, mailto=<value optimized out>, check=48, to=@0x7fffb08c86f0, cc=@0x7fffb08c86e0, bcc=@0x7fffb08c86d0, subj=@0x7fffb08c86c0, 
    body=@0x7fffb08c86b0, messageFile=@0x7fffb08c8440, attachURLs=@0x7fffb08c8690, customHeaders=@0x7fffb08c86a0) at /usr/src/debug/kdepim-4.2.3/kmail/kmkernel.cpp:1832
#15 0x00000034df2d0fa8 in KMKernel::handleCommandLine (this=0x7fffb08c9900, noArgsOpensReader=true) at /usr/src/debug/kdepim-4.2.3/kmail/kmkernel.cpp:321
#16 0x0000000000401ff8 in KMailApplication::newInstance (this=<value optimized out>) at /usr/src/debug/kdepim-4.2.3/kmail/main.cpp:84
#17 0x000000357720faf6 in KUniqueApplicationAdaptor::newInstance (this=0x2428370, asn_id=<value optimized out>, args=@0x24cce40) at /usr/src/debug/kdelibs-4.2.3/kdeui/kernel/kuniqueapplication_p.h:77
#18 0x000000357720dec2 in KUniqueApplicationAdaptor::qt_metacall (this=0x2428370, _c=QMetaObject::InvokeMetaMethod, _id=72264224, _a=0x7fffb08c8be0)
    at /usr/src/debug/kdelibs-4.2.3/x86_64-redhat-linux-gnu/kdeui/kuniqueapplication_p.moc:75
#19 0x000000310aa23503 in QDBusConnectionPrivate::deliverCall (this=0x20c5710, object=0x2428370, msg=@0x42e5fc0, metaTypes=@0x7fffb08c8ce8, slotIdx=4) at qdbusintegrator.cpp:891
#20 0x000000310aa2471f in QDBusConnectionPrivate::activateCall (this=0x20c5710, object=0x2428370, flags=337, msg=@0x42e5fc0) at qdbusintegrator.cpp:796
#21 0x000000310aa24e51 in QDBusConnectionPrivate::activateObject (this=0x20c5710, node=@0x42e5f98, msg=@0x42e5fc0, pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1352
#22 0x000000310aa25168 in QDBusActivateObjectEvent::placeMetaCall (this=0x42e5f50) at qdbusintegrator.cpp:1469
#23 0x0000003109d536f8 in QObject::event (this=0x7fffb08c9a50, e=0x42e5f50) at kernel/qobject.cpp:1118
#24 0x0000003575791b4a in QApplication::event (this=0x7fffb08c9a50, e=0x42e5f50) at kernel/qapplication.cpp:2334
#25 0x000000357578e73d in QApplicationPrivate::notify_helper (this=0x225fe50, receiver=0x7fffb08c9a50, e=0x42e5f50) at kernel/qapplication.cpp:4084
#26 0x000000357579692a in QApplication::notify (this=0x7fffb08c9a50, receiver=0x7fffb08c9a50, e=0x42e5f50) at kernel/qapplication.cpp:4049
#27 0x000000357720717b in KApplication::notify (this=0x7fffb08c9a50, receiver=0x7fffb08c9a50, event=0x42e5f50) at /usr/src/debug/kdelibs-4.2.3/kdeui/kernel/kapplication.cpp:307
#28 0x0000003109d4360c in QCoreApplication::notifyInternal (this=0x7fffb08c9a50, receiver=0x7fffb08c9a50, event=0x42e5f50) at kernel/qcoreapplication.cpp:602
#29 0x0000003109d4427a in QCoreApplication::sendEvent () at kernel/qcoreapplication.h:213
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x209a900) at kernel/qcoreapplication.cpp:1239
#31 0x0000003109d6d093 in QCoreApplication::sendPostedEvents () at kernel/qcoreapplication.h:218
#32 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:209
#33 0x0000003106c377bb in g_main_dispatch () at gmain.c:2144
#34 IA__g_main_context_dispatch (context=0x2262400) at gmain.c:2697
#35 0x0000003106c3af8d in g_main_context_iterate (context=0x2262400, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#36 0x0000003106c3b14b in IA__g_main_context_iteration (context=0x2262400, may_block=1) at gmain.c:2841
#37 0x0000003109d6cd1f in QEventDispatcherGlib::processEvents (this=0x20acf10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#38 0x000000357582533f in QGuiEventDispatcherGlib::processEvents (this=0x21, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#39 0x0000003109d41eb2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#40 0x0000003109d4227d in QEventLoop::exec (this=0x7fffb08c98a0, flags=) at kernel/qeventloop.cpp:200
#41 0x0000003109d44544 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#42 0x0000000000402b5b in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.2.3/kmail/main.cpp:146
Current language:  auto; currently asm
Current language:  auto; currently c
Comment 1 Juha Tuomala 2009-06-01 10:32:09 UTC
qt-4.5.0-14.fc10.x86_64
Comment 2 Juha Tuomala 2009-06-01 10:40:21 UTC
(gdb) bt
#0  KMail::FolderView::slotFolderExpanded (this=<value optimized out>, item=<value optimized out>) at /usr/src/debug/kdepim-4.2.3/kmail/folderview.cpp:2467                                                                                               
#1  0x00000034df176fe2 in KMail::FolderView::qt_metacall (this=0x1e7edd0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffffffbcc0) at /usr/src/debug/kdepim-4.2.3/x86_64-redhat-linux-gnu/kmail/folderview.moc:219                 
#2  0x00000034df17a916 in KMail::MainFolderView::qt_metacall (this=0x3875d6da00, _c=1974715592, _id=69, _a=0x0) at /usr/src/debug/kdepim-4.2.3/x86_64-redhat-linux-gnu/kmail/mainfolderview.moc:64                                                        
#3  0x0000003109d590a2 in QMetaObject::activate (sender=0x1e7edd0, from_signal_index=<value optimized out>, to_signal_index=101, argv=0x0) at kernel/qobject.cpp:3069                                                                                     
#4  0x0000003575d15a42 in QTreeWidget::itemExpanded (this=0x3875d6da00, _t1=0x2a4bef0) at .moc/release-shared/moc_qtreewidget.cpp:236                                                                                                                     
#5  0x0000003575d2295b in QTreeWidget::qt_metacall (this=0x1e7edd0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffffffbea0) at .moc/release-shared/moc_qtreewidget.cpp:149                                                        
#6  0x00000034dd27b455 in KPIM::TreeWidget::qt_metacall (this=0x3875d6da00, _c=1974715592, _id=69, _a=0x0) at /usr/src/debug/kdepim-4.2.3/x86_64-redhat-linux-gnu/libkdepim/moc_treewidget.cpp:68                                                         
#7  0x00000034dd27b585 in KPIM::FolderTreeWidget::qt_metacall (this=0x3875d6da00, _c=1974715592, _id=69, _a=0x0) at /usr/src/debug/kdepim-4.2.3/x86_64-redhat-linux-gnu/libkdepim/moc_foldertreewidget.cpp:64                                             
#8  0x00000034df176f75 in KMail::FolderView::qt_metacall (this=0x3875d6da00, _c=1974715592, _id=69, _a=0x0) at /usr/src/debug/kdepim-4.2.3/x86_64-redhat-linux-gnu/kmail/folderview.moc:186                                                               
#9  0x00000034df17a916 in KMail::MainFolderView::qt_metacall (this=0x3875d6da00, _c=1974715592, _id=69, _a=0x0) at /usr/src/debug/kdepim-4.2.3/x86_64-redhat-linux-gnu/kmail/mainfolderview.moc:64                                                        
#10 0x0000003109d590a2 in QMetaObject::activate (sender=0x1e7edd0, from_signal_index=<value optimized out>, to_signal_index=69, argv=0x0) at kernel/qobject.cpp:3069                                                                                      
#11 0x0000003575cd8212 in QTreeView::expanded (this=0x3875d6da00, _t1=<value optimized out>) at .moc/release-shared/moc_qtreeview.cpp:213                                                                                                                 
#12 0x0000003575ce8de8 in QTreeView::expand (this=0x1e7edd0, index=@0x7fffffffbf30) at itemviews/qtreeview.cpp:752           
#13 0x0000003575d1d7e5 in QTreeWidget::setItemExpanded (this=0x1e7edd0, item=0x2a4bef0, expand=<value optimized out>) at itemviews/qtreewidget.cpp:3114                                                                                                   
#14 0x00000034df170d61 in QTreeWidgetItem::setExpanded () at /usr/include/QtGui/qtreewidget.h:409                            
#15 KMail::FolderView::restoreItemStates (this=0x1e7edd0) at /usr/src/debug/kdepim-4.2.3/kmail/folderview.cpp:377            
#16 0x00000034df176c4f in KMail::FolderView::reload (this=0x1e7edd0, openFoldersForUpdate=false) at /usr/src/debug/kdepim-4.2.3/kmail/folderview.cpp:667                                                                                                  
#17 0x00000034df38812d in KMMainWidget::readConfig (this=0x1ea0e60) at /usr/src/debug/kdepim-4.2.3/kmail/kmmainwidget.cpp:595
#18 0x00000034df398a99 in KMMainWidget (this=0x1ea0e60, parent=<value optimized out>, aGUIClient=0xaaa570, actionCollection=<value optimized out>, config=0x6796e0) at /usr/src/debug/kdepim-4.2.3/kmail/kmmainwidget.cpp:233                             
#19 0x00000034df10b486 in KMMainWin (this=0xaaa510) at /usr/src/debug/kdepim-4.2.3/kmail/kmmainwin.cpp:41                    
#20 0x00000034df2c206f in KMKernel::openReader (this=0x7fffffffdc40, onlyCheck=false) at /usr/src/debug/kdepim-4.2.3/kmail/kmkernel.cpp:375                                                                                                               
#21 0x00000034df2cfa78 in KMKernel::action (this=0x7fffffffdc40, mailto=<value optimized out>, check=200, to=@0x7fffffffca30, cc=@0x7fffffffca20, bcc=@0x7fffffffca10, subj=@0x7fffffffca00, body=@0x7fffffffc9f0, messageFile=@0x7fffffffc780, attachURLs=@0x7fffffffc9d0, customHeaders=@0x7fffffffc9e0) at /usr/src/debug/kdepim-4.2.3/kmail/kmkernel.cpp:1832
#22 0x00000034df2d0fa8 in KMKernel::handleCommandLine (this=0x7fffffffdc40, noArgsOpensReader=true) at /usr/src/debug/kdepim-4.2.3/kmail/kmkernel.cpp:321
#23 0x0000000000401ff8 in KMailApplication::newInstance (this=<value optimized out>) at /usr/src/debug/kdepim-4.2.3/kmail/main.cpp:84
#24 0x000000357720faf6 in KUniqueApplicationAdaptor::newInstance (this=0x917510, asn_id=<value optimized out>, args=@0x1e5da10) at /usr/src/debug/kdelibs-4.2.3/kdeui/kernel/kuniqueapplication_p.h:77
#25 0x000000357720dec2 in KUniqueApplicationAdaptor::qt_metacall (this=0x917510, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffffffcf20) at /usr/src/debug/kdelibs-4.2.3/x86_64-redhat-linux-gnu/kdeui/kuniqueapplication_p.moc:75
#26 0x000000310aa23503 in QDBusConnectionPrivate::deliverCall (this=0x675700, object=0x917510, msg=@0x677a20, metaTypes=@0x7fffffffd028, slotIdx=4) at qdbusintegrator.cpp:891
#27 0x000000310aa2471f in QDBusConnectionPrivate::activateCall (this=0x675700, object=0x917510, flags=337, msg=@0x677a20) at qdbusintegrator.cpp:796
#28 0x000000310aa24e51 in QDBusConnectionPrivate::activateObject (this=0x675700, node=@0x6779f8, msg=@0x677a20, pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1352
#29 0x000000310aa25168 in QDBusActivateObjectEvent::placeMetaCall (this=0x6779b0) at qdbusintegrator.cpp:1469
#30 0x0000003109d536f8 in QObject::event (this=0x7fffffffdd90, e=0x6779b0) at kernel/qobject.cpp:1118
#31 0x0000003575791b4a in QApplication::event (this=0x7fffffffdd90, e=0x6779b0) at kernel/qapplication.cpp:2334
#32 0x000000357578e73d in QApplicationPrivate::notify_helper (this=0x67e320, receiver=0x7fffffffdd90, e=0x6779b0) at kernel/qapplication.cpp:4084
#33 0x000000357579692a in QApplication::notify (this=0x7fffffffdd90, receiver=0x7fffffffdd90, e=0x6779b0) at kernel/qapplication.cpp:4049
#34 0x000000357720717b in KApplication::notify (this=0x7fffffffdd90, receiver=0x7fffffffdd90, event=0x6779b0) at /usr/src/debug/kdelibs-4.2.3/kdeui/kernel/kapplication.cpp:307
#35 0x0000003109d4360c in QCoreApplication::notifyInternal (this=0x7fffffffdd90, receiver=0x7fffffffdd90, event=0x6779b0) at kernel/qcoreapplication.cpp:602
#36 0x0000003109d4427a in QCoreApplication::sendEvent () at kernel/qcoreapplication.h:213
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x64a900) at kernel/qcoreapplication.cpp:1239
#38 0x0000003109d6d093 in QCoreApplication::sendPostedEvents () at kernel/qcoreapplication.h:218
#39 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:209
#40 0x0000003106c377bb in g_main_dispatch () at gmain.c:2144
#41 IA__g_main_context_dispatch (context=0x67f1f0) at gmain.c:2697
#42 0x0000003106c3af8d in g_main_context_iterate (context=0x67f1f0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#43 0x0000003106c3b14b in IA__g_main_context_iteration (context=0x67f1f0, may_block=1) at gmain.c:2841
#44 0x0000003109d6cd1f in QEventDispatcherGlib::processEvents (this=0x65cf10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#45 0x000000357582533f in QGuiEventDispatcherGlib::processEvents (this=0x3875d6da00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#46 0x0000003109d41eb2 in QEventLoop::processEvents (this=<value optimized out>, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:149
#47 0x0000003109d4227d in QEventLoop::exec (this=0x7fffffffdbe0, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:200
#48 0x0000003109d44544 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#49 0x0000000000402b5b in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.2.3/kmail/main.cpp:146
(gdb)

This happens after I give both imaps passwords.
Comment 3 Juha Tuomala 2009-06-01 10:41:34 UTC
kdepim-4.2.3-1.fc10.x86_64
Comment 4 Juha Tuomala 2009-06-01 10:44:29 UTC
This comes to stdout when it crashes:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7fa8810 (LWP 5110)]
QTreeWidgetPrivate::index () at ../../src/gui/itemviews/qtreewidget_p.h:225
225             { return model()->index(item, column); }
(gdb) <unknown program name>(5104)/: Communication problem with  "kmail" , it probably crashed.
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." "


I've something else fishy in dbus as that also causes plasmoids/applets to hang.
Comment 5 Juha Tuomala 2009-06-01 10:49:51 UTC
Another attempt with different source line:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7fa8810 (LWP 5238)]
QTreeWidget::setItemExpanded (this=0x31, item=0x2a78640, expand=false) at itemviews/qtreewidget.cpp:3112
3112        Q_D(QTreeWidget);
(gdb) <unknown program name>(5235)/: Communication problem with  "kmail" , it probably crashed.

+the dbus error.
Comment 6 Dario Andres 2009-06-01 13:24:26 UTC
The backtrace looks related to bug 184324. Thanks
Comment 7 Christophe Marin 2009-07-06 18:38:20 UTC

*** This bug has been marked as a duplicate of bug 184324 ***
Comment 8 Dario Andres 2009-07-31 15:00:50 UTC
*** Bug 202060 has been marked as a duplicate of this bug. ***