[hatari-devel] EKO System crash (was: Falcon demos tests : part 1) |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-devel] EKO System crash (was: Falcon demos tests : part 1)
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sat, 31 Oct 2020 07:13:32 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1604124813; bh=O2vVUFp0LZ0QCCnOyFWLsIpdHTA5k9yTfvCmMq8jG9g=; h=Date:From:To:Subject:From; b=mMtyH2byDZPOlzr2lHj47rIzVI4t4Kncd4kWpFm48ttphgfQGYnQ64UXMUoE0PD+N pFyvWTnfU9zFj7QiOXv+dyLcIZWisL+tOYWj8kTrfPwdP14hsVu67AzkOlTf6UpA+S +QVlMJ5B393Sn0hNhM+Bm4v0MfClf1jmHLhIBeM/p8iA1uy+efXPhAg8CdtE3vuosY FiQKNPWqwCQM474QnJVF0QRbH7Ni4Shol25Dm52tS9UerMThMUQl8939Y6oSEufdeW sI2okVF8wTRUNUMZ69ydWb2AHSJHO6l5d2Y/dtfrgSmHvDVBwivGN42dCQAqArpBPp 6AmDQ34/1AiVQ==
Am Thu, 29 Oct 2020 00:11:52 +0200
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> On 10/27/20 1:12 AM, Eero Tamminen wrote:
[...]
> >> EKO Systems: perfectly works (except a little transition in the
> >> betty boo image).
> >> Music plays well until the 3D scifi scene and plays well
> >> again in the tridi world.
>
> Close to end I got Hatari crash:
> -----------------------------------
> WARN : crossbar DMA Play: Illegal buffer size (from 0x0d84e8 to
> 0x0d84bc) Segmentation fault
Looking at the crossbar code, I noticed that this could happily read
from beyond the STRam[] array if a Falcon program like EKO system set
the DMA start address higher than the end address.
I've changed to code a little bit so that this should hopefully not
happen anymore, i.e. I hope it also won't crash anymore (though I was
not able to reproduce the crash here).
As a bonus, the music should now play in the 3D racing scene of the
demo.
Note: I've also updated the recording function accordingly, but I did
not test that part. Laurent, could you please try whether AFM still
works fine for you? Thanks!
Thomas