Summary: | Kontact crash after closing kontact with crashed korganizer | ||
---|---|---|---|
Product: | [Applications] kontact | Reporter: | Johann-Nikolaus Andreae <johann-nikolaus> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | bruno, carlosnov, dilfridge, fire, Hamburger1984, jessie, kretz, robby.engelmann, winter |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.8.0 | |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Johann-Nikolaus Andreae
2011-12-26 08:30:32 UTC
*** Bug 289855 has been marked as a duplicate of this bug. *** Created attachment 67175 [details]
New crash information added by DrKonqi
kontact (4.8 rc1) on KDE Platform 4.7.95 (4.8 RC1 (4.7.95) using Qt 4.7.4
- What I was doing when the application crashed:
I tried to move a message from one folder back to the inbox to try a new filter. What actually happend was not what I expected:
1. I moved the message via drag and drop to the inbox
2. The message disappeared in the originating folder
3. Switching to the inbox showed no sign of the message
4. Switching back to the originating folder showed the message sitting there
5. Quitting Kontact/KMail2 now crashes Kontact/KMail2
Notice that Kontact/KMail2 does not crash if moving a message succeeded, which sometimes does work. It seems to work for some folders and not for others.
-- Backtrace (Reduced):
#6 0x00007f778ad7f3a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7 0x00007f778ad82b0b in __GI_abort () at abort.c:92
[...]
#9 0x00007f778adc1a96 in malloc_printerr (action=3, str=0x7f778aea8108 "munmap_chunk(): invalid pointer", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f7787be496d in qDeleteAll<QList<Node*>::const_iterator> (end=<optimized out>, begin=<optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:322
#11 qDeleteAll<QList<Node*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
> 1. I moved the message via drag and drop to the inbox
> 2. The message disappeared in the originating folder
> 3. Switching to the inbox showed no sign of the message
> 4. Switching back to the originating folder showed the message sitting there
> 5. Quitting Kontact/KMail2 now crashes Kontact/KMail2
Actually I got this description wrong. (4) is does not show any message in the originating folder!
Created attachment 67197 [details]
New crash information added by DrKonqi
kontact (4.8 rc1) on KDE Platform 4.7.95 (4.8 RC1 (4.7.95) using Qt 4.7.4
- What I was doing when the application crashed:
I quit Kontact and I got the 'This application has crashed.
-- Backtrace (Reduced):
#6 0x00007f1443c0b3a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7 0x00007f1443c0eb0b in __GI_abort () at abort.c:92
[...]
#9 0x00007f1443c4da96 in malloc_printerr (action=3, str=0x7f1443d34278 "double free or corruption (!prev)", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f1443c51d7c in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
#11 0x00007f1440a7096d in qDeleteAll<QList<Node*>::const_iterator> (end=<optimized out>, begin=<optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:322
Git commit 43b7d9886797bcf06019e9521455e534d07fd6b5 by Allen Winter. Committed on 28/12/2011 at 21:19. Pushed by winterz into branch 'master'. try to safely delete all the Node pointers from each child entity list instead of using qDeleteAll(), whose behavior has changed in Qt4.8. MERGE: 4.8 FIXED-IN: 4.8.0 M +6 -3 akonadi/entitytreemodel.cpp http://commits.kde.org/kdepimlibs/43b7d9886797bcf06019e9521455e534d07fd6b5 Git commit 83ee910e6131061359ec288c5bdbb6da944cc97a by Allen Winter. Committed on 28/12/2011 at 21:19. Pushed by winterz into branch 'KDE/4.8'. try to safely delete all the Node pointers from each child entity list instead of using qDeleteAll(), whose behavior has changed in Qt4.8. MERGE: 4.8 FIXED-IN: 4.8.0 (cherry picked from commit 43b7d9886797bcf06019e9521455e534d07fd6b5) M +6 -3 akonadi/entitytreemodel.cpp http://commits.kde.org/kdepimlibs/83ee910e6131061359ec288c5bdbb6da944cc97a *** Bug 290083 has been marked as a duplicate of this bug. *** *** Bug 290162 has been marked as a duplicate of this bug. *** Allen, can you have a look at https://bugs.kde.org/show_bug.cgi?id=289693#c21 which happens after your two commits for the qdeleteall crash (https://bugs.kde.org/show_bug.cgi?id=289693#c11 for the details) I did, but unfortunately try as I might I just cannot make this happen. So all I can do is make some educated guesses. does anyone want to try a patch? maybe post it to 289693. I can't specifically reproduce the crash (I can reproduce one in kontact but I don't think it's related) Looks fixed here after the rc2 update Fedora 16, thanks.. *** Bug 290080 has been marked as a duplicate of this bug. *** *** Bug 290617 has been marked as a duplicate of this bug. *** Created attachment 69720 [details]
New crash information added by DrKonqi
kontact (4.8.0) on KDE Platform 4.8.1 (4.8.1) "release 481" using Qt 4.8.0
- What I was doing when the application crashed: Playing with my mails during the whole day. Then when I ask to quit, there's a message in tray telling that akonadi has loose connection with the imap folder on which I was during the quit.
Then kontact crash.
Seems not fixed in 4.8.1 unfortunately !
-- Backtrace (Reduced):
#7 ~QString (this=0xe1da040, __in_chrg=<optimized out>) at /usr/include/QtCore/qstring.h:880
#8 ~AddrSpec (this=0xe1da038, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.1/kmime/kmime_header_parsing.h:54
#9 ~Mailbox (this=0xe1da030, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.1/kmime/kmime_header_parsing.h:68
#10 node_destruct (to=0xe1da018, from=0xe1da018, this=<optimized out>) at /usr/include/QtCore/qlist.h:431
#11 QList<KMime::Types::Mailbox>::free (data=0xe1da000, this=<optimized out>) at /usr/include/QtCore/qlist.h:757
|