Bug 97230

Summary: SIGSEGV on exit Kontact after installing Bogofilter
Product: [Applications] kontact Reporter: Alain Dubois <Alain.Dubois>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version: 1.0   
Target Milestone: ---   
Platform: Mandrake RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alain Dubois 2005-01-17 11:24:43 UTC
Version:           1.0 (using KDE KDE 3.2.3)
Installed from:    Mandrake RPMs
Compiler:          as installed by mdk10.1 
OS:                Linux

- installed : Bogofilter 0.92.6-1mdk

- backtrace :
(no debugging symbols found)...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(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)...[Thread debugging using libthread_db enabled]
[New Thread 1099207424 (LWP 8244)]
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...0xffffe410 in ?? ()
#0  0xffffe410 in ?? ()
#1  0xbfffe4bc in ?? ()
#2  0x00000000 in ?? ()
#3  0x00000000 in ?? ()
#4  0x4161b2db in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#5  0x40ab4b5e in KCrash::defaultCrashHandler () from /usr/lib/libkdecore.so.4
#6  <signal handler called>
#7  0x0806b703 in typeinfo for QObject ()
#8  0x4086af62 in KXMLGUI::ActionList::unplug () from /usr/lib/libkdeui.so.4
#9  0x409039b5 in KXMLGUI::ContainerNode::unplugClient ()
   from /usr/lib/libkdeui.so.4
#10 0x40903cfb in KXMLGUI::ContainerNode::unplugActions ()
   from /usr/lib/libkdeui.so.4
#11 0x40903d7c in KXMLGUI::ContainerNode::destruct ()
   from /usr/lib/libkdeui.so.4
#12 0x40903f84 in KXMLGUI::ContainerNode::destructChildren ()
   from /usr/lib/libkdeui.so.4
#13 0x40903d70 in KXMLGUI::ContainerNode::destruct ()
   from /usr/lib/libkdeui.so.4
#14 0x40904246 in KXMLGUIFactory::removeClient () from /usr/lib/libkdeui.so.4
#15 0x40199e27 in KParts::MainWindow::createGUI ()
   from /usr/lib/libkparts.so.2
#16 0x08061c15 in ?? ()
#17 0x0812e850 in ?? ()
#18 0x00000000 in ?? ()
#19 0x40b6d980 in kde_malloc_is_used () from /usr/lib/libkdecore.so.4
#20 0xbfffed20 in ?? ()
#21 0x40b6d964 in kde_malloc_is_used () from /usr/lib/libkdecore.so.4
#22 0x00000018 in ?? ()
#23 0x40b6d980 in kde_malloc_is_used () from /usr/lib/libkdecore.so.4
#24 0x40b31423 in free () from /usr/lib/libkdecore.so.4
#25 0x080634ab in ?? ()
#26 0x0812e850 in ?? ()
#27 0x00000000 in ?? ()
#28 0x00000000 in ?? ()
#29 0x412dbaa8 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x08146620 in ?? ()
#31 0xbfffee20 in ?? ()
#32 0xbfffee68 in ?? ()
#33 0x40e75708 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0xbfffee40 in ?? ()
#35 0x0825fa18 in ?? ()
#36 0x00000000 in ?? ()
#37 0x0813d650 in ?? ()
#38 0x00000003 in ?? ()
#39 0x40b6d980 in kde_malloc_is_used () from /usr/lib/libkdecore.so.4
#40 0xbfffee0c in ?? ()
#41 0x40b31423 in free () from /usr/lib/libkdecore.so.4

-how to reproduce :
 1. enter Kontact
 2. exit Kontact
Comment 1 Alain Dubois 2005-01-17 16:13:28 UTC
- Other actions have now crashed the app (clicking on the left toolbar e.g.)

- It seems that the following reduces the number of crashes :   for the two filters created by the "Assistant de messages non sollicités", named "Classer comme message non sollicité" et "Classer comme étant sollicité", unchek the check box "Ajouter ce filtre au menu Appliquer le filtre".
The 2 items disappear from the menu and stay or disappear from the toolbar according to a pattern I cannot reproduce. This makes bogofilter unusable.
Comment 2 jsvrp.gw 2005-03-17 19:17:26 UTC
I can reproduce this and it is the cause of bug #101544. I will close that one, please refer to more backtraces in that bugreport.

Using KDE 3.4 and Bogofilter Bogofilter 0.92.8.
Comment 3 Tobias Koenig 2005-03-23 16:10:57 UTC
Hi,

not reproducable with a self compiled KDE CVS HEAD (shouldn't differs much from 3.4) with bogofilter 0.94.1-1.

Ciao,
Tobias
Comment 4 jsvrp.gw 2005-06-01 17:59:26 UTC
Please reopen this bug. Using 3.4.1 (3.4.0. had the same problems).

This is NOT solved. There are a few issues all related to Bogofilter vs. Kmail/Kontact. I have wrote the following on dot.kde.org (+ something extra):

* KMail/Kontact: When setting bogofilter as your spamkiller with the option to generate filters for it and adding those those filters to the toolbar, Kontact crashes when you open the kmail-part. When having kmail as your default component or your last component, Kontact can't start anymore and crashes right away. When kmail is not selected Kontact can start, but freezes when clicking on the kmail-component. In 3.4.0 this was a crash, but for the user it's the same, lock-ups are even more annoying I think.
 * Kmail: Toolbar-icons for the spamfilter (see above) are not visible on the toolbar, allthough they are there when you go to toolbar-settings-dialog. (see bug #90529)
 * Kmail: When setting a shortcut to the manual spam-filter (I want to use alt+s) (see above), the shortcut is not saved and can only used in the current session.

This is all related to bogofilter vs. kmail. When disabling icons, bogofilter behaves normal.

Please fix asap, this should already be solved.