[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: kded crashes my system (X)
From:       David Faure <david.faure () insa-lyon ! fr>
Date:       1999-06-27 21:06:45
[Download RAW message or body]

On Sun, Jun 27, 1999 at 10:49:58PM +0200, Dirk A. Mueller wrote:
> Simon Hausmann <tronical@gmx.net> wrote:
> 
> > Looks like something went wrong with your binary registry file.
> > Perhaps it got corrupted on your system? Try deleting it
> > (~/.kde/share/config/kregistry)
> 
> right, I did that already, but the next time it is again corrupted ;)
> 
> it seems like the following fixes it at the moment, although I don't
> know why. It also doesn't happen all the time nor is it reproducable
> that easy, but if it happens, it always happens when reading the
> KRegEntry for one specific single file.
> 
> I moved the file away and the problem was gone. then I moved it in
> place again, and the problem didn't reappear. Probably a weird m_time
> is source of the issue, but I havn't found the cause for it up to now.

Well, sure. If you put an old file in place it won't try to read it.

> Index: kservices.cc
> ===================================================================
> RCS file: /home/kde/kdelibs/kio/kservices.cc,v
> retrieving revision 1.20
> diff -u -r1.20 kservices.cc
> +++ kservices.cc        1999/06/27 20:42:49
> @@ -153,9 +153,11 @@
> 
>  void KService::save( QDataStream& s ) const
>  {
> +  Q_INT8 b = m_bAllowAsDefault;
> +
>    s << m_strName << m_strExec << m_strCORBAExec << m_strIcon <<
> m_strTerminalOptions
> -    << m_strPath << m_strComment << m_lstServiceTypes <<
> (Q_INT8)m_bAllowAsDefault
> -    << m_mapProps << m_strActivationMode << m_lstRepoIds;
> +    << m_strPath << m_strComment << m_lstServiceTypes << b <<
> m_mapProps
> +    << m_strActivationMode << m_lstRepoIds;
>  }
> 

I would say this patch changes nothing. Or does it really ?

-- 
David FAURE
david.faure@insa-lyon.fr, faure@kde.org
http://www.insa-lyon.fr/People/AEDI/dfaure/index.html 
KDE, Making The Future of Computing Available Today

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic