Summary: | kmail crashes after trying to alter spam-filters using assistant | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | S. Burmeister <sven.burmeister> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | steveo, thadeurj |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | backtrace |
Description
S. Burmeister
2004-08-13 13:55:10 UTC
On Friday 13 August 2004 13:55, S.Burmeister wrote:
> I updated from 3.2.3 to 3.3.0 RC2 and used the spam-assistant with
> spamassasin to create the rules. Whenever I re-run the assistant and
> click on finish it crashes kmail.
Can you tell me what options you selected in the wizard?
Do you have filters defined to appear in the Apply Filter menu? If yes, have
you included these actions (menu items) into the toolbar?
There was a bug about a crash when running the wizard and recreating toolbar
items. But this bug had been closed before the RC was released. I'm
wondering what might be the reason in your case. The backtrace isn't that
usefull, I think.
> Can you tell me what options you selected in the wizard? Spamassasin, ticked all boxes and chose Mülleimer (i.e. Trash) as destination folder. > Do you have filters defined to appear in the Apply Filter menu? If yes, > have you included these actions (menu items) into the toolbar? No, all filters I set up were from the assistant. > There was a bug about a crash when running the wizard and recreating > toolbar items. But this bug had been closed before the RC was released. I'm > wondering what might be the reason in your case. The backtrace isn't that > usefull, I think. I delted the kmailrc and set up a new one, the behaviour is the same. It works once then crashes the following times. I could send you my kmailrc without usernames and pass if that helps. There was a new Suse-build of KDE, I tried that, also on a different machine, same behaviour. It does not crash if I remove the buttons from the toolbar, so the bug you were talking about does not seem to be fixed, or the source used by Suse (supplementary directory on their ftp) for their RPMs is pre-RC. As the RPMs have 17.8.2004 as date, I do not think that the latter assumptions is true. On Mittwoch 18 August 2004 17:19, S.Burmeister wrote:
> There was a new Suse-build of KDE, I tried that, also on a
> different machine, same behaviour. It does not crash if I remove the
> buttons from the toolbar, so the bug you were talking about does not seem
> to be fixed, or the source used by Suse (supplementary directory on their
> ftp) for their RPMs is pre-RC. As the RPMs have 17.8.2004 as date, I do
> not think that the latter assumptions is true.
Okay, I'm using two installations with SuSE 9.1 and the latest RPMs
available via LinuKS - updated today. For me, no crash happens when I try
to reproduce the problem. Everything works fine - so I wonder what I can do
to fix the crashes for you.
(Of course, I have two other installations with selfcompiled KDE
installations from CVS. There I can't trigger crashes either.)
> Okay, I'm using two installations with SuSE 9.1 and the latest RPMs
> available via LinuKS - updated today. For me, no crash happens when I try
> to reproduce the problem. Everything works fine - so I wonder what I can do
> to fix the crashes for you.
I moved .kde so that everything was clean. Set up kmail and I can use the
SPAM-Assistant as many times as I wish without kmail crashing. However, after
closing kmail and starting it again it crashes unless I remove all filters
manually, and restart kmail.
The fact that I have to restart kmail in order to crash it, or fix the problem
lets me conclude that the problem has got to do with some config that is
written when kmail shuts down, or that it has something to do with something
that is loaded from the config file and not present during the session that
created it.
Thanks for the details. I can now reproduce the crash (after a restart). Unfortunately the Suse RPMs are build without debug info. I have to verify this on a KDE installation build with debug info from sources. Created attachment 7201 [details]
backtrace
I can confirm this crash. I've attached a backtrace.
Slackware 10 - unofficial packages from kde.org of 3.3.0 Same kmail crash problem when using Anti-spam wizard --> spamassassin --> Classify using tools + Move to Folder --> Finish = Crash Using host libthread_db library "/lib/libthread_db.so.1". [KCrash handler] #36 0x412be687 in typeinfo name for QImageFormatPlugin () from /usr/lib/qt/lib/libqt-mt.so.3 #37 0xbfffe350 in ?? () #38 0x408be783 in KXMLGUI::ActionList::unplug () from /opt/kde/lib/libkdeui.so.4 #39 0x8bfe78bf in ?? () #40 0x32a73440 in ?? () #41 0x12d4d008 in ?? () #42 0xffffdd08 in ?? () #43 0xffe390ff in ?? () #44 0x000010bf in ?? () #45 0x00000000 in ?? () #46 0xffe3a800 in ?? () #47 0x140b90bf in ?? () #48 0x00001408 in ?? () #49 0x30eb8000 in ?? () #50 0xffe3d808 in ?? () #51 0x6eacfabf in ?? () #52 0x00001441 in ?? () #53 0x00005400 in ?? () #54 0xffe3d800 in ?? () #55 0x16f311bf in ?? () #56 0x00001041 in ?? () #57 0x123f9000 in ?? () #58 0x123f9008 in ?? () #59 0x2fde4808 in ?? () #60 0x00000741 in ?? () #61 0x30eb8000 in ?? () #62 0xffe40808 in ?? () #63 0x18d39cbf in ?? () #64 0x00001441 in ?? () #65 0x449a2800 in ?? () #66 0x00000e08 in ?? () #67 0x12cd6400 in ?? () #68 0x4494c008 in ?? () #69 0x2fde4808 in ?? () #70 0x00000841 in ?? () #71 0x1731e400 in ?? () #72 0x30f6a041 in ?? () #73 0x402dec08 in KABC::StdAddressBook::saveAll () from /opt/kde/lib/libkabc.so.1 Same problem here. I'm using Gentoo, so there is no dependency to SuSE. Some additional information: I launched the spam wizard and configured spamassasin. Since nothing seemed to happen, I launched the wizard several times again. No crashes but also no apparent action of the spam tool (I did expect a busy cursor while the tool was examining my mail folders). I launched the spam wizard again and configured TWO spam tools (spamassasin AND bogon). Since then I get the crashes. Cleaned up kmailrc, but the problem remains. > Same problem here. I'm using Gentoo, so there is no dependency to
> SuSE.
Thanks to all reporters and backtrace contributors.
I want to let you know that the problem is identified as being
distribution-independent. No further backtraces are needed.
Fixing will take some more effort though, however I hope to make it for KDE
3.3.1.
Just want to let you know that even the wizard crashes, it seemed to have configured the spam tool properly. I now get spam moved automagically to the configured spam folder. *** Bug 87795 has been marked as a duplicate of this bug. *** Somehow kontact crashes every time I remove the filters and quit kontact, is this also part of this bug, or a new problem? I don't know, but you can try to manually remove the filter icon buttons from the toolbar (Settings -> Configure Toolbar) first and then remove the filters in the filter dialog afterwards. That should help to avoid any further problems. CVS commit by gungl: Port the plugging of shortcut filters (AKA ad-hoc filters) into menu and toolbar to the XMLGUI way. Thanks to Till, David and Simon - that was an amazing teamwork. CCMAIL: 87119-done@bugs.kde.org CCMAIL: 82771-done@bugs.kde.org M +2 -84 antispamwizard.cpp 1.38 M +2 -1 kmail_part.cpp 1.58 M +3 -0 kmfilter.cpp 1.64 M +34 -1 kmfilter.h 1.30 M +34 -24 kmmainwidget.cpp 1.254 M +7 -6 kmmainwidget.h 1.72 M +3 -2 kmmainwin.cpp 1.599 M +8 -2 kmmainwin.rc 1.78 Reopening, as I still get crashes after removing the filter-rules manually with kmail 1.7.1, latest Suse rpms. If someone can tell me how to bring back the toolbar_actionlist I could test if it has something to do with me not having it and having two "normal" buttons instead? But I do not think that it is related to that issue. Or is it that the fix for this crash is not available till 3.4? Using host libthread_db library "/lib/tls/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 1098843648 (LWP 5828)] [KCrash handler] #7 0x00000038 in ?? () #8 0x4082d264 in KXMLGUI::ActionList::unplug () from /opt/kde3/lib/libkdeui.so.4 #9 0x4087b7ac in KXMLGUI::ContainerNode::unplugClient () from /opt/kde3/lib/libkdeui.so.4 #10 0x4087bb05 in KXMLGUI::ContainerNode::unplugActions () from /opt/kde3/lib/libkdeui.so.4 #11 0x4087bb8c in KXMLGUI::ContainerNode::destruct () from /opt/kde3/lib/libkdeui.so.4 #12 0x4087bd83 in KXMLGUI::ContainerNode::destructChildren () from /opt/kde3/lib/libkdeui.so.4 #13 0x4087bb80 in KXMLGUI::ContainerNode::destruct () from /opt/kde3/lib/libkdeui.so.4 #14 0x40920c67 in KXMLGUIFactory::removeClient () from /opt/kde3/lib/libkdeui.so.4 #15 0x401a16c2 in KParts::MainWindow::createGUI () from /opt/kde3/lib/libkparts.so.2 #16 0x08060be5 in Kontact::MainWindow::slotActivePartChanged () #17 0x08063394 in Kontact::MainWindow::qt_invoke () #18 0x40f1013e in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #19 0x40195eb5 in KParts::PartManager::activePartChanged () from /opt/kde3/lib/libkparts.so.2 #20 0x4019d545 in KParts::PartManager::setActivePart () from /opt/kde3/lib/libkparts.so.2 #21 0x401a488c in KParts::PartManager::removePart () from /opt/kde3/lib/libkparts.so.2 #22 0x00000000 in ?? () #23 0x00000000 in ?? () #24 0x00000001 in ?? () #25 0x00000002 in ?? () #26 0x00000001 in ?? () #27 0x00000000 in ?? () #28 0x00000001 in ?? () #29 0x0839cb50 in ?? () #30 0x00000001 in ?? () #31 0x4129ebf6 in typeinfo name for QChildEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 #32 0x00000000 in ?? () #33 0x00000000 in ?? () #34 0x01ffe9a0 in ?? () #35 0xbfffea38 in ?? () #36 0x00000000 in ?? () #37 0x0814a838 in ?? () #38 0xbfffe9a0 in ?? () #39 0x00000001 in ?? () #40 0x4016d000 in ?? () #41 0x082fac58 in ?? () #42 0xbfffe9b0 in ?? () #43 0x00000001 in ?? () #44 0x00000002 in ?? () #45 0x00000001 in ?? () #46 0x00000001 in ?? () #47 0x00000000 in ?? () #48 0x00000000 in ?? () #49 0x4135b470 in vtable for QGArray () from /usr/lib/qt3/lib/libqt-mt.so.3 #50 0x00000000 in ?? () #51 0x0000013f in ?? () #52 0x40181b80 in ?? () from /opt/kde3/lib/libkparts.so.2 #53 0x4135b470 in vtable for QGArray () from /usr/lib/qt3/lib/libqt-mt.so.3 #54 0x00000000 in ?? () #55 0x08303b80 in ?? () #56 0x41e4adc8 in VTT for KMailPart () from /opt/kde3/lib/kde3/libkmailpart.so.1 #57 0xbfffea18 in ?? () #58 0x4000ca40 in _dl_runtime_resolve () from /lib/ld-linux.so.2 #59 0x4019b9fc in KParts::Part::~Part () from /opt/kde3/lib/libkparts.so.2 To bring back the action list, search for kmmainwinrc below your $KDEHOME (usually $HOME/.kde) and remove (or better rename) that file. After a restart, KMail should behave normally. FYI, the possibility to manipulate filter actions in the Edit Toolbar dialog has been removed (at least for KDE 3.4, I consider backporting though). *** Bug 89218 has been marked as a duplicate of this bug. *** *** Bug 91294 has been marked as a duplicate of this bug. *** |