Bug 304981 - Crash when exiting
Summary: Crash when exiting
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-11 13:54 UTC by elboulangero
Modified: 2012-08-23 10:26 UTC (History)
1 user (show)

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 elboulangero 2012-08-11 13:54:49 UTC
Application: kmail (1.13.7)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.4.0-7.dmz.1-liquorix-amd64 x86_64
Distribution: Debian GNU/Linux testing (wheezy)

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

I just started using Kmail yesterday. So I registered my accounts from gmail. And I see these 14 mails marked as unread. There old junk mails from one year ago.

So I delete them, then quit Kmail. Then Kmail crashes. I can reproduce it everytime.


It's related to these weird mails for sure. If I logg in from gmail website, I don't see these 14 unread mails.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x0000000001c9e0b0 in ?? ()
#7  0x00007f211497c2d6 in qDeleteAll<QList<KMail::FolderJob*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#8  qDeleteAll<QList<KMail::FolderJob*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  FolderStorage::removeJobs (this=0xbf6490) at ../../kmail/folderstorage.cpp:1133
#10 0x00007f21149f117c in KMAcctImap::killAllJobs (this=0xc88db0, disconnectSlave=true) at ../../kmail/kmacctimap.cpp:175
#11 0x00007f21149f39e0 in KMAcctImap::cancelMailCheck (this=0xc88db0) at ../../kmail/kmacctimap.cpp:268
#12 0x00007f211498ed60 in KMail::AccountManager::cancelMailCheck (this=0xbe9590) at ../../kmail/accountmanager.cpp:428
#13 0x00007f21148bc309 in KMMainWin::~KMMainWin (this=this@entry=0x912270, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmmainwin.cpp:103
#14 0x00007f21148bc499 in KMMainWin::~KMMainWin (this=0x912270, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmmainwin.cpp:106
#15 0x00007f21137abad8 in QObject::event (this=0x912270, e=<optimized out>) at kernel/qobject.cpp:1176
#16 0x00007f2113d1b75a in QWidget::event (this=0x912270, event=0x17e0310) at kernel/qwidget.cpp:8830
#17 0x00007f21140e055b in QMainWindow::event (this=0x912270, event=0x17e0310) at widgets/qmainwindow.cpp:1478
#18 0x00007f2115a1d748 in KXmlGuiWindow::event (this=0x912270, ev=0x17e0310) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#19 0x00007f2113ccc70c in QApplicationPrivate::notify_helper (this=this@entry=0x96bc30, receiver=receiver@entry=0x912270, e=e@entry=0x17e0310) at kernel/qapplication.cpp:4556
#20 0x00007f2113cd0b8a in QApplication::notify (this=0x7fffd623eb50, receiver=0x912270, e=0x17e0310) at kernel/qapplication.cpp:4417
#21 0x00007f211592c8a6 in KApplication::notify (this=0x7fffd623eb50, receiver=0x912270, event=0x17e0310) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007f2113796bde in QCoreApplication::notifyInternal (this=0x7fffd623eb50, receiver=receiver@entry=0x912270, event=event@entry=0x17e0310) at kernel/qcoreapplication.cpp:915
#23 0x00007f211379aa61 in sendEvent (event=0x17e0310, receiver=0x912270) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8b2220) at kernel/qcoreapplication.cpp:1539
#25 0x00007f21137c5153 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#26 postEventSourceDispatch (s=0x91f7c0) at kernel/qeventdispatcher_glib.cpp:279
#27 0x00007f210ab58205 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f210ab58538 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f210ab585f4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f21137c52e6 in QEventDispatcherGlib::processEvents (this=0x8b3b00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#31 0x00007f2113d6d96e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f211379592f in QEventLoop::processEvents (this=this@entry=0x7fffd623e7f0, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f2113795bb8 in QEventLoop::exec (this=0x7fffd623e7f0, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007f211379ad78 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#35 0x0000000000402fc6 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:158

Reported using DrKonqi
Comment 1 elboulangero 2012-08-11 14:08:53 UTC
These mysterious 14 mails are in the "All messages" folder of gmail, not in the Inbox.

But I was wrong when I said that I couldn't see these mails from gmail website. Actually I do, if I look in the "All messages".

Now, if I try to delete some other messages from Kmail, in the "All messages" folder of my account, it works. So it looks like it's related to these 14 particular messages, maybe because they're unread ?

I tried to delete some of these 14 unread messages from gmail website, and it works, no problem.
Comment 2 elboulangero 2012-08-11 14:18:49 UTC
No I tried to look at one of these messages from kmail. I can. Then I qui t kmail. It'ok. I launch it again, I see that the message is not marked unread anymore. OK. Then I click on it to display it. Kmail crash.
Comment 3 Laurent Montel 2012-08-13 06:22:45 UTC
kmail1
Comment 4 Myriam Schweingruber 2012-08-19 10:59:55 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding
Comment 5 elboulangero 2012-08-23 10:26:52 UTC
OK cool, I didn't even know that there is 2 versions of kmail, I'm just starting with KDE.
Thanks for your reply.