From kde-devel Fri Oct 01 00:26:59 1999 From: Don Sanders Date: Fri, 01 Oct 1999 00:26:59 +0000 To: kde-devel Subject: Re: KRootProp still kills kded X-MARC-Message: https://marc.info/?l=kde-devel&m=93873969707766 Is this still giving you grief Rik? Do you have any code (KOffice, Konqueror?) that calls KdedIntance sucessfully? I noticed on the KOffice mailing list some apps required being started with -kdedlocal to work right, are there different ways to start up kded? Can you try starting a "local" version of kded rather than the "default" kind. (There appears to be some documentation in kded_instance.h on this). At least if this works it would suggest things are only "a little bit wrong". I guess XInterAtom is relying on some precondition that is not being satisfied, pretty slack of it to just curl up and die (Not very helpful comment I know). At least it is dying consistenly in there. Maybe you could play around with calling XInternAtom in your code (at various points before the call to KdedInstance), or in just a trivial application, can you get XInterAtom to work at all? If so when does it stop working? Maybe something is happening that is fouling things up and causing XInterAtom to die. Currently my priority queue is pretty full but I should be able to compile this code and try it out by Sunday, my time. For a change I have very fresh and fully operational compiles of all the corba stuff working at the moment, (mico, kdelibs, kdebase, and koffice all compiled with minimal fuss, and they are running well, I'm shocked!) Maybe someone more in the know than me can help out. PS. Bad time to fry your memory. BFN, Don. On Tue, 28 Sep 1999, Rik Hemsley wrote: > #if Rik Hemsley > > #0 0x408dd07a in XInternAtom () from /usr/X11R6/lib/libX11.so.6 > > #1 0x404019fe in KRootProp::setProp () from /x/kde/lib/libkdecore.so.3 > > #2 0x4009917e in get_kded_from_display () from /x/kde/lib/libkded.so.1 > > #3 0x40099fed in get_kded () from /x/kde/lib/libkded.so.1 > > #4 0x4009a2ae in connect_to_kded () from /x/kde/lib/libkded.so.1 > > #5 0x4009c66c in KdedInstance::initializeKded () from /x/kde/lib/libkded.so.1 > > #6 0x4009b9ae in KdedInstance::KdedInstance () from /x/kde/lib/libkded.so.1 > > I still can't work this one out. > > It's nothing to do with the parameters, as the only parameter passed to > KRootProp::setProp is a const QCString, KDED_PROPERTY="KDED_RESOURCES". > > Looking through the call chain of the kded stuff it seems clean - no > risky stuff in there. I thought perhaps my orb ptr was null, but I > checked and apparently not. > > I'm using XFree86 3.3.4 and egcs-1.1.2, x86. > > Don't dare tell me to compile a debugging version of XFree, as I've > just fried 32M of my 96 and compiling anything hurts ;( > > Cheers, > Rik