Bug 259812 - cant not start
Summary: cant not start
Status: RESOLVED DUPLICATE of bug 254781
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-14 08:24 UTC by Steen Jespersgaard
Modified: 2010-12-14 14:03 UTC (History)
1 user (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 Steen Jespersgaard 2010-12-14 08:24:54 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-23-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f755c4b5820 (LWP 2317))]

Thread 3 (Thread 0x7f7544433710 (LWP 2318)):
#0  0x00007f7558f11203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f754ffcc009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f754ffcc7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007f754843c0f4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f754fff17e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f7556a17971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f7558f1d94d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f753433a710 (LWP 2321)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f755974bda2 in wait (this=<value optimized out>, mutex=0x19b9320, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x19b9320, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f7559740da2 in QThreadPoolThread::run (this=0x19d3ad0) at concurrent/qthreadpool.cpp:140
#4  0x00007f755974b27e in QThreadPrivate::start (arg=0x19d3ad0) at thread/qthread_unix.cpp:266
#5  0x00007f7556a17971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f7558f1d94d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f755c4b5820 (LWP 2317)):
[KCrash Handler]
#6  QMetaObject::cast (this=0x7f755a84cde0, obj=0x1737900) at kernel/qmetaobject.cpp:267
#7  0x00007f755a2fc24e in qobject_cast<QTreeModel*> (this=0x1729cd0, item=0x1745720, expand=2) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:455
#8  treeModel (this=0x1729cd0, item=0x1745720, expand=2) at ../../include/QtGui/private/../../../src/gui/itemviews/qtreewidget_p.h:222
#9  QTreeWidget::setItemExpanded (this=0x1729cd0, item=0x1745720, expand=2) at itemviews/qtreewidget.cpp:3140
#10 0x00007f755adaa064 in setExpanded (this=0x17abb60) at /usr/include/qt4/QtGui/qtreewidget.h:409
#11 KMail::FolderView::restoreItemStates (this=0x17abb60) at ../../kmail/folderview.cpp:389
#12 0x00007f755adb08c7 in KMail::FolderView::reload (this=0x17abb60, openFoldersForUpdate=false) at ../../kmail/folderview.cpp:671
#13 0x00007f755aff0c07 in KMMainWidget::readConfig (this=0x158c180) at ../../kmail/kmmainwidget.cpp:593
#14 0x00007f755b001d79 in KMMainWidget::KMMainWidget (this=0x158c180, parent=<value optimized out>, aGUIClient=<value optimized out>, actionCollection=<value optimized out>, config=...) at ../../kmail/kmmainwidget.cpp:232
#15 0x00007f755ad42153 in KMMainWin::KMMainWin (this=0x1617670, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmail/kmmainwin.cpp:41
#16 0x00007f755af1cfc7 in KMKernel::openReader (this=0x7fff19feb4f0, onlyCheck=false) at ../../kmail/kmkernel.cpp:422
#17 0x00007f755af24468 in KMKernel::action (this=0x7fff19feb4f0, mailto=<value optimized out>, check=false, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=...) at ../../kmail/kmkernel.cpp:1939
#18 0x00007f755af26c1c in KMKernel::handleCommandLine (this=<value optimized out>, noArgsOpensReader=<value optimized out>) at ../../kmail/kmkernel.cpp:368
#19 0x0000000000402612 in KMailApplication::newInstance (this=0x7fff19feb660) at ../../kmail/main.cpp:87
#20 0x00007f755bed9976 in KUniqueApplicationAdaptor::newInstance (this=0x10f5bc0, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:440
#21 0x00007f755bed9fb6 in KUniqueApplicationAdaptor::qt_metacall (this=0x10f5bc0, _c=QMetaObject::InvokeMetaMethod, _id=-1727689912, _a=0x7fff19fea6f0) at ./kuniqueapplication_p.moc:81
#22 0x00007f7556c500ee in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>) at qdbusintegrator.cpp:919
#23 0x00007f7556c5136f in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x10f5bc0, flags=337, msg=...) at qdbusintegrator.cpp:822
#24 0x00007f7556c51e65 in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1379
#25 0x00007f7556c52108 in QDBusActivateObjectEvent::placeMetaCall (this=0x158bd10) at qdbusintegrator.cpp:1493
#26 0x00007f7559850bde in QObject::event (this=0x7fff19feb660, e=0x1737900) at kernel/qobject.cpp:1219
#27 0x00007f7559d2d186 in QApplication::event (this=0x7fff19feb660, e=0x158bd10) at kernel/qapplication.cpp:2439
#28 0x00007f7559d29fdc in QApplicationPrivate::notify_helper (this=0x11d9c60, receiver=0x7fff19feb660, e=0x158bd10) at kernel/qapplication.cpp:4396
#29 0x00007f7559d2faed in QApplication::notify (this=0x7fff19feb660, receiver=0x7fff19feb660, e=0x158bd10) at kernel/qapplication.cpp:4277
#30 0x00007f755bed2156 in KApplication::notify (this=0x7fff19feb660, receiver=0x7fff19feb660, event=0x158bd10) at ../../kdeui/kernel/kapplication.cpp:310
#31 0x00007f755983ecdc in QCoreApplication::notifyInternal (this=0x7fff19feb660, receiver=0x7fff19feb660, event=0x158bd10) at kernel/qcoreapplication.cpp:732
#32 0x00007f7559841c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x10ad150) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x10ad150) at kernel/qcoreapplication.cpp:1373
#34 0x00007f755986b653 in sendPostedEvents (s=0x11dd3c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#35 postEventSourceDispatch (s=0x11dd3c0) at kernel/qeventdispatcher_glib.cpp:277
#36 0x00007f754ffc8342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#37 0x00007f754ffcc2a8 in ?? () from /lib/libglib-2.0.so.0
#38 0x00007f754ffcc45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#39 0x00007f755986b193 in QEventDispatcherGlib::processEvents (this=0x10ac8a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#40 0x00007f7559ddca4e in QGuiEventDispatcherGlib::processEvents (this=0x1737900, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f755983da02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#42 0x00007f755983ddec in QEventLoop::exec (this=0x7fff19feb490, flags=) at kernel/qeventloop.cpp:201
#43 0x00007f7559841ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#44 0x0000000000403212 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0x7fc941ae0710 (LWP 2412)):
#0  0x00007fc9565be203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc94d679009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fc94d6797b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007fc945ae90f4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007fc94d69e7e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007fc9540c4971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007fc9565ca94d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc92d9eb710 (LWP 2420)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007fc956df8da2 in wait (this=<value optimized out>, mutex=0x1146740, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1146740, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc956dedda2 in QThreadPoolThread::run (this=0x11468f0) at concurrent/qthreadpool.cpp:140
#4  0x00007fc956df827e in QThreadPrivate::start (arg=0x11468f0) at thread/qthread_unix.cpp:266
#5  0x00007fc9540c4971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007fc9565ca94d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc959b62820 (LWP 2411)):
[KCrash Handler]
#6  QMetaObject::cast (this=0x7fc957ef9de0, obj=0x100000001) at kernel/qmetaobject.cpp:266
#7  0x00007fc9579a924e in qobject_cast<QTreeModel*> (this=0xfdb840, item=0x9e05e0, expand=false) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:455
#8  treeModel (this=0xfdb840, item=0x9e05e0, expand=false) at ../../include/QtGui/private/../../../src/gui/itemviews/qtreewidget_p.h:222
#9  QTreeWidget::setItemExpanded (this=0xfdb840, item=0x9e05e0, expand=false) at itemviews/qtreewidget.cpp:3140
#10 0x00007fc958457064 in setExpanded (this=0x1025950) at /usr/include/qt4/QtGui/qtreewidget.h:409
#11 KMail::FolderView::restoreItemStates (this=0x1025950) at ../../kmail/folderview.cpp:389
#12 0x00007fc95845d8c7 in KMail::FolderView::reload (this=0x1025950, openFoldersForUpdate=false) at ../../kmail/folderview.cpp:671
#13 0x00007fc95869dc07 in KMMainWidget::readConfig (this=0xe65a20) at ../../kmail/kmmainwidget.cpp:593
#14 0x00007fc9586aed79 in KMMainWidget::KMMainWidget (this=0xe65a20, parent=<value optimized out>, aGUIClient=<value optimized out>, actionCollection=<value optimized out>, config=...) at ../../kmail/kmmainwidget.cpp:232
#15 0x00007fc9583ef153 in KMMainWin::KMMainWin (this=0xf28d20, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmail/kmmainwin.cpp:41
#16 0x00007fc9585c9fc7 in KMKernel::openReader (this=0x7fff66328550, onlyCheck=false) at ../../kmail/kmkernel.cpp:422
#17 0x00007fc9585d1468 in KMKernel::action (this=0x7fff66328550, mailto=<value optimized out>, check=true, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=...) at ../../kmail/kmkernel.cpp:1939
#18 0x00007fc9585d3c1c in KMKernel::handleCommandLine (this=<value optimized out>, noArgsOpensReader=<value optimized out>) at ../../kmail/kmkernel.cpp:368
#19 0x0000000000402612 in KMailApplication::newInstance (this=0x7fff663286c0) at ../../kmail/main.cpp:87
#20 0x00000000004031f4 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:146

Possible duplicates by query: bug 254782, bug 252865, bug 252425.

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-14 14:03:54 UTC
[Comment from a bug triager]
This issue is being tracked at bug 254781 / bug 184324. Merging.
There are some workarounds at bug 254781 comment 5 and bug 254781 comment 7
Thanks

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