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

List:       kde-devel
Subject:    It's the Netscape Plugin searcher (Re: Puzzle with KDE 221 on Tru64
From:       Thomas Leitner <tom () radar ! tu-graz ! ac ! at>
Date:       2001-11-13 7:32:44
[Download RAW message or body]

The mystery is partly solved now. Remember: The problem was that under
certain circumstances, KDE login was stalled on Tru64 machines. These
circumstances do not seem quite clear, however the final solution
was this. /usr/local/netscape/plugins contained this:

[101]root@montrose> ls -l /usr/local/netscape/plugins
total 192
-r-xr-xr-x   1 5115     10         57089 Jun 25 10:40 cpPack1.jar
-r-xr-xr-x   1 5115     10         57089 Mar 26  2001 cpPack1.jar.old
-r-xr-xr-x   1 5115     10         40960 Jun 25 10:40 libnullplugin.so
-r-xr-xr-x   1 5115     10         40960 Mar 26  2001 libnullplugin.so.old

and the solution was to delete the *.old files!! Apparently the plugin
scanner had some problems with the *.old files. Or it tried to load
the *.old files as well or whatever.

Can someone with more knowledge about that please check and fix this?
Below's a detailled analysis of what's happening.

Thanks // Tom

---------- Forwarded message ----------
Date: Mon, 12 Nov 2001 19:57:56 -0600
From: Graham Allan <allan@physics.umn.edu>
To: Thomas Leitner <tom@radar.tu-graz.ac.at>
Subject: Re: Puzzle with KDE 221 on Tru64 Unix

Dear Tom,

Sorry, once again, to have taken so long to reply.

> More ideas:
> 
> - try using
> 
> $ startkde >startkde.log 2>&1
> 
> in the xterm and see if it hangs as well. If it doesn't, check the
> difference between the startkde.log files.

Very interesting - it works ok in this case... I'll send the two
logfiles as attachments, as this message may become unreadable otherwise!

> - When the system hangs, try to log-in via telnet and check if there
> is any strange behaviour. Any process consuming 100% CPU time? Any
> process doing much I/O ?

Nothing appears to be consuming many resources (from "top" anyway). The
active kde processes are:

 >ps ax|grep kde
 23839 ??       I        0:00.02 sh /usr/local/kde221/bin/startkde.kde22         \
23848 ??       I        0:00.36 kdeinit: Starting up...  23851 ??       I        \
0:00.02 kdeinit: dcopserver --nosi  23855 ??       I        0:00.02 kdeinit: \
klauncher  23857 ??       S        0:02.93 kdeinit: kded
 23868 ??       I        0:00.18 kdeinit: kcminit
 24002 ttyp1    S  +     0:00.00 grep kdeinit

 Also try to debug into the kcminit
> process if it's there. This can be done like that:
> 
> $ gdb /usr/local/kde221/bin/kcminit PID
> 
> where PID is the process ID of the kcminit process. Once in GDB
> enter "bt" to see where it's standing. Send me the output.

Sorry, we didn't have gdb installed (incredible as it may seem), but
here is hopefully the corresponding output from dbx:

(dbx) where
   0 __wait4(0x3000b808498, 0x1400560a0, 0x17, 0x14005c700, 0x3ff800e1804) \
[0x3ff800d94c8]  1 __waitpid_nc(0x3ff800f5b8c, 0x0, 0x3ff800f5a3c, 0x11ffff140, \
0x5d42) [0x3ff8017a3d4]  2 system(0x17, 0x14005c700, 0x0, 0x80000, 0x0) \
[0x3ff800f5b88]  3 init_nsplugin(0x140070840, 0x0, 0x30000000001, 0x140070840, 0x0) \
[0x3000b80cec0]  4 main(0x140038880, 0x140048c00, 0x140008a01, 0x14004a840, \
0x140054700) [0x30008807358]

Which is interesting, as netscape plugins are one of the things
complained about in the startkde log files.

This may be totally irrelevant, but here's the contents of the directory
"/usr/local/netscape/plugins":

[101]root@montrose> ls -l /usr/local/netscape/plugins
total 192
-r-xr-xr-x   1 5115     10         57089 Jun 25 10:40 cpPack1.jar
-r-xr-xr-x   1 5115     10         57089 Mar 26  2001 cpPack1.jar.old
-r-xr-xr-x   1 5115     10         40960 Jun 25 10:40 libnullplugin.so
-r-xr-xr-x   1 5115     10         40960 Mar 26  2001 libnullplugin.so.old

We do have netscape 4.78 installed (and 4.77 et al before that) rather
than using the Tru64-supplied version.


> - When the system hangs, try to log-in via telnet and kill out the
> kcminit process if it's running. Does the startup continue then?

Indeed it does! We get right on to the Desktop Settings Wizard.

And here we *might* have a solution...

I deleted the *.old files from /usr/local/netscape/plugins directory.
The *.old plugins would have been from netscape 4.77, (they get renamed
to *.old by the netscape installer script).

Could it be that kde221 doesn't like trying to load two plugins which
have the same function (eg cpPack1.jar and cpPack1.jar.old)? Although I
suppose this makes no sense, since the logfile always says it fails to
load the plugins.

I'll attach the three logfiles as follows:

startkde_xterm.log is with .xsession starting an xterm, then running
startkde manually. The fatal error at the end is due to me ctrl-C-ing
the xterm rather than logging out normally, btw.

startkde_normal.log is with the regular .xsession and startkde
redirected to the logfile.

startkde_final.log is the same, after removing the *.old plugin files.

Although I think this may have solved the immediate problem here, I
don't know if it has exposed any underlying problem - does it make any
sense to you? Maybe the KDE developers might find something interesting
in it!

Thanks,

Graham
-- 
-------------------------------------------------------------------------
Graham Allan - I.T. Manager - gta@umn.edu - (612) 624-5040
School of Physics and Astronomy - University of Minnesota
-------------------------------------------------------------------------


["startkde_xterm.log" (TEXT/PLAIN)]

_KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
DCOPServer up and running.
File = /usr/local/kde221/share/apps/kconf_update/kcookiescfg.upd
File = /usr/local/kde221/share/apps/kconf_update/kioslave.upd
Running script 'useragent.pl'
Script: Writing entries to \
                /home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateZeiaaa.tmp
                
Script: Filtered entries written to \
/home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateVCbaaa.tmp Running \
                script 'proxytype.pl'
Script: Writing entries to \
                /home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateP5baaa.tmp
                
Script: Filtered entries written to \
/home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateEneaaa.tmp Write \
ProxyType -> 0 File = /usr/local/kde221/share/apps/kconf_update/klipperrc.upd
Running script 'klipper-1-2.pl'
Script: Writing entries to \
                /home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateGidaaa.tmp
                
Script: Filtered entries written to \
/home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateVxiaaa.tmp File = \
/usr/local/kde221/share/apps/kconf_update/konsole.upd File = \
/usr/local/kde221/share/apps/kconf_update/knewsticker.upd Running script \
                'knt-0.1-0.2.pl'
Script: Writing entries to \
                /home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateJufaaa.tmp
                
Script: Filtered entries written to \
/home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updatetQcaaa.tmp File = \
/usr/local/kde221/share/apps/kconf_update/kdevelop2.upd kdecore (KLibLoader): \
WARNING: library=/usr/local/netscape/plugins/cpPack1.jar: \
file=/usr/local/netscape/plugins/cpPack1.jar: dlopen: cannot load \
/usr/local/netscape/plugins/cpPack1.jar kdecore (KLibLoader): WARNING: \
library=/usr/local/netscape/plugins/cpPack1.jar.old: \
file=/usr/local/netscape/plugins/cpPack1.jar.old: dlopen: cannot load \
                /usr/local/netscape/plugins/cpPack1.jar.old
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
KLauncher: Exiting on signal 1
kdeinit: sending SIGTERM to children.
kdeinit: Exit.


["startkde_normal.log" (TEXT/PLAIN)]

_KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
DCOPServer up and running.
File = /usr/local/kde221/share/apps/kconf_update/kcookiescfg.upd
File = /usr/local/kde221/share/apps/kconf_update/kioslave.upd
Running script 'useragent.pl'
Script: Writing entries to \
                /home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateZeiaaa.tmp
                
Script: Filtered entries written to \
/home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateVCbaaa.tmp Running \
                script 'proxytype.pl'
Script: Writing entries to \
                /home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateP5baaa.tmp
                
Script: Filtered entries written to \
/home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateEneaaa.tmp Write \
ProxyType -> 0 File = /usr/local/kde221/share/apps/kconf_update/klipperrc.upd
Running script 'klipper-1-2.pl'
Script: Writing entries to \
                /home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateGidaaa.tmp
                
Script: Filtered entries written to \
/home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateVxiaaa.tmp File = \
/usr/local/kde221/share/apps/kconf_update/konsole.upd File = \
/usr/local/kde221/share/apps/kconf_update/knewsticker.upd Running script \
                'knt-0.1-0.2.pl'
Script: Writing entries to \
                /home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateJufaaa.tmp
                
Script: Filtered entries written to \
/home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updatetQcaaa.tmp File = \
/usr/local/kde221/share/apps/kconf_update/kdevelop2.upd kdecore (KLibLoader): \
WARNING: library=/usr/local/netscape/plugins/cpPack1.jar: \
file=/usr/local/netscape/plugins/cpPack1.jar: dlopen: cannot load \
/usr/local/netscape/plugins/cpPack1.jar kdecore (KLibLoader): WARNING: \
library=/usr/local/netscape/plugins/cpPack1.jar.old: \
file=/usr/local/netscape/plugins/cpPack1.jar.old: dlopen: cannot load \
                /usr/local/netscape/plugins/cpPack1.jar.old
WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  42
WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  42
WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  42
WARNING: KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode:  14
WARNING: KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode:  14
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
KLauncher: Exiting on signal 1
kdeinit: sending SIGTERM to children.
kdeinit: Exit.


["startkde_final.log" (TEXT/PLAIN)]

_KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
DCOPServer up and running.
File = /usr/local/kde221/share/apps/kconf_update/kcookiescfg.upd
File = /usr/local/kde221/share/apps/kconf_update/kioslave.upd
Running script 'useragent.pl'
Script: Writing entries to \
                /home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateZeiaaa.tmp
                
Script: Filtered entries written to \
/home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateVCbaaa.tmp Running \
                script 'proxytype.pl'
Script: Writing entries to \
                /home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateP5baaa.tmp
                
Script: Filtered entries written to \
/home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateEneaaa.tmp Write \
ProxyType -> 0 File = /usr/local/kde221/share/apps/kconf_update/klipperrc.upd
Running script 'klipper-1-2.pl'
Script: Writing entries to \
                /home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateGidaaa.tmp
                
Script: Filtered entries written to \
/home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateVxiaaa.tmp File = \
/usr/local/kde221/share/apps/kconf_update/konsole.upd File = \
/usr/local/kde221/share/apps/kconf_update/knewsticker.upd Running script \
                'knt-0.1-0.2.pl'
Script: Writing entries to \
                /home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updateJufaaa.tmp
                
Script: Filtered entries written to \
/home/admin/jamesj/.kde/tmp-montrose.spa.umn.edu/kconf_updatetQcaaa.tmp File = \
/usr/local/kde221/share/apps/kconf_update/kdevelop2.upd kdecore (KLibLoader): \
WARNING: library=/usr/local/netscape/plugins/cpPack1.jar: \
file=/usr/local/netscape/plugins/cpPack1.jar: dlopen: cannot load \
/usr/local/netscape/plugins/cpPack1.jar kdecore (KLibLoader): WARNING: \
library=/usr/lib/netscape/plugins/cpPack1.jar: \
file=/usr/lib/netscape/plugins/cpPack1.jar: dlopen: cannot load \
/usr/lib/netscape/plugins/cpPack1.jar kdecore (KLibLoader): WARNING: \
library=/usr/local/netscape/plugins/cpPack1.jar: \
file=/usr/local/netscape/plugins/cpPack1.jar: dlopen: cannot load \
/usr/local/netscape/plugins/cpPack1.jar


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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