~sircmpwn/hare-users

4 2

Unbounded array access bug

Details
Message ID
<ichtbwhbrg3ugefievptyx56seeoatrzx7jao5zzdjsjhhx2k2@rahg2renluov>
DKIM signature
pass
Download raw message
As you can see in this example program
https://paste.sr.ht/~shurizzle/70eb29face6d5bb151f63fe02268758c7dd7d091
access to elements in an unbounded array is broken.
I think it's broken because it used to work yesterday and, as far as I know,
that's the way to avoid bounds checking on arrays/slices.

shurizzle
Details
Message ID
<D0GOX3NVX00O.1HR727LDWAKTV@disroot.org>
In-Reply-To
<ichtbwhbrg3ugefievptyx56seeoatrzx7jao5zzdjsjhhx2k2@rahg2renluov> (view parent)
DKIM signature
pass
Download raw message
> As you can see in this example program
> https://paste.sr.ht/~shurizzle/70eb29face6d5bb151f63fe02268758c7dd7d091
> access to elements in an unbounded array is broken.
> I think it's broken because it used to work yesterday and, as far as I know,
> that's the way to avoid bounds checking on arrays/slices.

I looked into this issue and it seems to be a bug in our backend, QBE. A rewrite
of one of its major components that landed a few days ago appears to be
responsible.

As a workaround, you can roll back QBE to v1.2 for now.
Details
Message ID
<lbia4c5s7d4uk7mq4huhmceicpfsxuyjla3orq4qartzoejp75@6bb6yv5k6i2k>
In-Reply-To
<D0GOX3NVX00O.1HR727LDWAKTV@disroot.org> (view parent)
DKIM signature
pass
Download raw message
On 24/04/10 10:30, Alexey Yerin wrote:
> > As you can see in this example program
> > https://paste.sr.ht/~shurizzle/70eb29face6d5bb151f63fe02268758c7dd7d091
> > access to elements in an unbounded array is broken.
> > I think it's broken because it used to work yesterday and, as far as I know,
> > that's the way to avoid bounds checking on arrays/slices.
>
> I looked into this issue and it seems to be a bug in our backend, QBE. A rewrite
> of one of its major components that landed a few days ago appears to be
> responsible.
>
> As a workaround, you can roll back QBE to v1.2 for now.

Thank you, can I do anything else to help?
Details
Message ID
<D0HAB263HOHD.1V6PYS4Q9VYVZ@disroot.org>
In-Reply-To
<D0GOX3NVX00O.1HR727LDWAKTV@disroot.org> (view parent)
DKIM signature
pass
Download raw message
> > As you can see in this example program
> > https://paste.sr.ht/~shurizzle/70eb29face6d5bb151f63fe02268758c7dd7d091
> > access to elements in an unbounded array is broken.
> > I think it's broken because it used to work yesterday and, as far as I know,
> > that's the way to avoid bounds checking on arrays/slices.
>
> I looked into this issue and it seems to be a bug in our backend, QBE. A rewrite
> of one of its major components that landed a few days ago appears to be
> responsible.
>
> As a workaround, you can roll back QBE to v1.2 for now.

This is fixed now, you can pull the latest version of QBE to confirm it.

Thanks a lot for the report!
Details
Message ID
<uyq7kegwcplxm4tt6ox2dztoy3wjmkj4kkq7oze7m7g4oudftw@bejtie6y5khb>
In-Reply-To
<D0HAB263HOHD.1V6PYS4Q9VYVZ@disroot.org> (view parent)
DKIM signature
pass
Download raw message
On 24/04/11 03:15PM, Alexey Yerin wrote:
> > > As you can see in this example program
> > > https://paste.sr.ht/~shurizzle/70eb29face6d5bb151f63fe02268758c7dd7d091
> > > access to elements in an unbounded array is broken.
> > > I think it's broken because it used to work yesterday and, as far as I know,
> > > that's the way to avoid bounds checking on arrays/slices.
> >
> > I looked into this issue and it seems to be a bug in our backend, QBE. A rewrite
> > of one of its major components that landed a few days ago appears to be
> > responsible.
> >
> > As a workaround, you can roll back QBE to v1.2 for now.
>
> This is fixed now, you can pull the latest version of QBE to confirm it.
>
> Thanks a lot for the report!

I tried and it seems to work now, thanks. :)
Reply to thread Export thread (mbox)