Bug 172049 - KMail crashes during creating new email message
Summary: KMail crashes during creating new email message
Status: RESOLVED DUPLICATE of bug 156635
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.10.1
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-02 19:32 UTC by Michal Kucera
Modified: 2008-10-05 16:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
debug output of kmail's crash (5.14 KB, text/plain)
2008-10-02 19:33 UTC, Michal Kucera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Kucera 2008-10-02 19:32:50 UTC
Version:           1.10.1 (using 4.1.1 (KDE 4.1.1), Kubuntu packages)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24-19-generic

Here is description how to reproduce it: 

1. open KMail 
2. click on "New Message" 
3. click into body of email message for writing text 
4. KMail crashes with debug output

I attached debug output in file kmail.crash
Comment 1 Michal Kucera 2008-10-02 19:33:40 UTC
Created attachment 27661 [details]
debug output of kmail's crash
Comment 2 Thomas McGuire 2008-10-02 19:55:36 UTC

*** This bug has been marked as a duplicate of bug 156635 ***
Comment 3 Michal Kucera 2008-10-03 19:52:13 UTC
This bug is not solved because I updated to KDE 4.1.2 and the problem is still exists. 
Comment 4 Michal Kucera 2008-10-03 19:55:24 UTC
I think it is not duplicate of bug 156635. 
Comment 5 Thomas McGuire 2008-10-03 19:57:17 UTC

*** This bug has been marked as a duplicate of bug 156635 ***
Comment 6 Pino Toscano 2008-10-05 15:41:01 UTC
(In reply to comment #3)
> This bug is not solved because I updated to KDE 4.1.2 and the problem is still
> exists. 

Nobody said this is solved. DUPLICATE means "your problem was already reported", it does imply nothing about the real resolution of the original bug.

Please do not reopen bugs without a single clue of the system.

*** This bug has been marked as a duplicate of bug 156635 ***
Comment 7 Michal Kucera 2008-10-05 15:46:39 UTC
I know where is problem. In new message If I set up spellchecker to czech language kmail doesn't crash after clicking into message's body. But if I close the "new message" window and click on new message again and go to settings of spellchecker I find that language is set to bulgarian. I can choose any language but language is not saved. After click again on new message spellchecker is again set to bulgarian language. 
In global settings I have set spellchecker to czech language not bulgarian. I don't have installed bulgarian language for aspell.  
Comment 8 Michal Kucera 2008-10-05 16:04:32 UTC
Here is console output: 


michal@michal-laptop:~$ kmail
kmail(28708) KMail::lockOrDie: oldPid= 27834
kmail(28708) KMKernel::KMKernel:            
kmail(28708) KMKernel::init: foldersPath (from config): "/home/michal/.kde4/share/apps/kmail/mail"
kmail(28708) KMKernel::identityManager:                                                           
kmail(28708) KMFilterMgr::KMFilterMgr: pPopFilter set                                             
kmail(28708) KMFolderMaildir::createIndexFromContents: Creating index for "/home/michal/.kde4/share/apps/kmail/autosave"
kmail(28708) KMFolderMaildir::createIndexFromContents: Creating index for "/home/michal/.kde4/share/apps/kmail/autosave"
kmail(28708) KMailApplication::newInstance:                                                                             
kmail(28708) KMKernel::openReader:                                                                                      
kmail(28708) KMSystemTray::KMSystemTray: Initting systray                                                               
kmail(28708) KMSystemTray::setMode: Setting systray mMode to 0                                                          
michal@michal-laptop:~$ kmail(28708) KMReaderWin::setMsg: ( 31 , last 0 ) "[Bug 172049] KMail crashes during creating new email message" "Michal Kucera" , readyToShow true
kmail(28708) KMReaderWin::overrideCodec:  mOverrideEncoding == ' "" '                                                                                                      
kmail(28708) KMail::Vacation::Vacation: Vacation: found url " "" "                                                                                                         
kmail(28708) KMReaderWin::overrideCodec:  mOverrideEncoding == ' "" '                                                                                                      
kmail(28708) KMReaderWin::parseMsg: aMsg == aMsg )                                                                                                                         
kmail(28708) partNode::dump: "" + "Text" / "Plain"                                                                                                                         
kmail(28708) partNode::fillMimePartTree:       Inserting one item into MimePartTree                                                                                        
kmail(28708) partNode::fillMimePartTree:                 Content-Type: "Text/Plain"                                                                                        
kmail(28708) partNode::findType: Is looking at Text / Plain                                                                                                                
kmail(28708) partNode::findType: Is looking at Text / Plain                                                                                                                
kmail(28708) KMail::SpamHeaderAnalyzer::getSpamScores:                                                                                                                     
kmail(28708) KMail::SpamHeaderAnalyzer::getSpamScores: Score could not be extracted from header ' "score=-8.8" '                                                           
kmail(28708) KMail::FancyHeaderStyle::format: Multiple / No addressees matched email address; Count is 0                                                                   
kmail(28708) KMail::ObjectTreeParser::parseObjectTree: node OK,  showOnlyOneMimePart:  FALSE                                                                               
kmail(28708) loadPlugins: BodyPartFormatterFactory: found 4  plugins.                                                                                                      
kmail(28708) insertBodyPartFormatter: BodyPartFormatterFactory: overwriting previously registered formatter for " application / octet-stream "
kmail(28708) insertBodyPartFormatter: BodyPartFormatterFactory: instantiating new Subtype Registry for " text "
kmail(28708) <unnamed>::UrlHandler::UrlHandler: UrlHandler() (iCalendar)
kmail(28708) KMReaderWin::overrideCodec:  mOverrideEncoding == ' "" '
kmail(28708) KMReaderWin::parseMsg: Finished parsing and displaying of message.
kmail(28708) KIO::DataProtocol::DataProtocol:
kmail(28708) KIO::DataProtocol::get: kio_data@ KIO::DataSlave(0x87b4b40) ::get(const KUrl& url)
kmail(28708) KMail::TemplateParser::findTemplate: Folder found: KMFolder(0x8224010)
kmail(28708) KMail::TemplateParser::findTemplate: Identity found: 1234647832
kmail(28708) KMail::TemplateParser::processWithTemplate: Command: REM=
kmail(28708) KMail::TemplateParser::processWithTemplate: Command: -
kmail(28708) KMail::TemplateParser::processWithTemplate: Command: BLANK
kmail(28708) KMMessage::setBodyAndGuessCte: CharFreq returned 4 / 0 and I chose 7bit
kmail(28708) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_hspell.desktop"
kmail(28708) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_enchant.desktop"
Enchant dict for "cs" 0x88254b8
kmail(28708) KMComposeWin::slotUpdateFont:
kmail(28708) KMComposeWin::readConfig: "mkucera@klikni.cz"
kmail(28708) KMComposeWin::slotUpdateFont:
kmail(28708) KMComposeWin::rethinkFields:
kmail(28708) KMComposeWin::initAutoSave:
kmail(28708) KMComposeWin::rethinkFields:
kmail(28708) partNode::dump: "" + "Text" / "Plain"
kmail(28708) KMail::ObjectTreeParser::parseObjectTree: node OK,  showOnlyOneMimePart:  FALSE
kmail(28708) partNode::findType: Is looking at Text / Plain
Enchant dict for "cs" 0x88254b8
Enchant dict for "cs" 0x88254b8
Couldn't create speller for "bg" :  The file "/usr/lib/aspell/bg.multi" can not be opened for reading.
ASSERT: "dict" in file /build/buildd/kde4libs-4.1.2/kdecore/sonnet/loader.cpp, line 116
*** KMail got signal 6 (Crashing)
kmail(28708) KMComposeWin::autoSaveMessage:
kmail(28708) KMComposeWin::autoSaveMessage: autosaving message
kmail(28708) KMComposeWin::applyChanges: Entering
kmail(28708) MessageComposer::applyChanges: KMAIL_DEBUG_COMPOSER_CRYPTO = FALSE
kmail(28708) MessageComposer::breakLinesAndApplyCodec: Added an <LF> on the last line
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kmail path = <unknown> pid = 28708
sock_file=/home/michal/.kde4/socket-michal-laptop/kdeinit4__0
Comment 9 Michal Kucera 2008-10-05 16:06:25 UTC
It looks like that kmail search for bulgarian language instead of czech language.