Bug 57255 - KOrganizer locks up when TODO icon in tool bar is clicked
Summary: KOrganizer locks up when TODO icon in tool bar is clicked
Status: RESOLVED DUPLICATE of bug 56348
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 3.1.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Cornelius Schumacher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-15 10:51 UTC by Pascal Niklaus
Modified: 2003-05-05 16:32 UTC (History)
0 users

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 Pascal Niklaus 2003-04-15 10:51:56 UTC
Version:           3.1.1 (using KDE 3.1.1)
Installed from:    compiled sources
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:          Linux (i686) release 2.4.20-4GB-athlon

1) Start KOrganizer
2) Click the TO-DO List icon in the tool bar

==> TODO and top-left calender control disappear, and KOrganizer hangs forever (no crash reported, no backtrace). All menus inactive
Comment 1 Cornelius Schumacher 2003-04-15 11:31:33 UTC
Subject: Re:  New: KOrganizer locks up when TODO icon in tool bar is clicked

I can't reproduce that problem. Are you sure that you have correctly compiled 
and installed KOrganizer? Does this depend on the active calendar file?

Comment 2 Pascal Niklaus 2003-04-15 11:38:59 UTC
Subject: Re:  KOrganizer locks up when TODO icon in tool bar is
 clicked

Cornelius Schumacher wrote:

>------- You are receiving this mail because: -------
>You reported the bug, or are watching the reporter.
>     
>http://bugs.kde.org/show_bug.cgi?id=57255     
>
>
>
>
>------- Additional Comments From schumacher@kde.org  2003-04-15 11:31 -------
>Subject: Re:  New: KOrganizer locks up when TODO icon in tool bar is clicked
>
>I can't reproduce that problem. Are you sure that you have correctly compiled 
>and installed KOrganizer? Does this depend on the active calendar file?
>
>  
>
I've compiled the whole package it with --disable-debug and --with-alsa. 
All other apps work ok.

KOrganizer only hangs when I load my calendar file (attached to this 
mail), not when an empty/new calendar is used.

BTW: There's a problem with loading the calendar file, though. 
Sometimes, the calendar file I chose and made active is not loaded at 
startup, which is annoying. Any idea what causes that problem?

Pascal

BEGIN:VCALENDAR
PRODID
 :-//K Desktop Environment//NONSGML KOrganizer 3.1.1//EN
VERSION
 :2.0
BEGIN:VTODO
CREATED
 :20030414T120125Z
UID
 :KOrganizer-438086003.83
SEQUENCE
 :0
LAST-MODIFIED
 :20030415T092613Z
DTSTAMP
 :20030415T093607Z
ORGANIZER
 :MAILTO:nobody@nowhere
SUMMARY
 :Grant Email
CLASS
 :PUBLIC
PRIORITY
 :3
X-PILOTID
 :0
X-PILOTSTAT
 :1
COMPLETED
 :20030414T124929Z
PERCENT-COMPLETE
 :100
END:VTODO
BEGIN:VTODO
CREATED
 :20030414T124700Z
UID
 :KOrganizer-664363600.456
SEQUENCE
 :0
LAST-MODIFIED
 :20030414T124700Z
DTSTAMP
 :20030415T093607Z
ORGANIZER
 :MAILTO:nobody@nowhere
SUMMARY
 :USB PCHai 061 274 0202
CLASS
 :PUBLIC
PRIORITY
 :3
X-PILOTID
 :0
X-PILOTSTAT
 :1
PERCENT-COMPLETE
 :0
END:VTODO
BEGIN:VEVENT
CREATED
 :20030414T124809Z
UID
 :KOrganizer-2083017117.374
SEQUENCE
 :0
LAST-MODIFIED
 :20030414T124809Z
DTSTAMP
 :20030415T093607Z
ORGANIZER
 :MAILTO:nobody@nowhere
SUMMARY
 :SCC
CLASS
 :PUBLIC
PRIORITY
 :3
X-PILOTID
 :0
X-PILOTSTAT
 :1
DTSTART
 :20030506T070000Z
DTEND
 :20030506T100000Z
END:VEVENT
BEGIN:VEVENT
CREATED
 :20030415T060710Z
UID
 :KOrganizer-1772982407.830
SEQUENCE
 :0
LAST-MODIFIED
 :20030415T060710Z
DTSTAMP
 :20030415T093607Z
ORGANIZER
 :MAILTO:nobody@nowhere
SUMMARY
 :Zahlarzt
LOCATION
 :Dornacherstrasse 159
CLASS
 :PUBLIC
PRIORITY
 :3
X-PILOTID
 :0
X-PILOTSTAT
 :1
DTSTART
 :20040407T080000Z
DTEND
 :20040407T100000Z
END:VEVENT
BEGIN:VEVENT
CREATED
 :20030415T092605Z
UID
 :KOrganizer-265782162.326
SEQUENCE
 :0
LAST-MODIFIED
 :20030415T092605Z
DTSTAMP
 :20030415T093607Z
ORGANIZER
 :MAILTO:nobody@nowhere
SUMMARY
 :Zahnarzt
LOCATION
 :Dornacherstrasse 159
CLASS
 :PUBLIC
PRIORITY
 :3
X-PILOTID
 :0
X-PILOTSTAT
 :1
DTSTART
 :20040507T080000Z
DTEND
 :20040507T100000Z
END:VEVENT
END:VCALENDAR
Comment 3 Cornelius Schumacher 2003-04-15 11:47:43 UTC
Subject: Re:  KOrganizer locks up when TODO icon in tool bar is clicked

The file loads fine here. No problems. Perhaps you can find out, where it 
hangs by starting KOrganizer in gdb or by adding some debug statements.

Comment 4 Pascal Niklaus 2003-04-15 12:06:47 UTC
Subject: Re:  KOrganizer locks up when TODO icon in tool bar is
 clicked

Cornelius Schumacher wrote:

>------- Additional Comments From schumacher@kde.org  2003-04-15 11:47 -------
>Subject: Re:  KOrganizer locks up when TODO icon in tool bar is clicked
>
>The file loads fine here. No problems. Perhaps you can find out, where it 
>hangs by starting KOrganizer in gdb or by adding some debug statements.
>  
>
Hmmm, any hint on how to use gdb? I did quite a bit of C++/Qt 
programming under Windows and a bit under KDE, but never used gdb...

Pascal



pascal@linux-pascal:~> gdb korganizer
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-suse-linux"...
(gdb) run
Starting program: /usr/local/kde/bin/korganizer
[New Thread 16384 (LWP 3350)]
ERROR: KUniqueApplication: DCOP communication error!

Program exited with code 0377.


Comment 5 Cornelius Schumacher 2003-04-15 13:05:33 UTC
Subject: Re:  KOrganizer locks up when TODO icon in tool bar is clicked

KOrganizer is a KUniqueApplication. That means it checks via DCOP if an 
instance is already running and only starts a new one, if it doesn't find 
one. This doesn't work inside the debugger. Start KOrganizer with the option 
"--nofork", then it also works in gdb.

Comment 6 Pascal Niklaus 2003-04-15 13:21:44 UTC
Subject: Re:  KOrganizer locks up when TODO icon in tool bar is
 clicked

Hmm, I attached gdb to the running korganizer process, and got the 
following message when I clicked the TO-DO icon.

Pascal

    (gdb) continue
    Continuing.

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 16384 (LWP 3372)]
    0x41161615 in _XFlushInt () from /usr/X11R6/lib/libX11.so.6
    (gdb) quit




Comment 7 Cornelius Schumacher 2003-04-15 13:25:55 UTC
Subject: Re:  KOrganizer locks up when TODO icon in tool bar is clicked

What's the backtrace (command "bt")?

Comment 8 Pascal Niklaus 2003-04-15 13:52:08 UTC
Subject: Re:  KOrganizer locks up when TODO icon in tool bar is
 clicked

Cornelius Schumacher wrote:

>------- You are receiving this mail because: -------
>You reported the bug, or are watching the reporter.
>     
>http://bugs.kde.org/show_bug.cgi?id=57255     
>
>
>
>
>------- Additional Comments From schumacher@kde.org  2003-04-15 13:25 -------
>Subject: Re:  KOrganizer locks up when TODO icon in tool bar is clicked
>
>What's the backtrace (command "bt")?
>  
>
Looks like an endless recursion filling the stack (and doing other 
stuff) to me... Here the first 50 entries... it goes on and on like that 
(had a quick look up to #8000).

Pascal

(gdb) bt
#0  0x41161615 in _XFlushInt () from /usr/X11R6/lib/libX11.so.6
#1  0x411614a9 in _XFlush () from /usr/X11R6/lib/libX11.so.6
#2  0x41158b68 in XRaiseWindow () from /usr/X11R6/lib/libX11.so.6
#3  0x40c73fd2 in QWidget::raise() () from /usr/local/qt/lib/libqt-mt.so.3
#4  0x40dcaf80 in QListView::updateGeometries() () from 
/usr/local/qt/lib/libqt-mt.so.3
#5  0x40dca41d in QListView::setContentsPos(int, int) () from 
/usr/local/qt/lib/libqt-mt.so.3
#6  0x40dca1a1 in QListView::clear() () from /usr/local/qt/lib/libqt-mt.so.3
#7  0x400c0784 in KOTodoView::updateView() () from 
/usr/local/kde/lib/libkorganizer.so.1
#8  0x400adb6c in KOViewManager::updateView() () from 
/usr/local/kde/lib/libkorganizer.so.1
#9  0x400a8152 in CalendarView::todoModified(KCal::Todo*, int) () from 
/usr/local/kde/lib/libkorganizer.so.1
#10 0x400a3fec in CalendarView::qt_invoke(int, QUObject*) () from 
/usr/local/kde/lib/libkorganizer.so.1
#11 0x40cfd253 in QObject::activate_signal(QConnectionList*, QUObject*) 
() from /usr/local/qt/lib/libqt-mt.so.3
#12 0x400bd3d4 in KOTodoView::todoModifiedSignal(KCal::Todo*, int) () 
from /usr/local/kde/lib/libkorganizer.so.1
#13 0x400c1942 in KOTodoView::setTodoModified(KCal::Todo*) () from 
/usr/local/kde/lib/libkorganizer.so.1
#14 0x400c408a in KOTodoViewItem::stateChange(bool) () from 
/usr/local/kde/lib/libkorganizer.so.1
#15 0x40dd3cd8 in QCheckListItem::setOn(bool) () from 
/usr/local/qt/lib/libqt-mt.so.3
#16 0x400c362e in KOTodoViewItem::construct() () from 
/usr/local/kde/lib/libkorganizer.so.1
#17 0x400c3356 in KOTodoViewItem::KOTodoViewItem(QListView*, 
KCal::Todo*, KOTodoView*) () from /usr/local/kde/lib/libkorganizer.so.1
#18 0x400c0b21 in KOTodoView::insertTodoItem(KCal::Todo*) () from 
/usr/local/kde/lib/libkorganizer.so.1
#19 0x400c081b in KOTodoView::updateView() () from 
/usr/local/kde/lib/libkorganizer.so.1
#20 0x400adb6c in KOViewManager::updateView() () from 
/usr/local/kde/lib/libkorganizer.so.1
#21 0x400a8152 in CalendarView::todoModified(KCal::Todo*, int) () from 
/usr/local/kde/lib/libkorganizer.so.1
#22 0x400a3fec in CalendarView::qt_invoke(int, QUObject*) () from 
/usr/local/kde/lib/libkorganizer.so.1
#23 0x40cfd253 in QObject::activate_signal(QConnectionList*, QUObject*) 
() from /usr/local/qt/lib/libqt-mt.so.3
#24 0x400bd3d4 in KOTodoView::todoModifiedSignal(KCal::Todo*, int) () 
from /usr/local/kde/lib/libkorganizer.so.1
#25 0x400c1942 in KOTodoView::setTodoModified(KCal::Todo*) () from 
/usr/local/kde/lib/libkorganizer.so.1
#26 0x400c408a in KOTodoViewItem::stateChange(bool) () from 
/usr/local/kde/lib/libkorganizer.so.1
#27 0x40dd3cd8 in QCheckListItem::setOn(bool) () from 
/usr/local/qt/lib/libqt-mt.so.3
#28 0x400c362e in KOTodoViewItem::construct() () from 
/usr/local/kde/lib/libkorganizer.so.1
#29 0x400c3356 in KOTodoViewItem::KOTodoViewItem(QListView*, 
KCal::Todo*, KOTodoView*) () from /usr/local/kde/lib/libkorganizer.so.1
#30 0x400c0b21 in KOTodoView::insertTodoItem(KCal::Todo*) () from 
/usr/local/kde/lib/libkorganizer.so.1
#31 0x400c081b in KOTodoView::updateView() () from 
/usr/local/kde/lib/libkorganizer.so.1
#32 0x400adb6c in KOViewManager::updateView() () from 
/usr/local/kde/lib/libkorganizer.so.1
#33 0x400a8152 in CalendarView::todoModified(KCal::Todo*, int) () from 
/usr/local/kde/lib/libkorganizer.so.1
#34 0x400a3fec in CalendarView::qt_invoke(int, QUObject*) () from 
/usr/local/kde/lib/libkorganizer.so.1
#35 0x40cfd253 in QObject::activate_signal(QConnectionList*, QUObject*) 
() from /usr/local/qt/lib/libqt-mt.so.3
#36 0x400bd3d4 in KOTodoView::todoModifiedSignal(KCal::Todo*, int) () 
from /usr/local/kde/lib/libkorganizer.so.1
#37 0x400c1942 in KOTodoView::setTodoModified(KCal::Todo*) () from 
/usr/local/kde/lib/libkorganizer.so.1
#38 0x400c408a in KOTodoViewItem::stateChange(bool) () from 
/usr/local/kde/lib/libkorganizer.so.1
#39 0x40dd3cd8 in QCheckListItem::setOn(bool) () from 
/usr/local/qt/lib/libqt-mt.so.3
#40 0x400c362e in KOTodoViewItem::construct() () from 
/usr/local/kde/lib/libkorganizer.so.1
#41 0x400c3356 in KOTodoViewItem::KOTodoViewItem(QListView*, 
KCal::Todo*, KOTodoView*) () from /usr/local/kde/lib/libkorganizer.so.1
#42 0x400c0b21 in KOTodoView::insertTodoItem(KCal::Todo*) () from 
/usr/local/kde/lib/libkorganizer.so.1
#43 0x400c081b in KOTodoView::updateView() () from 
/usr/local/kde/lib/libkorganizer.so.1
#44 0x400adb6c in KOViewManager::updateView() () from 
/usr/local/kde/lib/libkorganizer.so.1
#45 0x400a8152 in CalendarView::todoModified(KCal::Todo*, int) () from 
/usr/local/kde/lib/libkorganizer.so.1
#46 0x400a3fec in CalendarView::qt_invoke(int, QUObject*) () from 
/usr/local/kde/lib/libkorganizer.so.1
#47 0x40cfd253 in QObject::activate_signal(QConnectionList*, QUObject*) 
() from /usr/local/qt/lib/libqt-mt.so.3
#48 0x400bd3d4 in KOTodoView::todoModifiedSignal(KCal::Todo*, int) () 
from /usr/local/kde/lib/libkorganizer.so.1
#49 0x400c1942 in KOTodoView::setTodoModified(KCal::Todo*) () from 
/usr/local/kde/lib/libkorganizer.so.1
#50 0x400c408a in KOTodoViewItem::stateChange(bool) () from 
/usr/local/kde/lib/libkorganizer.so.1
etc...



Comment 9 Cornelius Schumacher 2003-05-05 16:32:59 UTC

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