Error when Opening Repo from MC Browser

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Error when Opening Repo from MC Browser

Sean P. DeNigris
Administrator
Squeak4.5
latest update: #13965

1. In MC Browser, select http://source.squeak.org/trunk
2. Click open

I get "Error: subscript is out of bounds: -2" when SocketStream>>upToAll:limit: computes a negative index via "lastRead - sz + 2", which is (0 - 4 + 2).
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Error when Opening Repo from MC Browser

David T. Lewis
On Sat, Oct 18, 2014 at 04:44:15PM -0700, Sean P. DeNigris wrote:

> Squeak4.5
> latest update: #13965
>
> 1. In MC Browser, select http://source.squeak.org/trunk
> 2. Click open
>
> I get "Error: subscript is out of bounds: -2" when
> SocketStream>>upToAll:limit: computes a negative index via "lastRead - sz +
> 2", which is (0 - 4 + 2).
>

I am not seeing this in my image. Anyone else? Possible a transient network problem?

Dave

Reply | Threaded
Open this post in threaded view
|

Re: Error when Opening Repo from MC Browser

Sean P. DeNigris
Administrator
David T. Lewis wrote
"lastRead - sz + 2", which is (0 - 4 + 2).

I am not seeing this in my image. Anyone else? Possible a transient network problem?
I can not reproduce this again either. Sorry for the noise :)

p.s. At the time it when I reported it, it was failing consistently and I worked around it by changing the "+ 2" to "+ 5"
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Error when Opening Repo from MC Browser

Chris Muller-3
In reply to this post by David T. Lewis
Transient network problems should result in network-Exceptions being
signaled, not buffer pointers errors.  I sent a message a week or two
ago, "What is the contract of SocketStream>>#next:?" which talked
about a similar-sounding problem with a different method.  Since then
I saw the problem happen again (#next: 4 giving me back an empty Array
with no error signaled at all).  I traced through the code for over an
hour trying to figure what could posisbly have happened, but the code
looks correct..

On Sun, Oct 19, 2014 at 6:26 PM, David T. Lewis <[hidden email]> wrote:

> On Sat, Oct 18, 2014 at 04:44:15PM -0700, Sean P. DeNigris wrote:
>> Squeak4.5
>> latest update: #13965
>>
>> 1. In MC Browser, select http://source.squeak.org/trunk
>> 2. Click open
>>
>> I get "Error: subscript is out of bounds: -2" when
>> SocketStream>>upToAll:limit: computes a negative index via "lastRead - sz +
>> 2", which is (0 - 4 + 2).
>>
>
> I am not seeing this in my image. Anyone else? Possible a transient network problem?
>
> Dave
>