Bug 286264 - Crash after automatic migration from kmail to kamil2
Summary: Crash after automatic migration from kmail to kamil2
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.7
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-10 13:41 UTC by Danilo Marcucci
Modified: 2012-06-25 12:03 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.0
Sentry Crash Report:


Attachments
Output from valgrind (18.43 KB, text/plain)
2011-11-11 09:17 UTC, Danilo Marcucci
Details
output from valgrind (12.70 KB, text/plain)
2012-01-19 15:57 UTC, Danilo Marcucci
Details
Image error (15.77 KB, image/jpeg)
2012-01-19 16:10 UTC, Danilo Marcucci
Details
Screenshot of akonadiconsole (68.03 KB, image/jpeg)
2012-01-23 08:40 UTC, Danilo Marcucci
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Danilo Marcucci 2011-11-10 13:41:41 UTC
Version:           4.7 (using KDE 4.7.2) 
OS:                Linux

I have installed Fedora 16, not upgrade. I'm use KDE as desktop. The previw fedora was 13. After the first login on fedora 16 I have lunched Kmail2. Automatically migration successiful but after click on end botton kmail2 not work.
Bottom the error from shell:

[User@vaio user]$ LANG=C
[User@vaio user]$ kmail
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
loaded the Generic plugin 
Object::connect: No such slot KMMainWidget::slotItemNotMovedByFilters( Akonadi::Item )
[Danilo@vaio Danilo]$ kmail2(17809) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
The error was:
You do not have read/write permission to your inbox folder." 
kmail2(17809) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
The error was:
You do not have read/write permission to your inbox folder." 
kmail2(17809) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
The error was:
You do not have read/write permission to your inbox folder." 
kmail2(17809) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
The error was:
You do not have read/write permission to your inbox folder." 
kmail2(17809) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
The error was:
You do not have read/write permission to your inbox folder." 
kmail2(17809) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
The error was:
You do not have read/write permission to your inbox folder." 
kmail2(17809): Error while fetching items.  103 "Unknown error. (Cannot list root collection.)" 

[Danilo@vaio Danilo]$ kmail
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
loaded the Generic plugin 
Object::connect: No such slot KMMainWidget::slotItemNotMovedByFilters( Akonadi::Item )
[Danilo@vaio Danilo]$ kmail2(18148) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
The error was:
You do not have read/write permission to your inbox folder." 
kmail2(18148) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
The error was:
You do not have read/write permission to your inbox folder." 
kmail2(18148) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
The error was:
You do not have read/write permission to your inbox folder." 
kmail2(18148) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
The error was:
You do not have read/write permission to your inbox folder." 
kmail2(18148) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
The error was:
You do not have read/write permission to your inbox folder." 
kmail2(18148) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
The error was:
You do not have read/write permission to your inbox folder." 
kmail2(18148): Error while fetching items.  103 "Unknown error. (Cannot list root collection.)" 
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x26000b5
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x2600014


Reproducible: Always

Steps to Reproduce:
Lanch Kmail2

Actual Results:  
Not worked

Expected Results:  
Worked
Comment 1 Laurent Montel 2011-11-10 15:20:54 UTC
backtrace ?
Comment 2 Danilo Marcucci 2011-11-11 09:17:41 UTC
Created attachment 65510 [details]
Output from valgrind

File generated:
[User@vaio User]$ valgrind kmail 2>&1 | tee -a kmail-with-valgrind.txt
Comment 3 Allen Winter 2011-11-11 14:33:58 UTC
for record, the connect for the KMMainWidget::slotItemNotMovedByFilters()  SLOT has been ifdef'd out for KDE 4.7.4 and doesn't exist at all in master.

so at least that part of the bug is fixed.
Comment 4 Danilo Marcucci 2012-01-19 15:57:28 UTC
Created attachment 68009 [details]
output from valgrind
Comment 5 Danilo Marcucci 2012-01-19 15:58:06 UTC
Dear,
i have update Fedora 16 with KDE 4.7.4-1.
Kamil again not work.
I have lunch kmail2 and after automatically migration successiful its not work.
DEBUG
Output from valgrind
File generated:
[User@vaio User]$ LANG=C && valgrind kmail 2>&1 | tee -a kmail-4-7-4.1-with-valgrind.txt
Comment 6 Danilo Marcucci 2012-01-19 16:10:30 UTC
Created attachment 68010 [details]
Image error
Comment 7 Laurent Montel 2012-01-19 16:24:58 UTC
akonadiconsole => look at maildir info (local folder)
do you have path for maildir ?
Comment 8 Danilo Marcucci 2012-01-20 14:08:27 UTC
Where can I find the file configuration to verify if the maildir is rigrh?
The maildir now is ~/Mail. I have changed only HOME path and the usernam from oldHOME to newHOME and from oldUSERNAME to newUSERNAME.
I can use both the old fedora 13 that work correctly and the new Fedora 16 as test.
Comment 9 Danilo Marcucci 2012-01-23 08:38:25 UTC
Under akonadiconsol --> local folder --> double cliclk on it, report: "The select path is empty".
The same thing on Fedora 13 where kmail working correctly.
Comment 10 Danilo Marcucci 2012-01-23 08:40:09 UTC
Created attachment 68107 [details]
Screenshot of akonadiconsole
Comment 11 Laurent Montel 2012-01-23 09:43:01 UTC
by default this patch mustn't be empty.
Comment 12 Danilo Marcucci 2012-01-23 10:42:53 UTC
Do you have a idea how to adjusts/fix/repair it?
You remember that kamil working correctly on fedora 13 and fedora 15 (fedora 14 i don't now), with the same report "The select path is empty". Only on fedora 16 have prolblems after migration in kamil2.
Comment 13 Laurent Montel 2012-01-23 10:54:39 UTC
fedora 13 fedora 15 use kmail 2 ?
Comment 14 Danilo Marcucci 2012-01-23 13:03:43 UTC
I have:
On Fedora 13 
#kmail --v
Qt: 4.6.3
KDE Development Platform: 4.5.5 (4.5.5)
KMail: 1.13.6


On Fedora 15
#kmail --v
Qt: 4.7.4
KDE Development Platform: 4.6.5 (4.6.5)
KMail: 1.13.7

On Fedora 16
#kmail --v
Qt: 4.8.0
KDE Development Platform: 4.7.4 (4.7.4)
KMail: 4.7.4
Comment 15 Laurent Montel 2012-01-23 13:38:53 UTC
so kmail1 for fedora 13/15
now it's necessary to adapt path for maildir.
Don't know where is your maildir but I think "~/Mail" try to add it and restart kmail
Comment 16 Unknown 2012-06-24 17:13:30 UTC
This bug is now fixed. Look at release KDE 4.9 and https://bugs.kde.org/show_bug.cgi?id=124111