Bug 272285 - Akonadi crashes when moving/dragging task
Summary: Akonadi crashes when moving/dragging task
Status: RESOLVED DUPLICATE of bug 229259
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: ICal file resource (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-03 00:31 UTC by jolay
Modified: 2011-07-13 15:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.26 KB, text/plain)
2011-05-30 17:11 UTC, jolay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jolay 2011-05-03 00:31:26 UTC
Application: akonadi_ical_resource (0.1)
KDE Platform Version: 4.6.00 (4.6.0) "release 6"
Qt Version: 4.7.1
Operating System: Linux 2.6.37.6-0.5-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

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

Primary bug: I move task without associated hour by dragging it with mouse from one day to the other in the kontact task panel (korganizer top panel) and akonadiserver crashes most of the time.

Other noticeable bug is that doing the same operation may associate the task with hour set at 0:00 (midnight) when akonadi does not crash. The task positionned at midnight is out of normal view and the user may think it has disappeared!

Dragging task from top panel (task without associated hour) to the calendar panel ( task with associated hour) fails sometimes: the task reverts to the top panel automagically  (without associated hour) as for late tasks (red).

I am not sure it has something to do with other reported bugs (task modification/deleted).
My personnal calendar is stored in a local ics file mixing events and tasks.

reproducible many time: I cannot identify the exact condition. Maybe mouse operations with late tasks. htop shows many processes racing for cpu usage (5-7 PID at 35%CPU each) notably korgac, kontact and nepomuk/virtuoso/mysqld or akonadi, xorg etc before crash.

- Unusual behavior I noticed:

The laptop is running very slowly, 
most of the time I have cpu usage at 100% (dual core),
I have to wait  ~ 5 to 10 mn of 100% CPU usage after KDE4 login (user autostart launch yakuake)

sysinfo:
NVIDIA 270.41.06
laptop dell precision m65
Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
RAM 2.0 Gio, used 1335/2005MB
used swap 63/2196MB

zypper info kontact
Dépot: @System
Nom: kontact
Version: 4.4.10-3.2
Arch: x86_64

Best regards,

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Resource (akonadi_ical_resource), signal: Segmentation fault
[KCrash Handler]
#6  begin (this=0x1855af0, incidence=0x139cc50) at /usr/include/QtCore/qlist.h:97
#7  contains (this=0x1855af0, incidence=0x139cc50) at /usr/include/QtCore/qlist.h:861
#8  removeRef (this=0x1855af0, incidence=0x139cc50) at /usr/src/debug/kdepimlibs-4.6.0/kcal/listbase.h:118
#9  KCal::Incidence::removeRelation (this=0x1855af0, incidence=0x139cc50) at /usr/src/debug/kdepimlibs-4.6.0/kcal/incidence.cpp:535
#10 0x00007f416b454cde in KCal::Incidence::~Incidence (this=0x139cc50, __in_chrg=<value optimized out>) at /usr/src/debug/kdepimlibs-4.6.0/kcal/incidence.cpp:207
#11 0x00007f416b4550a9 in KCal::Todo::~Todo (this=0x139cc50, __in_chrg=<value optimized out>) at /usr/src/debug/kdepimlibs-4.6.0/kcal/todo.cpp:105
#12 0x000000000041311a in _start ()

Possible duplicates by query: bug 259199, bug 252103, bug 252084, bug 246124, bug 238029.

Reported using DrKonqi
Comment 1 jolay 2011-05-30 17:11:58 UTC
Created attachment 60477 [details]
New crash information added by DrKonqi

akonadi_ical_resource (0.1) on KDE Platform 4.6.00 (4.6.0) "release 6" using Qt 4.7.1

- What I was doing when the application crashed:
same thing: move Todo in kontact weekly view -> akonadi crash
nvidia driver is the one from Nvidia (not the nouveau driver)

I do not know if it is informative since it took time to capture the top result 
(the PC was really sluggish)
top - 17:06:51 up  3:22,  4 users,  load average: 2.46, 2.89, 1.72
Tasks: 187 total,   2 running, 184 sleeping,   1 stopped,   0 zombie
Cpu(s): 34.8%us, 10.5%sy,  0.0%ni, 54.3%id,  0.0%wa,  0.0%hi,  0.4%si,  0.0%st
Mem:   2054084k total,  1967512k used,    86572k free,    15428k buffers
Swap:  2249096k total,    92136k used,  2156960k free,   649020k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                         
 1828 root      20   0  268m  56m 6008 S   46  2.8  19:41.86 Xorg                                                                            
 2884 jolay     20   0  473m 100m  15m S   14  5.0   3:09.51 korgac                                                                          
18981 jolay     20   0 11460 1540 1028 S   12  0.1   4:28.37 htop                                                                            
 2323 jolay     20   0  919m  52m  26m S    7  2.6   5:05.68 plasma-desktop                                                                  
12920 jolay     20   0  951m 267m  40m S    5 13.3   3:18.34 kontact                                                                         
 2320 jolay     20   0  523m  31m  17m S    1  1.6   3:32.77 knotify4                                                                        
 2753 jolay     20   0  351m  24m  17m S    1  1.2   0:12.40 yakuake                                                                         
 4168 jolay     20   0  516m  35m  22m S    1  1.8   1:09.06 dolphin                                                                         
30325 jolay     20   0  8932 1192  824 R    1  0.1   0:00.64 top                                                                             
 2876 jolay     20   0  382m 119m 3316 S    0  6.0   1:38.31 mysqld

-- Backtrace (Reduced):
#6  begin (this=0xf0d040, incidence=0x951b20) at /usr/include/QtCore/qlist.h:97
#7  contains (this=0xf0d040, incidence=0x951b20) at /usr/include/QtCore/qlist.h:861
#8  removeRef (this=0xf0d040, incidence=0x951b20) at /usr/src/debug/kdepimlibs-4.6.0/kcal/listbase.h:118
#9  KCal::Incidence::removeRelation (this=0xf0d040, incidence=0x951b20) at /usr/src/debug/kdepimlibs-4.6.0/kcal/incidence.cpp:535
#10 0x00007f9ab7008cde in KCal::Incidence::~Incidence (this=0x951b20, __in_chrg=<value optimized out>) at /usr/src/debug/kdepimlibs-4.6.0/kcal/incidence.cpp:207
Comment 2 Christophe Marin 2011-07-13 15:19:20 UTC

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