Bug 290162 - kontact crashes after manual email filtering
Summary: kontact crashes after manual email filtering
Status: RESOLVED DUPLICATE of bug 289831
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-30 10:31 UTC by Carlos Novaes
Modified: 2012-01-02 17:37 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 Carlos Novaes 2011-12-30 10:31:02 UTC
Application: kontact (4.8 rc1)
KDE Platform Version: 4.7.95 (4.8 RC1 (4.7.95)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
I have some imap accounts set up on kontact, both on my laptop and on my desktop. Also, I have some filters set up on the desktop to move some messages to certain folders as they get downloaded and if I get then first on my laptop, they will not be moved automatically. This is not a big issue since the filters are displayed on the menu and can be applyed manually.
The crash happens everytime I do a manual filter on a chunk of messages (1 or 2 goes fine, but more than six always crash).
- Unusual behavior I noticed:
After select all messages from inbox and apply any manual filter,some messages are moved to their right places and some not. If I select any other folder or account and then came back to the original inbox folder, there are no messages at all. If I exit the program, the crash happens.
After restart kontact/kmail, all my filtered messages are in the right places, so the filter completed its job, no data loss perceived but its a annoying bug.

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7f710acf3700 (LWP 2978)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7121420c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f7121420d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f711cc04efc in start_thread (arg=0x7f710acf3700) at pthread_create.c:304
#4  0x00007f712212e89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f710a3da700 (LWP 2979)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f710a3d9b50 in ?? ()
#2  0x00007fffec3227e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x7f70bb045700 (LWP 3002)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f71220cb9df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f71220c9d71 in __GI___libc_free (mem=0x7f71223e71c0) at malloc.c:3736
#3  0x00007f712288a665 in socketNotifierSourceCheck (source=0x1458900) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f711c732734 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f711c732f82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f711c733429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f712288aed6 in QEventDispatcherGlib::processEvents (this=0xb3a330, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#8  0x00007f712285ecf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f712285eef7 in QEventLoop::exec (this=0x7f70bb044db0, flags=...) at kernel/qeventloop.cpp:201
#10 0x00007f712277627f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#11 0x00007f7122841cbf in QInotifyFileSystemWatcherEngine::run (this=0x1168170) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f7122778d05 in QThreadPrivate::start (arg=0x1168170) at thread/qthread_unix.cpp:331
#13 0x00007f711cc04efc in start_thread (arg=0x7f70bb045700) at pthread_create.c:304
#14 0x00007f712212e89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f70ba3e4700 (LWP 3140)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f71220cb9df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f71220c9d71 in __GI___libc_free (mem=0x7f71223e71c0) at malloc.c:3736
#3  0x00007f711c72e4e1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f712288ac37 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x2591800, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:373
#5  0x00007f712288ae49 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x2591800, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#6  0x00007f7122777e34 in QThreadPrivate::finish (arg=0x17265d0) at thread/qthread_unix.cpp:367
#7  0x00007f7122778d0d in ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/pthread.h:545
#8  ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at thread/qthread_unix.cpp:824
#9  QThreadPrivate::start (arg=0x17265d0) at thread/qthread_unix.cpp:290
#10 0x00007f711cc04efc in start_thread (arg=0x7f70ba3e4700) at pthread_create.c:304
#11 0x00007f712212e89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7124bca7a0 (LWP 2963)):
[KCrash Handler]
#6  0x00007f71220833a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f7122086b0b in __GI_abort () at abort.c:92
#8  0x00007f71220bb113 in __libc_message (do_abort=2, fmt=0x7f71221ac0d8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f71220c5a96 in malloc_printerr (action=3, str=0x7f71221a90ef "free(): invalid pointer", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f71220c9d7c in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
#11 0x00007f711eee896d in qDeleteAll<QList<Node*>::const_iterator> (end=<optimized out>, begin=<optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:322
#12 qDeleteAll<QList<Node*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#13 Akonadi::EntityTreeModel::~EntityTreeModel (this=0xe3b090, __in_chrg=<optimized out>) at ../../akonadi/entitytreemodel.cpp:79
#14 0x00007f711eee89f9 in Akonadi::EntityTreeModel::~EntityTreeModel (this=0xe3b090, __in_chrg=<optimized out>) at ../../akonadi/entitytreemodel.cpp:83
#15 0x00007f7122871d75 in QObjectPrivate::deleteChildren (this=0xe8a9f0) at kernel/qobject.cpp:1955
#16 0x00007f7122877349 in QObject::~QObject (this=0xe74ee0, __in_chrg=<optimized out>) at kernel/qobject.cpp:946
#17 0x00007f70c20013ad in KMKernel::~KMKernel (this=0xe74ee0, __in_chrg=<optimized out>) at ../../kmail/kmkernel.cpp:226
#18 0x00007f70c2001519 in KMKernel::~KMKernel (this=0xe74ee0, __in_chrg=<optimized out>) at ../../kmail/kmkernel.cpp:236
#19 0x00007f70c2359645 in KMailPart::~KMailPart (this=0xb85a80, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:138
#20 0x00007f70c2359739 in KMailPart::~KMailPart (this=0xb85a80, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:140
#21 0x00007f71243b631e in KontactInterface::Plugin::~Plugin (this=0xadebb0, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:90
#22 0x00007f70c3307abf in KMailPlugin::~KMailPlugin (this=0xadebb0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:159
#23 0x00007f70c3307ae9 in KMailPlugin::~KMailPlugin (this=0xadebb0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:163
#24 0x00007f71247ebb17 in Kontact::MainWindow::~MainWindow (this=0x9c8a00, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:288
#25 0x00007f71247ebc79 in Kontact::MainWindow::~MainWindow (this=0x9c8a00, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:290
#26 0x00007f7122876a88 in QObject::event (this=0x9c8a00, e=<optimized out>) at kernel/qobject.cpp:1200
#27 0x00007f71232b06eb in QWidget::event (this=0x9c8a00, event=0x1a8c0b0) at kernel/qwidget.cpp:8754
#28 0x00007f7123672ceb in QMainWindow::event (this=0x9c8a00, event=0x1a8c0b0) at widgets/qmainwindow.cpp:1478
#29 0x00007f7124070d08 in KXmlGuiWindow::event (this=0x9c8a00, ev=0x1a8c0b0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#30 0x00007f7123260424 in notify_helper (e=0x1a8c0b0, receiver=0x9c8a00, this=0x899dc0) at kernel/qapplication.cpp:4486
#31 QApplicationPrivate::notify_helper (this=0x899dc0, receiver=0x9c8a00, e=0x1a8c0b0) at kernel/qapplication.cpp:4458
#32 0x00007f7123265291 in QApplication::notify (this=0x7fffec2c9470, receiver=0x9c8a00, e=0x1a8c0b0) at kernel/qapplication.cpp:4365
#33 0x00007f7123f74a46 in KApplication::notify (this=0x7fffec2c9470, receiver=0x9c8a00, event=0x1a8c0b0) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x00007f712285fafc in QCoreApplication::notifyInternal (this=0x7fffec2c9470, receiver=0x9c8a00, event=0x1a8c0b0) at kernel/qcoreapplication.cpp:787
#35 0x00007f712286351f in sendEvent (event=0x1a8c0b0, receiver=0x9c8a00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x86a6b0) at kernel/qcoreapplication.cpp:1428
#37 0x00007f712288aa73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#38 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#39 0x00007f711c732a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f711c733258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f711c733429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f712288aed6 in QEventDispatcherGlib::processEvents (this=0x86c170, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#43 0x00007f712330807e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007f712285ecf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007f712285eef7 in QEventLoop::exec (this=0x7fffec2c9400, flags=...) at kernel/qeventloop.cpp:201
#46 0x00007f7122863789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#47 0x0000000000403629 in main (argc=1, argv=0x7fffec2c9a98) at ../../../kontact/src/main.cpp:218

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

Possible duplicates by query: bug 290083, bug 290055, bug 289855, bug 289831, bug 289816.

Reported using DrKonqi
Comment 1 Christophe Marin 2012-01-02 17:37:27 UTC

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