<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Georgia">FWIW, this happens in non-Pharo Squeak as well.
Sometimes 3 or 4 in rapid succession.<br>
<br>
Cheers,<br>
Bob<br>
</font><br>
On 8/20/10 3:47 AM, Lukas Renggli wrote:
<blockquote
cite="mid:AANLkTinaxViYh_KyDKikJ99Tcgd-k=XH-=OSeq_mKMYU@mail.gmail.com"
type="cite">
<pre wrap="">Hi Tim,
This could be due to a change in the Sockets in Pharo, that's maybe
why other people do not see it. It is definitely a bug to get
debuggers.
I don't have time to investigate further right now, but I guess
somebody will come up with a fix quickly :-)
Lukas
On 20 August 2010 09:44, Nick Ager <a class="moz-txt-link-rfc2396E" href="mailto:nick.ager@gmail.com"><nick.ager@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Tim,
</pre>
<blockquote type="cite">
<pre wrap="">
Still - it would seem that by signalling this - it could happen, and
something should catch it?
Looking again, I see the following method in the stack:
WAListenerAdaptor>>waitForConnection: aSocket
| socket stream |
socket := aSocket waitForAcceptFor: 10.
socket isNil ifTrue: [ ^ self ].
stream := SocketStream on: socket.
[ [ [ self process: stream ]
ensure: [ stream close ] ]
ifCurtailed: [ socket destroy ] ]
forkAt: Processor userBackgroundPriority
Shouldn't that ifCurtailed: prevent this walkback?
</pre>
</blockquote>
<pre wrap="">
It doesn't prevent the walkback, but makes sure that "socket destroy" is
called. Experiment with:
[Error signal] ifCurtailed: [Transcript show: 'Abandoned'; cr].
Transcript show: 'Proceeded'; cr
from the excellent exception PBE draft
chapter: <a class="moz-txt-link-freetext" href="https://gforge.inria.fr/frs/download.php/26600/PBE2-Exceptions-2010-03-02.pdf">https://gforge.inria.fr/frs/download.php/26600/PBE2-Exceptions-2010-03-02.pdf</a>
Nick
_______________________________________________
seaside mailing list
<a class="moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
</body>
</html>