Bug 292851 - Crash of kmail when opening a draft
Summary: Crash of kmail when opening a draft
Status: RESOLVED DUPLICATE of bug 287856
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mageia RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-30 10:07 UTC by Balcaen John
Modified: 2012-01-31 18:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Balcaen John 2012-01-30 10:07:23 UTC
Application: kmail (4.8.0)
KDE Platform Version: 4.8.00 (4.8.0
Qt Version: 4.8.0
Operating System: Linux 3.2.2-desktop-1.mga2 x86_64
Distribution: "Mageia Cauldron"

-- Information about the crash:
- What I was doing when the application crashed:
Kmail crashed when i choose to open a previous mail in my draft folder.
Here i'm able to reproduce :
- answer to a previous mail, save it as draft
The draft folder here is on a gmail account.
- close kmail
- restart kmail & try to resume your draft mail, kmail will crash.
Once kmail is restarted  after the crash you'll get :
 - the mail kmail windows
 - a composer window with the content of the draft mail but in a 8 column folder.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7ff92a201760 (LWP 27782))]

Thread 4 (Thread 0x7ff90835f700 (LWP 27785)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff91b99b97c in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#2  0x00007ff91b99baa9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00007ff9155ac2da in ?? () from /usr/lib64/nvidia-current/libGL.so.1
#4  0x00007ff9253b2b99 in start_thread (arg=0x7ff90835f700) at pthread_create.c:301
#5  0x00007ff9275bc0cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff907a56700 (LWP 27786)):
#0  0x00007ff9200858ba in g_mutex_get_impl (mutex=<optimized out>) at gthread-posix.c:130
#1  0x00007ff920085b09 in g_mutex_lock (mutex=<optimized out>) at gthread-posix.c:208
#2  0x00007ff92004aa30 in g_main_context_iteration (context=0x7ff9000009c0, may_block=1) at gmain.c:3181
#3  0x00007ff927f2b926 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007ff927efbaa2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007ff927efbcf7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007ff927dfcae7 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007ff927dffb0b in QThreadPrivate::start(void*) () from /usr/lib64/libQtCore.so.4
#8  0x00007ff9155ac2da in ?? () from /usr/lib64/nvidia-current/libGL.so.1
#9  0x00007ff9253b2b99 in start_thread (arg=0x7ff907a56700) at pthread_create.c:301
#10 0x00007ff9275bc0cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff8bffff700 (LWP 27789)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007ff927dfff7f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007ff927df347f in QThreadPoolThread::run() () from /usr/lib64/libQtCore.so.4
#3  0x00007ff927dffb0b in QThreadPrivate::start(void*) () from /usr/lib64/libQtCore.so.4
#4  0x00007ff9155ac2da in ?? () from /usr/lib64/nvidia-current/libGL.so.1
#5  0x00007ff9253b2b99 in start_thread (arg=0x7ff8bffff700) at pthread_create.c:301
#6  0x00007ff9275bc0cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff92a201760 (LWP 27782)):
[KCrash Handler]
#6  0x00007ff928683f46 in QTextLine::cursorToX(int*, QTextLine::Edge) const () from /usr/lib64/libQtGui.so.4
#7  0x00007ff9286611fc in QTextControlPrivate::rectForPosition(int) const () from /usr/lib64/libQtGui.so.4
#8  0x00007ff928664a18 in QTextControl::ensureCursorVisible() () from /usr/lib64/libQtGui.so.4
#9  0x00007ff9286685b3 in QTextControl::setTextCursor(QTextCursor const&) () from /usr/lib64/libQtGui.so.4
#10 0x00007ff9234066d7 in Message::KMeditor::replaceSignature (this=0xefa1c00, oldSig=..., newSig=...) at /usr/src/debug/kdepim-4.8.0/messagecomposer/kmeditor.cpp:669
#11 0x00007ff9233f6949 in Message::ComposerViewBase::identityChanged (this=0x10397540, ident=..., oldIdent=...) at /usr/src/debug/kdepim-4.8.0/messagecomposer/composerviewbase.cpp:1143
#12 0x00007ff9290705f5 in KMComposeWin::slotIdentityChanged (this=0x104f0f70, uoid=1694468269, initalChange=true) at /usr/src/debug/kdepim-4.8.0/kmail/kmcomposewin.cpp:2951
#13 0x00007ff92907149b in KMComposeWin::setMsg (this=0x104f0f70, newMsg=..., mayAutoSign=false, allowDecryption=<optimized out>, isModified=false) at /usr/src/debug/kdepim-4.8.0/kmail/kmcomposewin.cpp:1531
#14 0x00007ff92900fdf3 in KMEditItemCommand::execute (this=0xefe6e60) at /usr/src/debug/kdepim-4.8.0/kmail/kmcommands.cpp:601
#15 0x00007ff92900e5b1 in KMCommand::slotPostTransfer (this=0xefe6e60, result=KMCommand::OK) at /usr/src/debug/kdepim-4.8.0/kmail/kmcommands.cpp:268
#16 0x00007ff927f10871 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#17 0x00007ff92900e3be in KMCommand::messagesTransfered (this=<optimized out>, _t1=KMCommand::OK) at /usr/src/debug/kdepim-4.8.0/build/kmail/kmcommands.moc:117
#18 0x00007ff929013639 in KMCommand::slotJobFinished (this=0xefe6e60) at /usr/src/debug/kdepim-4.8.0/kmail/kmcommands.cpp:378
#19 0x00007ff927f10871 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#20 0x00007ff9296068f2 in KJob::result (this=<optimized out>, _t1=0xe87a950) at /usr/src/debug/kdelibs-4.8.0/build/kdecore/kjob.moc:208
#21 0x00007ff929606930 in KJob::emitResult (this=0xe87a950) at /usr/src/debug/kdelibs-4.8.0/kdecore/jobs/kjob.cpp:318
#22 0x00007ff927f15a36 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#23 0x00007ff92841ca74 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x00007ff9284218f3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#25 0x00007ff929b92736 in KApplication::notify (this=0x7ffff202a4f0, receiver=0xe87a950, event=0xed25f20) at /usr/src/debug/kdelibs-4.8.0/kdeui/kernel/kapplication.cpp:311
#26 0x00007ff927efccbc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#27 0x00007ff927f004ea in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#28 0x00007ff927f2b493 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQtCore.so.4
#29 0x00007ff92004a5ba in g_main_dispatch (context=0x2031600) at gmain.c:2513
#30 g_main_context_dispatch (context=0x2031600) at gmain.c:3050
#31 0x00007ff92004a980 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x2031600, self=<optimized out>) at gmain.c:3121
#32 g_main_context_iterate (context=0x2031600, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3058
#33 0x00007ff92004aa44 in g_main_context_iteration (context=0x2031600, may_block=1) at gmain.c:3182
#34 0x00007ff927f2b8bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#35 0x00007ff9284bf5fe in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtGui.so.4
#36 0x00007ff927efbaa2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#37 0x00007ff927efbcf7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#38 0x00007ff927f007e5 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#39 0x0000000000402c43 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.8.0/kmail/main.cpp:145

Possible duplicates by query: bug 289478, bug 289370, bug 287856.

Reported using DrKonqi
Comment 1 Laurent Montel 2012-01-30 18:23:45 UTC

*** This bug has been marked as a duplicate of bug 287856 ***
Comment 2 Laurent Montel 2012-01-30 18:29:17 UTC
" 8 column folder." ?.
Comment 3 Balcaen John 2012-01-30 19:08:49 UTC
(In reply to comment #2)
> " 8 column folder." ?.

Everything is streched like this :

Everythi
ng is st
reched l
ike this
 :

the « term » folder is wrong indeed.
Comment 4 Laurent Montel 2012-01-31 13:50:01 UTC
it replace old signature.
Is it possible to paste your different signature here ? (if possible)
Do you insert it in top or bottom of message ?
Comment 5 Balcaen John 2012-01-31 18:44:46 UTC
my signature is insert in the bottom of message.
& the signature in my mageia identities (used here) is :

Balcaen John
Jabber-id: mikala@jabber.littleboboy.net