Bug 166477 - Crash when finishing Anti-spam wizard
Summary: Crash when finishing Anti-spam wizard
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.10.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 167888 168455 168807 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-13 23:36 UTC by René Krell
Modified: 2008-08-15 14:10 UTC (History)
3 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 René Krell 2008-07-13 23:36:28 UTC
Version:           1.9.52 (using 4.00.85 (KDE 4.0.85 (KDE 4.1 >= 20080703) "release 4.3", KDE:KDE4:Factory:Desktop / openSUSE_11.0)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.25.9-0.2-default

If I launch the Anti-spam wizard in KMail (inside Kontact), choosing filters GMX Antispam and Bogofilter, the application crashes with the following backtrace:

Application: Kontact (kontact), signal SIGSEGV
[?1034h(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffbda4f0750 (LWP 6526)]
[New Thread 0x42490950 (LWP 6570)]
(no debugging symbols found)
[KCrash handler]
#5  0x00007ffbc2473a32 in ?? () from /usr/lib64/libkmailprivate.so.4
#6  0x00007ffbc264057e in ?? () from /usr/lib64/libkmailprivate.so.4
#7  0x00007ffbd19f6b1d in QDialog::qt_metacall () from /usr/lib64/libQtGui.so.4
#8  0x00007ffbd6b5a9f5 in KDialog::qt_metacall () from /usr/lib64/libkdeui.so.5
#9  0x00007ffbd6c080f6 in KPageDialog::qt_metacall ()
   from /usr/lib64/libkdeui.so.5
#10 0x00007ffbd6b3f35d in KAssistantDialog::qt_metacall ()
   from /usr/lib64/libkdeui.so.5
#11 0x00007ffbc2643b9d in ?? () from /usr/lib64/libkmailprivate.so.4
#12 0x00007ffbd4e8c4f0 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#13 0x00007ffbd6b5955d in KDialog::slotButtonClicked ()
   from /usr/lib64/libkdeui.so.5
#14 0x00007ffbd6b5aa6d in KDialog::qt_metacall () from /usr/lib64/libkdeui.so.5
#15 0x00007ffbd6c080f6 in KPageDialog::qt_metacall ()
   from /usr/lib64/libkdeui.so.5
#16 0x00007ffbd6b3f35d in KAssistantDialog::qt_metacall ()
   from /usr/lib64/libkdeui.so.5
#17 0x00007ffbc2643b9d in ?? () from /usr/lib64/libkmailprivate.so.4
#18 0x00007ffbd4e8c4f0 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#19 0x00007ffbd4e90c5e in QSignalMapper::mapped ()
   from /usr/lib64/libQtCore.so.4
#20 0x00007ffbd4e90d00 in QSignalMapper::map () from /usr/lib64/libQtCore.so.4
#21 0x00007ffbd4e91f30 in QSignalMapper::qt_metacall ()
   from /usr/lib64/libQtCore.so.4
#22 0x00007ffbd4e8c4f0 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#23 0x00007ffbd1b3f827 in QAbstractButton::clicked ()
   from /usr/lib64/libQtGui.so.4
#24 0x00007ffbd1900cbb in ?? () from /usr/lib64/libQtGui.so.4
#25 0x00007ffbd1901a12 in ?? () from /usr/lib64/libQtGui.so.4
#26 0x00007ffbd1901c45 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib64/libQtGui.so.4
#27 0x00007ffbd168c484 in QWidget::event () from /usr/lib64/libQtGui.so.4
#28 0x00007ffbd163f92d in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#29 0x00007ffbd1646566 in QApplication::notify () from /usr/lib64/libQtGui.so.4
#30 0x00007ffbd6bdf66b in KApplication::notify () from /usr/lib64/libkdeui.so.5
#31 0x00007ffbd4e7ae9c in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#32 0x00007ffbd1647838 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib64/libQtGui.so.4
#33 0x00007ffbd169d8dc in ?? () from /usr/lib64/libQtGui.so.4
#34 0x00007ffbd169c4fb in QApplication::x11ProcessEvent ()
   from /usr/lib64/libQtGui.so.4
#35 0x00007ffbd16c057c in ?? () from /usr/lib64/libQtGui.so.4
#36 0x00007ffbd4e797f2 in QEventLoop::processEvents ()
   from /usr/lib64/libQtCore.so.4
#37 0x00007ffbd4e79985 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#38 0x00007ffbd19f62ff in QDialog::exec () from /usr/lib64/libQtGui.so.4
#39 0x00007ffbc25db278 in KMMainWidget::slotAntiSpamWizard ()
   from /usr/lib64/libkmailprivate.so.4
#40 0x00007ffbc25fa37d in KMMainWidget::qt_metacall ()
   from /usr/lib64/libkmailprivate.so.4
#41 0x00007ffbd4e8c4f0 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#42 0x00007ffbd163a827 in QAction::triggered () from /usr/lib64/libQtGui.so.4
#43 0x00007ffbd163afe0 in QAction::activate () from /usr/lib64/libQtGui.so.4
#44 0x00007ffbd197b5d3 in ?? () from /usr/lib64/libQtGui.so.4
#45 0x00007ffbd6c922c1 in KMenu::mouseReleaseEvent ()
   from /usr/lib64/libkdeui.so.5
#46 0x00007ffbd168c484 in QWidget::event () from /usr/lib64/libQtGui.so.4
#47 0x00007ffbd197cb1b in QMenu::event () from /usr/lib64/libQtGui.so.4
#48 0x00007ffbd163f92d in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#49 0x00007ffbd1646566 in QApplication::notify () from /usr/lib64/libQtGui.so.4
#50 0x00007ffbd6bdf66b in KApplication::notify () from /usr/lib64/libkdeui.so.5
#51 0x00007ffbd4e7ae9c in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#52 0x00007ffbd1647838 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib64/libQtGui.so.4
#53 0x00007ffbd169da8b in ?? () from /usr/lib64/libQtGui.so.4
#54 0x00007ffbd169c4fb in QApplication::x11ProcessEvent ()
   from /usr/lib64/libQtGui.so.4
#55 0x00007ffbd16c057c in ?? () from /usr/lib64/libQtGui.so.4
#56 0x00007ffbd4e797f2 in QEventLoop::processEvents ()
   from /usr/lib64/libQtCore.so.4
#57 0x00007ffbd4e79985 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#58 0x00007ffbd4e7ba25 in QCoreApplication::exec ()
   from /usr/lib64/libQtCore.so.4
#59 0x0000000000404a04 in _start ()
#0  0x00007ffbcf5b0261 in nanosleep () from /lib64/libc.so.6
Comment 1 Thomas McGuire 2008-07-14 17:02:23 UTC
I can't reproduce that here with KDE 4.1 RC1.
Please try again when RC1 is available for opensuse and reopen the bug if you can still reproduce the problem. Please add a more complete backtrace then, see  http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 2 René Krell 2008-07-15 12:36:00 UTC
Ok, thank you. I will wait for the final packages of KDE 4.1 RC1. The packages now are an intermediate snapshot from 03.07.2008.

BTW:
I tried to install the version of kdebase4-workspace with debug symbols, restarted and couldn't any longer reproduce the bug, too. Strange.
Furthermore, I shut down klipper, deleted the ~/.kde4/share/config/klipperrc and restarted klipper after that. There were some user-specific changes from previous versions especially concerning the "Open with Firefox" entry, which were workarounds for earlier misconfigurations by default.
I hope I prepared everything fine to go on with KDE 4.1 RC1 :-)
Comment 3 Thomas McGuire 2008-07-31 23:33:53 UTC
*** Bug 167888 has been marked as a duplicate of this bug. ***
Comment 4 Thomas McGuire 2008-07-31 23:34:37 UTC
Reopening because of the duplicate.
Although I still can't reproduce.
Comment 5 Thomas McGuire 2008-07-31 23:59:27 UTC
SVN commit 840343 by tmcguire:

Don't crash when running the anti-spam wizard and spam filter rules exist already.

I've simply replaced an iterator-loop with a for-loop, can anybody who understands iterators
point me to the reason why the iterator-based version crashed? Because I have no idea.
(I also tried removing the const from the iterator, but that didn't help)

BUG: 166477


 M  +5 -5      kmfiltermgr.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=840343
Comment 6 Martin Eigler 2008-08-06 12:00:07 UTC
Using openSUSE 11 with kernel 2.6.25.11-0.1, KDE 4.1.0-23.4 and KMail 4.1.0-29.2
The Mail Server is an IMAP

I activated the anti-spam filter with the bogofilter without any problems. After that, for some reasons, all my mails were moved to the trash folder. Even if I marked them as no spam and moved them back to the INBOX, by clicking on the INBOX they were marked as spam again an were moved directly back to the trash folder.
So I decided to deactivate the anti-spam filter. I started the anti-spam wizard and unchecked the options "marked spam as read" and unchecked "move spam to the following folder" (hope the translation from German to English is understandable).
Maybe it is from interest: the following folder was "local folder/trash"
After clicking on "Finish" the KMail crashed.
I deinstalled bogofilter and tried it with SpamAssassin but the problem is the same. Clicking on Finish causes a crash.

Anwendung: KMail (kmail), Signal SIGSEGV
[?1034h(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb47f46d0 (LWP 8918)]
[New Thread 0xb13e5b90 (LWP 8926)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb7b3954c in ?? () from /usr/lib/libkmailprivate.so.4
#7  0xb7d25d70 in ?? () from /usr/lib/libkmailprivate.so.4
#8  0xb5807c76 in QDialog::qt_metacall () from /usr/lib/libQtGui.so.4
#9  0xb678bcba in KDialog::qt_metacall () from /usr/lib/libkdeui.so.5
#10 0xb684953a in KPageDialog::qt_metacall () from /usr/lib/libkdeui.so.5
#11 0xb6774c4a in KAssistantDialog::qt_metacall () from /usr/lib/libkdeui.so.5
#12 0xb7d290ea in ?? () from /usr/lib/libkmailprivate.so.4
#13 0xb621845a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0xb62189d2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb6787fa7 in KDialog::user1Clicked () from /usr/lib/libkdeui.so.5
#16 0xb678a7dd in KDialog::slotButtonClicked () from /usr/lib/libkdeui.so.5
#17 0xb678bd24 in KDialog::qt_metacall () from /usr/lib/libkdeui.so.5
#18 0xb684953a in KPageDialog::qt_metacall () from /usr/lib/libkdeui.so.5
#19 0xb6774c4a in KAssistantDialog::qt_metacall () from /usr/lib/libkdeui.so.5
#20 0xb7d290ea in ?? () from /usr/lib/libkmailprivate.so.4
#21 0xb621845a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb62189d2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0xb621d253 in QSignalMapper::mapped () from /usr/lib/libQtCore.so.4
#24 0xb621d32d in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#25 0xb621d51e in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#26 0xb621e42b in QSignalMapper::qt_metacall () from /usr/lib/libQtCore.so.4
#27 0xb621845a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0xb6218750 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#29 0xb59642a1 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#30 0xb56f5889 in ?? () from /usr/lib/libQtGui.so.4
#31 0xb56f6644 in ?? () from /usr/lib/libQtGui.so.4
#32 0xb56f68a6 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#33 0xb5452176 in QWidget::event () from /usr/lib/libQtGui.so.4
#34 0xb56f572e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#35 0xb578ba60 in QPushButton::event () from /usr/lib/libQtGui.so.4
#36 0xb53ffecc in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#37 0xb5406ca7 in QApplication::notify () from /usr/lib/libQtGui.so.4
#38 0xb681af1d in KApplication::notify () from /usr/lib/libkdeui.so.5
#39 0xb6206bc1 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#40 0xb5407fae in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#41 0xb54651e8 in ?? () from /usr/lib/libQtGui.so.4
#42 0xb54645a4 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#43 0xb548a3ae in ?? () from /usr/lib/libQtGui.so.4
#44 0xb620533a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#45 0xb62054fa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#46 0xb580733f in QDialog::exec () from /usr/lib/libQtGui.so.4
#47 0xb7cb7e16 in KMMainWidget::slotAntiSpamWizard ()
   from /usr/lib/libkmailprivate.so.4
#48 0xb7cdc108 in KMMainWidget::qt_metacall ()
   from /usr/lib/libkmailprivate.so.4
#49 0xb621845a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#50 0xb6218750 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#51 0xb53fa941 in QAction::triggered () from /usr/lib/libQtGui.so.4
#52 0xb53fb2af in QAction::activate () from /usr/lib/libQtGui.so.4
#53 0xb577d052 in ?? () from /usr/lib/libQtGui.so.4
#54 0xb577dcc2 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#55 0xb68e11f5 in KMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.5
#56 0xb5452176 in QWidget::event () from /usr/lib/libQtGui.so.4
#57 0xb577e739 in QMenu::event () from /usr/lib/libQtGui.so.4
#58 0xb53ffecc in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#59 0xb5406ca7 in QApplication::notify () from /usr/lib/libQtGui.so.4
#60 0xb681af1d in KApplication::notify () from /usr/lib/libkdeui.so.5
#61 0xb6206bc1 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#62 0xb5407fae in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#63 0xb5465474 in ?? () from /usr/lib/libQtGui.so.4
#64 0xb54645a4 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#65 0xb548a3ae in ?? () from /usr/lib/libQtGui.so.4
#66 0xb620533a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#67 0xb62054fa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#68 0xb62076dd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#69 0xb53ffd47 in QApplication::exec () from /usr/lib/libQtGui.so.4
#70 0x0804a880 in _start ()
#0  0xffffe430 in __kernel_vsyscall () 
Comment 7 Thomas McGuire 2008-08-06 18:45:32 UTC
*** Bug 168455 has been marked as a duplicate of this bug. ***
Comment 8 Thomas McGuire 2008-08-15 14:10:28 UTC
*** Bug 168807 has been marked as a duplicate of this bug. ***