Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: kmail SEGVs using reply in Redhat 6.0.
@ 1999-10-06  0:12 Mark Arrasmith
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Arrasmith @ 1999-10-06  0:12 UTC (permalink / raw)
  To: axp-list

>  Has anyone else had SEGVs on the recent versions of kmail *only
>  when they try to reply*??


This is a problem with the mimelib in kdesupport.  It was documented by Olaf
Spinczyk and he posted a fix here on the list (see
http://ivs.cs.uni-magdeburg.de/~olaf/alpha.html ).  KDE 1.1.2 (the latest
version) still has the problem.  And if RedHat hasn't patched this for their
alpha.rpm's it wouldn't be that big of a surprise.

In mimelib/datetime.cpp

<snip>
void DwDateTime::_FromUnixTime(DwUint32 aTime)
{
    DwUint32 t = aTime + mZone*60;
#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
</snip>

You need to change . . .
     struct tm tt = *gmtime((time_t*)&t);

To . . .
     time_t workaround = (time_t)t;
     //    struct tm tt = *gmtime((time_t*)&t);
     struct tm tt = *gmtime(&workaround);

Anyone want to make patched kdesupport.src.rpm's ?

- mark arrasmith



^ permalink raw reply	[flat|nested] 3+ messages in thread
* RE: kmail SEGVs using reply in Redhat 6.0.
@ 1999-10-06 10:53 dr john halewood
  0 siblings, 0 replies; 3+ messages in thread
From: dr john halewood @ 1999-10-06 10:53 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

AXP list [mailto:axp@dft.if.uerj.br] said:
>  Has anyone else had SEGVs on the recent versions of kmail *only
>  when they try to reply*??

  Not quite. I had the whole thing fail. If i started it
from the command line i'd just get 'kmail got signal 11' 
(segfault). The fix came from getting the source rpms that
are customised for RedHat from kde.org. They're called
kdeXXX-1.1.2-rhXX.rpm. Can't remember what directory they
are in,but it's off the main tree.

cheers
john


^ permalink raw reply	[flat|nested] 3+ messages in thread
* kmail SEGVs using reply in Redhat 6.0.
@ 1999-10-05 22:53 AXP list
  0 siblings, 0 replies; 3+ messages in thread
From: AXP list @ 1999-10-05 22:53 UTC (permalink / raw)
  To: axp-list


  Has anyone else had SEGVs on the recent versions of kmail *only
  when they try to reply*??

  We're running (or trying to run!) Redhat 6.0 upgraded to kernel 2.2.5-22
  and with the latest updates of KDE (currently kmail version 1.0.28)
  on an LX164. Reading E-mail it works like a dream, but our users can't
  reply to anything and are threatening to go back to Windows NT.

  The problem occurred with previous versions of kmail too
  (version 1.0.17 and, I believe, 1.0.24)

  Thanks in advance for feedback, even if it's only to know
  I'm not the only one out there with this problem.

  Jim



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-10-06 10:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-06  0:12 kmail SEGVs using reply in Redhat 6.0 Mark Arrasmith
  -- strict thread matches above, loose matches on Subject: below --
1999-10-06 10:53 dr john halewood
1999-10-05 22:53 AXP list

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox