REVISED: ServerSocket.accept()/scheduler bug

System Administrator root at spider.cris.net
Sun Feb 8 06:26:45 PST 1998


>Hmmm ... sorry.
>
>The bug isn't actually in the scheduler or accept() method at all -- it's in exception handling.
>
>My code (designed to run on other machines, but also knowing that Kaffe didn't support reflection) was trying to call a reflection method as follows:
>
>	try {
>		// call reflection method
>	} catch (Throwable t) {
>		// call substitute that doesn't use reflection
>	}
>
>This caused the thread to crash (but apparently not the VM, however, I haven't fully investigated this).  So the program continued to run, but I couldn't get the thread to advance beyond the ServerSocket.accept() method, because the next call was the call above.
>
>Sorry if I sent anyone on a wild-goose chase.
>
>I know that there's a patch out there for reflection; maybe my ISP will go and get it and install it for me (Duane?).
>
>-- David.
>
>
ðÒÉÌÏÖÅÎÉÅ No 1
                                        
                              ð ò å ê ó ë õ ò á î ô
          ÁÂÏÎÅÎÔÓËÉÈ ÔÁÒÉÆÏ× ÎÁ ÕÓÌÕÇÉ ÐÏ ÐÏÄËÌÀÞÅÎÉÀ Ë ÓÅÔÉ Internet

1.   ïÓÎÏ×ÎÙÅ ×ÉÄÙ ÓÅÒ×ÉÓÁ
    1.1. ðÏÄËÌÀÞÅÎÉÅ Ë ÓÅÔÉ (ÏÐÌÁÞÉ×ÁÅÔÓÑ ÏÄÎÏËÒÁÔÎÏ)
         1.1.1.    ëÏÒÐÏÒÁÔÉ×ÎÁÑ ÜÌÅËÔÒÏÎÎÁÑ ÐÏÞÔÁ (uucp/uupc) - 30 Õ.Å.
         1.1.2.    ðÅÒÓÏÎÁÌØÎÙÊ éÎÔÅÒÎÅÔ - 40 Õ.Å.
    
    1.2. íÅÓÑÞÎÁÑ ÁÂÏÎÅÎÔÓËÁÑ ÐÌÁÔÁ - 9.95 Õ.Å.
    1.3. õÞÅÔ ÍÏÄÅÍÎÏÇÏ ×ÒÅÍÅÎÉ
         1.3.1.    ëÏÒÐÏÒÁÔÉ×ÎÁÑ ÜÌÅËÔÒÏÎÎÁÑ ÐÏÞÔÁ (uucp  ÄÏÓÔÕÐ) - 3.0 Õ.Å./ÞÁÓ
         1.3.2.    ðÅÒÓÏÎÁÌØÎÙÊ éÎÔÅÒÎÅÔ É ÜÌÅËÔÒÏÎÎÁÑ ÐÏÞÔÁ (pop3 ÄÏÓÔÕÐ) - 2.0 Õ.Å./ÞÁÓ
                   Ó 8.00 ÄÏ 21.00 É 1.5 Õ.Å./ÞÁÓ Ó 21.00 ÄÏ 8.00.
         1.3.3.    äÏÓÔÕÐ × éÎÔÅÒÎÅÔ ÂÅÚ ÕÞÅÔÁ ×ÒÅÍÅÎÉ ÓÏÅÄÉÎÅÎÉÑ - 150 Õ.Å./ÍÅÓ

2.   äÏÐÏÌÎÉÔÅÌØÎÙÅ ×ÉÄÙ ÓÅÒ×ÉÓÁ
    2.1. ÷ÙÈÏÄ ÓÐÅÃÉÁÌÉÓÔÁ Ë ÚÁËÁÚÞÉËÕ É ÎÁÓÔÒÏÊËÁ ËÌÉÅÎÔÓËÏÇÏ ÐÒÏÇÒÁÍÍÎÏÇÏ
         ÏÂÅÓÐÅÞÅÎÉÑ  - 10 Õ.Å./ËÏÍÐØÀÔÅÒ
    2.2. ëÏÎÓÕÌØÔÁÃÉÉ ÎÁ ÍÅÓÔÅ - 5 Õ.Å./ÞÁÓ
    2.3. ðÅÒÅÕÓÔÁÎÏ×ËÁ ÏÐÅÒÁÃÉÏÎÎÏÊ ÓÉÓÔÅÍÙ  + 15 Õ.Å./ËÏÍÐØÀÔÅÒ
    2.4. éÎÓÔÁÌÌÑÃÉÑ ÏÄÎÏÇÏ ÐÒÏÇÒÁÍÍÎÏÇÏ ÐÒÏÄÕËÔÁ, ÎÅ ×ÈÏÄÑÝÅÇÏ × ÓÔÁÎÄÁÒÔÎÕÀ
         ÐÏÓÔÁ×ËÕ  - 5 Õ.Å.
    2.5. ÷ÙÚÏ× × ×ÙÈÏÄÎÏÊ ÄÅÎØ ÏÐÌÁÞÉ×ÁÅÔÓÑ ÐÏ Ä×ÏÊÎÏÍÕ ÔÁÒÉÆÕ
    2.6. ÷ÙÄÅÌÅÎÉÅ ÄÏÐÏÌÎÉÔÅÌØÎÏÇÏ ÐÏÞÔÏ×ÏÇÏ ÁÄÒÅÓÁ - 5 Õ.Å.
    2.7. ðÅÒÅÒÅÇÉÓÔÒÁÃÉÑ ÐÏÞÔÏ×ÏÇÏ ÁÄÒÅÓÁ - 5 Õ.Å.
    2.8. òÁÚÍÅÝÅÎÉÅ ÒÅËÌÁÍÎÙÈ ÓÔÒÁÎÉà ÎÁ WWW-ÓÅÒ×ÅÒÅ - ÓÍ. ÄÏÐÏÌÎÉÔÅÌØÎÙÊ
         ÐÒÅÊÓËÕÒÁÎÔ.

3.   ðÏÄËÌÀÞÅÎÉÅ ÐÏ ×ÙÄÅÌÅÎÎÏÊ ÌÉÎÉÉ
    3.1. ÷ÙÄÅÌÅÎÉÅ  ÁÓÉÎÈÒÏÎÎÏÇÏ ÐÏÒÔÁ, ÕÓÔÁÎÏ×ËÁ É ÎÁÓÔÒÏÊËÁ ðï  -  200.0  Õ.Å.
         ÷ËÌÀÞÅÎÏ:
         3.1.1.    ÕÓÔÁÎÏ×ËÁ ÏÐÅÒÁÃÉÏÎÎÏÊ ÓÉÓÔÅÍÙ
         3.1.2.    ÎÁÓÔÒÏÊËÁ ÐÏÞÔÏ×ÏÇÏ ÓÅÒ×ÅÒÁ
         3.1.3.    ÎÁÓÔÒÏÊËÁ DNS ÓÅÒ×ÅÒÁ
         3.1.4.    ÎÁÓÔÒÏÊËÁ ÌÏËÁÌØÎÏÇÏ POP ÓÅÒ×ÅÒÁ
         3.1.5.    ÎÁÓÔÒÏÊËÁ ÏÄÎÏÊ ÍÁÛÉÎÙ ÉÚ ÌÏËÁÌØÎÏÊ ÓÅÔÉ
    3.2. íÏÄÅÍÙ  ÎÁ  ÏÂÅ ÓÔÏÒÏÎÙ ÐÒÅÄÏÓÔÁ×ÌÑÀÔÓÑ úÁËÁÚÞÉËÏÍ, ÏÒÇÁÎÉÚÁÃÉÑ  ËÁÎÁÌÁ
         ÏÐÌÁÞÉ×ÁÅÔÓÑ ÐÏ ÔÁÒÉÆÁÍ íÉÎÓ×ÑÚÉ.
    3.3. íÅÓÑÞÎÁÑ  ÏÐÌÁÔÁ    -  200  Õ.Å..   ÷ËÌÀÞÅÎÁ DNS-ÐÏÄÄÅÒÖËÁ,  nntp-feed.
    3.4. ôÒÁÆÉË  ÎÁ ÉÎÔÅÒÆÅÊÓÅ ÐÏÌØÚÏ×ÁÔÅÌÑ ÏÇÒÁÎÉÞÉ×ÁÅÔÓÑ 300 ÍÂ/ÍÅÓ, ÐÒÉ ÜÔÏÍ
         ÐÏÄÓÞÉÔÙ×ÁÅÔÓÑ proxy,  Á  ÔÁËÖÅ  ftp,  smtp  ÎÁ   '×ÎÅÛÎÉÅ' ÓÅÔÉ. ðÒÅ×ÙÛÅÎÉÅ
         ÔÒÁÆÉËÁ - 0.5 Õ.Å. ÚÁ ËÁÖÄÙÊ     ÐÏÌÎÙÊ/ÎÅÐÏÌÎÙÊ ÍÅÇÁÂÁÊÔ ÐÒÅ×ÙÛÅÎÉÑ.
    3.5. óÅÔÅ×ÙÅ ÎÏ×ÏÓÔÉ  (C-news feed) - ÍÅÓÑÞÎÁÑ ÏÐÌÁÔÁ 20 Õ.Å.
    3.6. òÅÇÉÓÔÒÁÃÉÑ ÓÅÔÉ ËÌÁÓÓÁ 'C' - 100 Õ.Å.
    3.7. íÅÓÑÞÎÁÑ ÏÐÌÁÔÁ ÚÁ ÐÒÅÄÏÓÔÁ×ÌÅÎÎÙÅ IP-ÎÏÍÅÒÁ:
ëÏÌÉÞÅÓÔ×Ï ÍÅÒÏ× óÔÏÉÍÏÓÔØ × Õ.Å./ÍÅÓ
    1                    1
    6                    2
    14                   4
    30                   7
    62                  12
   126                  20
   254                  35



More information about the kaffe mailing list