| Summary: | korganizer crashes in QVector<QSharedPointer<KCalCore::Incidence> >::reserve(int) | ||
|---|---|---|---|
| Product: | [Applications] korganizer | Reporter: | Achim Bohnet <ach> |
| Component: | general | Assignee: | David Faure <faure> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | amos.elberg, calogerozarbo88, christiandehne, faure, fischer-michael, kde, kdenis, korann, m.deege, martin, mfg, michael.brach, pim-bugs-null, public, robby.engelmann, tabaccatore, wettererscheinung, wheel |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 5.0 | ||
| Target Milestone: | --- | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 5.3.0 | |
| Sentry Crash Report: | |||
|
Description
Achim Bohnet
2015-11-22 15:14:30 UTC
More specific korganzier 15.08.2does crash after: * akonadictl start or * clicking on the 'Start' button in the center of grey area, that korganizer shows when akonadi is stopped. [kmail and kaddressbook survive a akonadi restart] Also happens when disabling/re-enabling some calendars, same backtrace. *** Bug 358152 has been marked as a duplicate of this bug. *** *** Bug 362012 has been marked as a duplicate of this bug. *** *** Bug 362183 has been marked as a duplicate of this bug. *** *** Bug 362724 has been marked as a duplicate of this bug. *** I have reduced the issue to this testcase, which crashes indeed.
QVector<int> vec;
vec.erase(std::remove(vec.begin(), vec.end(), 42), vec.end());
vec.reserve(0);
Found a Qt bug report about this, reopened it with more details, https://bugreports.qt.io/browse/QTBUG-51758. Meanwhile it's quite pointless to do all this for an empty container, I'll add an if() in kcalcore, good for performance, not just as a workaround. *** Bug 351421 has been marked as a duplicate of this bug. *** *** Bug 355142 has been marked as a duplicate of this bug. *** *** Bug 361938 has been marked as a duplicate of this bug. *** *** Bug 362010 has been marked as a duplicate of this bug. *** *** Bug 362602 has been marked as a duplicate of this bug. *** *** Bug 363547 has been marked as a duplicate of this bug. *** *** Bug 365674 has been marked as a duplicate of this bug. *** *** Bug 366800 has been marked as a duplicate of this bug. *** *** Bug 368141 has been marked as a duplicate of this bug. *** *** Bug 368285 has been marked as a duplicate of this bug. *** *** Bug 369452 has been marked as a duplicate of this bug. *** *** Bug 369484 has been marked as a duplicate of this bug. *** *** Bug 371242 has been marked as a duplicate of this bug. *** *** Bug 375787 has been marked as a duplicate of this bug. *** |