Summary: | Kontact/KMail crashes when closing the Sieve dialog | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Elias Probst <mail> |
Component: | sieve | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | desintegr, montel, MurzNN |
Priority: | NOR | ||
Version: | 4.7 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.7.2 | |
Sentry Crash Report: | |||
Attachments: | Screenshot of sieve script listing |
Description
Elias Probst
2011-08-22 12:55:01 UTC
It seems this crash does not happen, when editing a script and using "OK" afterwards, which means the Sieve dialog updates the script on the server. This means the crash does only occur, when no upload to the server happened. I can't reproduce this crash. Do you have several script ? Created attachment 63057 [details] Screenshot of sieve script listing (In reply to comment #3) > Do you have several script ? One server with 1 script One server with no scripts See also attached screenshot. Ok for the moment I can't reproduce it Will continue I also have this crash with the same stacktrace on Arch Linux 64 bits and KMail 4.7.1. I open the Sieve config dialog, close it then I get the crash. I have one IMAP account with no Sieve script (yet). *** Bug 283012 has been marked as a duplicate of this bug. *** As I describe in Bug 283012, it crashes only if can't connect to Sieve server, if connection is successful, it isn't crash. Hope this helps solve issue. Git commit 53fd6b2eeba7d2aa8144be984fd7b82b5f1f4671 by Montel Laurent. Committed on 29/09/2011 at 19:14. Pushed by mlaurent into branch 'master'. Fix Bug 280568 - Kontact/KMail crashes when closing the Sieve dialog When we call kill() we send a signal result() and result remove job in mJobs => list of mJobs is not good after that. So when we close dialog we disconnect signal before to call kill and mJobs is clear at the end of function FIXED-IN: 4.7.2 BUG: 280568 M +11 -6 libksieve/ksieveui/managesievescriptsdialog.cpp M +2 -2 libksieve/ksieveui/managesievescriptsdialog.h http://commits.kde.org/kdepim/53fd6b2eeba7d2aa8144be984fd7b82b5f1f4671 Git commit caecde24b1a011b11a4b311c18e3cddc809adbac by Montel Laurent. Committed on 29/09/2011 at 19:14. Pushed by mlaurent into branch 'KDE/4.7'. Fix Bug 280568 - Kontact/KMail crashes when closing the Sieve dialog When we call kill() we send a signal result() and result remove job in mJobs => list of mJobs is not good after that. So when we close dialog we disconnect signal before to call kill and mJobs is clear at the end of function FIXED-IN: 4.7.2 BUG: 280568 (cherry picked from commit 53fd6b2eeba7d2aa8144be984fd7b82b5f1f4671) M +11 -6 libksieve/ksieveui/managesievescriptsdialog.cpp M +2 -2 libksieve/ksieveui/managesievescriptsdialog.h http://commits.kde.org/kdepim/caecde24b1a011b11a4b311c18e3cddc809adbac |