Bug 234828 - kaddressbook crashes when moving mails twice
Summary: kaddressbook crashes when moving mails twice
Status: RESOLVED DUPLICATE of bug 213468
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-19 19:15 UTC by Jan Essert
Modified: 2010-05-12 18:38 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 Jan Essert 2010-04-19 19:15:42 UTC
Application: kaddressbook (4.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-gentoo-r1 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I moved a lot of mails from one addressbook folder to another. When nothing happened, visually, I got impatient and tried the same thing again, which provoked this crash.

 -- Backtrace:
Application: Adressbuch (kaddressbook), signal: Aborted
[KCrash Handler]
#5  0x00007fded538e4b5 in raise () from /lib/libc.so.6
#6  0x00007fded538fb3f in abort () from /lib/libc.so.6
#7  0x00007fded59abf65 in __gnu_cxx::__verbose_terminate_handler () at /var/tmp/portage/sys-devel/gcc-4.4.3/work/gcc-4.4.3/libstdc++-v3/libsupc++/vterminate.cc:93
#8  0x00007fded59aa396 in __cxxabiv1::__terminate (handler=0x22e9) at /var/tmp/portage/sys-devel/gcc-4.4.3/work/gcc-4.4.3/libstdc++-v3/libsupc++/eh_terminate.cc:38
#9  0x00007fded59aa3c3 in std::terminate () at /var/tmp/portage/sys-devel/gcc-4.4.3/work/gcc-4.4.3/libstdc++-v3/libsupc++/eh_terminate.cc:48
#10 0x00007fded59aa445 in __cxa_rethrow () at /var/tmp/portage/sys-devel/gcc-4.4.3/work/gcc-4.4.3/libstdc++-v3/libsupc++/eh_throw.cc:116
#11 0x00007fded5d60ef3 in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:214
#12 0x00007fded5d64a8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#13 0x00000000004057e5 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kaddressbook-4.4.2/work/kaddressbook-4.4.2/kaddressbook/main.cpp:58

Possible duplicates by query: bug 234694, bug 234333, bug 233711, bug 233701, bug 233581.

Reported using DrKonqi
Comment 1 Tobias Koenig 2010-04-19 19:31:12 UTC
Hej Jan,

you copied mails inside KAddressBook?

What was the output on the console when this crash happened?

Ciao,
Tobias
Comment 2 Jan Essert 2010-04-19 19:38:20 UTC
I copied mails inside kaddressbook from one folder to another folder in the same akonadi resource.
I did not start it from a console, so I have no output.
After restarting kaddressbook, my contacts were successfully copied, as far as I can see, none were lost.
I can try again from the console.
Comment 3 Jan Essert 2010-04-19 20:05:19 UTC
I have managed to reproduce the crash by moving large amounts of contacts around. Simply copying things twice does not seem to be enough. The total console output was:

kaddressbook(23525)/libakonadi Akonadi::EntityTreeModelPrivate::monitoredItemChanged: Got a stale notification for an item which was already removed. 1181 "b1170" 
leskaddressbook(23525)/libakonadi Akonadi::EntityTreeModelPrivate::monitoredItemChanged: Got a stale notification for an item which was already removed. 1041 "b1000" 
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
KCrash: Application 'kaddressbook' crashing...
sock_file=/home/jan/.kde4/socket-baldur/kdeinit4__0

I think that the first two "stale notification"-messages were well before the crash.
Comment 4 Tobias Koenig 2010-05-12 18:38:51 UTC

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