Bug 250135 - Kontact Kmailpart crash right-clicking on new tab
Summary: Kontact Kmailpart crash right-clicking on new tab
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 2.0.90
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-04 05:36 UTC by chsu13
Modified: 2010-12-12 09:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (11.82 KB, text/plain)
2010-11-26 13:20 UTC, Gregor Petrin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chsu13 2010-09-04 05:36:16 UTC
Application: kontact (4.6 pre)
KDE Platform Version: 4.5.67 (4.6 >= 20100901) "release 2"
Qt Version: 4.7.0
Operating System: Linux 2.6.34-12-default i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
i created a new tab to look into sentmail-folder. Then i wanted to close that folder by rightclicking on it (expected option `close tab` in rightclick-menu). Kontact crashed.

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb0c30b70 (LWP 10968)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb43f9125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb620c24c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb5b38857 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb43f4b25 in start_thread () from /lib/libpthread.so.0
#5  0xb61fe46e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb3071930 (LWP 10966)):
[KCrash Handler]
#7  ref (this=0x0) at ../../src/corelib/arch/qatomic_i386.h:120
#8  QList (this=0x0) at ../../src/corelib/tools/qlist.h:118
#9  QItemSelection (this=0x0) at itemviews/qitemselectionmodel.h:208
#10 QItemSelectionModel::selection (this=0x0) at itemviews/qitemselectionmodel.cpp:1489
#11 0xb6acf7ac in QItemSelectionModel::selectedRows (this=0xa5a50d8, column=0) at itemviews/qitemselectionmodel.cpp:1433
#12 0xb48b60ca in Akonadi::StandardActionManager::Private::updateActions() () from /usr/lib/libakonadi-kde.so.4
#13 0xb48b7896 in Akonadi::StandardActionManager::Private::collectionSelectionChanged() () from /usr/lib/libakonadi-kde.so.4
#14 0xb48aa845 in Akonadi::StandardActionManager::qt_metacall (this=0x8adb758, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfa1d8c4)
    at /usr/src/debug/kdepimlibs-4.5.67svn1170578/build/akonadi/standardactionmanager.moc:134
#15 0xb6fac96d in QMetaObject::metacall (object=0x8adb758, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbfa1d8c4) at kernel/qmetaobject.cpp:237
#16 0xb6fbcb1c in QMetaObject::activate (sender=0x8731ad8, m=0xb6e30cac, local_signal_index=0, argv=0xbfa1d8c4) at kernel/qobject.cpp:3272
#17 0xb6ac7cad in QItemSelectionModel::selectionChanged (this=0x8731ad8, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#18 0xb6acda4c in QItemSelectionModel::emitSelectionChanged (this=0x8731ad8, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1581
#19 0xb6acee98 in QItemSelectionModel::select (this=0x8731ad8, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1088
#20 0xaf1ec51d in MessageList::Pane::Private::onCurrentTabChanged (this=0x8a5a518) at /usr/src/debug/kdepim-4.5.67svn1170578/messagelist/pane.cpp:377
#21 0xaf1ede0f in MessageList::Pane::qt_metacall (this=0x87b9820, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfa1db48)
    at /usr/src/debug/kdepim-4.5.67svn1170578/build/messagelist/pane.moc:113
#22 0xaf3a6e13 in CollectionPane::qt_metacall (this=0x87b9820, _c=QMetaObject::InvokeMetaMethod, _id=51, _a=0xbfa1db48) at /usr/src/debug/kdepim-4.5.67svn1170578/build/kmail/moc_collectionpane.cpp:66
#23 0xb6fac96d in QMetaObject::metacall (object=0x87b9820, cl=QMetaObject::InvokeMetaMethod, idx=51, argv=0xbfa1db48) at kernel/qmetaobject.cpp:237
#24 0xb6fbcb1c in QMetaObject::activate (sender=0x87b9820, m=0xb6e2aee0, local_signal_index=0, argv=0xbfa1db48) at kernel/qobject.cpp:3272
#25 0xb69a8aa5 in QTabWidget::currentChanged (this=0x87b9820, _t1=0) at .moc/release-shared/moc_qtabwidget.cpp:200
#26 0xb69a8bfd in QTabWidgetPrivate::_q_showTab (this=0x8a59638, index=0) at widgets/qtabwidget.cpp:735
#27 0xb69a8ed8 in QTabWidget::qt_metacall (this=0x87b9820, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfa1dd18) at .moc/release-shared/moc_qtabwidget.cpp:142
#28 0xaf1edc32 in MessageList::Pane::qt_metacall (this=0x87b9820, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0xbfa1dd18) at /usr/src/debug/kdepim-4.5.67svn1170578/build/messagelist/pane.moc:96
#29 0xaf3a6e13 in CollectionPane::qt_metacall (this=0x87b9820, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0xbfa1dd18) at /usr/src/debug/kdepim-4.5.67svn1170578/build/kmail/moc_collectionpane.cpp:66
#30 0xb6fac96d in QMetaObject::metacall (object=0x87b9820, cl=QMetaObject::InvokeMetaMethod, idx=36, argv=0xbfa1dd18) at kernel/qmetaobject.cpp:237
#31 0xb6fbcb1c in QMetaObject::activate (sender=0x87b3ab0, m=0xb6e2ad20, local_signal_index=0, argv=0xbfa1dd18) at kernel/qobject.cpp:3272
#32 0xb699c8d5 in QTabBar::currentChanged (this=0x87b3ab0, _t1=0) at .moc/release-shared/moc_qtabbar.cpp:201
#33 0xb69a05a9 in QTabBar::setCurrentIndex (this=0x87b3ab0, index=0) at widgets/qtabbar.cpp:1225
#34 0xb69a3655 in QTabBar::removeTab (this=0x87b3ab0, index=1) at widgets/qtabbar.cpp:936
#35 0xb69a7967 in QTabWidgetPrivate::_q_removeTab (this=0x8a59638, index=1) at widgets/qtabwidget.cpp:745
#36 0xb69a8e48 in QTabWidget::qt_metacall (this=0x87b9820, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbfa1df48) at .moc/release-shared/moc_qtabwidget.cpp:143
#37 0xaf1edc32 in MessageList::Pane::qt_metacall (this=0x87b9820, _c=QMetaObject::InvokeMetaMethod, _id=37, _a=0xbfa1df48) at /usr/src/debug/kdepim-4.5.67svn1170578/build/messagelist/pane.moc:96
#38 0xaf3a6e13 in CollectionPane::qt_metacall (this=0x87b9820, _c=QMetaObject::InvokeMetaMethod, _id=37, _a=0xbfa1df48) at /usr/src/debug/kdepim-4.5.67svn1170578/build/kmail/moc_collectionpane.cpp:66
#39 0xb6fac96d in QMetaObject::metacall (object=0x87b9820, cl=QMetaObject::InvokeMetaMethod, idx=37, argv=0xbfa1df48) at kernel/qmetaobject.cpp:237
#40 0xb6fbcb1c in QMetaObject::activate (sender=0x87b1d60, m=0xb6e38678, local_signal_index=1, argv=0xbfa1df48) at kernel/qobject.cpp:3272
#41 0xb6bf53f5 in QStackedWidget::widgetRemoved (this=0x87b1d60, _t1=1) at .moc/release-shared/moc_qstackedwidget.cpp:138
#42 0xb6bf5535 in QStackedWidget::qt_metacall (this=0x87b1d60, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfa1e058) at .moc/release-shared/moc_qstackedwidget.cpp:89
#43 0xb6fac96d in QMetaObject::metacall (object=0x87b1d60, cl=QMetaObject::InvokeMetaMethod, idx=28, argv=0xbfa1e058) at kernel/qmetaobject.cpp:237
#44 0xb6fbcb1c in QMetaObject::activate (sender=0x8a599c0, m=0xb6e34ed8, local_signal_index=0, argv=0xbfa1e058) at kernel/qobject.cpp:3272
#45 0xb6be98c5 in QStackedLayout::widgetRemoved (this=0x8a599c0, _t1=1) at .moc/release-shared/moc_qstackedlayout.cpp:140
#46 0xb6500349 in QStackedLayout::takeAt (this=0x8a599c0, index=1) at kernel/qstackedlayout.cpp:272
#47 0xb64f173d in removeWidgetRecursively (li=<value optimized out>, w=0xa6b4740) at kernel/qlayout.cpp:661
#48 0xb64c31b4 in QApplicationPrivate::notify_helper (this=0x80763b0, receiver=0x87b1d60, e=0xbfa1e4bc) at kernel/qapplication.cpp:4387
#49 0xb64cbed4 in QApplication::notify (this=0x87b1d60, receiver=0x87b1d60, e=0xbfa1e4bc) at kernel/qapplication.cpp:4361
#50 0xb7584891 in KApplication::notify (this=0xbfa20804, receiver=0x87b1d60, event=0xbfa1e4bc) at /usr/src/debug/kdelibs-4.5.67svn1170578/kdeui/kernel/kapplication.cpp:310
#51 0xb6fa612e in QCoreApplication::notifyInternal (this=0xbfa20804, receiver=0x87b1d60, event=0xbfa1e4bc) at kernel/qcoreapplication.cpp:732
#52 0xb6fb9fd3 in sendEvent (this=0x8ada648, o=0x0) at kernel/qcoreapplication.h:215
#53 QObjectPrivate::setParent_helper (this=0x8ada648, o=0x0) at kernel/qobject.cpp:1975
#54 0xb6fbecd0 in QObject::~QObject (this=0xa6b4740, __in_chrg=<value optimized out>) at kernel/qobject.cpp:953
#55 0xb6522b5c in QWidget::~QWidget (this=0xa6b4740, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1437
#56 0xaf1d4647 in MessageList::Core::Widget::~Widget (this=0xa6b4740, __in_chrg=<value optimized out>) at /usr/src/debug/kdepim-4.5.67svn1170578/messagelist/core/widgetbase.cpp:184
#57 0xaf1f43a0 in MessageList::Widget::~Widget (this=0xa6b4740, __in_chrg=<value optimized out>) at /usr/src/debug/kdepim-4.5.67svn1170578/messagelist/widget.cpp:87
#58 0xaf1f43e2 in MessageList::Widget::~Widget (this=0xa6b4740, __in_chrg=<value optimized out>) at /usr/src/debug/kdepim-4.5.67svn1170578/messagelist/widget.cpp:90
#59 0xaf1eae85 in MessageList::Pane::Private::onCloseTabClicked (this=0x8a5a518) at /usr/src/debug/kdepim-4.5.67svn1170578/messagelist/pane.cpp:364
#60 0xaf1eddf7 in MessageList::Pane::qt_metacall (this=0x87b9820, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfa1e788)
    at /usr/src/debug/kdepim-4.5.67svn1170578/build/messagelist/pane.moc:112
#61 0xaf3a6e13 in CollectionPane::qt_metacall (this=0x87b9820, _c=QMetaObject::InvokeMetaMethod, _id=50, _a=0xbfa1e788) at /usr/src/debug/kdepim-4.5.67svn1170578/build/kmail/moc_collectionpane.cpp:66
#62 0xb6fac96d in QMetaObject::metacall (object=0x87b9820, cl=QMetaObject::InvokeMetaMethod, idx=50, argv=0xbfa1e788) at kernel/qmetaobject.cpp:237
#63 0xb6fbcb1c in QMetaObject::activate (sender=0xa5e37d8, m=0xb6e23878, local_signal_index=1, argv=0xbfa1e788) at kernel/qobject.cpp:3272
#64 0xb64bc0cd in QAction::triggered (this=0xa5e37d8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#65 0xb64bc36b in QAction::activate (this=0xa5e37d8, event=QAction::Trigger) at kernel/qaction.cpp:1256
#66 0xb6974f55 in QMenuPrivate::activateCausedStack (this=0xa6cf878, causedStack=..., action=0xa5e37d8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#67 0xb697bb67 in QMenuPrivate::activateAction (this=0xa6cf878, action=0xa5e37d8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#68 0xb697ca35 in QMenu::mouseReleaseEvent (this=0xbfa1f838, e=0xbfa1eff4) at widgets/qmenu.cpp:2301
#69 0xb766cf8c in KMenu::mouseReleaseEvent (this=0xbfa1f838, e=0xbfa1eff4) at /usr/src/debug/kdelibs-4.5.67svn1170578/kdeui/widgets/kmenu.cpp:471
#70 0xb651e9d0 in QWidget::event (this=0xbfa1f838, event=0xbfa1eff4) at kernel/qwidget.cpp:8158
#71 0xb697cf5c in QMenu::event (this=0xbfa1f838, e=0xbfa1eff4) at widgets/qmenu.cpp:2410
#72 0xb64c31f4 in QApplicationPrivate::notify_helper (this=0x80763b0, receiver=0xbfa1f838, e=0xbfa1eff4) at kernel/qapplication.cpp:4396
#73 0xb64cc980 in QApplication::notify (this=0xbfa1ed0c, receiver=0xbfa1f838, e=0xbfa1eff4) at kernel/qapplication.cpp:3959
#74 0xb7584891 in KApplication::notify (this=0xbfa20804, receiver=0xbfa1f838, event=0xbfa1eff4) at /usr/src/debug/kdelibs-4.5.67svn1170578/kdeui/kernel/kapplication.cpp:310
#75 0xb6fa612e in QCoreApplication::notifyInternal (this=0xbfa20804, receiver=0xbfa1f838, event=0xbfa1eff4) at kernel/qcoreapplication.cpp:732
#76 0xb64c429c in sendSpontaneousEvent (receiver=0xbfa1f838, event=0xbfa1eff4, alienWidget=0x0, nativeWidget=0xbfa1f838, buttonDown=0xb6e3f2a0, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#77 QApplicationPrivate::sendMouseEvent (receiver=0xbfa1f838, event=0xbfa1eff4, alienWidget=0x0, nativeWidget=0xbfa1f838, buttonDown=0xb6e3f2a0, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3056
#78 0xb654f186 in QETWidget::translateMouseEvent (this=0xbfa1f838, event=0xbfa1f50c) at kernel/qapplication_x11.cpp:4337
#79 0xb654e16e in QApplication::x11ProcessEvent (this=0xbfa20804, event=0xbfa1f50c) at kernel/qapplication_x11.cpp:3414
#80 0xb6578410 in x11EventSourceDispatch (s=0x80780f0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#81 0xb4195b49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#82 0xb4196350 in ?? () from /usr/lib/libglib-2.0.so.0
#83 0xb419660e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#84 0xb6fd485b in QEventDispatcherGlib::processEvents (this=0x8073088, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#85 0xb657800a in QGuiEventDispatcherGlib::processEvents (this=0x8073088, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#86 0xb6fa540d in QEventLoop::processEvents (this=0xbfa1f7c0, flags=...) at kernel/qeventloop.cpp:149
#87 0xb6fa5639 in QEventLoop::exec (this=0xbfa1f7c0, flags=...) at kernel/qeventloop.cpp:201
#88 0xb6978e67 in QMenu::exec (this=0xbfa1f838, p=..., action=0x0) at widgets/qmenu.cpp:2054
#89 0xaf1ec8df in MessageList::Pane::Private::onTabContextMenuRequest (this=0x8a5a518, pos=...) at /usr/src/debug/kdepim-4.5.67svn1170578/messagelist/pane.cpp:407
#90 0xaf1edc96 in MessageList::Pane::qt_metacall (this=0x87b9820, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfa1f9e8)
    at /usr/src/debug/kdepim-4.5.67svn1170578/build/messagelist/pane.moc:114
#91 0xaf3a6e13 in CollectionPane::qt_metacall (this=0x87b9820, _c=QMetaObject::InvokeMetaMethod, _id=52, _a=0xbfa1f9e8) at /usr/src/debug/kdepim-4.5.67svn1170578/build/kmail/moc_collectionpane.cpp:66
#92 0xb6fac96d in QMetaObject::metacall (object=0x87b9820, cl=QMetaObject::InvokeMetaMethod, idx=52, argv=0xbfa1f9e8) at kernel/qmetaobject.cpp:237
#93 0xb6fbcb1c in QMetaObject::activate (sender=0x87b9820, m=0xb6e24808, local_signal_index=0, argv=0xbfa1f9e8) at kernel/qobject.cpp:3272
#94 0xb6513be5 in QWidget::customContextMenuRequested (this=0x87b9820, _t1=...) at .moc/release-shared/moc_qwidget.cpp:360
#95 0xb651f75a in QWidget::event (this=0x87b9820, event=0xbfa1fd44) at kernel/qwidget.cpp:8328
#96 0xb69a7005 in QTabWidget::event (this=0x87b9820, ev=0xbfa1fd44) at widgets/qtabwidget.cpp:1014
#97 0xb64c31f4 in QApplicationPrivate::notify_helper (this=0x80763b0, receiver=0x87b9820, e=0xbfa1fd44) at kernel/qapplication.cpp:4396
#98 0xb64cc1d8 in QApplication::notify (this=0x87b9820, receiver=0x87b3ab0, e=0xbfa1ffbc) at kernel/qapplication.cpp:4038
#99 0xb7584891 in KApplication::notify (this=0xbfa20804, receiver=0x87b3ab0, event=0xbfa1ffbc) at /usr/src/debug/kdelibs-4.5.67svn1170578/kdeui/kernel/kapplication.cpp:310
#100 0xb6fa612e in QCoreApplication::notifyInternal (this=0xbfa20804, receiver=0x87b3ab0, event=0xbfa1ffbc) at kernel/qcoreapplication.cpp:732
#101 0xb654f029 in sendSpontaneousEvent (this=0x8198390, event=0xbfa204ac) at ../../src/corelib/kernel/qcoreapplication.h:218
#102 QETWidget::translateMouseEvent (this=0x8198390, event=0xbfa204ac) at kernel/qapplication_x11.cpp:4408
#103 0xb654e16e in QApplication::x11ProcessEvent (this=0xbfa20804, event=0xbfa204ac) at kernel/qapplication_x11.cpp:3414
#104 0xb6578410 in x11EventSourceDispatch (s=0x80780f0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#105 0xb4195b49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#106 0xb4196350 in ?? () from /usr/lib/libglib-2.0.so.0
#107 0xb419660e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#108 0xb6fd485b in QEventDispatcherGlib::processEvents (this=0x8073088, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#109 0xb657800a in QGuiEventDispatcherGlib::processEvents (this=0x8073088, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#110 0xb6fa540d in QEventLoop::processEvents (this=0xbfa20764, flags=...) at kernel/qeventloop.cpp:149
#111 0xb6fa5639 in QEventLoop::exec (this=0xbfa20764, flags=...) at kernel/qeventloop.cpp:201
#112 0xb6faa090 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#113 0xb64c0f24 in QApplication::exec () at kernel/qapplication.cpp:3672
#114 0x0804b7b7 in main (argc=0, argv=0xb70e13e0) at /usr/src/debug/kdepim-4.5.67svn1170578/kontact/src/main.cpp:218

Possible duplicates by query: bug 241130, bug 236958, bug 235179, bug 228584, bug 225713.

Reported using DrKonqi
Comment 1 Gregor Petrin 2010-11-26 13:20:40 UTC
Created attachment 53760 [details]
New crash information added by DrKonqi

kmail (2.0.89) on KDE Platform 4.5.80 (4.6 Beta1) using Qt 4.7.1

- What I was doing when the application crashed:

I opened a folder in another tab and then closed that tab.

-- Backtrace (Reduced):
#7  ref (this=0x3c) at ../../src/corelib/arch/qatomic_i386.h:120
#8  QList (this=0x3c) at ../../src/corelib/tools/qlist.h:118
#9  QItemSelection (this=0x3c) at itemviews/qitemselectionmodel.h:208
#10 QItemSelectionModel::selection (this=0x3c) at itemviews/qitemselectionmodel.cpp:1489
#11 0xb690365c in QItemSelectionModel::selectedRows (this=0x8c0d440, column=0) at itemviews/qitemselectionmodel.cpp:1433
Comment 2 Tobias Koenig 2010-12-12 00:02:35 UTC
Hej,

just fixed this crash a couple of minutes ago (r1205634).
Thanks for reporting!

Ciao,
Tobias
Comment 3 Gregor Petrin 2010-12-12 09:50:45 UTC
No, thank YOU for fixing it :)