Bug 247580

Summary: Sending an email crashes Kmail-mobile
Product: [Applications] KMail Mobile Reporter: Sabine Faure <sabine>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CLOSED FIXED    
Severity: major CC: felix.wolfsteller
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sabine Faure 2010-08-12 23:55:11 UTC
Version:           unspecified (using Devel) 
OS:                Linux

After Typing and email and clicking on 'send' button to send it, Kmail-mobile crashes whereas it should not.

Reproducible: Always

Steps to Reproduce:
- Launch Kmail-mobile
- Configure an Imap resource
- Click on 'Write new Email' button
- Type in a subject and a few words in the text editor
- Make sure that the identity displays you Imap resource identity
- Open the 'Recipients' tab and type in your email address (not your Imap one)
- Close the 'Recipients' tab
- Click on the 'Send' button

Actual Results:  
Kmail-mobile crashes

Expected Results:  
whereas the email should be sent properly and Kmail-mobile should not crash.

Here is what is displayed in my terminal while Kmail-mobile crashes:

kmail-mobile(8407) ComposerView::send:
kmail-mobile(8407) Message::ComposerViewBase::send: Plain text
kmail-mobile(8407) Message::ComposerViewBase::readyForSending: Entering readyForSending
void Nepomuk::Search::QueryServiceClient::close() 
void Nepomuk::Search::QueryServiceClient::close() 
void Nepomuk::Search::QueryServiceClient::close() 
void Nepomuk::Search::QueryServiceClient::close() 
kmail-mobile(8407) Message::ComposerViewBase::generateCryptoMessages: filling crypto info
kmail-mobile(8407) Message::Util::selectCharset: Chosen charset "utf-8"
kmail-mobile(8407) Message::MainTextJobPrivate::encodeTexts: Done.
kmail-mobile(8407) Message::MainTextJob::doStart: Making text/plain
kmail-mobile(8407) Message::ContentJobBasePrivate::doNextSubjob: Calling process.
kmail-mobile(8407) Message::SinglepartJobPrivate::chooseCTE: Settled on encoding "7bit"
kmail-mobile(8407) Message::ContentJobBase::slotResult: A subjob finished. 0 more to go.
kmail-mobile(8407) Message::ContentJobBasePrivate::doNextSubjob: Calling process.
kmail-mobile(8407) Message::ComposerPrivate::contentJobFinished: composing final message
kmail-mobile(8407) Message::ComposerViewBase::slotSendComposeResult: compose job might have error error 0 errorString ""
kmail-mobile(8407) Message::ComposerViewBase::slotSendComposeResult: NoError.
kmail-mobile(8407) Message::ComposerViewBase::queueMessage: Queued a message.
kmail-mobile(8407) Message::ComposerViewBase::slotEmailAddressResolved: Started a composer for sending!
kmail-mobile(8407)/libkdepim Akonadi::PluginLoader::scan: missing or empty [Plugin]X-Akonadi-Class value in " "/usr/share/kde4/apps/akonadi/plugins/serializer/akonadi_serializer_addressee.desktop" " - skipping 

kmail-mobile(8407)/libkdepim Akonadi::PluginLoader::scan: missing or empty [Plugin]X-Akonadi-Class value in " "/usr/share/kde4/apps/akonadi/plugins/serializer/akonadi_serializer_mail.desktop" " - skipping 

kmail-mobile(8407)/libkdepim Akonadi::PluginLoader::scan: missing or empty [Plugin]X-Akonadi-Class value in " "/usr/share/kde4/apps/akonadi/plugins/serializer/akonadi_serializer_kcal.desktop" " - skipping 

kmail-mobile(8407)/libkdepim Akonadi::PluginLoader::scan: missing or empty [Plugin]X-Akonadi-Class value in " "/usr/share/kde4/apps/akonadi/plugins/serializer/akonadi_serializer_contactgroup.desktop" " - skipping 

KCrash: Application 'kmail-mobile' crashing...
KCrash: Attempting to start  from kdeinit
sock_file=/home/user/.kde/socket-Nokia-N900-51-1/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start  directly
KCrash failed to exec(), errno = 2

N900 Packages, Svn Rev 1159743
Comment 1 Sabine Faure 2010-08-13 22:34:54 UTC
I retested this today and sending an email works fine now so I am closing this bug.

N900 Packages, Svn Rev 1162201
Comment 2 Felix Wolfsteller 2010-09-21 11:49:07 UTC
Have not oserved in 4:4.5~20100920.1177660-1maemo1.1177547 and several earlier versions.