Bug 277797 - [KMail] crash when deleting a message
Summary: [KMail] crash when deleting a message
Status: RESOLVED NOT A BUG
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 2.1.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 277930 278824 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-14 21:48 UTC by Sami Boukortt
Modified: 2011-08-01 09:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Backtrace after rebuilding kdepimlibs with debug info (3.75 KB, text/plain)
2011-07-15 11:45 UTC, Sami Boukortt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sami Boukortt 2011-07-14 21:48:08 UTC
Application: kmail (2.1.1)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 2.6.39-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:
I was moving a message to the trash.

- Custom settings of the application:
I retrieve the e-mails of the account via IMAP subscribing.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7fb989d48700 (LWP 10920)):
#0  0x00007fb9a2306ac4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fb998db80ea in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fb998db81d9 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007fb9a2302d60 in start_thread () from /lib/libpthread.so.0
#4  0x00007fb9a4471e2d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb9a7046760 (LWP 10916)):
[KCrash Handler]
#6  0x00007fb9a0ad9da4 in ?? () from /usr/lib/libakonadi-kde.so.4
#7  0x00007fb9a0ad9e84 in Akonadi::Entity::Entity(Akonadi::Entity const&) () from /usr/lib/libakonadi-kde.so.4
#8  0x00007fb99fd8b9fd in MailCommon::FolderCollection::collection() const () from /usr/lib/libmailcommon.so.4
#9  0x00007fb9a5e4ba15 in KMMainWidget::trashMessageSelected(long) () from /usr/lib/libkmailprivate.so.4
#10 0x00007fb9a5e5f184 in KMMainWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#11 0x00007fb9a4d8c7fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#12 0x00007fb9a525ab62 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#13 0x00007fb9a525ad4f in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#14 0x00007fb9a525aebf in QAction::event(QEvent*) () from /usr/lib/libQtGui.so.4
#15 0x00007fb9a699034a in KAction::event(QEvent*) () from /usr/lib/libkdeui.so.5
#16 0x00007fb9a5261174 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007fb9a5265fe1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#18 0x00007fb9a6a74e06 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#19 0x00007fb9a4d79bbc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#20 0x00007fb9a5292f99 in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007fb9a529448d in ?? () from /usr/lib/libQtGui.so.4
#22 0x00007fb9a5267c2f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007fb9a6a74e06 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0x00007fb9a4d79bbc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#25 0x00007fb9a53000e9 in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007fb9a530052b in ?? () from /usr/lib/libQtGui.so.4
#27 0x00007fb9a52dccf4 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#28 0x00007fb9a5304542 in ?? () from /usr/lib/libQtGui.so.4
#29 0x00007fb99ccef29d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0x00007fb99ccefa78 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0x00007fb99ccefd09 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0x00007fb9a4da4876 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#33 0x00007fb9a53041be in ?? () from /usr/lib/libQtGui.so.4
#34 0x00007fb9a4d78db2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0x00007fb9a4d78fb7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0x00007fb9a4d7d1ab in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#37 0x0000000000402b63 in ?? ()
#38 0x00007fb9a43bf17d in __libc_start_main () from /lib/libc.so.6
#39 0x0000000000403045 in _start ()

Reported using DrKonqi
Comment 1 Christophe Marin 2011-07-14 22:30:22 UTC
>#6  0x00007fb9a0ad9da4 in ?? () from /usr/lib/libakonadi-kde.so.4
>#7  0x00007fb9a0ad9e84 in Akonadi::Entity::Entity(Akonadi::Entity const&) ()
from /usr/lib/libakonadi-kde.so.4

> The crash can be reproduced every time.

In this case, it would be useful if your kdepim module had its debug symbols.
Comment 2 Sami Boukortt 2011-07-15 11:45:54 UTC
Created attachment 61890 [details]
Backtrace after rebuilding kdepimlibs with debug info
Comment 3 Christophe Marin 2011-07-15 12:18:08 UTC
pasting inline 
Thread 1 (Thread 0x7f55799bd760 (LWP 16830)):
[KCrash Handler]
#6  QSharedDataPointer<Akonadi::EntityPrivate>::QSharedDataPointer (this=0x7fffb9d63660, o=...) at /usr/include/QtCore/qshareddata.h:93
#7  0x00007f5573450f70 in assignEntityPrivate (one=..., other=<value optimized out>) at /var/abs/extra/kdepimlibs/src/kdepimlibs-4.6.5/akonadi/entity.cpp:49
#8  0x00007f5573450fe4 in Akonadi::Entity::Entity (this=0x7fffb9d636c0, other=...) at /var/abs/extra/kdepimlibs/src/kdepimlibs-4.6.5/akonadi/entity.cpp:56
#9  0x00007f55726f09fd in MailCommon::FolderCollection::collection() const () from /usr/lib/libmailcommon.so.4
#10 0x00007f55787c0a15 in KMMainWidget::trashMessageSelected(long) () from /usr/lib/libkmailprivate.so.4
#11 0x00007f55787d4184 in KMMainWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#12 0x00007f55777017fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#13 0x00007f5577bcfb62 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
Comment 4 Sami Boukortt 2011-07-15 23:26:16 UTC
It works now. Appearently, KMail could just not find any “Trash” folder for this particular account.

My mistake.
Comment 5 Christophe Marin 2011-07-17 09:34:59 UTC
*** Bug 277930 has been marked as a duplicate of this bug. ***
Comment 6 Christophe Marin 2011-08-01 09:32:50 UTC
*** Bug 278824 has been marked as a duplicate of this bug. ***