Bug 281936 - kontact crashes when switching to kmail
Summary: kontact crashes when switching to kmail
Status: RESOLVED DUPLICATE of bug 281878
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.7.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-13 12:41 UTC by Wolfgang Rohdewald
Modified: 2011-10-21 12:01 UTC (History)
1 user (show)

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


Attachments
New crash information added by DrKonqi (16.09 KB, text/plain)
2011-10-21 12:01 UTC, bruceM
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Rohdewald 2011-09-13 12:41:39 UTC
Application: kontact (4.7.1)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-11-generic x86_64
Distribution: Ubuntu oneiric (development branch)

-- Information about the crash:
- What I was doing when the application crashed
kontact starts with akregator
switch to kmail with CTRL-2

before you mark this  bugreport as a duplicate please note that all those existing bug reports are presumably fixed with qt4.7.4 - but I do have qt4.7.4 installed (kubuntu 11.10 beta1)

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f753031e7a0 (LWP 26771))]

Thread 4 (Thread 0x7f75166c6700 (LWP 26772)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f752cb76d2c in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f752d52c220) at wtf/FastMalloc.cpp:2495
#2  0x00007f752cb76e59 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007f7527f77edc in start_thread (arg=0x7f75166c6700) at pthread_create.c:304
#4  0x00007f752d88389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f7515dad700 (LWP 26773)):
#0  0x00007f752d877773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f75274aa078 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f75274aa539 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f752ecbef3e in QEventDispatcherGlib::processEvents (this=0x16e1d00, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f752ec92cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f752ec92ef7 in QEventLoop::exec (this=0x7f7515dacde0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f752ebaa27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f752ebacd05 in QThreadPrivate::start (arg=0x16e06d0) at thread/qthread_unix.cpp:331
#8  0x00007f7527f77edc in start_thread (arg=0x7f7515dad700) at pthread_create.c:304
#9  0x00007f752d88389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f74bd087700 (LWP 26783)):
#0  0x00007f752d877773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f75274aa078 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f75274aa539 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f752ecbef3e in QEventDispatcherGlib::processEvents (this=0x6dc5b40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f752ec92cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f752ec92ef7 in QEventLoop::exec (this=0x7f74bd086db0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f752ebaa27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f752ec75cbf in QInotifyFileSystemWatcherEngine::run (this=0x6dd5040) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f752ebacd05 in QThreadPrivate::start (arg=0x6dd5040) at thread/qthread_unix.cpp:331
#9  0x00007f7527f77edc in start_thread (arg=0x7f74bd087700) at pthread_create.c:304
#10 0x00007f752d88389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f753031e7a0 (LWP 26771)):
[KCrash Handler]
#6  QModelIndex (other=..., this=0x7fff3dd3b6a0) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x2183f80, child=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1657
#8  0x00007f752e58abeb in parent (this=0x2a43d70) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#9  QTreeView::indexRowSizeHint (this=0x214ade0, index=...) at itemviews/qtreeview.cpp:2759
#10 0x00007f752e58e6e9 in itemHeight (item=272, this=0x214eba0) at itemviews/qtreeview.cpp:3232
#11 QTreeViewPrivate::itemHeight (this=0x214eba0, item=<optimized out>) at itemviews/qtreeview.cpp:3221
#12 0x00007f752e58e983 in QTreeViewPrivate::updateScrollBars (this=0x214eba0) at itemviews/qtreeview.cpp:3457
#13 0x00007f752e58ed5f in QTreeView::updateGeometries (this=0x214ade0) at itemviews/qtreeview.cpp:2686
#14 0x00007f752e094c30 in QWidget::event (this=0x214ade0, event=0x7fff3dd3c420) at kernel/qwidget.cpp:8449
#15 0x00007f752e43d026 in QFrame::event (this=0x214ade0, e=0x7fff3dd3c420) at widgets/qframe.cpp:557
#16 0x00007f752e54dd1b in QAbstractItemView::viewportEvent (this=0x214ade0, event=0x7fff3dd3c420) at itemviews/qabstractitemview.cpp:1628
#17 0x00007f752e5928b5 in QTreeView::viewportEvent (this=0x214ade0, event=0x7fff3dd3c420) at itemviews/qtreeview.cpp:1256
#18 0x00007f752ec93c88 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x21503e0, event=0x7fff3dd3c420) at kernel/qcoreapplication.cpp:902
#19 0x00007f752e04439f in notify_helper (e=0x7fff3dd3c420, receiver=0x21503e0, this=0x157ed10) at kernel/qapplication.cpp:4482
#20 QApplicationPrivate::notify_helper (this=0x157ed10, receiver=0x21503e0, e=0x7fff3dd3c420) at kernel/qapplication.cpp:4458
#21 0x00007f752e049241 in QApplication::notify (this=0x7fff3dd3ee30, receiver=0x21503e0, e=0x7fff3dd3c420) at kernel/qapplication.cpp:4365
#22 0x00007f752f6c9216 in KApplication::notify (this=0x7fff3dd3ee30, receiver=0x21503e0, event=0x7fff3dd3c420) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007f752ec93afc in QCoreApplication::notifyInternal (this=0x7fff3dd3ee30, receiver=0x21503e0, event=0x7fff3dd3c420) at kernel/qcoreapplication.cpp:787
#24 0x00007f752e0908bf in sendEvent (event=0x7fff3dd3c420, receiver=0x21503e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x214cf70, recursive=false, disableUpdates=<optimized out>) at kernel/qwidget.cpp:7365
#26 0x00007f752e098631 in QWidgetPrivate::show_helper (this=<optimized out>) at kernel/qwidget.cpp:7416
#27 0x00007f752e098a52 in QWidget::setVisible (this=0x21503e0, visible=<optimized out>) at kernel/qwidget.cpp:7697
#28 0x00007f752e0985c6 in show (this=0x21503e0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#29 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7785
#30 0x00007f752e09864d in QWidgetPrivate::show_helper (this=<optimized out>) at kernel/qwidget.cpp:7422
#31 0x00007f752e098a52 in QWidget::setVisible (this=0x214ade0, visible=<optimized out>) at kernel/qwidget.cpp:7697
#32 0x00007f752e0985c6 in show (this=0x214ade0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#33 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7785
#34 0x00007f752e09864d in QWidgetPrivate::show_helper (this=<optimized out>) at kernel/qwidget.cpp:7422
#35 0x00007f752e098a52 in QWidget::setVisible (this=0x2163a30, visible=<optimized out>) at kernel/qwidget.cpp:7697
#36 0x00007f752e0985c6 in show (this=0x2163a30) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#37 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7785
#38 0x00007f752e09864d in QWidgetPrivate::show_helper (this=<optimized out>) at kernel/qwidget.cpp:7422
#39 0x00007f752e098a52 in QWidget::setVisible (this=0x2243ac0, visible=<optimized out>) at kernel/qwidget.cpp:7697
#40 0x00007f752e0985c6 in show (this=0x2243ac0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#41 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7785
#42 0x00007f752e09864d in QWidgetPrivate::show_helper (this=<optimized out>) at kernel/qwidget.cpp:7422
#43 0x00007f752e098a52 in QWidget::setVisible (this=0x1b909f0, visible=<optimized out>) at kernel/qwidget.cpp:7697
#44 0x00007f752e0985c6 in show (this=0x1b909f0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#45 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7785
#46 0x00007f752e09864d in QWidgetPrivate::show_helper (this=<optimized out>) at kernel/qwidget.cpp:7422
#47 0x00007f752e098a52 in QWidget::setVisible (this=0x21698f0, visible=<optimized out>) at kernel/qwidget.cpp:7697
#48 0x00007f752e0985c6 in show (this=0x21698f0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#49 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7785
#50 0x00007f752e09864d in QWidgetPrivate::show_helper (this=<optimized out>) at kernel/qwidget.cpp:7422
#51 0x00007f752e098a52 in QWidget::setVisible (this=0x2148fa0, visible=<optimized out>) at kernel/qwidget.cpp:7697
#52 0x00007f752e0798e9 in show (this=0x2148fa0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#53 QStackedLayout::setCurrentIndex (this=0x16f06e0, index=1) at kernel/qstackedlayout.cpp:311
#54 0x00007f752ff44534 in Kontact::MainWindow::selectPlugin(KontactInterface::Plugin*) () from /usr/lib/libkontactprivate.so.4
#55 0x00007f752ff4402a in Kontact::MainWindow::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkontactprivate.so.4
#56 0x00007f752eca6eba in QMetaObject::activate (sender=0x16c4160, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff3dd3d280) at kernel/qobject.cpp:3278
#57 0x00007f752ff46eaf in ?? () from /usr/lib/libkontactprivate.so.4
#58 0x00007f752ff46f00 in ?? () from /usr/lib/libkontactprivate.so.4
#59 0x00007f752ff46fa8 in ?? () from /usr/lib/libkontactprivate.so.4
#60 0x00007f752eca6eba in QMetaObject::activate (sender=0x16e7ab0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff3dd3d3c0) at kernel/qobject.cpp:3278
#61 0x00007f752ff4783f in ?? () from /usr/lib/libkontactprivate.so.4
#62 0x00007f752ff478d0 in ?? () from /usr/lib/libkontactprivate.so.4
#63 0x00007f752ff47981 in ?? () from /usr/lib/libkontactprivate.so.4
#64 0x00007f752eca6eba in QMetaObject::activate (sender=0x16de9c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff3dd3d510) at kernel/qobject.cpp:3278
#65 0x00007f752e5a2a4a in QItemSelectionModel::currentChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#66 0x00007f752e5a2b40 in QItemSelectionModel::setCurrentIndex (this=0x16de9c0, index=..., command=<optimized out>) at itemviews/qitemselectionmodel.cpp:1169
#67 0x00007f752e550784 in QAbstractItemView::mousePressEvent (this=0x16e7ab0, event=<optimized out>) at itemviews/qabstractitemview.cpp:1666
#68 0x00007f752e094f29 in QWidget::event (this=0x16e7ab0, event=0x7fff3dd3e1d0) at kernel/qwidget.cpp:8291
#69 0x00007f752e43d026 in QFrame::event (this=0x16e7ab0, e=0x7fff3dd3e1d0) at widgets/qframe.cpp:557
#70 0x00007f752e54dd1b in QAbstractItemView::viewportEvent (this=0x16e7ab0, event=0x7fff3dd3e1d0) at itemviews/qabstractitemview.cpp:1628
#71 0x00007f752ec93c88 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x16e93b0, event=0x7fff3dd3e1d0) at kernel/qcoreapplication.cpp:902
#72 0x00007f752e04439f in notify_helper (e=0x7fff3dd3e1d0, receiver=0x16e93b0, this=0x157ed10) at kernel/qapplication.cpp:4482
#73 QApplicationPrivate::notify_helper (this=0x157ed10, receiver=0x16e93b0, e=0x7fff3dd3e1d0) at kernel/qapplication.cpp:4458
#74 0x00007f752e049c1b in QApplication::notify (this=<optimized out>, receiver=0x16e93b0, e=0x7fff3dd3e1d0) at kernel/qapplication.cpp:4047
#75 0x00007f752f6c9216 in KApplication::notify (this=0x7fff3dd3ee30, receiver=0x16e93b0, event=0x7fff3dd3e1d0) at ../../kdeui/kernel/kapplication.cpp:311
#76 0x00007f752ec93afc in QCoreApplication::notifyInternal (this=0x7fff3dd3ee30, receiver=0x16e93b0, event=0x7fff3dd3e1d0) at kernel/qcoreapplication.cpp:787
#77 0x00007f752e0453a2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#78 QApplicationPrivate::sendMouseEvent (receiver=0x16e93b0, event=0x7fff3dd3e1d0, alienWidget=0x16e93b0, nativeWidget=0x16c4160, buttonDown=0x16e93b0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#79 0x00007f752e0c4555 in QETWidget::translateMouseEvent (this=0x16c4160, event=<optimized out>) at kernel/qapplication_x11.cpp:4562
#80 0x00007f752e0c34ce in QApplication::x11ProcessEvent (this=0x7fff3dd3ee30, event=0x7fff3dd3e9f0) at kernel/qapplication_x11.cpp:3684
#81 0x00007f752e0ec002 in x11EventSourceDispatch (s=0x1585ac0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#82 0x00007f75274a9b6d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#83 0x00007f75274aa368 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#84 0x00007f75274aa539 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#85 0x00007f752ecbeed6 in QEventDispatcherGlib::processEvents (this=0x154ffd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#86 0x00007f752e0ebc6e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#87 0x00007f752ec92cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#88 0x00007f752ec92ef7 in QEventLoop::exec (this=0x7fff3dd3edc0, flags=...) at kernel/qeventloop.cpp:201
#89 0x00007f752ec97789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#90 0x0000000000403629 in ?? ()
#91 0x00007f752d7c330d in __libc_start_main (main=0x402b40, argc=2, ubp_av=0x7fff3dd3f458, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff3dd3f448) at libc-start.c:226
#92 0x0000000000403b71 in _start ()

Possible duplicates by query: bug 281878, bug 280403, bug 280385, bug 279717, bug 277382.

Reported using DrKonqi
Comment 1 Wolfgang Rohdewald 2011-09-13 12:48:27 UTC
after having edited kontactrc:

ActivePlugin=kontact_kmailplugin

I cannot reproduce this bug anymore. Not even when I quit kontact in akregator mode and then try again.

and - this is a duplicate after all.

*** This bug has been marked as a duplicate of bug 281878 ***
Comment 2 bruceM 2011-10-21 12:01:58 UTC
Created attachment 64756 [details]
New crash information added by DrKonqi

kontact (4.7.2) on KDE Platform 4.7.1 (4.7.1) using Qt 4.7.4

- What I was doing when the application crashed:

Switching from Akgregator to KMail2: Akgregator gave me a suggestion to restore last session, after clicking that, Kontact crashes as I click to switch to KMail2

-- Backtrace (Reduced):
#7  QModelIndex (other=<optimized out>, this=0xbffbea10) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#8  QSortFilterProxyModel::parent (this=0xa4e5f68, child=...) at itemviews/qsortfilterproxymodel.cpp:1657
#9  0x01649d45 in parent (this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#10 QTreeView::indexRowSizeHint (this=0xa2b4e78, index=...) at itemviews/qtreeview.cpp:2759
#11 0x0164dd37 in itemHeight (item=82, this=0xa4ed678) at itemviews/qtreeview.cpp:3232