[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [kde 3.4.1] kmail composer crash when inserting file



On Monday 27 June 2005 1:08 pm, Stephen Cormier wrote:
> On June 27, 2005 03:25 pm, Bjorn Helgaas wrote:
> > On Monday 27 June 2005 11:05 am, Stephen Cormier wrote:
> > > On June 27, 2005 12:49 pm, Bjorn Helgaas wrote:
> > > > On Saturday 25 June 2005 2:11 am, Jean-Damien Durand wrote:
> > > > > Cannot reproduce it on i386. I tried with a library of 45M and
> > > > > a zero-length file. Perhaps listing all your installed kde
> > > > > packages might help the developers.
> > >
> > > You should upgrade these packages to the version 3.4.1-1 and
> > > restart KDE.
> > > ...
> >
> > I upgraded everything I could think of (current list below)
> > and restarted KDE, but the composer still crashes when
> > I insert a file.
> >
> >  snip ...
> 
> Well then I would try moving your .kde directory to a backup and logout 
> and back in having it recreate the defaults to see if there is some 
> stale old settings interfering. Other than that I am out of ideas it 
> works fine here.

Bingo.  My .kde/share/config/kmailrc had the following line in it:

recent-encodings=iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1,iso-8859-1

Removing that line makes file insertion work again.  Kmail must have
generated that somewhere along the line (I certainly didn't add it by
hand), and it apparently causes the crash.

So there are two problems here:
        1) Kmail generated a recent-encodings line that is
           somehow bogus.
        2) Kmail doesn't validate recent-encodings when
           reading it from kmailrc.



Reply to: