Bug 19540 - kbuildsycoca results segmentation fault
Summary: kbuildsycoca results segmentation fault
Status: CLOSED FIXED
Alias: None
Product: unknown
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Other
: NOR normal
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-02-01 10:18 UTC by Jukka Hienola
Modified: 2002-09-16 14:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jukka Hienola 2001-02-01 10:17:48 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: kdelibs
Version: 2.1 Beta 2
Severity: normal

I have ecountered same bug in KDE versions 2.0 2.01 2.1-beta1 and 2.1-beta2. Every time when I try to start konqueror it will crash with following debug information:

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...0x40c32799 in __wait4 () from /lib/libc.so.6
#0  0x40c32799 in __wait4 () from /lib/libc.so.6
#1  0x40c9f8c8 in __DTOR_END__ () from /lib/libc.so.6
#2  0x404b8e38 in KCrash::defaultCrashHandler () from /usr/lib/libkdecore.so.3

#3  <signal handler called>

With 2.1-beta2 I get this error from all programs I try to start and my .kde/share/config-directory is filled with ksycoca.NNNNNNN.new files. When I try to rebuild ksycoca with kbuildsycoca I just get segmentation fault. So it seems to me that kbuildsycoca can not create a new ksycoca file but I have no reason why and the old file is still hanging on disk. Renaming old file does not help because kbuildsycoca crashes to segfault.

Actually KDE V1.99 was working fine but all later versions have had some kind of problems with konqueror or other applications (especially with 2.1-beta2).

My current system is RedHat 7.0 with kernel 2.4.0-test12 but I had also problems with RedHat 6.2 (kernels 2.2.14 2.2.16 and 2.2.18). My current libc is 5.3.12-31 glibc is 2.2.5 and gcc is 2.96-69.

I also read from bug reports (#13150) that gcc 2.69-69 is not supported?



(submitted via bugs.kde.org)
Comment 1 Stephan Kulow 2001-02-07 10:48:40 UTC
hienola@mappi.helsinki.fi wrote:
> 
> Quoting Stephan Kulow <coolo@kde.org>:
> 
> > Hi!
> >
> > Your problem seems unusual can you please recompile with
> > --enable-debug? Do not remove your .kde directory we want
> > to fix this crash :)
> >
> > Greetings Stephan
> 
> Ok I just got KDE-2.1-beta2 compiled with --enable-debug option. I have
> compiled only qt-X11-2.2.4 kdesupport-2.1-beta2 kdelibs-2.1-beta2 and kdebase-
> 2.1-beta2 source packages. I am sorry that this took so long time but I had to
> do that on my spare time. I have also used option --prefix=/usr/local/kde21b2
> with my compilation.
> 
> Ok what happens when I try to start kde via kdm (from runlevel 5 in my RH7.0):
> 
> Kde starts but kpanel replies with an error: Could not find mime-type
> application/octet-stream and KCrash backtrace is:
> 
> 0x40e6b799 in __wait4() from /lib/libc.so.6
> #0 0x40e6b799 in __wait4() from /lib/libc.so.6
> #1 0x40ed88c8 in __DTOR_END__() from /lib/libc.so.6
> #2 0x4051b560 in KCrash::defaultCrashHandler() from
> /usr/local/kde21b2/lib/libkdecore.so.3
> #3 <signal handler called>
> 
> Kde kind of starts but kpanel is not functional: I can not start any programs
> from kpanel and icons look like "blank papers". Only logout works.
> 
> My .xsession-errors file reports:
> 
> save location /root/.kde/share/config/ doesn't exist
> LD_LIBRARY_PATH=/root/.kde/lib:/usr/local/kde21b2/lib
> kdeinit: Launched DCOPServer pid = 1500 result = 0
> DCOPServer: SetAProc_loc: conn 0 prot=local file=/tmp/.ICE-unix/1502
> kdeinit: Launched KLauncher pid = 1503 result = 0
> DCOP: register 'klauncher' -> number of clients is now 1
> DCOP: register 'anonymous-1503' -> number of clients is now 2
> DCOP: new daemon klauncher
> DCOP:  unregister 'anonymous-1503'
> DCOP: number of clients is now down to 0
> DCOP: register 'anonymous-1498' -> number of clients is now 1
> DCOP:  unregister 'anonymous-1498'
> DCOP: number of clients is now down to 0
> DCOP: register 'ksplash' -> number of clients is now 1
> kdeinit: Launched KDesktop pid = 1505 result = 0
> DCOP: register 'kdesktop' -> number of clients is now 2
> DCOP: register 'anonymous-1505' -> number of clients is now 3
> save location /root/.kde/share/config/ doesn't exist
> kio (KSycoca): findFactory: we have no database.... launching kdeinit
> LD_LIBRARY_PATH=/root/.kde/lib:/usr/local/kde21b2/lib
> kdeinit: Shutting down running client.
> ---------------------------------
> It looks like dcopserver is already running. If you are sure
> that it is not already running remove
> /root/.DCOPserver_viima.atm.helsinki.fi_:0
> and start dcopserver again.
> ---------------------------------
> 
> kdeinit: Launched DCOPServer pid = 1508 result = 0
> kdeinit: Launched KLauncher pid = 1509 result = 0
> DCOP: register 'klauncher' -> number of clients is now 4
> DCOP:  unregister 'klauncher-2'
> DCOP: number of clients is now down to 3
> DCOP: register 'anonymous-1509' -> number of clients is now 4
> DCOP:  unregister 'anonymous-1509'
> DCOP: number of clients is now down to 3
> kdeinit: Launched KDED pid = 1511 result = 0
> kdeinit: Communication error with launcher. Exiting!
> kio (KSycoca): ERROR: No database available!
> kdesktop: Saver Engine disabled
> kdesktop: KGlobalSettings::initStatic
> DCOP: register 'kded' -> number of clients is now 4
> DCOP: register 'anonymous-1511' -> number of clients is now 5
> kded: Does not exist! (/root/.kde/share/servicetypes/)
> kded: Does not exist! (/root/.kde/share/mimelnk/)
> DCOP:  unregister 'anonymous-1505'
> DCOP: number of clients is now down to 4
> kdeinit: Launched KDED pid = 1515 result = 0
> kdeinit: Killing kdeinit/klauncher.
> DCOP: register 'kded' -> number of clients is now 5
> DCOP:  unregister 'kded-2'
> DCOP: number of clients is now down to 4
> KDE Daemon (kded) already running.
> DCOP: register 'anonymous-1515' -> number of clients is now 5
> kdeinit: PID 1517 terminated.
> kded: Does not exist! (/root/.kde/share/applnk/)
> kded: Does not exist! (/root/.kde/share/services/)
> DCOP: register 'anonymous-1512' -> number of clients is now 6
> kio (KLauncher): KLauncher: Got kdeinit_exec_wait('kbuildsycoca' ...)
> KInit: Got EXEC 'kbuildsycoca' from klauncher.
> kio (KLauncher): kbuildsycoca (pid 1518) up and running.
> KLauncher doing clientStarted(`kbuildsycoca')
> DCOP: register 'kbuildsycoca' -> number of clients is now 7
> kbuildsycoca: Recreating ksycoca file
> DCOP:  unregister 'kbuildsycoca'
> DCOP: number of clients is now down to 6
> kdeinit: PID 1518 terminated.
> DCOP:  unregister 'anonymous-1512'
> DCOP: number of clients is now down to 5
> DCOP: new daemon kded
> DCOP:  unregister 'anonymous-1511'
> DCOP: number of clients is now down to 3
> kdesktop: KDesktop::slotStart
> kio (KLauncher): KLauncher: Got kdeinit_exec_wait('kbuildsycoca' ...)
> KInit: Got EXEC 'kbuildsycoca' from klauncher.
> kio (KLauncher): kbuildsycoca (pid 1519) up and running.
> KLauncher doing clientStarted(`kbuildsycoca')
> DCOP: register 'kbuildsycoca' -> number of clients is now 4
> kbuildsycoca: Recreating ksycoca file
> DCOP:  unregister 'kbuildsycoca'
> DCOP: number of clients is now down to 3
> kdeinit: PID 1519 terminated.
> DCOP:  unregister 'anonymous-1515'
> DCOP: number of clients is now down to 2
> kdeinit: PID 1515 terminated.
> libkonq: KonqIconViewWidget::setIcons( 0  )
> kdeinit: opened connection to :0.0
> kio (KDirLister): KDirLister::openURL file:/root/Desktop/ keep=false
> kdesktop: KDesktop::slotStarted
> kdeinit: Launched 'kcminit' pid = 1520 result = 0
> KCrash: crashing.... crashRecursionCounter = 2
> KCrash: Application Name = kdesktop path = <unknown>
> DCOP: register 'anonymous-1520' -> number of clients is now 3
> kio (KSycoca): findFactory: we have no database.... launching kdeinit
> LD_LIBRARY_PATH=/root/.kde/lib:/usr/local/kde21b2/lib
> kdeinit: Launched DCOPServer pid = 1523 result = 0
> ---------------------------------
> It looks like dcopserver is already running. If you are sure
> that it is not already running remove
> /root/.DCOPserver_viima.atm.helsinki.fi_:0
> and start dcopserver again.
> ---------------------------------
> 
> kdeinit: Launched KLauncher pid = 1524 result = 0
> DCOP: register 'klauncher' -> number of clients is now 4
> DCOP:  unregister 'klauncher-2'
> DCOP: number of clients is now down to 3
> DCOP: register 'anonymous-1524' -> number of clients is now 4
> DCOP:  unregister 'anonymous-1524'
> DCOP: number of clients is now down to 3
> kdeinit: Launched KDED pid = 1526 result = 0
> kdeinit: Communication error with launcher. Exiting!
> kdecore (KLibLoader): Deleting KLibLoader 0x80816c8  unnamed
> kdeinit: PID 1520 terminated.
> DCOP:  unregister 'anonymous-1520'
> DCOP: number of clients is now down to 2
> DCOP: register 'kded' -> number of clients is now 3
> DCOP:  unregister 'kded-2'
> DCOP: number of clients is now down to 2
> KDE Daemon (kded) already running.
> DCOP: register 'anonymous-1526' -> number of clients is now 3
> kio (KLauncher): KLauncher: Got kdeinit_exec_wait('kbuildsycoca' ...)
> kdeinit: Launched 'kicker' pid = 1528 result = 0
> KInit: Got EXEC 'kbuildsycoca' from klauncher.
> kio (KLauncher): kbuildsycoca (pid 1529) up and running.
> KLauncher doing clientStarted(`kbuildsycoca')
> DCOP: register 'kbuildsycoca' -> number of clients is now 4
> kbuildsycoca: Recreating ksycoca file
> DCOP: register 'kicker' -> number of clients is now 5
> DCOP: register 'anonymous-1528' -> number of clients is now 6
> DCOP:  unregister 'kbuildsycoca'
> DCOP: number of clients is now down to 5
> kdeinit: PID 1529 terminated.
> DCOP:  unregister 'anonymous-1526'
> DCOP: number of clients is now down to 4
> kio (KSycoca): findFactory: we have no database.... launching kdeinit
> LD_LIBRARY_PATH=/root/.kde/lib:/usr/local/kde21b2/lib
> ---------------------------------
> It looks like dcopserver is already running. If you are sure
> that it is not already running remove
> /root/.DCOPserver_viima.atm.helsinki.fi_:0
> and start dcopserver again.
> ---------------------------------
> 
> kdeinit: Launched DCOPServer pid = 1532 result = 0
> kdeinit: Launched KLauncher pid = 1533 result = 0
> DCOP: register 'klauncher' -> number of clients is now 5
> DCOP:  unregister 'klauncher-2'
> DCOP: number of clients is now down to 4
> DCOP: register 'anonymous-1533' -> number of clients is now 5
> DCOP:  unregister 'anonymous-1533'
> DCOP: number of clients is now down to 4
> kdeinit: Launched KDED pid = 1535 result = 0
> kdeinit: Communication error with launcher. Exiting!
> kicker: RecentlyLaunchedApps::init
> DCOP: register 'kded' -> number of clients is now 5
> DCOP:  unregister 'kded-2'
> DCOP: number of clients is now down to 4
> KDE Daemon (kded) already running.
> DCOP: register 'anonymous-1535' -> number of clients is now 5
> kio (KLauncher): KLauncher: Got kdeinit_exec_wait('kbuildsycoca' ...)
> libkonq: KBookmarkMenu::KBookmarkMenu 0x8091e10 address :
> libkonq: KBookmarkImporter::scanIntern /root/.kde/share/apps/kfm/bookmarks
> libkonq: KBookmarkManager::save /root/.kde/share/apps/konqueror/bookmarks.xml
> KInit: Got EXEC 'kbuildsycoca' from klauncher.
> kio (KLauncher): kbuildsycoca (pid 1537) up and running.
> KLauncher doing clientStarted(`kbuildsycoca')
> DCOP: register 'kbuildsycoca' -> number of clients is now 6
> kbuildsycoca: Recreating ksycoca file
> DCOP:  unregister 'kbuildsycoca'
> DCOP: number of clients is now down to 5
> kdeinit: PID 1537 terminated.
> DCOP:  unregister 'anonymous-1535'
> DCOP: number of clients is now down to 4
> kicker: ContainerArea::saveContainerConfig()
> kicker: ExtensionManager::defaultContainerConfig()
> kicker: ExtensionManager::saveContainerConfig()
> kicker: ContainerArea::configure()
> libkonq: KBookmarkMenu::KBookmarkMenu 0x8091e10 address :
> kicker: Panel sets new strut.
> kdeinit: PID 1528 terminated.
> DCOP:  unregister 'anonymous-1528'
> DCOP: number of clients is now down to 3
> kdeinit: Launched 'klipper' pid = 1540 result = 0
> DCOP: register 'klipper' -> number of clients is now 4
> DCOP: register 'anonymous-1540' -> number of clients is now 5
> KCrash: crashing.... crashRecursionCounter = 2
> KCrash: Application Name = klipper path = <unknown>
> kdecore (KProtocolManager): ERROR: Protocol file not found
> DCOP:  unregister 'ksplash'
> DCOP: number of clients is now down to 4
> kdecore (KProtocolManager): ERROR: Protocol file not found
> kdecore (KProtocolManager): ERROR: Protocol file not found
> kdecore (KProtocolManager): ERROR: Protocol file not found
> kdecore (KProtocolManager): ERROR: Protocol file not found
> kdecore (KProtocolManager): ERROR: Protocol file not found
> libkonq: KBookmarkMenu::refill()
> DCOP:  unregister 'kdesktop'
> DCOP: number of clients is now down to 3
> DCOP:  unregister 'kicker'
> DCOP: number of clients is now down to 2
> kdeinit: Fatal IO error: client killed
> DCOP aborting while waiting for answer from 'klipper'
> DCOP:  unregister 'anonymous-1540'
> DCOP: number of clients is now down to 1
> ICE default IO error handler doing an exit() pid = 1512 errno = 2
> KLauncher: Exiting on signal 1
> KLauncher: Exiting on signal 15
> 
> I think there can be also some errors resulting from undefined $PATH variable
> to my $KDEDIR/bin directory. For some RH-based reason my $PATH variable uses
> directory /usr as KDEDIR because my earlier kde2 versions were installed from
> rpm-packages. I am just trying to find out where RH defines this KDEDIR
> variable.
> 
Hi!

just do 
find /etc -type f | xargs grep KDEDIR

The installation is strange though it seems the kbuildsycoca won't create a new
version but it would need to as the KDEDIR settings have changed.

Greetings Stephan

-- 
Programmers heed this: If someone starts asking you about
agricultural genomes it's likely time to get a handler. 
                                zdnet.com about Torvalds
Comment 2 hienola 2001-02-07 11:17:39 UTC
Quoting Stephan Kulow <coolo@kde.org>:

> hienola@mappi.helsinki.fi wrote:
> > 
> > Quoting Stephan Kulow <coolo@kde.org>:
> > 
> > > Hi!
> > >
> > > Your problem seems unusual can you please recompile with
> > > --enable-debug? Do not remove your .kde directory we want
> > > to fix this crash :)
> > >
> > > Greetings Stephan
> > 
> > Ok I just got KDE-2.1-beta2 compiled with --enable-debug option. I
> have
> > compiled only qt-X11-2.2.4 kdesupport-2.1-beta2 kdelibs-2.1-beta2
> and kdebase-
> > 2.1-beta2 source packages. I am sorry that this took so long time but
> I had to
> > do that on my spare time. I have also used option
> --prefix=/usr/local/kde21b2
> > with my compilation.
> > 
> > Ok what happens when I try to start kde via kdm (from runlevel 5 in
> my RH7.0):
> > 
> > Kde starts but kpanel replies with an error: Could not find mime-type
> > application/octet-stream and KCrash backtrace is:
> > 
> > 0x40e6b799 in __wait4() from /lib/libc.so.6
> > #0 0x40e6b799 in __wait4() from /lib/libc.so.6
> > #1 0x40ed88c8 in __DTOR_END__() from /lib/libc.so.6
> > #2 0x4051b560 in KCrash::defaultCrashHandler() from
> > /usr/local/kde21b2/lib/libkdecore.so.3
> > #3 <signal handler called>
> > 
> > Kde kind of starts but kpanel is not functional: I can not start any
> programs
> > from kpanel and icons look like "blank papers". Only logout works.
> > 
> > My .xsession-errors file reports:
> > 
> > save location /root/.kde/share/config/ doesn't exist
> > LD_LIBRARY_PATH=/root/.kde/lib:/usr/local/kde21b2/lib
> > kdeinit: Launched DCOPServer pid = 1500 result = 0
> > DCOPServer: SetAProc_loc: conn 0 prot=local file=/tmp/.ICE-unix/1502
> > kdeinit: Launched KLauncher pid = 1503 result = 0
> > DCOP: register 'klauncher' -> number of clients is now 1
> > DCOP: register 'anonymous-1503' -> number of clients is now 2
> > DCOP: new daemon klauncher
> > DCOP:  unregister 'anonymous-1503'
> > DCOP: number of clients is now down to 0
> > DCOP: register 'anonymous-1498' -> number of clients is now 1
> > DCOP:  unregister 'anonymous-1498'
> > DCOP: number of clients is now down to 0
> > DCOP: register 'ksplash' -> number of clients is now 1
> > kdeinit: Launched KDesktop pid = 1505 result = 0
> > DCOP: register 'kdesktop' -> number of clients is now 2
> > DCOP: register 'anonymous-1505' -> number of clients is now 3
> > save location /root/.kde/share/config/ doesn't exist
> > kio (KSycoca): findFactory: we have no database.... launching kdeinit
> > LD_LIBRARY_PATH=/root/.kde/lib:/usr/local/kde21b2/lib
> > kdeinit: Shutting down running client.
> > ---------------------------------
> > It looks like dcopserver is already running. If you are sure
> > that it is not already running remove
> > /root/.DCOPserver_viima.atm.helsinki.fi_:0
> > and start dcopserver again.
> > ---------------------------------
> > 
> > kdeinit: Launched DCOPServer pid = 1508 result = 0
> > kdeinit: Launched KLauncher pid = 1509 result = 0
> > DCOP: register 'klauncher' -> number of clients is now 4
> > DCOP:  unregister 'klauncher-2'
> > DCOP: number of clients is now down to 3
> > DCOP: register 'anonymous-1509' -> number of clients is now 4
> > DCOP:  unregister 'anonymous-1509'
> > DCOP: number of clients is now down to 3
> > kdeinit: Launched KDED pid = 1511 result = 0
> > kdeinit: Communication error with launcher. Exiting!
> > kio (KSycoca): ERROR: No database available!
> > kdesktop: Saver Engine disabled
> > kdesktop: KGlobalSettings::initStatic
> > DCOP: register 'kded' -> number of clients is now 4
> > DCOP: register 'anonymous-1511' -> number of clients is now 5
> > kded: Does not exist! (/root/.kde/share/servicetypes/)
> > kded: Does not exist! (/root/.kde/share/mimelnk/)
> > DCOP:  unregister 'anonymous-1505'
> > DCOP: number of clients is now down to 4
> > kdeinit: Launched KDED pid = 1515 result = 0
> > kdeinit: Killing kdeinit/klauncher.
> > DCOP: register 'kded' -> number of clients is now 5
> > DCOP:  unregister 'kded-2'
> > DCOP: number of clients is now down to 4
> > KDE Daemon (kded) already running.
> > DCOP: register 'anonymous-1515' -> number of clients is now 5
> > kdeinit: PID 1517 terminated.
> > kded: Does not exist! (/root/.kde/share/applnk/)
> > kded: Does not exist! (/root/.kde/share/services/)
> > DCOP: register 'anonymous-1512' -> number of clients is now 6
> > kio (KLauncher): KLauncher: Got kdeinit_exec_wait('kbuildsycoca' ...)
> > KInit: Got EXEC 'kbuildsycoca' from klauncher.
> > kio (KLauncher): kbuildsycoca (pid 1518) up and running.
> > KLauncher doing clientStarted(`kbuildsycoca')
> > DCOP: register 'kbuildsycoca' -> number of clients is now 7
> > kbuildsycoca: Recreating ksycoca file
> > DCOP:  unregister 'kbuildsycoca'
> > DCOP: number of clients is now down to 6
> > kdeinit: PID 1518 terminated.
> > DCOP:  unregister 'anonymous-1512'
> > DCOP: number of clients is now down to 5
> > DCOP: new daemon kded
> > DCOP:  unregister 'anonymous-1511'
> > DCOP: number of clients is now down to 3
> > kdesktop: KDesktop::slotStart
> > kio (KLauncher): KLauncher: Got kdeinit_exec_wait('kbuildsycoca' ...)
> > KInit: Got EXEC 'kbuildsycoca' from klauncher.
> > kio (KLauncher): kbuildsycoca (pid 1519) up and running.
> > KLauncher doing clientStarted(`kbuildsycoca')
> > DCOP: register 'kbuildsycoca' -> number of clients is now 4
> > kbuildsycoca: Recreating ksycoca file
> > DCOP:  unregister 'kbuildsycoca'
> > DCOP: number of clients is now down to 3
> > kdeinit: PID 1519 terminated.
> > DCOP:  unregister 'anonymous-1515'
> > DCOP: number of clients is now down to 2
> > kdeinit: PID 1515 terminated.
> > libkonq: KonqIconViewWidget::setIcons( 0  )
> > kdeinit: opened connection to :0.0
> > kio (KDirLister): KDirLister::openURL file:/root/Desktop/ keep=false
> > kdesktop: KDesktop::slotStarted
> > kdeinit: Launched 'kcminit' pid = 1520 result = 0
> > KCrash: crashing.... crashRecursionCounter = 2
> > KCrash: Application Name = kdesktop path = <unknown>
> > DCOP: register 'anonymous-1520' -> number of clients is now 3
> > kio (KSycoca): findFactory: we have no database.... launching kdeinit
> > LD_LIBRARY_PATH=/root/.kde/lib:/usr/local/kde21b2/lib
> > kdeinit: Launched DCOPServer pid = 1523 result = 0
> > ---------------------------------
> > It looks like dcopserver is already running. If you are sure
> > that it is not already running remove
> > /root/.DCOPserver_viima.atm.helsinki.fi_:0
> > and start dcopserver again.
> > ---------------------------------
> > 
> > kdeinit: Launched KLauncher pid = 1524 result = 0
> > DCOP: register 'klauncher' -> number of clients is now 4
> > DCOP:  unregister 'klauncher-2'
> > DCOP: number of clients is now down to 3
> > DCOP: register 'anonymous-1524' -> number of clients is now 4
> > DCOP:  unregister 'anonymous-1524'
> > DCOP: number of clients is now down to 3
> > kdeinit: Launched KDED pid = 1526 result = 0
> > kdeinit: Communication error with launcher. Exiting!
> > kdecore (KLibLoader): Deleting KLibLoader 0x80816c8  unnamed
> > kdeinit: PID 1520 terminated.
> > DCOP:  unregister 'anonymous-1520'
> > DCOP: number of clients is now down to 2
> > DCOP: register 'kded' -> number of clients is now 3
> > DCOP:  unregister 'kded-2'
> > DCOP: number of clients is now down to 2
> > KDE Daemon (kded) already running.
> > DCOP: register 'anonymous-1526' -> number of clients is now 3
> > kio (KLauncher): KLauncher: Got kdeinit_exec_wait('kbuildsycoca' ...)
> > kdeinit: Launched 'kicker' pid = 1528 result = 0
> > KInit: Got EXEC 'kbuildsycoca' from klauncher.
> > kio (KLauncher): kbuildsycoca (pid 1529) up and running.
> > KLauncher doing clientStarted(`kbuildsycoca')
> > DCOP: register 'kbuildsycoca' -> number of clients is now 4
> > kbuildsycoca: Recreating ksycoca file
> > DCOP: register 'kicker' -> number of clients is now 5
> > DCOP: register 'anonymous-1528' -> number of clients is now 6
> > DCOP:  unregister 'kbuildsycoca'
> > DCOP: number of clients is now down to 5
> > kdeinit: PID 1529 terminated.
> > DCOP:  unregister 'anonymous-1526'
> > DCOP: number of clients is now down to 4
> > kio (KSycoca): findFactory: we have no database.... launching kdeinit
> > LD_LIBRARY_PATH=/root/.kde/lib:/usr/local/kde21b2/lib
> > ---------------------------------
> > It looks like dcopserver is already running. If you are sure
> > that it is not already running remove
> > /root/.DCOPserver_viima.atm.helsinki.fi_:0
> > and start dcopserver again.
> > ---------------------------------
> > 
> > kdeinit: Launched DCOPServer pid = 1532 result = 0
> > kdeinit: Launched KLauncher pid = 1533 result = 0
> > DCOP: register 'klauncher' -> number of clients is now 5
> > DCOP:  unregister 'klauncher-2'
> > DCOP: number of clients is now down to 4
> > DCOP: register 'anonymous-1533' -> number of clients is now 5
> > DCOP:  unregister 'anonymous-1533'
> > DCOP: number of clients is now down to 4
> > kdeinit: Launched KDED pid = 1535 result = 0
> > kdeinit: Communication error with launcher. Exiting!
> > kicker: RecentlyLaunchedApps::init
> > DCOP: register 'kded' -> number of clients is now 5
> > DCOP:  unregister 'kded-2'
> > DCOP: number of clients is now down to 4
> > KDE Daemon (kded) already running.
> > DCOP: register 'anonymous-1535' -> number of clients is now 5
> > kio (KLauncher): KLauncher: Got kdeinit_exec_wait('kbuildsycoca' ...)
> > libkonq: KBookmarkMenu::KBookmarkMenu 0x8091e10 address :
> > libkonq: KBookmarkImporter::scanIntern
> /root/.kde/share/apps/kfm/bookmarks
> > libkonq: KBookmarkManager::save
> /root/.kde/share/apps/konqueror/bookmarks.xml
> > KInit: Got EXEC 'kbuildsycoca' from klauncher.
> > kio (KLauncher): kbuildsycoca (pid 1537) up and running.
> > KLauncher doing clientStarted(`kbuildsycoca')
> > DCOP: register 'kbuildsycoca' -> number of clients is now 6
> > kbuildsycoca: Recreating ksycoca file
> > DCOP:  unregister 'kbuildsycoca'
> > DCOP: number of clients is now down to 5
> > kdeinit: PID 1537 terminated.
> > DCOP:  unregister 'anonymous-1535'
> > DCOP: number of clients is now down to 4
> > kicker: ContainerArea::saveContainerConfig()
> > kicker: ExtensionManager::defaultContainerConfig()
> > kicker: ExtensionManager::saveContainerConfig()
> > kicker: ContainerArea::configure()
> > libkonq: KBookmarkMenu::KBookmarkMenu 0x8091e10 address :
> > kicker: Panel sets new strut.
> > kdeinit: PID 1528 terminated.
> > DCOP:  unregister 'anonymous-1528'
> > DCOP: number of clients is now down to 3
> > kdeinit: Launched 'klipper' pid = 1540 result = 0
> > DCOP: register 'klipper' -> number of clients is now 4
> > DCOP: register 'anonymous-1540' -> number of clients is now 5
> > KCrash: crashing.... crashRecursionCounter = 2
> > KCrash: Application Name = klipper path = <unknown>
> > kdecore (KProtocolManager): ERROR: Protocol file not found
> > DCOP:  unregister 'ksplash'
> > DCOP: number of clients is now down to 4
> > kdecore (KProtocolManager): ERROR: Protocol file not found
> > kdecore (KProtocolManager): ERROR: Protocol file not found
> > kdecore (KProtocolManager): ERROR: Protocol file not found
> > kdecore (KProtocolManager): ERROR: Protocol file not found
> > kdecore (KProtocolManager): ERROR: Protocol file not found
> > libkonq: KBookmarkMenu::refill()
> > DCOP:  unregister 'kdesktop'
> > DCOP: number of clients is now down to 3
> > DCOP:  unregister 'kicker'
> > DCOP: number of clients is now down to 2
> > kdeinit: Fatal IO error: client killed
> > DCOP aborting while waiting for answer from 'klipper'
> > DCOP:  unregister 'anonymous-1540'
> > DCOP: number of clients is now down to 1
> > ICE default IO error handler doing an exit() pid = 1512 errno = 2
> > KLauncher: Exiting on signal 1
> > KLauncher: Exiting on signal 15
> > 
> > I think there can be also some errors resulting from undefined $PATH
> variable
> > to my $KDEDIR/bin directory. For some RH-based reason my $PATH
> variable uses
> > directory /usr as KDEDIR because my earlier kde2 versions were
> installed from
> > rpm-packages. I am just trying to find out where RH defines this
> KDEDIR
> > variable.
> > 
> Hi!
> 
> just do 
> find /etc -type f | xargs grep KDEDIR

Ok. I'll do that. However I found some KDEDIR definitions in files under
/usr/share/apps/switchdesk/ which are used by kdm - I suppose so(???). Editing
these files helped.

> The installation is strange though it seems the kbuildsycoca won't
> create a new
> version but it would need to as the KDEDIR settings have changed.
> 
> Greetings Stephan

I have now run kbuildsycoca and it does not crash anymore. However when I
start kde programs which are not yet compiled and installed cause crashes (e.g.
klipper which I haven't installed yet). Also other programs which I haven't yet
installed result crashes while trying to execute them. Should this be
acceptable? (I will compile those packages later).

So I think these errors were only due to my own stupidity :)... Sorry about
that.

Yours

Jukka Hienola
Comment 3 Waldo Bastian 2001-02-08 02:03:12 UTC
On Wednesday 07 February 2001 02:48 Stephan Kulow wrote:
> just do
> find /etc -type f | xargs grep KDEDIR
>
> The installation is strange though it seems the kbuildsycoca won't create
> a new version but it would need to as the KDEDIR settings have changed.

No kbuildsycoca seems to work fine but kdeinit gets restarted (by kdesktop) 
causing all kinds of problems. I fixed that this weekend. Kdesktop now gets 
started _after_ kded/kbuildsycoa. 

Cheers
Waldo
-- 
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com
Comment 4 Waldo Bastian 2001-02-14 06:06:14 UTC
Closed
-- 
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com