Bug 278645 - Crash when moving mails to trash
Summary: Crash when moving mails to trash
Status: RESOLVED NOT A BUG
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-27 20:43 UTC by Mikolaj Machowski
Modified: 2011-07-29 17:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikolaj Machowski 2011-07-27 20:43:08 UTC
Application: kmail (4.8 pre)
KDE Platform Version: 4.7.40 (4.7.40 (KDE 4.8 >= 200110623) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.36.2-desktop586-2mnb i686
Distribution: "Mandriva Linux 2010.2"

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

Selected multiple messages in inbox and tried to move them to trash.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0xb21ae6e0 (LWP 27150))]

Thread 2 (Thread 0xb0c61b70 (LWP 27153)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb51f5c75 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb3dcfbbd in ?? () from /home/mikolaj/qt4/lib/libQtWebKit.so.4
#3  0xb3dcfca1 in ?? () from /home/mikolaj/qt4/lib/libQtWebKit.so.4
#4  0xb51f1ae5 in start_thread () from /lib/i686/libpthread.so.0
#5  0xb503c03e in clone () from /lib/i686/libc.so.6

Thread 1 (Thread 0xb21ae6e0 (LWP 27150)):
[KCrash Handler]
#7  QSharedDataPointer (one=..., other=...) at /home/mikolaj/qt4/include/QtCore/qshareddata.h:93
#8  assignEntityPrivate (one=..., other=...) at /home/mikolaj/kdesrc/kdepimlibs/akonadi/entity.cpp:49
#9  0xb654008a in Akonadi::Entity::Entity (this=0xbfe32538, other=...) at /home/mikolaj/kdesrc/kdepimlibs/akonadi/entity.cpp:56
#10 0xb656e614 in Akonadi::Collection::Collection (this=0xbfe32538, other=...) at /home/mikolaj/kdesrc/kdepimlibs/akonadi/collection.cpp:72
#11 0xb48e7f2c in MailCommon::FolderCollection::collection (this=0x0) at /home/mikolaj/kdesrc/kdepim/mailcommon/foldercollection.cpp:135
#12 0xb702917e in KMMainWidget::trashMessageSelected (this=0x8610450, ref=1) at /home/mikolaj/kdesrc/kdepim/kmail/kmmainwidget.cpp:1939
#13 0xb7029351 in KMMainWidget::slotTrashSelectedMessages (this=0x8610450) at /home/mikolaj/kdesrc/kdepim/kmail/kmmainwidget.cpp:1971
#14 0xb703f5ad in KMMainWidget::qt_metacall (this=0x8610450, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfe326b8) at /home/mikolaj/kdesrc/build/kdepim/kmail/kmmainwidget.moc:347
#15 0xb5393d9a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /home/mikolaj/qt4/lib/libQtCore.so.4
#16 0xb53a6935 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /home/mikolaj/qt4/lib/libQtCore.so.4
#17 0xb57f3aa9 in QAction::triggered(bool) () from /home/mikolaj/qt4/lib/libQtGui.so.4
#18 0xb57f535c in QAction::activate(QAction::ActionEvent) () from /home/mikolaj/qt4/lib/libQtGui.so.4
#19 0xb57f7598 in QAction::event(QEvent*) () from /home/mikolaj/qt4/lib/libQtGui.so.4
#20 0xb7537863 in KAction::event (this=0x87332d8, event=0xbfe32bd8) at /home/mikolaj/kdesrc/kdelibs/kdeui/actions/kaction.cpp:131
#21 0xb57fb76c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/mikolaj/qt4/lib/libQtGui.so.4
#22 0xb580362e in QApplication::notify(QObject*, QEvent*) () from /home/mikolaj/qt4/lib/libQtGui.so.4
#23 0xb765611a in KApplication::notify (this=0xbfe33a9c, receiver=0x87332d8, event=0xbfe32bd8) at /home/mikolaj/kdesrc/kdelibs/kdeui/kernel/kapplication.cpp:311
#24 0xb538e0cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/mikolaj/qt4/lib/libQtCore.so.4
#25 0xb583d1ed in ?? () from /home/mikolaj/qt4/lib/libQtGui.so.4
#26 0xb583effe in ?? () from /home/mikolaj/qt4/lib/libQtGui.so.4
#27 0xb58053b4 in QApplication::notify(QObject*, QEvent*) () from /home/mikolaj/qt4/lib/libQtGui.so.4
#28 0xb765611a in KApplication::notify (this=0xbfe33a9c, receiver=0x868e7f0, event=0xbfe33054) at /home/mikolaj/kdesrc/kdelibs/kdeui/kernel/kapplication.cpp:311
#29 0xb538e0cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/mikolaj/qt4/lib/libQtCore.so.4
#30 0xb57fb5ce in ?? () from /home/mikolaj/qt4/lib/libQtGui.so.4
#31 0xb58b6950 in ?? () from /home/mikolaj/qt4/lib/libQtGui.so.4
#32 0xb58b8e50 in ?? () from /home/mikolaj/qt4/lib/libQtGui.so.4
#33 0xb588e277 in QApplication::x11ProcessEvent(_XEvent*) () from /home/mikolaj/qt4/lib/libQtGui.so.4
#34 0xb58bc372 in ?? () from /home/mikolaj/qt4/lib/libQtGui.so.4
#35 0xb2eb1cbe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0xb2eb59f8 in ?? () from /usr/lib/libglib-2.0.so.0
#37 0xb2eb5b9e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0xb53bc725 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/mikolaj/qt4/lib/libQtCore.so.4
#39 0xb58bbc25 in ?? () from /home/mikolaj/qt4/lib/libQtGui.so.4
#40 0xb538cb79 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/mikolaj/qt4/lib/libQtCore.so.4
#41 0xb538cffa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/mikolaj/qt4/lib/libQtCore.so.4
#42 0xb539251f in QCoreApplication::exec() () from /home/mikolaj/qt4/lib/libQtCore.so.4
#43 0xb57fa727 in QApplication::exec() () from /home/mikolaj/qt4/lib/libQtGui.so.4
#44 0x0804a626 in main (argc=3, argv=0xbfe33c54) at /home/mikolaj/kdesrc/kdepim/kmail/main.cpp:145

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

Possible duplicates by query: bug 277797, bug 275933, bug 275893, bug 272440, bug 266108.

Reported using DrKonqi
Comment 1 Mikolaj Machowski 2011-07-27 20:53:08 UTC
Apparently this crash doesn't happen always. It crashed every time when I used Delete keyboard shortcut. When I tried to move mails to trash by drag'n'drop nothing happened at all (also . And when I used "Move to trash" action from menu items where moved to trash without crashing.

After more investigations looks like it is not related specifically to trash - dragging with mouse to any folder just doesn't work. Have to use 'm' keyboard command. Something is very wrong with moving mails around.
Comment 2 Mikolaj Machowski 2011-07-29 17:24:37 UTC
Rebuild whole KDE from scratch, restarted computer and problem is gone. Probably some conflicting libraries or processes. Sorry for false alarm