[opensuse-kde3] Re: Leap 42 - First Login kded/kicker crashes, logout/login again all is OK - Any idea?
Hi, For those not subscribed to bug 965242, there seems to be a workaround. Add the following somewhere at the beginning of /opt/kde3/bin/startkde: GAM_SERV=`pgrep gam_server` if test -z $GAM_SERV ; then echo "No gam_server running, starting it..." /usr/lib/gam_server& fi It looks like KDE3 starts OK when gam_server is already running and crashes when gam_server is not running when kded/kdesktop/kicker call FAMOpen. I could not find how gam_server is started. Possibly, libfam0 starts it when called for the first time. So probably KDE3 can't handle correctly this situation. HTH -- Mark Goldstein -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On 03/25/2017 11:42 AM, Mark Goldstein wrote:
Hi,
For those not subscribed to bug 965242, there seems to be a workaround.
Add the following somewhere at the beginning of /opt/kde3/bin/startkde:
GAM_SERV=`pgrep gam_server` if test -z $GAM_SERV ; then echo "No gam_server running, starting it..." /usr/lib/gam_server& fi
It looks like KDE3 starts OK when gam_server is already running and crashes when gam_server is not running when kded/kdesktop/kicker call FAMOpen. I could not find how gam_server is started. Possibly, libfam0 starts it when called for the first time. So probably KDE3 can't handle correctly this situation.
HTH
Mark, Thank you for the follow-up. I will have to see what is starting gam_server on my system. Because I did experience the kded crash for the first few days I had KDE installed, but then it disappeared (obviously I changed something that must start gam_server): $ pgrep gam_server 2320 However, whatever config change I made, it was not an explicit start of gam_server, so there is some other service that does that on it's own. Looking, it appears it is triggered by kdeinit now (somehow), e.g. $ ps axf ... 2309 ? S 0:00 start_kdeinit --new-startup +kcminit_startup 2310 ? Ss 0:00 kdeinit Running... 2315 ? S 0:05 \_ klauncher [kdeinit] --new-startup ... 2313 ? S 0:01 dcopserver [kdeinit] --nosid 2317 ? S 0:42 kded [kdeinit] --new-startup 2320 ? S 0:01 /usr/lib/gam_server 2323 ? Ssl 2:27 /usr/lib/udisks2/udisksd --no-debug 2333 ? S 0:00 ksmserver [kdeinit] 2335 ? S 0:58 \_ kwin -session 10e9cd7a61000148218468500000024110000_1492121674_881081 2342 ? S 1:04 kdesktop [kdeinit] 2344 ? S 19:30 kicker [kdeinit] 2350 ? S 0:08 kaccess [kdeinit] 2354 ? S 0:34 basket -session 10e9cd7a61000148237577700000171830039_1492121674_878575 2356 ? S 0:01 kgpg -session 10e9cd7a61000148297542500000024500016_1492121674_878578 2370 ? Ss 0:16 syndaemon -d -k -R -p /usr/local/tmp/david/syndaemon.pid 2377 ? S 0:01 kmix [kdeinit] -autostart 2379 ? S 0:05 knetworkmanager [kdeinit] 2381 ? S 0:59 klipper [kdeinit] 2389 ? S 0:01 /usr/lib/GConf/2/gconfd-2 ... The only direct package requirements I find are: $ rpm -q --whatrequires gamin-server libfam0-gamin-0.1.10-14.5.x86_64 libgamin-1-0-0.1.10-14.5.x86_64 codeblocks-contrib-16.01-1.1.x86_64 I'm stumped, your guess is as good as mine... (probably better) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
Hi David, On Wed, Apr 19, 2017 at 9:09 AM, David C. Rankin <drankinatty@suddenlinkmail.com> wrote:
on my system. Because I did experience the kded crash for the first few days I had KDE installed, but then it disappeared (obviously I changed something that must start gam_server):
$ pgrep gam_server 2320
However, whatever config change I made, it was not an explicit start of gam_server, so there is some other service that does that on it's own.
Looking, it appears it is triggered by kdeinit now (somehow), e.g.
$ ps axf
... 2309 ? S 0:00 start_kdeinit --new-startup +kcminit_startup 2310 ? Ss 0:00 kdeinit Running... 2315 ? S 0:05 \_ klauncher [kdeinit] --new-startup ... 2313 ? S 0:01 dcopserver [kdeinit] --nosid 2317 ? S 0:42 kded [kdeinit] --new-startup 2320 ? S 0:01 /usr/lib/gam_server
How do you see that gam_server was run by kdeinit? On my system ps axf shows: 1747 ? Ss 0:00 \_ /bin/sh /opt/kde3/bin/startkde 1824 ? Ss 0:00 \_ /usr/bin/gpg-agent --sh --daemon --keep-display --write-en 1833 ? S 0:00 \_ /usr/lib/gam_server 1878 ? S 0:00 \_ kwrapper ksmserver 1717 ? Ss 0:00 /usr/sbin/cron -n So I clearly see that my "patch" in startkde script started it. I added -f option to ps also, so it shows the "parent process": $ps axf -f |grep gam_server user 1833 1747 0 16:25 ? S 0:00 \_ /usr/lib/gam_server ^^^^ Parent process ID
The only direct package requirements I find are:
$ rpm -q --whatrequires gamin-server libfam0-gamin-0.1.10-14.5.x86_64 libgamin-1-0-0.1.10-14.5.x86_64 codeblocks-contrib-16.01-1.1.x86_64
I'm stumped, your guess is as good as mine... (probably better) Well, not sure. You did a lot of maintenance already (TDE on arch and so on). I still have not got my hands dirty with it, just periodically
As far as I could understand from quick googling, this gamin thing is some gnome replacement of old FAM service. It looks like when application calls FAMOpen (which is in libfam0-gamin), and gam_server is not running, the server is started. I've not investigated it further. Will try to look a bit more into it during weekend. trying to look into something. You gave me some credit I have not deserved :( BR, -- Mark Goldstein -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On 04/19/2017 10:23 AM, Mark Goldstein wrote:
Well, not sure. You did a lot of maintenance already (TDE on arch and so on). I still have not got my hands dirty with it, just periodically trying to look into something. You gave me some credit I have not deserved :(
BR,
Call it hopeful encouragement :) I'm serious about work on KDE3 for 42.3. All I need is a cheat-sheet for the build order, etc.. I presume it is just a master .spec that generates subpackages (or even better, a collection of one .spec per package that would build and apply the current patch sets against the old kde 3.5.10 source tree -- that would make maintenance much easier) I have several spare servers with several terabytes unused that I'm happy to put toward the KDE3 build, if someone is currently building KDE3 locally, it would really cut down the amount of time it would take me to come up to speed if I had a cheat sheet rather than bumbling through the setup myself. I have the complete 3.5.10 tree available (in tree and tgz form) from when it was still hosted on kde.svn.org, but I don't yet have the current srpms. With TDE on Arch, I simply maintained a separate PKGBUILD dir for each package with any associated patches and scripts required and would build from alsa, Qt3, and then build though the remaining desktop components via a bash script that would coordinate any needed patches per component, building the entire desktop, including the ancillary apps like koffice, kdewebev, etc... Is Ilya still the one doing most of the building? I guess he would be one place to start to find this info. If you have any more info on this let me know. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
David C. Rankin composed on 2017-04-20 01:43 (UTC-0500):
Is Ilya still the one doing most of the building?
It looks pretty likely he's not: https://lists.opensuse.org/opensuse-kde3/2016-06/msg00000.html https://bugzilla.opensuse.org/show_bug.cgi?id=843086#c17 https://bugzilla.opensuse.org/show_bug.cgi?id=1017949#c1 -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Thu, Apr 20, 2017 at 9:43 AM, David C. Rankin <drankinatty@suddenlinkmail.com> wrote:
Is Ilya still the one doing most of the building? I guess he would be one place to start to find this info. If you have any more info on this let me know.
Unfortunately Ilya switched to Windows recently :-(... David Streba is doing the builds, as far as I know. -- Mark Goldstein -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Wed, Apr 19, 2017 at 6:23 PM, Mark Goldstein <goldstein.mark@gmail.com> wrote:
As far as I could understand from quick googling, this gamin thing is some gnome replacement of old FAM service. It looks like when application calls FAMOpen (which is in libfam0-gamin), and gam_server is not running, the server is started. I've not investigated it further. Will try to look a bit more into it during weekend.
Hmm, I dug a bit more in this FAMOpen, then I wanted to see the crash again, removed my patch and... surprise, no crash. Just as David said. Now I see that gam_server parent PID is 1. Could be that now it is started by some process that complete running and so the PPID is set to 1. FAMOpen calls gamin_connect_unix_socket. Inside this function it opens PF_UNIX socket and tries connecting to gam_server. If connection fails, it forks gam_server and tries connection again. What has changed? Maybe some update? I'll check update logs... -- Mark Goldstein -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
participants (3)
-
David C. Rankin
-
Felix Miata
-
Mark Goldstein