Bug 295460 - Kmail crashes on inline forward of mail in local sent-mail folder
Summary: Kmail crashes on inline forward of mail in local sent-mail folder
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: commands and actions (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR critical
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-07 10:17 UTC by Martin van Es
Modified: 2012-04-08 18:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kmail crash debug trace (8.54 KB, application/octet-stream)
2012-03-07 10:47 UTC, Martin van Es
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin van Es 2012-03-07 10:17:48 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.66 Safari/535.11
Build Identifier: 

Kmail crashes (segmentation fault) when I inline forward (shift-F) any mail in the local sent-mail folder.

Reproducible: Always

Steps to Reproduce:
1. Go to local sent-mail folder
2. Right click any mail and go to Forward
3. Choose Inline...


Actual Results:  
Kmail2 crashes (Segmention Fault)
After kmail2 restart, the inline forwarded mail is restored and presented as available (pop-up window) as expected before the crash. The mail however is line-wrapped to approximately 10 chars wide.

Expected Results:  
I would expect a pop-up containing the inline forwarded mail, not line-wrapped to 10 chars wide.

Executable: kmail PID: 30279 Signal: Segmentation fault (11)
Comment 1 Martin van Es 2012-03-07 10:19:09 UTC
I forgot to mention I'm on KDE 4.8.1 since this morning.
Comment 2 Laurent Montel 2012-03-07 10:25:46 UTC
backtrace ?
Comment 3 Martin van Es 2012-03-07 10:47:32 UTC
Created attachment 69342 [details]
kmail crash debug trace
Comment 4 Laurent Montel 2012-03-07 11:05:41 UTC
Still bug with signature + qt 4.8 + #6  0x00007f052e5be8dc in QTextLine::cursorToX (this=0x7fff01d447f0, cursorPos=0x7fff01d44838, edge=QTextLine::Leading) at text/qtextlayout.cpp:2511
#7  0x00007f052e59b9cc in cursorToX (edge=QTextLine::Leading, cursorPos=0, this=0x7fff01d447f0) at ../../include/QtGui/../../src/gui/text/qtextlayout.h:230
#8  QTextControlPrivate::rectForPosition (this=0x35973f0, position=<optimized out>) at text/qtextcontrol.cpp:1368
#9  0x00007f052e59f1e8 in QTextControl::ensureCursorVisible (this=<optimized out>) at text/qtextcontrol.cpp:2950
#10 0x00007f052e5a2d83 in QTextControl::setTextCursor (this=0x35973d0, cursor=...) at text/qtextcontrol.cpp:833


Perhaps you can try to use valgrind on this kmail and look at what is the problem ?
Sorry I can't debug it :(


I can't reproduce this crash here. So difficult to debug
Comment 5 Laurent Montel 2012-03-07 11:07:35 UTC
Perhaps your email is specific.

Could you send me in private your ".kde/share/config/emailidentities" I want to look at what is specific in your signature to try to reproduce crash.

Thanks
Comment 6 Laurent Montel 2012-03-09 08:11:25 UTC
I can't reproduce it... don't know why on my computer it works
Comment 7 Martin van Es 2012-03-09 08:16:04 UTC
Would it help if I started from scratch on a new kmail configuration? If so, what configuration files should I backup and delete?
Comment 8 Martin van Es 2012-04-08 18:56:38 UTC
Fixed in 4.8.2