Bug 291829

Summary: Zanshin crashes (and takes down Kontact with it) when assigning
Product: [Applications] zanshin Reporter: Matija Šuklje <matija>
Component: generalAssignee: Kevin Ottens <ervin>
Status: RESOLVED UPSTREAM    
Severity: crash CC: mbensi
Priority: NOR    
Version: unspecified   
Target Milestone: already done   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matija Šuklje 2012-01-18 01:23:15 UTC
Application: zanshin (0.2)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.39-gentoo-r3 x86_64
Distribution: "Gentoo Base System release 2.0.3"

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

1) open up Zanshin (doesn't matter if stand-alone or in Kontact)
2) create or edit an existing ToDo item to assign it a new context/category

3) crash

expected result:
*) no crash

This started happening (again) after I had to restart Akonadi, Kontact and Nepomuk a few times, because I had to stop a huge search in KMail.

I've reported this before and it was solved later on, but Dr.Konqui didn't find the related bug. Will do it by hand.

The crash can be reproduced every time.

-- Backtrace:
Application: Zanshin Todo (zanshin), signal: Aborted
[KCrash Handler]
#6  0x00007f7f213c0835 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f7f213c1b35 in abort () at abort.c:92
#8  0x00007f7f219caadd in __gnu_cxx::__verbose_terminate_handler () at /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libstdc++-v3/libsupc++/vterminate.cc:93
#9  0x00007f7f219c8d16 in __cxxabiv1::__terminate (handler=<value optimized out>) at /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libstdc++-v3/libsupc++/eh_terminate.cc:39
#10 0x00007f7f219c8d43 in std::terminate () at /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libstdc++-v3/libsupc++/eh_terminate.cc:49
#11 0x00007f7f219c8e95 in __cxxabiv1::__cxa_rethrow () at /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libstdc++-v3/libsupc++/eh_throw.cc:116
#12 0x00007f7f21d767b1 in QEventLoop::exec (this=0x7fff10b03c80, flags=...) at kernel/qeventloop.cpp:214
#13 0x00007f7f21d7ab4b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#14 0x0000000000421ce7 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-misc/zanshin-0.2.0/work/zanshin-0.2.0/src/main.cpp:108

Possible duplicates by query: bug 289446, bug 284551, bug 284493, bug 284118, bug 284032.

Reported using DrKonqi
Comment 1 Matija Šuklje 2012-01-18 01:27:53 UTC
Possible related bug 291829
Comment 2 Matija Šuklje 2012-01-18 01:28:38 UTC
Possible related bug 291829(In reply to comment #1)
> Possible related bug 291829

Em, ignore this recursive bug.

Possible related bug 276451
Comment 3 Matija Šuklje 2012-01-18 01:30:45 UTC
Possible related bug 276643
Comment 4 Matija Šuklje 2012-01-18 01:41:55 UTC
I can reproduce the same by trying the same in Korganizer/Kontact *sigh* not again.

BTW, console output looks like this:


zanshin(8773)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_kcalcore.desktop" for ("text/calendar", "application/x-vnd.akonadi.note", "application/x-vnd.kde.notes") @ ("default", "KCalCore::Incidence*")
zanshin(8773)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_contactgroup.desktop" for ("application/x-vnd.kde.contactgroup") @ ("legacy", "default", "KABC::ContactGroup")
zanshin(8773)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_bookmark.desktop" for ("application/x-xbel") @ ("legacy", "default", "KBookmark")
zanshin(8773)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_mail.desktop" for ("message/rfc822", "message/news", "text/x-vnd.akonadi.note") @ ("legacy", "default", "KMime::Message*")
zanshin(8773)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_addressee.desktop" for ("text/vcard", "text/directory") @ ("legacy", "default", "KABC::Addressee")
zanshin(8773)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_microblog.desktop" for ("application/x-vnd.kde.microblog") @ ("legacy", "default", "Microblog::StatusItem")
zanshin(8773)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_kcal.desktop" for ("text/calendar", "application/x-vnd.akonadi.note", "application/x-vnd.kde.notes") @ ("legacy", "KCal::Incidence*")
zanshin(8773)/kdepimlibs (kcalcore) KCalCore::ICalFormatImpl::Private::readIncidenceBase: The incidence didn't have any UID! Report a bug  to the application that generated this file. 

zanshin(8773)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::instance: instance(): ... initialised
zanshin(8773)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readConfig: readConfig(): local zone= "Europe/Ljubljana"
zanshin(8773)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readZoneTab: readZoneTab( "/usr/share/zoneinfo/zone.tab" )
QAbstractItemModel::endInsertRows:  Invalid index ( 7 , 0 ) in model TodoMetadataModel(0x172e990) 
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 'zanshin' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/hook/.kde4/socket-faunus/kdeinit4__0
Comment 5 Matija Šuklje 2012-01-18 09:32:56 UTC
After a reboot, for some reason I cannot replicate this bug anymore (now I get plasma crashes). Which is odd, since yesterday I tested it about a dozen times and it triggered 100%.

Should I tag it as NEEDSINFO until I can reproduce it again?
Comment 6 Kevin Ottens 2012-01-18 09:46:19 UTC
Yes NEEDSINFO sounds like the better move (doing it now).

From that report so far it sounds like I wouldn't be able to reproduce at all. The cause needs to be better isolated before we can work on it. From the behavior you described so far I'd tend to suspect something further down in the stack though, but there's no way to exclude a bug in Zanshin's code.
Comment 7 Matija Šuklje 2012-01-18 10:13:56 UTC
Yeah, I suspect something lower down the stack as well, as this is just too similar to some of the other crashes I experienced in the past. Although for some reason DrKonqi doesn't seem to match them up.
Comment 8 Matija Šuklje 2013-05-27 08:13:01 UTC
I suspect it’s something to do with CalDAV resource in Akonadi.

Also it stopped creshing it, so the bug changed.