Unkillable processes with libKSE

2003-06-24 Thread Wesley Morgan
Thought I would give libKSE a try making use of the 'libmap.conf' library
translations. KDE loads fine, but when I tried to run Firebird I get a
process with 3 threads, and it is completely unkillable. It also is
holding some kind of lock on it's own directory that has caused a couple
of ls's to hang unkillable in lstat():

[EMAIL PROTECTED]:/usr/X11R6/lib/firebird/lib$]: ls
^C^C^Z^Z^Z^C^C^Z^C^Z^C^Z

The offending threads are:

  887 morganw   -40 39120K 30972K ufs  0:02  0.00%  0.00% MozillaFirebi
  887 morganw   760 39120K 30972K WAIT 0:02  0.00%  0.00% MozillaFirebi
  887 morganw   -80 39120K 30972K RUN  0:02  0.00%  0.00% MozillaFirebi

Kernel has ddb in it and I'll leave the processes running as they don't
seem to be causing any harm so if there is any information I can provide
to help debug, let me know. Truss/strace/ktrace produce no output.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unkillable processes with libKSE

2003-06-24 Thread Michael Edenfield
* Wesley Morgan [EMAIL PROTECTED] [030624 12:45]:

 Thought I would give libKSE a try making use of the 'libmap.conf' library
 translations. KDE loads fine, but when I tried to run Firebird I get a
 process with 3 threads, and it is completely unkillable. It also is

I had the same experience just running the KSE test application from 
/usr/src/tools last night.  I ended up with three unkillable ksetest 
applications and ultimately rebooted to get rid of them.  I was 
planning to report it as soon as I finished reading my email :)

--Mike



pgp0.pgp
Description: PGP signature


Re: Unkillable processes with libKSE

2003-06-24 Thread Julian Elischer
what about kill -9 887
?
The signals in libKSE are known to be 'delicate'.
We are working on (well, actually David Xu is working on)
a set of code to make the signal more robust.
Hopefully this will fix the problem you are seeing..

Any other comments?
Other than not being able to kill it, how as the experience?



On Tue, 24 Jun 2003, Wesley Morgan wrote:

 Thought I would give libKSE a try making use of the 'libmap.conf' library
 translations. KDE loads fine, but when I tried to run Firebird I get a
 process with 3 threads, and it is completely unkillable. It also is
 holding some kind of lock on it's own directory that has caused a couple
 of ls's to hang unkillable in lstat():
 
 [EMAIL PROTECTED]:/usr/X11R6/lib/firebird/lib$]: ls
 ^C^C^Z^Z^Z^C^C^Z^C^Z^C^Z
 
 The offending threads are:
 
   887 morganw   -40 39120K 30972K ufs  0:02  0.00%  0.00% MozillaFirebi
   887 morganw   760 39120K 30972K WAIT 0:02  0.00%  0.00% MozillaFirebi
   887 morganw   -80 39120K 30972K RUN  0:02  0.00%  0.00% MozillaFirebi
 
 Kernel has ddb in it and I'll leave the processes running as they don't
 seem to be causing any harm so if there is any information I can provide
 to help debug, let me know. Truss/strace/ktrace produce no output.
 
 -- 
 Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unkillable processes with libKSE

2003-06-24 Thread Wesley Morgan
On Tue, 24 Jun 2003, Julian Elischer wrote:

 what about kill -9 887
 ?
 The signals in libKSE are known to be 'delicate'.
 We are working on (well, actually David Xu is working on)
 a set of code to make the signal more robust.
 Hopefully this will fix the problem you are seeing..

Kill -9 doesn't work.

 Any other comments?
 Other than not being able to kill it, how as the experience?

KDE seems fine... Firebird died before it got far enough to open any
windows.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unkillable processes with libKSE

2003-06-24 Thread Michael Edenfield
* Julian Elischer [EMAIL PROTECTED] [030624 14:47]:

  I had the same experience just running the KSE test application from 
  /usr/src/tools last night.  I ended up with three unkillable ksetest 
  applications and ultimately rebooted to get rid of them.  I was 
  planning to report it as soon as I finished reading my email :)
 
 Interesting..
 
 I'll check on my testd machine..
 the test program responded to ^C as of a few days ago..

I just rebuilt my system to see if the problem had perhaps been 
solved, but it's still doing it.  It doesn't cause any problems (the 
process doesn't look like it's doing anything, just not going away) so 
I am gonna just let the processes sit there.

[EMAIL PROTECTED]:/usr/src/tools/KSE/ksetest# ./ksetest
main() : 0x804c000
eip - 0x280c06b3
uts() at : 0x8048e20
uts stack at : 0x814d000 - 0x8155000
main() : 0x804c400
eip - 0x280c06b3
uts() at : 0x8048e20
uts stack at : 0x8255000 - 0x825d000
thread_start() : 0x804c800 804c800
thread_start() : 0x826d000 826d000
kse_create() - 0
+-kse_create() - -1
main() : 0x826d800
eip - 0x280c06b3
uts() at : 0x8048e20
uts stack at : 0x837e000 - 0x8386000
main() : 0x826dc00
eip - 0x280c06b3
uts() at : 0x8048e20
uts stack at : 0x8486000 - 0x848e000
thread_start() : 0x848e000 848e000
thread_start() : 0x848e800 848e800
thread_start() : 0x84af000 84af000
kse_create() - 0
A*.kse_create() - -1
[...]
*R*.S.*T*.^C^D^Z

(no response on this tty, so I close it).

On another tty I get this:

[EMAIL PROTECTED]:/home/kutulu# ps x | grep ksetest
30947  p2  RL-0:00.12 ./ksetest
30947  p2  RL-0:00.12 ./ksetest
30947  p2  TL-0:00.12 ./ksetest
[EMAIL PROTECTED]:/home/kutulu# kill -KILL 30947
[EMAIL PROTECTED]:/home/kutulu# ps x | grep ksetest
30947  p2  RL-0:00.12 ./ksetest
30947  p2  RL-0:00.12 ./ksetest
30947  p2  TL-0:00.12 ./ksetest
[EMAIL PROTECTED]:/home/kutulu# top

[...]
30947 root  760  5760K   628K WAIT 0:00  0.00%  0.00% ksetest
30947 root   80  5760K   628K RUN  0:00  0.00%  0.00% ksetest
30947 root   80  5760K   628K RUN  0:00  0.00%  0.00% ksetest
[...]

I don't have DDB in this kernel at the moment (it's remote and I
prefer the crash dumps) but I can put it in and try again if there's 
something you can use from it.

--Mike


pgp0.pgp
Description: PGP signature


Re: Unkillable processes with libKSE

2003-06-24 Thread Julian Elischer
If it's duplicatable on recent systems I'll see it on my test system...

thanks..

On Tue, 24 Jun 2003, Michael Edenfield wrote:

 * Julian Elischer [EMAIL PROTECTED] [030624 14:47]:
 
   I had the same experience just running the KSE test application from 
   /usr/src/tools last night.  I ended up with three unkillable ksetest 
   applications and ultimately rebooted to get rid of them.  I was 
   planning to report it as soon as I finished reading my email :)
  
  Interesting..
  
  I'll check on my testd machine..
  the test program responded to ^C as of a few days ago..
 
 I just rebuilt my system to see if the problem had perhaps been 
 solved, but it's still doing it.  It doesn't cause any problems (the 
 process doesn't look like it's doing anything, just not going away) so 
 I am gonna just let the processes sit there.
 
 [EMAIL PROTECTED]:/usr/src/tools/KSE/ksetest# ./ksetest
 main() : 0x804c000
 eip - 0x280c06b3
 uts() at : 0x8048e20
 uts stack at : 0x814d000 - 0x8155000
 main() : 0x804c400
 eip - 0x280c06b3
 uts() at : 0x8048e20
 uts stack at : 0x8255000 - 0x825d000
 thread_start() : 0x804c800 804c800
 thread_start() : 0x826d000 826d000
 kse_create() - 0
 +-kse_create() - -1
 main() : 0x826d800
 eip - 0x280c06b3
 uts() at : 0x8048e20
 uts stack at : 0x837e000 - 0x8386000
 main() : 0x826dc00
 eip - 0x280c06b3
 uts() at : 0x8048e20
 uts stack at : 0x8486000 - 0x848e000
 thread_start() : 0x848e000 848e000
 thread_start() : 0x848e800 848e800
 thread_start() : 0x84af000 84af000
 kse_create() - 0
 A*.kse_create() - -1
 [...]
 *R*.S.*T*.^C^D^Z
 
 (no response on this tty, so I close it).
 
 On another tty I get this:
 
 [EMAIL PROTECTED]:/home/kutulu# ps x | grep ksetest
 30947  p2  RL-0:00.12 ./ksetest
 30947  p2  RL-0:00.12 ./ksetest
 30947  p2  TL-0:00.12 ./ksetest
 [EMAIL PROTECTED]:/home/kutulu# kill -KILL 30947
 [EMAIL PROTECTED]:/home/kutulu# ps x | grep ksetest
 30947  p2  RL-0:00.12 ./ksetest
 30947  p2  RL-0:00.12 ./ksetest
 30947  p2  TL-0:00.12 ./ksetest
 [EMAIL PROTECTED]:/home/kutulu# top
 
 [...]
 30947 root  760  5760K   628K WAIT 0:00  0.00%  0.00% ksetest
 30947 root   80  5760K   628K RUN  0:00  0.00%  0.00% ksetest
 30947 root   80  5760K   628K RUN  0:00  0.00%  0.00% ksetest
 [...]
 
 I don't have DDB in this kernel at the moment (it's remote and I
 prefer the crash dumps) but I can put it in and try again if there's 
 something you can use from it.
 
 --Mike
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unkillable processes with libKSE

2003-06-24 Thread Julian Elischer


On Tue, 24 Jun 2003, Michael Edenfield wrote:
[...]
 thread_start() : 0x84af000 84af000
 kse_create() - 0
 A*.kse_create() - -1
 [...]
 *R*.S.*T*.^C^D^Z
 
 (no response on this tty, so I close it).


I can not duplicate this..
ON a system (SMP) compiled this afternoon (checked out this afternoon 
too), ksetest responds immediatly to ^C and ^Z in the expected manner.

I am using the csh as my shell and was running as root AND as myself
for the tests.

%cd /usr/src/tools/KSE/ksetest/
% make
%./ksetest
main() : 0x804c000

[...]

+-thread_start() : 0x84af000 84af000
kse_create() - 0
A*.kse_create() - 0
 
B-+.*+-C*.D-+.*+-E*.F-+.*+-G*.H-+.*+-I*.+J.*--K+*..+L-**.-M+.*+N-*.-O+.*+ 
P-*.-Q+*+R.-.*-S+*+T-.-U+*.+V-.*-W+*.+X-.*-Y+*.+Z-.*-A*.+*.+B-.*-C++-*.D 
E-+.*+-F*.G-+.*+-H*.I-+.*+-J*.K-+.*L+-*.-+M.*.*N+-.*-+O*.P+-.*-+Q*.R+-.*- 
+S*.T+-.*-+U*.V+-.*-+W*.X+-.*-+Y*.Z+-.*-+A*.B+-.*-+C*.D+-.*-+E*.F+-.*-+G 
*.H+-.*-+I*+-.JK-+.*+-L*.M-+.*+-N*.O-+.*-.P+**.-+Q.*R+-*.-+S.*T+-*.-+U.* 
V+-*.-+W.*X+-*.-+Y.*Z-+*.+-A.*B-+*.+-C.*D-+*.+-E.*F-+*.+-G.*H-+*.+-I*.-J 
+.*+K-*.-L+.*+M--N+.*+O-*.-P+.*+Q-*.-R+.*+S-*.T.+-**.-U+.*+V-*.-W+.X-*++  
-Y*.Z-+.*+-A*.B-+.*+-C*.D-+.*+-E*.F-+.*+-G*.+-.H*I-+*.+-J.*K-+*.+-L.*M-+ 
*.^C
%



[...]
uts() at : 0x8048e20
uts stack at : 0x8486000 - 0x848e000
thread_start() : 0x848e000 848e000
thread_start() : 0x848e800 848e800
thread_start() : 0x84af000 84af000
kse_create() - 0
A*.kse_create() - 0
B+-.*-+C*.D+-.*-+E*.F+-.*-+G*.H+-.*I+.*--+J*.-+.K*L+-*.-+M.*N+-*.-+O.*P
+-*.-+Q.*R+-*.-+S.*T+-*.-+U.*V+-*.W*.+-.*-+X*.Y+-.*-+Z*.A+-.*-+B*.C+-.*
-+D*.E+-.*-+F+-*G.H-+.*+-I*.^Z
Suspended
%fg
./ksetest
*.+-J.*K-+*.+-L.*M-+*.+-N.*O-+*.+-P.*Q-+*.^C
%

As of last testing (yesterday my laptop (non SMP) acted the same..

I'm not sure what to suggest.
can you confirm that you are running the newest of everything..
(though as far as I know it was ok, even several weeks ago).

Julian


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unkillable processes with libKSE

2003-06-24 Thread Wesley Morgan
On Tue, 24 Jun 2003, Julian Elischer wrote:

 I can not duplicate this..
 ON a system (SMP) compiled this afternoon (checked out this afternoon
 too), ksetest responds immediatly to ^C and ^Z in the expected manner.

 I am using the csh as my shell and was running as root AND as myself
 for the tests.

 %cd /usr/src/tools/KSE/ksetest/
 % make
 %./ksetest
 main() : 0x804c000

 [...]

I just ran this test here and it locked my system hard. The zombie
processes were stil around, I guess that may have had something to do with
it. When I get some free time I'll try it again with everything mounted
RO.


-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unkillable processes with libKSE

2003-06-24 Thread Michael Edenfield
* Julian Elischer [EMAIL PROTECTED] [030624 19:01]:

 As of last testing (yesterday my laptop (non SMP) acted the same..
 
 I'm not sure what to suggest.
 can you confirm that you are running the newest of everything..
 (though as far as I know it was ok, even several weeks ago).

I'll re-cvsup and rebuild everything tommorrow.  (Right now I'm 
getting the bluetooth build error that was fixed this afternoon.)  
Perhaps something wasn't rebuilt when I thought it was.

--Mike



pgp0.pgp
Description: PGP signature