Am Die, 07 Dez 1999 schrieb Bart Barton:
>>I'm not sure if this issue is common in the linux-alpha community. I'm
>running RH6.0 with all of the errata patches and a 2.2.13 kernel. I
>upgraded KDE to 1.1.2 with the binaries off www.linuxalpha.org. Even with
>the original KDE I had the same problem I am about to describe. My box is a
>PWS 500a (miata). I'm booting linux with milo from ARC. System is very
>stable (after the kernel upgrade). Basically, I'm having the following
>problems:
>
>- KMail: I'm getting Signal-11 errors when initiating the "create new
>mail" or "reply to message" functions of Kmail. I tried recompiling KMail
>with a fix I found off the KDE mailing list (KDE bug #1705). But it didn't
>work for me. Same behavior after the compile.
>- KRN: Same problem as above when trying to reply to a post or send an
>email reply to a post
>- Kexpress: Compiled great, but the same problem as KRN, except the app
>core dumps instead of Signal-11
>
>Pine on the other hand, sends mail fine. I'd like to find out if this issue
>is intermitant for some installs of RH6 or if everyone is having this
>problem.
>
>Any help would be greatly appreciated either on a solution or maybe some
>steps I can take to better diagnose the problem (I'm a non-programer).
>
>
>Thanks in advance,
>
I had the same problem, and I think I had found the bug.
I tried to report the bug to the kde team, but they did not
take notice.
Release: kde-1.1 (Package: kdesupport, mimelib, datetime.cpp )
There is a problem causing segfaults on Linux/Alpha/RedHat 6.0.
Particularily in kmail on writing a new mail.
void DwDateTime::_FromUnixTime(DwUint32 aTime)
{
time_t t = aTime + mZone*60; !!!!!!!!!!!!!!!!!!!! HERE!!!
#if defined(USE_PORTABLE_GMTIME)
struct tm tt
my_gmtime_r(&t, &tt);
#elif defined(HAVE_GMTIME_R)
struct tm tt
gmtime_r(&t, &tt);
#else
struct tm tt = *gmtime((time_t*)&t);
#endif
mYear = tt.tm_year + 1900;
mMonth = tt.tm_mon + 1;
mDay = tt.tm_mday;
mHour = tt.tm_hour;
mMinute = tt.tm_min;
mSecond = tt.tm_sec;
}
I changed DwUint32 to time_t !
Now it works.
(Probabely time_t is 64 bits on Alpha, while DwUint32 is only 32...)
-Philipp
--
Want to try something new? Are you a Linux hacker?
Volunteer in testing mergemem!
(Get it from http://das.ist.org/mergemem)
-----
Philipp Reisner PGP: http://der.ist.org/~kde/pgp.asc