One thing that could possibly help is to make sure that all the threads that
run in back ground (the listener and the timer, I think) are set as Daemon
threads. This should make them end automatically when no other threads are
running.

On Thu, 20 Apr 2000, Bill Trost wrote:
> Scott G. Miller writes:
>          It seems the command-line client is not quiting after a
>          request.  It transfers the data and just stops.
> 
> Can you be more precise -- which command-line client did you use, what
> command-line arguments (including the key you requested), what operating
> system, what JVM, what phase of moon?
> 
> I suspect, however, that I am seeing roughly the same problem.  Under
> Kaffe on FreeBSD,
> I get the following errors after the data has been transferred by 
> RequestClient:
> 
>       Dumping live threads:
>       `Thread-0' tid 0x82e3010, status SUSPENDED flags 
>        blocked at 0x82e2340 (0x82e3010->|) 
>       `gc' tid 0x81cb010, status SUSPENDED flags 
>        blocked at 0x8196dc0 (0x81cb010->|) 
>       `finaliser' tid 0x81c2010, status SUSPENDED flags 
>        blocked at 0x8196d90 (0x81c2010->|) 
>       Deadlock: all threads blocked on internal events
> 
> I don't get the problem under JDK 1.1.8.  I also noticed that a
> Kaffe-compiled client refuses to run under JDK ("Error loading class
> Freenet.client.RequestClient: Bad index into constant pool"), although
> the compiler used does not affect how the Kaffe VM behaves.
> 
> It might be time to start naming threads, just to get a handle on this
> sort of bug (it's not the first time I have seen it).
> 
> _______________________________________________
> Freenet-dev mailing list
> Freenet-dev at lists.sourceforge.net
> http://lists.sourceforge.net/mailman/listinfo/freenet-dev
-- 

Oskar Sandberg

md98-osa at nada.kth.se

#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)

_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to