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

List:       kde-devel
Subject:    Re: kded crashes my system (X)
From:       "Dirk A. Mueller" <dmuell () gmx ! net>
Date:       1999-06-27 20:49:58
[Download RAW message or body]

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.

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;
 }

 bool KService::hasServiceType( const QString& _servicetype ) const


-- 
Dirk A. Mueller

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

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