Bug 168561 - Crash after editing toolbar kmmainwin
Summary: Crash after editing toolbar kmmainwin
Status: RESOLVED DUPLICATE of bug 102470
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-07 00:27 UTC by Don C. Weber
Modified: 2009-01-31 21:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Kontact Crash File After Enabling Spam Filtering with Wizard (3.71 KB, application/octet-stream)
2008-08-12 13:40 UTC, Don C. Weber
Details
Kontact Crash File after enabling Spam Filtering with Wizard 1/31/2009 (3.70 KB, application/octet-stream)
2009-01-31 21:13 UTC, Don C. Weber
Details
Kontact Crash File after enabling Spam Filtering with Wizard 1/31/2009 (3.70 KB, application/octet-stream)
2009-01-31 21:24 UTC, Don C. Weber
Details
Kontact Crash File after enabling Spam Filtering with Wizard 1/31/2009 (3.70 KB, application/octet-stream)
2009-01-31 21:44 UTC, Don C. Weber
Details
Kontact Crash File after enabling Spam Filtering with Wizard 1/31/2009 (1.26 KB, application/octet-stream)
2009-01-31 21:46 UTC, Don C. Weber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Don C. Weber 2008-08-07 00:27:31 UTC
Version:           Kontact 1.2.9 Kmail 1.9.9  (using KDE 3.5.9)
Installed from:    Ubuntu Packages
OS:                Linux

Yes this is a dup of:Bug 103770: Crash after editing toolbar kmmainwin .
I have had no feed back so I am resubmitting.

I am experiencing the same behavior.
Ubuntu 8.04.1 Kde 3.5.9 Kontact 1.2.9 Kmail 1.9.9

Here is my experience
--------------
I recently moved Linux distributions and brought my Kmail data (mail and kmailrc) to the new system (Ubuntu). Everything set up great even though I am now running Kmail through Kontact. So far I like it but I have noticed that Spam filtering stopped working. So, I used the wizard to configure Spam filter in hopes that it would help. It did not, but everything worked fine.

So I was looking around and I decided to check if Bogofilter (or whatever it is called) had a different button than the "Filter Classify as Spam" button. So, I went to configure the Kmail Toolbar and I noticed that although the toolbar contained the "Filter Classify as Spam" and the "Filter Classify as NOT Spam" buttons were on the toolbar the toolbar configuration menu showed they were not present. So, I selected each button and placed it on the toolbar and clicked okay. Kontact crashed. Every time I try and start Kontact, it crashes.

I have looked around but cannot seem to locate which file to modify so that the Kmail toolbar in Kontact goes back to normal.
--------------
THEN
--------------
Okay, I found it. Of course the configuration is handled through the "kmailrc". What threw me off was that the button is configured through the filter definition.


[Filter #17]
Applicability=0
AutomaticName=true
ConfigureShortcut=false
ConfigureToolbar=false
Icon=mail_spam
StopProcessingHere=true
accounts-set=
action-args-0=P
action-args-1=bogofilter -N -s
action-args-2=Junk
action-name-0=set status
action-name-1=execute
action-name-2=transfer
actions=3
apply-on=
contentsA=0
fieldA=<size>
funcA=greater-or-equal
name=Classify as spam
operator=and
rules=1

[Filter #18]
Applicability=0
AutomaticName=true
ConfigureShortcut=false
ConfigureToolbar=false
Icon=mail_ham
StopProcessingHere=true
accounts-set=
action-args-0=H
action-args-1=bogofilter -S -n
action-name-0=set status
action-name-1=execute
actions=2
apply-on=
contentsA=0
fieldA=<size>
funcA=greater-or-equal
name=Classify as NOT spam
operator=and
rules=1



I just changed "ConfigureShortcut" and "ConfigureToolbar" to false. Once I made this change it started right up. After playing around a little bit it seems that the "ConfigureShortcut" is the problem. But I cannot get "ConfigureToolbar" to go back to true. Also, now the buttons do not show up in the configuration menu at all.

So, then I ran the SpamWizard again and the buttons reappeared. Great, but when I restart Kmail crashes again. So, once again, no Anti-Spam.

--------------

Thank you,
Cutaway
Comment 1 Christophe Marin 2008-08-07 08:19:48 UTC
Please read the following page and provide a useful backtrace for this crash : http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

If it is really a duplicate, the old one will be reopened and this one closed.
Comment 2 Don C. Weber 2008-08-12 13:40:08 UTC
Created attachment 26801 [details]
Kontact Crash File After Enabling Spam Filtering with Wizard

I have followed the instructions and attached the crash report.  Please let me
know if you need additional information.

Thank you,
Cutaway
Comment 3 Christophe Marin 2008-08-12 14:13:49 UTC
[Thread debugging using libthread_db enabled]
[New Thread 0xb5ebb920 (LWP 2306)]
[New Thread 0xb3625b90 (LWP 2310)]
[New Thread 0xb3e26b90 (LWP 2309)]
[New Thread 0xb4627b90 (LWP 2308)]
[New Thread 0xb4e28b90 (LWP 2307)]
[KCrash handler]
#6  0xb6c04bff in ?? () from /usr/lib/libqt-mt.so.3
#7  0xb716871a in KXMLGUI::ContainerNode::unplugClient (this=0x82064c0, 
    client=0x86d60f0)
    at /build/buildd/kdelibs-3.5.9/./kdeui/kxmlguifactory_p.cpp:426
#8  0xb71689cc in KXMLGUI::ContainerNode::unplugActions (this=0x82064c0, 
    state=@0x81f8b10)
    at /build/buildd/kdelibs-3.5.9/./kdeui/kxmlguifactory_p.cpp:406
#9  0xb7168a2c in KXMLGUI::ContainerNode::destruct (this=0x82064c0, 
    element=@0xbf89d774, state=@0x81f8b10)
    at /build/buildd/kdelibs-3.5.9/./kdeui/kxmlguifactory_p.cpp:313
#10 0xb7168c18 in KXMLGUI::ContainerNode::destructChildren (this=0x81f8c60, 
    element=@0xbf89d880, state=@0x81f8b10)
    at /build/buildd/kdelibs-3.5.9/./kdeui/kxmlguifactory_p.cpp:358
#11 0xb7168a1d in KXMLGUI::ContainerNode::destruct (this=0x81f8c60, 
    element=@0xbf89d880, state=@0x81f8b10)
    at /build/buildd/kdelibs-3.5.9/./kdeui/kxmlguifactory_p.cpp:311
#12 0xb71742ba in KXMLGUIFactory::removeClient (this=0x81f8ae0, 
    client=0x83776b8)
    at /build/buildd/kdelibs-3.5.9/./kdeui/kxmlguifactory.cpp:364
#13 0xb7620c4f in KParts::MainWindow::createGUI (this=0x80da210, 
    part=0x8377630) at /build/buildd/kdelibs-3.5.9/./kparts/mainwindow.cpp:108
#14 0x08062bba in Kontact::MainWindow::selectPlugin (this=0x80da210, 
    plugin=0x82bd300)
    at /build/buildd/kdepim-3.5.9/./kontact/src/mainwindow.cpp:740
#15 0x080610ad in Kontact::MainWindow::initObject (this=0x80da210)
    at /build/buildd/kdepim-3.5.9/./kontact/src/mainwindow.cpp:186
#16 0x08061275 in MainWindow (this=0x80da210)
    at /build/buildd/kdepim-3.5.9/./kontact/src/mainwindow.cpp:113
#17 0x0805ba8f in KontactApp::newInstance (this=0xbf89e27c)
    at /build/buildd/kdepim-3.5.9/./kontact/src/main.cpp:100
#18 0xb6e92ab6 in KUniqueApplication::processDelayed (this=0xbf89e27c)
    at /build/buildd/kdelibs-3.5.9/./kdecore/kuniqueapplication.cpp:444
#19 0xb6eace63 in KUniqueApplication::qt_invoke (this=0xbf89e27c, _id=19, 
    _o=0xbf89dc58) at ./kuniqueapplication.moc:86
#20 0xb6776704 in QObject::activate_signal (this=0x80c71c8, clist=0x80b9ba0, 
    o=0xbf89dc58) at kernel/qobject.cpp:2359
#21 0xb6b05aba in QSignal::signal (this=0x80c71c8, t0=@0x80c71f0)
    at .moc/debug-shared-mt/moc_qsignal.cpp:100
#22 0xb67957b2 in QSignal::activate (this=0x80c71c8) at kernel/qsignal.cpp:215
#23 0xb679d936 in QSingleShotTimer::event (this=0x80c71a0)
    at kernel/qtimer.cpp:289
#24 0xb670ac36 in QApplication::internalNotify (this=0xbf89e27c, 
    receiver=0x80c71a0, e=0xbf89df68) at kernel/qapplication.cpp:2638
#25 0xb670ca5f in QApplication::notify (this=0xbf89e27c, receiver=0x80c71a0, 
    e=0xbf89df68) at kernel/qapplication.cpp:2361
#26 0xb6ecb672 in KApplication::notify (this=0xbf89e27c, receiver=0x80c71a0, 
    event=0xbf89df68)
    at /build/buildd/kdelibs-3.5.9/./kdecore/kapplication.cpp:550
#27 0xb669b28d in QApplication::sendEvent (receiver=0x80c71a0, 
    event=0xbf89df68) at ../include/qapplication.h:523
#28 0xb66fdb19 in QEventLoop::activateTimers (this=0x80b96f8)
    at kernel/qeventloop_unix.cpp:559
#29 0xb66b064b in QEventLoop::processEvents (this=0x80b96f8, flags=4)
    at kernel/qeventloop_x11.cpp:392
#30 0xb6725f90 in QEventLoop::enterLoop (this=0x80b96f8)
    at kernel/qeventloop.cpp:201
#31 0xb6725c8e in QEventLoop::exec (this=0x80b96f8)
    at kernel/qeventloop.cpp:148
#32 0xb670c7df in QApplication::exec (this=0xbf89e27c)
    at kernel/qapplication.cpp:2761
#33 0x0805c113 in main (argc=141454920, argv=0x820c400)
    at /build/buildd/kdepim-3.5.9/./kontact/src/main.cpp:163

*** This bug has been marked as a duplicate of 102470 ***
Comment 4 Don C. Weber 2009-01-31 21:13:52 UTC
Created attachment 30796 [details]
Kontact Crash File after enabling Spam Filtering with Wizard 1/31/2009

I am still getting the same behavior as I described in my original post.  Although it seems that Bug 102470 has been fixed, the bug associated with the Anti-spam wizard has not.  I have attached another file with my current backtrace and here is my system information.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 8.04.2
Release:        8.04
Codename:       hardy
$ uname -a
Linux sager-laptop 2.6.24-23-generic #1 SMP Mon Jan 26 00:13:11 UTC 2009 i686 GNU/Linux

KMail
Version 1.9.10
KDE Email Client
(c) 1997-2008, The KMail developers

KMail
Version 1.9.10
KDE Email Client
(c) 1997-2008, The KMail developers
Comment 5 Don C. Weber 2009-01-31 21:24:34 UTC
Created attachment 30797 [details]
Kontact Crash File after enabling Spam Filtering with Wizard 1/31/2009

I am still getting the same behavior as I described in my original post.  Although it seems that Bug 102470 has been fixed, the bug associated with the Anti-spam wizard has not.  I have attached another file with my current backtrace and here is my system information.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 8.04.2
Release:        8.04
Codename:       hardy
$ uname -a
Linux sager-laptop 2.6.24-23-generic #1 SMP Mon Jan 26 00:13:11 UTC 2009 i686 GNU/Linux

KMail
Version 1.9.10
KDE Email Client
(c) 1997-2008, The KMail developers

KMail
Version 1.9.10
KDE Email Client
(c) 1997-2008, The KMail developers
Comment 6 Don C. Weber 2009-01-31 21:44:19 UTC
Created attachment 30798 [details]
Kontact Crash File after enabling Spam Filtering with Wizard 1/31/2009

I am still getting the same behavior as I described in my original post.  Although it seems that Bug 102470 has been fixed, the bug associated with the Anti-spam wizard has not.  I have attached another file with my current backtrace and here is my system information.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 8.04.2
Release:        8.04
Codename:       hardy
$ uname -a
Linux sager-laptop 2.6.24-23-generic #1 SMP Mon Jan 26 00:13:11 UTC 2009 i686 GNU/Linux

KMail
Version 1.9.10
KDE Email Client
(c) 1997-2008, The KMail developers

KMail
Version 1.9.10
KDE Email Client
(c) 1997-2008, The KMail developers
Comment 7 Don C. Weber 2009-01-31 21:46:11 UTC
Created attachment 30799 [details]
Kontact Crash File after enabling Spam Filtering with Wizard 1/31/2009

I am still getting the same behavior as I described in my original post.  Although it seems that Bug 102470 has been fixed, the bug associated with the Anti-spam wizard has not.  I have attached another file with my current backtrace and here is my system information.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 8.04.2
Release:        8.04
Codename:       hardy
$ uname -a
Linux sager-laptop 2.6.24-23-generic #1 SMP Mon Jan 26 00:13:11 UTC 2009 i686 GNU/Linux

KMail
Version 1.9.10
KDE Email Client
(c) 1997-2008, The KMail developers

KMail
Version 1.9.10
KDE Email Client
(c) 1997-2008, The KMail developers
Comment 8 Don C. Weber 2009-01-31 21:48:39 UTC
More system information for last comment

KDE 3.5.10

Kontact
Version 1.2.9
KDE personal information manager
(C) 2001-2008 The Kontact developers