Bug 304424

Summary: Kmail-4.8.3-r1 crashed when trying to select "Addressbook completion order" from right-click menu in Email Compose window
Product: [Applications] kontact Reporter: Christian <k>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.8.3   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christian 2012-08-02 08:07:56 UTC
Application: kontact (4.8.3)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.2
Operating System: Linux 3.3.8-gentoo x86_64
Distribution: "Gentoo Base System release 2.1"

-- Information about the crash:
- What I was doing when the application crashed:

The compose window was open with a reply to a message. I had written something into the "To" field. Then I clicked on "To" to see what that button does. (It shows "To/Cc/...") I didn't change anything. Then I right-clicked on the To entry field because I was unhappy with the way it was suggesting addresses. In the right-click popup menu there was an item for Addressbook completion. I moved the mouse pointer there. (Maybe I clicked on the text; it had a > mark for a submenu.) That action crashed the KMail.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 1 (Thread 0x7f77d6714780 (LWP 28457))]

Thread 3 (Thread 0x7f77bbe42700 (LWP 28458)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f77d2e216ac in scavengerThread (this=0x7f77d38700a0) at wtf/FastMalloc.cpp:2495
#2  WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f77d38700a0) at wtf/FastMalloc.cpp:1618
#3  0x00007f77ce3e2e9c in start_thread (arg=0x7f77bbe42700) at pthread_create.c:301
#4  0x00007f77d3bc95cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f77bb541700 (LWP 28459)):
#0  0x00007f77d3bc0653 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f77cd43bb34 in g_main_context_poll (n_fds=1, fds=0x7f77b40016b0, timeout=-1, context=0xca8370, priority=<optimized out>) at gmain.c:3402
#2  g_main_context_iterate (context=0xca8370, block=1, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x00007f77cd43bf9f in g_main_context_iteration (context=0xca8370, may_block=1) at gmain.c:3152
#4  0x00007f77d5029556 in QEventDispatcherGlib::processEvents (this=0xca8290, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f77d4ff8f92 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f77d4ff9285 in QEventLoop::exec (this=0x7f77bb540e00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f77d4ef5948 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f77d4ef8027 in QThreadPrivate::start (arg=0xca78d0) at thread/qthread_unix.cpp:307
#9  0x00007f77ce3e2e9c in start_thread (arg=0x7f77bb541700) at pthread_create.c:301
#10 0x00007f77d3bc95cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f77d6714780 (LWP 28457)):
[KCrash Handler]
#6  0x00007f77d3b22d35 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f77d3b240da in *__GI_abort () at abort.c:93
#8  0x00007f77d3b5ddb4 in __libc_message (do_abort=2, fmt=0x7f77d3c3e4c0 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:198
#9  0x00007f77d3b6343d in malloc_printerr (action=3, str=0x7f77d3c3e5d8 "munmap_chunk(): invalid pointer", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f77d500d68b in QObjectPrivate::deleteChildren (this=0x61cf1c0) at kernel/qobject.cpp:1908
#11 0x00007f77d43b173c in QWidget::~QWidget (this=0x2628200, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#12 0x00007f7772ba406c in ?? () from /usr/lib64/libmessagecomposer.so.4
#13 0x00007f77d500d68b in QObjectPrivate::deleteChildren (this=0x4ad4250) at kernel/qobject.cpp:1908
#14 0x00007f77d43b173c in QWidget::~QWidget (this=0x28fc460, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#15 0x00007f7772ba4209 in ?? () from /usr/lib64/libmessagecomposer.so.4
#16 0x00007f77d500f0b8 in QObject::event (this=0x28fc460, e=<optimized out>) at kernel/qobject.cpp:1176
#17 0x00007f77d43b6a7c in QWidget::event (this=0x28fc460, event=0x24eda70) at kernel/qwidget.cpp:8830
#18 0x00007f77d436539c in QApplicationPrivate::notify_helper (this=0xb5bda0, receiver=0x28fc460, e=0x24eda70) at kernel/qapplication.cpp:4551
#19 0x00007f77d4369e6f in QApplication::notify (this=<optimized out>, receiver=0x28fc460, e=0x24eda70) at kernel/qapplication.cpp:4412
#20 0x00007f77d5aaf3a8 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#21 0x00007f77d4ffa2ab in QCoreApplication::notifyInternal (this=0x7fff722f3850, receiver=0x28fc460, event=0x24eda70) at kernel/qcoreapplication.cpp:915
#22 0x00007f77d4ffd8a7 in sendEvent (event=0x24eda70, receiver=0x28fc460) at kernel/qcoreapplication.h:231
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xb29830) at kernel/qcoreapplication.cpp:1539
#24 0x00007f77d50293b3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#25 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#26 0x00007f77cd43b5fa in g_main_dispatch (context=0xb5e480) at gmain.c:2441
#27 g_main_context_dispatch (context=0xb5e480) at gmain.c:3011
#28 0x00007f77cd43be08 in g_main_context_iterate (context=0xb5e480, block=1, dispatch=1, self=<optimized out>) at gmain.c:3089
#29 0x00007f77cd43bf9f in g_main_context_iteration (context=0xb5e480, may_block=1) at gmain.c:3152
#30 0x00007f77d502951a in QEventDispatcherGlib::processEvents (this=0xb290c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#31 0x00007f77d440b3c6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f77d4ff8f92 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f77d4ff9285 in QEventLoop::exec (this=0x7fff722f07b0, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007f77d481c26a in QDialog::exec (this=0x7fff722f0820) at dialogs/qdialog.cpp:554
#35 0x00007f77d13a116f in KPIM::AddresseeLineEdit::Private::slotEditCompletionOrder() () from /usr/lib64/libkdepim.so.4
#36 0x00007f77d500fc82 in QMetaObject::activate (sender=0x6399850, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff722f0a00) at kernel/qobject.cpp:3547
#37 0x00007f77d435ec52 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#38 0x00007f77d435ee22 in QAction::activate (this=0x6399850, event=<optimized out>) at kernel/qaction.cpp:1257
#39 0x00007f77d479c683 in QMenuPrivate::activateCausedStack (this=0x66ff570, causedStack=..., action=0x6399850, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#40 0x00007f77d47a296a in QMenuPrivate::activateAction (this=0x66ff570, action=0x6399850, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#41 0x00007f77d43b70a7 in QWidget::event (this=0x1ea7060, event=0x7fff722f1670) at kernel/qwidget.cpp:8371
#42 0x00007f77d47a3af3 in QMenu::event (this=0x1ea7060, e=0x7fff722f1670) at widgets/qmenu.cpp:2469
#43 0x00007f77d436539c in QApplicationPrivate::notify_helper (this=0xb5bda0, receiver=0x1ea7060, e=0x7fff722f1670) at kernel/qapplication.cpp:4551
#44 0x00007f77d436a692 in QApplication::notify (this=<optimized out>, receiver=0x1ea7060, e=0x7fff722f1670) at kernel/qapplication.cpp:4094
#45 0x00007f77d5aaf3a8 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#46 0x00007f77d4ffa2ab in QCoreApplication::notifyInternal (this=0x7fff722f3850, receiver=0x1ea7060, event=0x7fff722f1670) at kernel/qcoreapplication.cpp:915
#47 0x00007f77d4366342 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#48 QApplicationPrivate::sendMouseEvent (receiver=0x1ea7060, event=0x7fff722f1670, alienWidget=0x0, nativeWidget=0x1ea7060, buttonDown=0x7f77d4e751b8, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3162
#49 0x00007f77d43e5653 in QETWidget::translateMouseEvent (this=0x1ea7060, event=<optimized out>) at kernel/qapplication_x11.cpp:4436
#50 0x00007f77d43e3ac1 in QApplication::x11ProcessEvent (this=0x7fff722f3850, event=0x7fff722f1e20) at kernel/qapplication_x11.cpp:3625
#51 0x00007f77d440b702 in x11EventSourceDispatch (s=0xb5f7a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#52 0x00007f77cd43b5fa in g_main_dispatch (context=0xb5e480) at gmain.c:2441
#53 g_main_context_dispatch (context=0xb5e480) at gmain.c:3011
#54 0x00007f77cd43be08 in g_main_context_iterate (context=0xb5e480, block=1, dispatch=1, self=<optimized out>) at gmain.c:3089
#55 0x00007f77cd43bf9f in g_main_context_iteration (context=0xb5e480, may_block=1) at gmain.c:3152
#56 0x00007f77d502951a in QEventDispatcherGlib::processEvents (this=0xb290c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#57 0x00007f77d440b3c6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#58 0x00007f77d4ff8f92 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#59 0x00007f77d4ff9285 in QEventLoop::exec (this=0x7fff722f2140, flags=...) at kernel/qeventloop.cpp:204
#60 0x00007f77d47a070b in QMenu::exec (this=<optimized out>, p=..., action=<optimized out>) at widgets/qmenu.cpp:2113
#61 0x00007f7772b9eb3f in MessageComposer::ComposerLineEdit::contextMenuEvent(QContextMenuEvent*) () from /usr/lib64/libmessagecomposer.so.4
#62 0x00007f77d43b6df7 in QWidget::event (this=0x2628200, event=0x7fff722f2cb0) at kernel/qwidget.cpp:8538
#63 0x00007f77d4770891 in QLineEdit::event (this=0x2628200, e=0x7fff722f2cb0) at widgets/qlineedit.cpp:1524
#64 0x00007f77d5b68b64 in KLineEdit::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#65 0x00007f77d436539c in QApplicationPrivate::notify_helper (this=0xb5bda0, receiver=0x2628200, e=0x7fff722f2cb0) at kernel/qapplication.cpp:4551
#66 0x00007f77d4369fd6 in QApplication::notify (this=<optimized out>, receiver=0x2628200, e=0x7fff722f2cb0) at kernel/qapplication.cpp:4173
#67 0x00007f77d5aaf3a8 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#68 0x00007f77d4ffa2ab in QCoreApplication::notifyInternal (this=0x7fff722f3850, receiver=0x2628200, event=0x7fff722f2cb0) at kernel/qcoreapplication.cpp:915
#69 0x00007f77d43e5458 in sendSpontaneousEvent (event=0x7fff722f2cb0, receiver=0x2628200) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#70 QETWidget::translateMouseEvent (this=<optimized out>, event=<optimized out>) at kernel/qapplication_x11.cpp:4507
#71 0x00007f77d43e3ac1 in QApplication::x11ProcessEvent (this=0x7fff722f3850, event=0x7fff722f3490) at kernel/qapplication_x11.cpp:3625
#72 0x00007f77d440b702 in x11EventSourceDispatch (s=0xb5f7a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#73 0x00007f77cd43b5fa in g_main_dispatch (context=0xb5e480) at gmain.c:2441
#74 g_main_context_dispatch (context=0xb5e480) at gmain.c:3011
#75 0x00007f77cd43be08 in g_main_context_iterate (context=0xb5e480, block=1, dispatch=1, self=<optimized out>) at gmain.c:3089
#76 0x00007f77cd43bf9f in g_main_context_iteration (context=0xb5e480, may_block=1) at gmain.c:3152
#77 0x00007f77d502951a in QEventDispatcherGlib::processEvents (this=0xb290c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#78 0x00007f77d440b3c6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#79 0x00007f77d4ff8f92 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#80 0x00007f77d4ff9285 in QEventLoop::exec (this=0x7fff722f37a0, flags=...) at kernel/qeventloop.cpp:204
#81 0x00007f77d4ffdd3b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#82 0x00000000004044c7 in _start ()

This bug may be a duplicate of or related to bug 294015.

Possible duplicates by query: bug 302366, bug 301155, bug 294015, bug 289453, bug 280553.

Reported using DrKonqi
Comment 1 Christophe Marin 2012-08-28 15:52:18 UTC

*** This bug has been marked as a duplicate of bug 258214 ***