Bug 92479 - Kontact crashes after making changes in the toolbar
Summary: Kontact crashes after making changes in the toolbar
Status: RESOLVED WORKSFORME
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 1.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
: 140153 183495 194202 204133 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-31 19:59 UTC by André Schubert
Modified: 2011-09-24 21:34 UTC (History)
5 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 André Schubert 2004-10-31 19:59:48 UTC
Version:           Version 1.0 (using KDE KDE 3.3.1)
Installed from:    SuSE RPMs
OS:                Linux

I have found out, that kontact crashes after making changes to the toolbar.

I added the spamfilter buttons to the toolbar allthough they were still there. After Rebooting Suse 9.2. I opened kontact and tried to change to the calendar. The result was that kontact chrashed.
The same happened when I tried to change to the other modules except kmail.

The problem only disappears if you delete the double spamfilter buttons from the toolbar.
Comment 1 Tobias Koenig 2004-11-02 10:47:06 UTC
Hi,

this has been fixed a week ago.
If the crashes still appear with the current version from CVS HEAD,
remove your kmailrc.

Ciao,
Tobias
Comment 2 Graham P Davis 2006-12-27 20:35:08 UTC
It's back!

After I switched from SUSE 10.0 to 10.1, I saw the spam-filter buttons no longer had their icons. I tried to edit the tool-bar but the commands weren't listed. I tried to re-add them - with no visible success - then Kontact crashed. It did this whenever I exited kmail from within kontact. I withdrew the changes and put up with the dodgy icons.

After updating from 10.1 to 10.2, I tried again. Foolish, I know, but I get a little adventurous at times. Editing the tool-bar didn't work, Kontact crashed, but now it crashes as soon as it is started.

I've tried starting after removing kontactrc, kmailrc, etc., and made some progress but it doesn't last long. Frustrating after having added back all my accounts and filters after it seemed to be working. Than I clicked on "Journal" and - bang! 

Graham Davis
Comment 3 Bram Schoenmakers 2007-02-03 17:19:27 UTC
Reopening due to bug 140153.
Comment 4 Bram Schoenmakers 2007-02-03 17:19:41 UTC
*** Bug 140153 has been marked as a duplicate of this bug. ***
Comment 5 George Kiagiadakis 2008-09-28 21:37:11 UTC
Heh, that bug is still there...

Steps to reproduce:
1) Open kontact, switch to kmail part
2) Configure spam filters
3) Edit toolbar and add the two spam buttons that were already present due to the spam filter being enabled.
4) Switch to calendar -- CRASH!


Application: Kontact (kontact), signal SIGSEGV
0x00007f150fb4e0e1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 2635)]

Thread 2 (Thread 0x423c2950 (LWP 2658)):
#0  0x00007f150fb78f12 in select () from /lib/libc.so.6
#1  0x00007f1513565e1b in QProcessManager::run (this=0x110b820) at io/qprocess_unix.cpp:307
#2  0x00007f151349752e in QThreadPrivate::start (arg=0x110b820) at thread/qthread_unix.cpp:190
#3  0x00007f1513211fc7 in start_thread () from /lib/libpthread.so.0
#4  0x00007f150fb7f7cd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f15150bf780 (LWP 2635)):
[KCrash Handler]
#5  0x00007f15135979fb in ~QObject (this=0x1c283c0) at kernel/qobject.cpp:846
#6  0x00007f15120bf28a in ~QWidget (this=0x1c283c0) at kernel/qwidget.cpp:1354
#7  0x00007f1512447ede in ~QMenu (this=0x1c283c0) at widgets/qmenu.cpp:1325
#8  0x00007f1514257d50 in ~KMenu (this=0x1c283c0) at /home/gkiagia/kde/src/KDE/kdelibs/kdeui/widgets/kmenu.cpp:171
#9  0x00007f151428ebad in KXMLGUIBuilder::removeContainer (this=0x118dbb0, container=0x1c283c0, parent=0x1434e50, element=@0x7fff1d1f94f0, containerAction=0x14135e0)
    at /home/gkiagia/kde/src/KDE/kdelibs/kdeui/xmlgui/kxmlguibuilder.cpp:247
#10 0x00007f15142a0da6 in KXMLGUI::ContainerNode::destruct (this=0x1c27940, element={<QDomNode> = {impl = 0x7fff1d1f94f0}, <No data fields>}, state=@0x140d0f0)
    at /home/gkiagia/kde/src/KDE/kdelibs/kdeui/xmlgui/kxmlguifactory_p.cpp:347
#11 0x00007f15142a0e59 in KXMLGUI::ContainerNode::destructChildren (this=0x1675990, element=@0x7fff1d1f95d0, state=@0x140d0f0)
    at /home/gkiagia/kde/src/KDE/kdelibs/kdeui/xmlgui/kxmlguifactory_p.cpp:371
#12 0x00007f15142a0c5c in KXMLGUI::ContainerNode::destruct (this=0x1675990, element={<QDomNode> = {impl = 0x7fff1d1f95d0}, <No data fields>}, state=@0x140d0f0)
    at /home/gkiagia/kde/src/KDE/kdelibs/kdeui/xmlgui/kxmlguifactory_p.cpp:326
#13 0x00007f15142a0e59 in KXMLGUI::ContainerNode::destructChildren (this=0x140ce00, element=@0x7fff1d1f9750, state=@0x140d0f0)
    at /home/gkiagia/kde/src/KDE/kdelibs/kdeui/xmlgui/kxmlguifactory_p.cpp:371
#14 0x00007f15142a0c5c in KXMLGUI::ContainerNode::destruct (this=0x140ce00, element={<QDomNode> = {impl = 0x7fff1d1f9750}, <No data fields>}, state=@0x140d0f0)
    at /home/gkiagia/kde/src/KDE/kdelibs/kdeui/xmlgui/kxmlguifactory_p.cpp:326
#15 0x00007f151429af46 in KXMLGUIFactory::removeClient (this=0x140cca0, client=0x1479328) at /home/gkiagia/kde/src/KDE/kdelibs/kdeui/xmlgui/kxmlguifactory.cpp:389
#16 0x00007f1514dbd82c in KParts::MainWindow::createGUI (this=0x118db80, part=0x168d360) at /home/gkiagia/kde/src/KDE/kdelibs/kparts/mainwindow.cpp:99
#17 0x00007f1510b3f16f in Kontact::MainWindow::selectPlugin (this=0x118db80, plugin=0x1442860) at /home/gkiagia/kde/src/KDE/kdepim/kontact/src/mainwindow.cpp:813
#18 0x00007f1510b43c3c in Kontact::MainWindow::qt_metacall (this=0x118db80, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff1d1f9df0)
    at /home/gkiagia/kde/build/KDE/kdepim/kontact/src/mainwindow.moc:106
#19 0x00007f1513595b84 in QMetaObject::activate (sender=0x11a2810, from_signal_index=27, to_signal_index=27, argv=0x7fff1d1f9df0) at kernel/qobject.cpp:3013
#20 0x00007f1513595ff9 in QMetaObject::activate (sender=0x11a2810, m=0x7f1510d5b220, local_signal_index=0, argv=0x7fff1d1f9df0) at kernel/qobject.cpp:3086
#21 0x00007f1510b4a749 in Kontact::SidePaneBase::pluginSelected (this=0x11a2810, _t1=0x1442860) at /home/gkiagia/kde/build/KDE/kdepim/kontact/src/sidepanebase.moc:82
#22 0x00007f1510b4a7b7 in Kontact::SidePaneBase::qt_metacall (this=0x11a2810, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff1d1f9fb0)
    at /home/gkiagia/kde/build/KDE/kdepim/kontact/src/sidepanebase.moc:70
#23 0x00007f1510b4aa27 in Kontact::IconSidePane::qt_metacall (this=0x11a2810, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fff1d1f9fb0)
    at /home/gkiagia/kde/build/KDE/kdepim/kontact/src/iconsidepane.moc:130
#24 0x00007f1513595b84 in QMetaObject::activate (sender=0x11a3130, from_signal_index=69, to_signal_index=69, argv=0x7fff1d1f9fb0) at kernel/qobject.cpp:3013
#25 0x00007f1513595ff9 in QMetaObject::activate (sender=0x11a3130, m=0x7f1510d5b480, local_signal_index=0, argv=0x7fff1d1f9fb0) at kernel/qobject.cpp:3086
#26 0x00007f1510b4ab01 in Kontact::Navigator::pluginActivated (this=0x11a3130, _t1=0x1442860) at /home/gkiagia/kde/build/KDE/kdepim/kontact/src/iconsidepane.moc:88
#27 0x00007f1510b4abbc in Kontact::Navigator::slotCurrentChanged (this=0x11a3130, current=@0x1c632a0) at /home/gkiagia/kde/src/KDE/kdepim/kontact/src/iconsidepane.cpp:436
#28 0x00007f1510b4b071 in Kontact::Navigator::qt_metacall (this=0x11a3130, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff1d1fa1c0)
    at /home/gkiagia/kde/build/KDE/kdepim/kontact/src/iconsidepane.moc:75
#29 0x00007f1513595b84 in QMetaObject::activate (sender=0x11a3ad0, from_signal_index=5, to_signal_index=5, argv=0x7fff1d1fa1c0) at kernel/qobject.cpp:3013
#30 0x00007f1513595ff9 in QMetaObject::activate (sender=0x11a3ad0, m=0x7f1512a41040, local_signal_index=1, argv=0x7fff1d1fa1c0) at kernel/qobject.cpp:3086
#31 0x00007f151256f4ab in QItemSelectionModel::currentChanged (this=0x11a3ad0, _t1=@0x1c632a0, _t2=@0x16a2d40) at .moc/debug-shared/moc_qitemselectionmodel.cpp:151
#32 0x00007f151256ff2a in QItemSelectionModel::setCurrentIndex (this=0x11a3ad0, index=@0x1c632a0, command={i = 488612848}) at itemviews/qitemselectionmodel.cpp:1088
#33 0x00007f1512527c1a in QAbstractItemView::mousePressEvent (this=0x11a3130, event=0x7fff1d1fb330) at itemviews/qabstractitemview.cpp:1476
#34 0x00007f15120c1d1d in QWidget::event (this=0x11a3130, event=0x7fff1d1fb330) at kernel/qwidget.cpp:7017
#35 0x00007f1512406be1 in QFrame::event (this=0x11a3130, e=0x7fff1d1fb330) at widgets/qframe.cpp:657
#36 0x00007f15124921f8 in QAbstractScrollArea::viewportEvent (this=0x11a3130, e=0x7fff1d1fb330) at widgets/qabstractscrollarea.cpp:947
#37 0x00007f1512528560 in QAbstractItemView::viewportEvent (this=0x11a3130, event=0x7fff1d1fb330) at itemviews/qabstractitemview.cpp:1435
#38 0x00007f1512494a8e in QAbstractScrollAreaPrivate::viewportEvent (this=0x11a31b0, event=0x7fff1d1fb330) at widgets/qabstractscrollarea_p.h:102
#39 0x00007f1512494aca in QAbstractScrollAreaFilter::eventFilter (this=0x11a7570, o=0x11a78d0, e=0x7fff1d1fb330) at widgets/qabstractscrollarea_p.h:113
#40 0x00007f151357fc51 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x11071d0, receiver=0x11a78d0, event=0x7fff1d1fb330) at kernel/qcoreapplication.cpp:698
#41 0x00007f151206a6fb in QApplicationPrivate::notify_helper (this=0x11071d0, receiver=0x11a78d0, e=0x7fff1d1fb330) at kernel/qapplication.cpp:3796
#42 0x00007f151206b309 in QApplication::notify (this=0x7fff1d1fc270, receiver=0x11a78d0, e=0x7fff1d1fb330) at kernel/qapplication.cpp:3527
#43 0x00007f1514190ab8 in KApplication::notify (this=0x7fff1d1fc270, receiver=0x11a78d0, event=0x7fff1d1fb330) at /home/gkiagia/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#44 0x00007f1513581707 in QCoreApplication::notifyInternal (this=0x7fff1d1fc270, receiver=0x11a78d0, event=0x7fff1d1fb330) at kernel/qcoreapplication.cpp:587
#45 0x00007f1512076863 in QCoreApplication::sendSpontaneousEvent (receiver=0x11a78d0, event=0x7fff1d1fb330) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#46 0x00007f151206efb9 in QApplicationPrivate::sendMouseEvent (receiver=0x11a78d0, event=0x7fff1d1fb330, alienWidget=0x11a78d0, nativeWidget=0x118db80, buttonDown=0x7f1512a64628, 
    lastMouseReceiver=@0x7f1512a64630) at kernel/qapplication.cpp:2792
#47 0x00007f15120df4f3 in QETWidget::translateMouseEvent (this=0x118db80, event=0x7fff1d1fbe00) at kernel/qapplication_x11.cpp:4048
#48 0x00007f15120e0323 in QApplication::x11ProcessEvent (this=0x7fff1d1fc270, event=0x7fff1d1fbe00) at kernel/qapplication_x11.cpp:3044
#49 0x00007f1512109c56 in x11EventSourceDispatch (s=0x110a970, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#50 0x00007f150ca1c892 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#51 0x00007f150ca2001d in ?? () from /usr/lib/libglib-2.0.so.0
#52 0x00007f150ca201db in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#53 0x00007f15135ae33e in QEventDispatcherGlib::processEvents (this=0x10fb150, flags={i = 488620224}) at kernel/qeventdispatcher_glib.cpp:325
#54 0x00007f151210947b in QGuiEventDispatcherGlib::processEvents (this=0x10fb150, flags={i = 488620320}) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x00007f151357e96b in QEventLoop::processEvents (this=0x7fff1d1fc1d0, flags={i = 488620416}) at kernel/qeventloop.cpp:149
#56 0x00007f151357eb66 in QEventLoop::exec (this=0x7fff1d1fc1d0, flags={i = 488620512}) at kernel/qeventloop.cpp:196
#57 0x00007f1513581f6c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:849
#58 0x00007f151206a47a in QApplication::exec () at kernel/qapplication.cpp:3330
#59 0x0000000000404204 in main (argc=1, argv=0x7fff1d1fc778) at /home/gkiagia/kde/src/KDE/kdepim/kontact/src/main.cpp:218

Comment 6 George Kiagiadakis 2008-09-28 21:38:05 UTC
Sorry, forgot to mention that I am using svn trunk r865463.
Comment 7 Christophe Marin 2009-06-06 19:24:04 UTC
*** Bug 183495 has been marked as a duplicate of this bug. ***
Comment 8 Christophe Marin 2009-06-06 19:25:11 UTC
*** Bug 194202 has been marked as a duplicate of this bug. ***
Comment 9 Christophe Marin 2009-08-17 12:17:29 UTC
*** Bug 204133 has been marked as a duplicate of this bug. ***
Comment 10 Christophe Marin 2011-09-24 21:34:24 UTC
I cannot reproduce the crash with the given steps from comment #5 and a recent kdepim version.

Please reopen this report if you get the same backtrace with kdepim >= 4.7.1