[M3devel] array out of bounds in VBTRep.Redisplay?

Tony Hosking hosking at cs.purdue.edu
Tue Sep 29 18:27:09 CEST 2009


Never seen it.  Probably a race.  I think Windows threads must still  
be broken somehow.

On 29 Sep 2009, at 11:43, Jay K wrote:

> Anyone ever seen:
>
> ***
> *** runtime error:
> ***    An array subscript was out of range.
> ***    file "..\src\vbt\VBTRep.m3", line 644
> ***
> Stack trace:
>    FP         PC      Procedure
> ---------  ---------  -------------------------------
> 0x1fffef8   0xfb62a5  Redisplay + 0x3ae in ..\src\vbt\VBTRep.m3
> 0x1ffff24   0xfb5e34  UncoverRedisplay + 0xdd in ..\src\vbt\VBTRep.m3
> 0x1ffff4c   0xfb5ec5  RdApply + 0x8c in ..\src\vbt\VBTRep.m3
> 0x1ffff8c   0x5eacd7  RunThread + 0x184 in ..\src\thread 
> \WIN32\ThreadWin32.m3
> 0x1ffffb4   0x5eab08  ThreadBase + 0x33 in ..\src\thread 
> \WIN32\ThreadWin32.m3
> .........  .........  ... more frames ...
>
> line is apparently:
>           v[dcount[list[i].depth - 1].n] := list[i].v;
>
>
> This is admittedly Juno on Win32.
> Maybe someone can study the function for bugs?
> I'll leave Juno looping for hours on a non-Win32 today or so.
>
>
>  - Jay
>
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20090929/7d99ed5b/attachment-0002.html>


More information about the M3devel mailing list