Bug 318184 - KMail crash after removing recipient
Summary: KMail crash after removing recipient
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.10.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-11 09:39 UTC by Martin Holec
Modified: 2017-01-07 22:03 UTC (History)
0 users

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 Martin Holec 2013-04-11 09:39:17 UTC
Application: kontact (4.10.1)
KDE Platform Version: 4.10.1
Qt Version: 4.8.4
Operating System: Linux 3.8.5-201.fc18.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
0. Have an existing sent message with multiple recipients.
1. Right click on existing message in Sent folder - "Edit message".
2. Delete one BCC recipient, then hit Enter.
3. Crash

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fb511f9e880 (LWP 14198))]

Thread 3 (Thread 0x7fb5054e7700 (LWP 14199)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000033230169bd in WTF::TCMalloc_PageHeap::scavengerThread (this=0x3323a01d00 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:2495
#2  0x0000003323016ac9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x0000003a28e07d15 in start_thread (arg=0x7fb5054e7700) at pthread_create.c:308
#4  0x0000003a286f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7fb504bd6700 (LWP 14200)):
#0  0x0000003a286e99ad in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003a28247d24 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fb5000029c0, timeout=9226, context=0x7fb5000009a0) at gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7fb5000009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#3  0x0000003a28247e44 in g_main_context_iteration (context=0x7fb5000009a0, may_block=1) at gmain.c:3351
#4  0x0000003a31fa6126 in QEventDispatcherGlib::processEvents (this=0x7fb5000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x0000003a31f7680f in QEventLoop::processEvents (this=this@entry=0x7fb504bd5d00, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003a31f76a98 in QEventLoop::exec (this=0x7fb504bd5d00, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003a31e78980 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x0000003a31e7b95c in QThreadPrivate::start (arg=0x874a30) at thread/qthread_unix.cpp:338
#9  0x0000003a28e07d15 in start_thread (arg=0x7fb504bd6700) at pthread_create.c:308
#10 0x0000003a286f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7fb511f9e880 (LWP 14198)):
[KCrash Handler]
#6  0x0000003a31f7de27 in QMetaObject::cast (this=0x3a55d29fa0 <MessageComposer::RecipientLineNG::staticMetaObject>, obj=0x238e0e1) at kernel/qmetaobject.cpp:274
#7  0x0000003a55aabb09 in qobject_cast<MessageComposer::RecipientLineNG*> (object=0x238e0e1) at /usr/include/QtCore/qobject.h:380
#8  MessageComposer::RecipientsEditor::slotLineDeleted (this=0x1418900, pos=<optimized out>) at /usr/src/debug/kdepim-4.10.1/messagecomposer/recipientseditor.cpp:236
#9  0x0000003a31f8ceef in QMetaObject::activate (sender=0x1418900, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff291c4200) at kernel/qobject.cpp:3539
#10 0x0000003a502861d1 in KPIM::MultiplyingLineEditor::lineDeleted (this=<optimized out>, _t1=-1) at /usr/src/debug/kdepim-4.10.1/x86_64-redhat-linux-gnu/libkdepim/multiplyinglineeditor.moc:240
#11 0x0000003a31f8ceef in QMetaObject::activate (sender=0x226c3c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff291c4350) at kernel/qobject.cpp:3539
#12 0x0000003a50286a91 in KPIM::MultiplyingLineView::lineDeleted (this=this@entry=0x226c3c0, _t1=_t1@entry=-1) at /usr/src/debug/kdepim-4.10.1/x86_64-redhat-linux-gnu/libkdepim/multiplyinglineview_p.moc:180
#13 0x0000003a5028725b in KPIM::MultiplyingLineView::slotDeleteLine (this=this@entry=0x226c3c0) at /usr/src/debug/kdepim-4.10.1/libkdepim/multiplyinglineview_p.cpp:183
#14 0x0000003a50287302 in KPIM::MultiplyingLineView::slotDecideLineDeletion (this=0x226c3c0, line=0x343af80) at /usr/src/debug/kdepim-4.10.1/libkdepim/multiplyinglineview_p.cpp:152
#15 0x0000003a31f8ceef in QMetaObject::activate (sender=0x343af80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff291c4510) at kernel/qobject.cpp:3539
#16 0x0000003a50285a12 in KPIM::MultiplyingLine::deleteLine (this=<optimized out>, _t1=0x343af80) at /usr/src/debug/kdepim-4.10.1/x86_64-redhat-linux-gnu/libkdepim/multiplyingline.moc:151
#17 0x0000003a55aa8fb6 in MessageComposer::RecipientLineNG::slotEditingFinished (this=0x343af80) at /usr/src/debug/kdepim-4.10.1/messagecomposer/recipientline.cpp:110
#18 0x0000003a31f8ceef in QMetaObject::activate (sender=0x344b0f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#19 0x000000331d7d441d in QLineEdit::qt_static_metacall (_o=0x238e0e1, _c=37282017, _id=1, _a=0x7fff291c4201) at .moc/release-shared/moc_qlineedit.cpp:143
#20 0x0000003a31f8ceef in QMetaObject::activate (sender=0x344b3c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#21 0x000000331d7daff4 in QLineControl::processKeyEvent (this=0x344b3c0, event=0x7fff291c52b0) at widgets/qlinecontrol.cpp:1629
#22 0x000000331d7d02d9 in QLineEdit::keyPressEvent (this=0x344b0f0, event=0x7fff291c52b0) at widgets/qlineedit.cpp:1707
#23 0x000000331e6f9974 in KLineEdit::keyPressEvent (this=0x344b0f0, e=0x7fff291c52b0) at /usr/src/debug/kdelibs-4.10.1/kdeui/widgets/klineedit.cpp:964
#24 0x0000003a50259794 in KPIM::AddresseeLineEdit::keyPressEvent (this=0x344b0f0, event=0x7fff291c52b0) at /usr/src/debug/kdepim-4.10.1/libkdepim/addresseelineedit.cpp:1134
#25 0x0000003a55aa961a in MessageComposer::RecipientLineEdit::keyPressEvent (this=0x344b0f0, ev=0x7fff291c52b0) at /usr/src/debug/kdepim-4.10.1/messagecomposer/recipientline.cpp:65
#26 0x000000331d419af4 in QWidget::event (this=0x344b0f0, event=0x7fff291c52b0) at kernel/qwidget.cpp:8421
#27 0x000000331d7d2787 in QLineEdit::event (this=0x344b0f0, e=0x7fff291c52b0) at widgets/qlineedit.cpp:1524
#28 0x000000331e6f7518 in KLineEdit::event (this=0x344b0f0, ev=0x7fff291c52b0) at /usr/src/debug/kdelibs-4.10.1/kdeui/widgets/klineedit.cpp:1397
#29 0x000000331d3ca5cc in QApplicationPrivate::notify_helper (this=0x88f910, receiver=0x344b0f0, e=0x7fff291c52b0) at kernel/qapplication.cpp:4562
#30 0x000000331d3cf5c4 in QApplication::notify (this=<optimized out>, receiver=0x344b0f0, e=0x7fff291c52b0) at kernel/qapplication.cpp:4003
#31 0x000000331e6473c6 in KApplication::notify (this=0x7fff291c6230, receiver=0x344b0f0, event=0x7fff291c52b0) at /usr/src/debug/kdelibs-4.10.1/kdeui/kernel/kapplication.cpp:311
#32 0x0000003a31f77abe in QCoreApplication::notifyInternal (this=0x7fff291c6230, receiver=0x344b0f0, event=0x7fff291c52b0) at kernel/qcoreapplication.cpp:946
#33 0x000000331d46699a in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x344b0f0, grab=grab@entry=false, type=QEvent::KeyPress, code=16777220, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=8192) at kernel/qkeymapper_x11.cpp:1866
#34 0x000000331d466dd1 in QKeyMapperPrivate::translateKeyEvent (this=0x8d6140, keyWidget=0x344b0f0, event=0x7fff291c5cd0, grab=false) at kernel/qkeymapper_x11.cpp:1836
#35 0x000000331d4446d8 in QApplication::x11ProcessEvent (this=0x7fff291c6230, event=0x7fff291c5cd0) at kernel/qapplication_x11.cpp:3553
#36 0x000000331d46aa5c in x11EventSourceDispatch (s=s@entry=0x894b70, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#37 0x0000003a28247a55 in g_main_dispatch (context=0x894530) at gmain.c:2715
#38 g_main_context_dispatch (context=context@entry=0x894530) at gmain.c:3219
#39 0x0000003a28247d88 in g_main_context_iterate (context=context@entry=0x894530, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#40 0x0000003a28247e44 in g_main_context_iteration (context=0x894530, may_block=1) at gmain.c:3351
#41 0x0000003a31fa6126 in QEventDispatcherGlib::processEvents (this=0x84eee0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#42 0x000000331d46a73e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#43 0x0000003a31f7680f in QEventLoop::processEvents (this=this@entry=0x7fff291c60a0, flags=...) at kernel/qeventloop.cpp:149
#44 0x0000003a31f76a98 in QEventLoop::exec (this=0x7fff291c60a0, flags=...) at kernel/qeventloop.cpp:204
#45 0x0000003a31f7b888 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#46 0x0000000000403469 in main (argc=1, argv=0x7fff291c6378) at /usr/src/debug/kdepim-4.10.1/kontact/src/main.cpp:219

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:32:06 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:03:52 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.