Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 58291

Summary: kdepim-3.3-beta2 KOrganizer broken
Product: Gentoo Linux Reporter: Dylan Carlson (RETIRED) <absinthe>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: critical CC: jlp.bugs
Priority: Highest    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://bugs.kde.org/show_bug.cgi?id=84979
Whiteboard:
Package list:
Runtime testing required: ---

Description Dylan Carlson (RETIRED) gentoo-dev 2004-07-25 07:26:32 UTC
See URL for relevant tracking in KDE's bugzilla.  Backtraces also available there.   I'm setting this as an amd64 platform issue for now unless some others report an issue on other archs.

This bug doesn't seem affected by:

* gcc version (duplicated under gcc 3.3 and 3.4)
* C/CXXFLAGS (-O2 should work)
Comment 1 Dylan Carlson (RETIRED) gentoo-dev 2004-07-30 10:35:46 UTC
*** Bug 58899 has been marked as a duplicate of this bug. ***
Comment 2 George L. Emigh 2004-08-20 19:45:22 UTC
Crashes here on kde 3.3.0 final, as found in http://bugs.kde.org/show_bug.cgi?id=84979 I removed the holiday_us and korganizer works again.

emerge info
Portage 2.0.50-r9 (gcc34-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.7-gentoo-r13)
=================================================================
System uname: 2.6.7-gentoo-r13 x86_64 4
Gentoo Base System version 1.5.3
distcc 2.16 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -frename-registers -fweb -ffast-math -mfpmath=sse,387 -ftracer -funroll-loops "
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -frename-registers -fweb -ffast-math -mfpmath=sse,387 -ftracer -funroll-loops "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm gif gpm gtk gtk2 imlib java jpeg kde libg++ libwww mikmod motif mozilla mpeg multilib mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang slp spell ssl tcpd tiff truetype wmf xine xml2xmms xv zlib"

George
Comment 3 Jure Repinc 2004-08-21 06:03:52 UTC
Yup I also just emerged 3.3.0 final and it also still crashes for me.
Comment 4 Jure Repinc 2004-08-28 15:09:32 UTC
The fix for this bug is available in this bug report:
http://bugs.kde.org/show_bug.cgi?id=87781#c1

Could someone please include the fix in Gentoo ebuild.
Comment 5 Dylan Carlson (RETIRED) gentoo-dev 2004-08-31 00:58:47 UTC
Here's the actual patch, which is in CVS upstream.   I'll leave it to the KDE folks to include it (unless of course you authorize me to):

--- kdepim/korganizer/plugins/holidays/holidays.cpp  #1.12:1.13 
  at  at  -92,5 +92,5  at  at  QString Holidays::getHoliday(const QDate 
    int lastYear = 0; 
   
 -  if (mHolidayFile.isEmpty()) return QString::null; 
 +  if (mHolidayFile.isEmpty() || qd.isNull()) return QString::null; 
   
    //if ((lastYear == 0) || (qd.year() != lastYear)) { 
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2004-08-31 05:51:20 UTC
Feel free to commit.
Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2004-09-09 12:18:32 UTC
in portage.
Comment 8 Jure Repinc 2004-10-15 00:24:00 UTC
I think this problem is back in KDE 3.3.1 packages. KOrganiter is crashing again and it again mantions something about holidays in backtrace:

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 182994470176 (LWP 20697)]
0x0000002a9ae52e84 in waitpid () from /lib/tls/libpthread.so.0
#0  0x0000002a9ae52e84 in waitpid () from /lib/tls/libpthread.so.0
#1  0x0000002a986bed78 in KCrash::defaultCrashHandler ()
   from /usr/kde/3.3/lib64/libkdecore.so.4
#2  0x0000002a9b325760 in killpg () from /lib/tls/libc.so.6
#3  0x0000000000000000 in ?? ()
#4  0x0000000000000000 in ?? ()
#5  0x0000000000000000 in ?? ()
#6  0x0000007f00000002 in ?? ()
#7  0x0000000000000000 in ?? ()
#8  0x0000002a9c19b480 in kcalin ()
   from /usr/kde/3.3/lib64/kde3/libkorg_holidays.so
#9  0x0000002a9c19b5d0 in kcallineno ()
   from /usr/kde/3.3/lib64/kde3/libkorg_holidays.so
#10 0x00000000007caf20 in ?? ()
#11 0x0000002a996eb7ae in QDate::dayOfWeek (this=0x7a6780)
    at tools/qdatetime.cpp:367
Comment 9 Michael Simon 2004-10-20 01:55:39 UTC
In kdepim-3.3.1 the kdepim-3.3.0-korganizer.patch which should fix the bug is no longer applied. I had to edit the 3.3.1 ebuild.
Comment 10 Jure Repinc 2004-10-22 01:07:28 UTC
Could someone please fix the ebuild as I can't use KOrganizer at all now.
Comment 11 Simone Gotti (RETIRED) gentoo-dev 2004-10-22 03:32:57 UTC
You're right. In kdepim-3.3.1 the patch isn't applied also if they says yes in bugzilla, but at least It's applied in CVS HEAD.

So this patch is needed also for kdepim-3.3.1.
Comment 12 Jure Repinc 2004-10-29 02:24:21 UTC
I think this bug should be reopened until someone fixes the ebuild so that the patch is applied again.