[korganizer] [Bug 384075] korganizer crashes when selecting a calendar to be shown in agenda/day/week/month view (regression 17.08.*)

2018-07-22 Thread Denis Kurz
https://bugs.kde.org/show_bug.cgi?id=384075

Denis Kurz  changed:

   What|Removed |Added

   Version Fixed In||5.7.3
  Latest Commit||a3a66bb10020e6fbdd354b4ecc6
   ||c0fee6741c467
 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #13 from Denis Kurz  ---
Sorry, I haven't seen this in some time now. I'm pretty sure it was a release
build, though, if it still matters.

Apparently, this was fixed in https://phabricator.kde.org/D11517 as David
describes the same problem, which was some bug in incidencetreemodel.cpp's
greaterThan function.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[korganizer] [Bug 384075] korganizer crashes when selecting a calendar to be shown in agenda/day/week/month view (regression 17.08.*)

2018-02-27 Thread Allen Winter
https://bugs.kde.org/show_bug.cgi?id=384075

Allen Winter  changed:

   What|Removed |Added

 CC||win...@kde.org

--- Comment #12 from Allen Winter  ---
are you using a debug or release build?

I see an ASSERT in the debug code, but there would be a crash in the release
mode.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[korganizer] [Bug 384075] korganizer crashes when selecting a calendar to be shown in agenda/day/week/month view (regression 17.08.*)

2018-02-19 Thread Denis Kurz
https://bugs.kde.org/show_bug.cgi?id=384075

Denis Kurz  changed:

   What|Removed |Added

  Component|general |todoview
Version|5.7.1   |5.7.2

--- Comment #11 from Denis Kurz  ---
Here we are again. KOrganizer crashes every time upon startup. I had some
duplicated items in the offending calendar, but this time, they were VEVENTS,
which are not involved in the code that crashes (IncidenceTreeModel). I deleted
the duplicated events, but KOrganizer still crashed.

What helped, though, was clearing the Akonadi cache for that collection.

This is PIM 5.7.2 a.k.a PIM as of KDE Applications 17.12.2.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[korganizer] [Bug 384075] korganizer crashes when selecting a calendar to be shown in agenda/day/week/month view (regression 17.08.*)

2018-01-31 Thread Denis Kurz
https://bugs.kde.org/show_bug.cgi?id=384075

Denis Kurz  changed:

   What|Removed |Added

 Ever confirmed|0   |1
Version|5.6.0   |5.7.1
 CC||kde...@posteo.de
 Status|UNCONFIRMED |CONFIRMED

--- Comment #10 from Denis Kurz  ---
I saw this crash, too (in 17.12.1, I think). KOrganizer (or Kontact -> Tasks or
Kontact -> Calendar) always crashed on startup when my CalDAV resource was
selected. The crashing stopped when I found two TODO items in that resource
with the same UID, and deleted one of them. This might also be the reason why
pushing all items to a new calendar via Thunderbird solves the problem,
assuming that Thunderbird detects those duplicate UIDs and generates new ones
ore ignores one of the offending items.

Can anyone who still encounters this problem please check if there are
duplicate-UID TODO items in their calendar resource, and if deleting one of
them does the trick?

While duplicate UIDs would be a bug in the DAV resource (according to the
qCWarning in incidencetreemodel.cpp:350), the IncidenceTreeModel should still
be able to cope with them gracefully. I made a patch for the latter, but still
need some more testing before submitting it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[korganizer] [Bug 384075] korganizer crashes when selecting a calendar to be shown in agenda/day/week/month view (regression 17.08.*)

2018-01-31 Thread Denis Kurz
https://bugs.kde.org/show_bug.cgi?id=384075

Denis Kurz  changed:

   What|Removed |Added

 CC||metkome...@gmail.com

--- Comment #9 from Denis Kurz  ---
*** Bug 387923 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[korganizer] [Bug 384075] korganizer crashes when selecting a calendar to be shown in agenda/day/week/month view (regression 17.08.*)

2018-01-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=384075

--- Comment #8 from kde-b...@cerritus.eu ---
I'm still experiencing this crash using Korganizer 5.7.1 with the same
scenario: Calendar in German language accessed via Caldav from an Owncloud
instance.



Backtrace:

Application: KOrganizer (korganizer), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdabbb8d940 (LWP 14469))]

Thread 4 (Thread 0x7fda925ed700 (LWP 14474)):
#0  0x7fdab743974d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x7fdaad64438c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7fdaad64449c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7fdab7f766cb in QEventDispatcherGlib::processEvents
(this=0x7fda880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x7fdab7f1ee2a in QEventLoop::exec (this=this@entry=0x7fda925ecc80,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x7fdab7d478f4 in QThread::exec (this=) at
thread/qthread.cpp:515
#6  0x7fdab7d4c709 in QThreadPrivate::start (arg=0x244cb70) at
thread/qthread_unix.cpp:368
#7  0x7fdaaf3746ba in start_thread (arg=0x7fda925ed700) at
pthread_create.c:333
#8  0x7fdab744541d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fda92dee700 (LWP 14472)):
#0  0x7fdab743527d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x7fdaad6876f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7fdaad643e74 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7fdaad644330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x7fdaad64449c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x7fdab7f766cb in QEventDispatcherGlib::processEvents
(this=0x7fda840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x7fdab7f1ee2a in QEventLoop::exec (this=this@entry=0x7fda92dedc80,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x7fdab7d478f4 in QThread::exec (this=) at
thread/qthread.cpp:515
#8  0x7fdab7d4c709 in QThreadPrivate::start (arg=0x23d4a10) at
thread/qthread_unix.cpp:368
#9  0x7fdaaf3746ba in start_thread (arg=0x7fda92dee700) at
pthread_create.c:333
#10 0x7fdab744541d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fda93fff700 (LWP 14471)):
#0  0x7fdab743974d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x7fdaad64438c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7fdaad64449c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7fdab7f766cb in QEventDispatcherGlib::processEvents
(this=0x7fda8c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x7fdab7f1ee2a in QEventLoop::exec (this=this@entry=0x7fda93ffec50,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x7fdab7d478f4 in QThread::exec (this=) at
thread/qthread.cpp:515
#6  0x7fdab6909315 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x7fdab7d4c709 in QThreadPrivate::start (arg=0x7fdab6b7dd40) at
thread/qthread_unix.cpp:368
#8  0x7fdaaf3746ba in start_thread (arg=0x7fda93fff700) at
pthread_create.c:333
#9  0x7fdab744541d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fdabbb8d940 (LWP 14469)):
[KCrash Handler]
#6  greaterThan (node1=..., node2=...) at
/workspace/build/src/todo/incidencetreemodel.cpp:48
#7  0x7fdab5a5ac28 in __gnu_cxx::__ops::_Val_comp_iter const&, QSharedPointer
const&)>::operator(), QList
>::iterator> (__it=..., __val=..., this=) at
/usr/include/c++/5/bits/predefined_ops.h:169
#8  std::__unguarded_linear_insert >::iterator,
__gnu_cxx::__ops::_Val_comp_iter const&,
QSharedPointer const&)> > (__last=..., __comp=__comp@entry=...) at
/usr/include/c++/5/bits/stl_algo.h:1823
#9  0x7fdab5a570da in
std::__unguarded_insertion_sort >::iterator,
__gnu_cxx::__ops::_Iter_comp_iter const&,
QSharedPointer const&)> > (__comp=..., __last=..., __first=...) at
/usr/include/c++/5/bits/stl_algo.h:1862
#10 std::__final_insertion_sort >::iterator,
__gnu_cxx::__ops::_Iter_comp_iter const&,
QSharedPointer const&)> > (__comp=..., __last=..., __first=...) at
/usr/include/c++/5/bits/stl_algo.h:1881
#11 std::__sort >::iterator,
__gnu_cxx::__ops::_Iter_comp_iter const&,
QSharedPointer const&)> > (__comp=..., __last=..., __first=...) at
/usr/include/c++/5/bits/stl_algo.h:1966
#12 std::sort >::iterator, bool
(*)(QSharedPointer const&, QSharedPointer const&)>
(__comp=0x7fdab5a51e20  const&,
QSharedPointer const&)>, __last=..., __first=...) at
/usr/include/c++/5/bits/stl_algo.h:4729
#13 sortedPrenodes (nodes=...) at
/workspace/build/src/todo/incidencetreemodel.cpp:84
#14 IncidenceTreeModel::Private::onRowsInserted (this=0x25906a0, parent=...,
begin=0, end=643) at /workspace/build/src/todo/incidencetreemodel.

[korganizer] [Bug 384075] korganizer crashes when selecting a calendar to be shown in agenda/day/week/month view (regression 17.08.*)

2018-01-13 Thread Achim Bohnet
https://bugs.kde.org/show_bug.cgi?id=384075

--- Comment #7 from Achim Bohnet  ---
First: Thx for you KDE PIM work!

Workaround: I've move important events with help of thunderbird from the
problematic calendar to a new one.

When I tried to display the problematic calendar with korganizer 5.7.0
it did not crash anymore.  Maybe it's somehow fixed in korgianizer or
moving events with thunderbird to another calendar fixed it.

Feel free to close the bug report if the stack trace is not enough to fix
the crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[korganizer] [Bug 384075] korganizer crashes when selecting a calendar to be shown in agenda/day/week/month view (regression 17.08.*)

2018-01-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=384075

kde-b...@cerritus.eu changed:

   What|Removed |Added

 CC||kde-b...@cerritus.eu

-- 
You are receiving this mail because:
You are the assignee for the bug.

[korganizer] [Bug 384075] korganizer crashes when selecting a calendar to be shown in agenda/day/week/month view (regression 17.08.*)

2017-09-17 Thread Achim Bohnet
https://bugs.kde.org/show_bug.cgi?id=384075

--- Comment #6 from Achim Bohnet  ---
I've exported the problemetic caldav Calendar folder with Thunderbird and
imported it with korganizer 5.6.1 into a new Calendar.

=> Loading the ics calendar worked without problem and I could move in the
aganda view forward and backfard in time.

Bug: after I exited korganizer and tried to start it again -> Crash.

WORDAROUND: I've removed the viewing of the imported calendar in korganizerrc
GlobalCollationSelection and korganizer start again.

Bug: selecting the newly created imported-calendar -> Crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[korganizer] [Bug 384075] korganizer crashes when selecting a calendar to be shown in agenda/day/week/month view (regression 17.08.*)

2017-09-13 Thread Achim Bohnet
https://bugs.kde.org/show_bug.cgi?id=384075

Achim Bohnet  changed:

   What|Removed |Added

Summary|korganizer crashes on   |korganizer crashes when
   |startup |selecting a calendar to be
   ||shown in
   ||agenda/day/week/month view
   ||(regression 17.08.*)

--- Comment #5 from Achim Bohnet  ---
Tried in 5.6.1 aka 17.04.1:  korganizer crashes when selecting a calendar not
only in agandaview but also in all other views:
 * day
 * week
 * month

This calendar always worked before the 17.08 release without crashing
korganizer.

Other onwcloud dav resources continue to work without problems.

-- 
You are receiving this mail because:
You are the assignee for the bug.