Bug 259823 - program go down when modyfy email
Summary: program go down when modyfy email
Status: RESOLVED DUPLICATE of bug 254781
Alias: None
Product: kmail
Classification: Unmaintained
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 11:18 UTC by Steen Jespersgaard
Modified: 2010-12-14 14:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steen Jespersgaard 2010-12-14 11:18:05 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:
- What I was doing when the application crashed:

Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f3d3197a820 (LWP 3663))]

Thread 3 (Thread 0x7f3d198f8700 (LWP 3664)):
#0  0x00007f3d2e3d6203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3d25491009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f3d254917b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007f3d1d9010f4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f3d254b67e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f3d2bedc971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f3d2e3e292d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3d057f8700 (LWP 3666)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f3d2ec10da2 in wait (this=<value optimized out>, mutex=0x1935c70, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1935c70, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f3d2ec05da2 in QThreadPoolThread::run (this=0x1935e20) at concurrent/qthreadpool.cpp:140
#4  0x00007f3d2ec1027e in QThreadPrivate::start (arg=0x1935e20) at thread/qthread_unix.cpp:266
#5  0x00007f3d2bedc971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f3d2e3e292d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3d3197a820 (LWP 3663)):
[KCrash Handler]
#6  qobject_cast<QTreeModel*> (this=0x7f3d2f0357c0, item=0x18bfba0, expand=false) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:455
#7  treeModel (this=0x7f3d2f0357c0, item=0x18bfba0, expand=false) at ../../include/QtGui/private/../../../src/gui/itemviews/qtreewidget_p.h:222
#8  QTreeWidget::setItemExpanded (this=0x7f3d2f0357c0, item=0x18bfba0, expand=false) at itemviews/qtreewidget.cpp:3140
#9  0x00007f3d3026f064 in setExpanded (this=0x1edf8a0) at /usr/include/qt4/QtGui/qtreewidget.h:409
#10 KMail::FolderView::restoreItemStates (this=0x1edf8a0) at ../../kmail/folderview.cpp:389
#11 0x00007f3d302758c7 in KMail::FolderView::reload (this=0x1edf8a0, openFoldersForUpdate=false) at ../../kmail/folderview.cpp:671
#12 0x00007f3d304b5c07 in KMMainWidget::readConfig (this=0x1ec0c60) at ../../kmail/kmmainwidget.cpp:593
#13 0x00007f3d304c6d79 in KMMainWidget::KMMainWidget (this=0x1ec0c60, parent=<value optimized out>, aGUIClient=<value optimized out>, actionCollection=<value optimized out>, config=...) at ../../kmail/kmmainwidget.cpp:232
#14 0x00007f3d30207153 in KMMainWin::KMMainWin (this=0x1d967b0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmail/kmmainwin.cpp:41
#15 0x00007f3d303e1fc7 in KMKernel::openReader (this=0x7fff9bf1b670, onlyCheck=false) at ../../kmail/kmkernel.cpp:422
#16 0x00007f3d303e9468 in KMKernel::action (this=0x7fff9bf1b670, mailto=<value optimized out>, check=160, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=...) at ../../kmail/kmkernel.cpp:1939
#17 0x00007f3d303ebc1c in KMKernel::handleCommandLine (this=<value optimized out>, noArgsOpensReader=<value optimized out>) at ../../kmail/kmkernel.cpp:368
#18 0x0000000000402612 in KMailApplication::newInstance (this=0x7fff9bf1b7e0) at ../../kmail/main.cpp:87
#19 0x00007f3d3139e976 in KUniqueApplicationAdaptor::newInstance (this=0x181abb0, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:440
#20 0x00007f3d3139efb6 in KUniqueApplicationAdaptor::qt_metacall (this=0x181abb0, _c=QMetaObject::InvokeMetaMethod, _id=34683552, _a=0x7fff9bf1a870) at ./kuniqueapplication_p.moc:81
#21 0x00007f3d2c1150ee in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>) at qdbusintegrator.cpp:919
#22 0x00007f3d2c11636f in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x181abb0, flags=337, msg=...) at qdbusintegrator.cpp:822
#23 0x00007f3d2c116e65 in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1379
#24 0x00007f3d2c117108 in QDBusActivateObjectEvent::placeMetaCall (this=0x1cba3c0) at qdbusintegrator.cpp:1493
#25 0x00007f3d2ed15bde in QObject::event (this=0x7fff9bf1b7e0, e=0x7f3d2f0357c0) at kernel/qobject.cpp:1219
#26 0x00007f3d2f1f2186 in QApplication::event (this=0x7fff9bf1b7e0, e=0x1cba3c0) at kernel/qapplication.cpp:2439
#27 0x00007f3d2f1eefdc in QApplicationPrivate::notify_helper (this=0x19068e0, receiver=0x7fff9bf1b7e0, e=0x1cba3c0) at kernel/qapplication.cpp:4396
#28 0x00007f3d2f1f4aed in QApplication::notify (this=0x7fff9bf1b7e0, receiver=0x7fff9bf1b7e0, e=0x1cba3c0) at kernel/qapplication.cpp:4277
#29 0x00007f3d31397156 in KApplication::notify (this=0x7fff9bf1b7e0, receiver=0x7fff9bf1b7e0, event=0x1cba3c0) at ../../kdeui/kernel/kapplication.cpp:310
#30 0x00007f3d2ed03cdc in QCoreApplication::notifyInternal (this=0x7fff9bf1b7e0, receiver=0x7fff9bf1b7e0, event=0x1cba3c0) at kernel/qcoreapplication.cpp:732
#31 0x00007f3d2ed06c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x17d2150) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x17d2150) at kernel/qcoreapplication.cpp:1373
#33 0x00007f3d2ed30653 in sendPostedEvents (s=0x190a060) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=0x190a060) at kernel/qeventdispatcher_glib.cpp:277
#35 0x00007f3d2548d342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x00007f3d254912a8 in ?? () from /lib/libglib-2.0.so.0
#37 0x00007f3d2549145c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x00007f3d2ed30193 in QEventDispatcherGlib::processEvents (this=0x17d18a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#39 0x00007f3d2f2a1a4e in QGuiEventDispatcherGlib::processEvents (this=0x7f3d2f0357c0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f3d2ed02a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#41 0x00007f3d2ed02dec in QEventLoop::exec (this=0x7fff9bf1b610, flags=) at kernel/qeventloop.cpp:201
#42 0x00007f3d2ed06ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#43 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 0x7f3d3197a820 (LWP 3663))]

Thread 3 (Thread 0x7f3d198f8700 (LWP 3664)):
#0  0x00007f3d2e3d6203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3d25491009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f3d254917b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007f3d1d9010f4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f3d254b67e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f3d2bedc971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f3d2e3e292d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3d057f8700 (LWP 3666)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f3d2ec10da2 in wait (this=<value optimized out>, mutex=0x1935c70, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1935c70, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f3d2ec05da2 in QThreadPoolThread::run (this=0x1935e20) at concurrent/qthreadpool.cpp:140
#4  0x00007f3d2ec1027e in QThreadPrivate::start (arg=0x1935e20) at thread/qthread_unix.cpp:266
#5  0x00007f3d2bedc971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f3d2e3e292d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3d3197a820 (LWP 3663)):
[KCrash Handler]
#6  qobject_cast<QTreeModel*> (this=0x7f3d2f0357c0, item=0x18bfba0, expand=false) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:455
#7  treeModel (this=0x7f3d2f0357c0, item=0x18bfba0, expand=false) at ../../include/QtGui/private/../../../src/gui/itemviews/qtreewidget_p.h:222
#8  QTreeWidget::setItemExpanded (this=0x7f3d2f0357c0, item=0x18bfba0, expand=false) at itemviews/qtreewidget.cpp:3140
#9  0x00007f3d3026f064 in setExpanded (this=0x1edf8a0) at /usr/include/qt4/QtGui/qtreewidget.h:409
#10 KMail::FolderView::restoreItemStates (this=0x1edf8a0) at ../../kmail/folderview.cpp:389
#11 0x00007f3d302758c7 in KMail::FolderView::reload (this=0x1edf8a0, openFoldersForUpdate=false) at ../../kmail/folderview.cpp:671
#12 0x00007f3d304b5c07 in KMMainWidget::readConfig (this=0x1ec0c60) at ../../kmail/kmmainwidget.cpp:593
#13 0x00007f3d304c6d79 in KMMainWidget::KMMainWidget (this=0x1ec0c60, parent=<value optimized out>, aGUIClient=<value optimized out>, actionCollection=<value optimized out>, config=...) at ../../kmail/kmmainwidget.cpp:232
#14 0x00007f3d30207153 in KMMainWin::KMMainWin (this=0x1d967b0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmail/kmmainwin.cpp:41
#15 0x00007f3d303e1fc7 in KMKernel::openReader (this=0x7fff9bf1b670, onlyCheck=false) at ../../kmail/kmkernel.cpp:422
#16 0x00007f3d303e9468 in KMKernel::action (this=0x7fff9bf1b670, mailto=<value optimized out>, check=160, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=...) at ../../kmail/kmkernel.cpp:1939
#17 0x00007f3d303ebc1c in KMKernel::handleCommandLine (this=<value optimized out>, noArgsOpensReader=<value optimized out>) at ../../kmail/kmkernel.cpp:368
#18 0x0000000000402612 in KMailApplication::newInstance (this=0x7fff9bf1b7e0) at ../../kmail/main.cpp:87
#19 0x00007f3d3139e976 in KUniqueApplicationAdaptor::newInstance (this=0x181abb0, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:440
#20 0x00007f3d3139efb6 in KUniqueApplicationAdaptor::qt_metacall (this=0x181abb0, _c=QMetaObject::InvokeMetaMethod, _id=34683552, _a=0x7fff9bf1a870) at ./kuniqueapplication_p.moc:81
#21 0x00007f3d2c1150ee in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>) at qdbusintegrator.cpp:919
#22 0x00007f3d2c11636f in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x181abb0, flags=337, msg=...) at qdbusintegrator.cpp:822
#23 0x00007f3d2c116e65 in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1379
#24 0x00007f3d2c117108 in QDBusActivateObjectEvent::placeMetaCall (this=0x1cba3c0) at qdbusintegrator.cpp:1493
#25 0x00007f3d2ed15bde in QObject::event (this=0x7fff9bf1b7e0, e=0x7f3d2f0357c0) at kernel/qobject.cpp:1219
#26 0x00007f3d2f1f2186 in QApplication::event (this=0x7fff9bf1b7e0, e=0x1cba3c0) at kernel/qapplication.cpp:2439
#27 0x00007f3d2f1eefdc in QApplicationPrivate::notify_helper (this=0x19068e0, receiver=0x7fff9bf1b7e0, e=0x1cba3c0) at kernel/qapplication.cpp:4396
#28 0x00007f3d2f1f4aed in QApplication::notify (this=0x7fff9bf1b7e0, receiver=0x7fff9bf1b7e0, e=0x1cba3c0) at kernel/qapplication.cpp:4277
#29 0x00007f3d31397156 in KApplication::notify (this=0x7fff9bf1b7e0, receiver=0x7fff9bf1b7e0, event=0x1cba3c0) at ../../kdeui/kernel/kapplication.cpp:310
#30 0x00007f3d2ed03cdc in QCoreApplication::notifyInternal (this=0x7fff9bf1b7e0, receiver=0x7fff9bf1b7e0, event=0x1cba3c0) at kernel/qcoreapplication.cpp:732
#31 0x00007f3d2ed06c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x17d2150) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x17d2150) at kernel/qcoreapplication.cpp:1373
#33 0x00007f3d2ed30653 in sendPostedEvents (s=0x190a060) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=0x190a060) at kernel/qeventdispatcher_glib.cpp:277
#35 0x00007f3d2548d342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x00007f3d254912a8 in ?? () from /lib/libglib-2.0.so.0
#37 0x00007f3d2549145c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x00007f3d2ed30193 in QEventDispatcherGlib::processEvents (this=0x17d18a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#39 0x00007f3d2f2a1a4e in QGuiEventDispatcherGlib::processEvents (this=0x7f3d2f0357c0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f3d2ed02a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#41 0x00007f3d2ed02dec in QEventLoop::exec (this=0x7fff9bf1b610, flags=) at kernel/qeventloop.cpp:201
#42 0x00007f3d2ed06ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#43 0x0000000000403212 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

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

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-14 14:03:59 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 ***