Re: [hatari-devel] [REGRESSION] Access to non-existant IDE slave crashes Hatari |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] [REGRESSION] Access to non-existant IDE slave crashes Hatari
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Tue, 17 Nov 2020 08:42:58 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1605598980; bh=G1aFPIJ4eyQBxtD9aNIZ9lX5Y3eKhueXQvAlw7nD2O8=; h=Date:From:To:Subject:From; b=LkJo9LwzeezMk45BJWAD2f/pzGdg57GErC1LuPiCcNKdvKj6pDWqUfwiSZsmSiY/N VRAW7JxZPM1sD6zBlCcB9e65rzCsTw7meUncrsNJSlcJL2+oLnslnHEMphfKqgcKdV vitzqKCX1mknRKcsON7FFnUkCWqWkdocBZ9t0wsWZEGU3YrTcBLn0FHTrut4KxOGKD /Y8xg9iYSxN53i5tdRakn8RFwxTzRaKdV8ZQNuTRwkwzRJ+EGMM1dqNF1hDhnxTrgY 8pwZm3YVC9QAQ8xunCr9KXSire911xMSd+xfXtOFBkW6GD43a9ElLVR/koiEBfQ3vL DlfGgJgl1+9eQ==
Am Mon, 16 Nov 2020 10:29:19 +0100
schrieb Christian Zietz <czietz@xxxxxxx>:
> Hi,
>
> I'm afraid I have a blocking point (imho) for your 2.3 release. The
> attached very small program attempts to read the data register of an
> IDE slave. If Hatari is configured with an IDE master device but no
> slave, this crashes Hatari(!) with a NULL pointer access somewhere in
> Ide_Mem_wget().
I gave this a very quick try, but I was not able to reproduce the
crash. Which machine type did you use? Did you use the GUI or the CLI
to configure the IDE drive? Fast-boot enabled or disabled? Please
provide exact steps how you ran Hatari.
Anyway, thanks for providing the crash_hatari.S source code. Looking at
that file, I wonder whether there is another bug in Hatari: You don't
switch to supervisor mode before accessing the registers ... Is it
possible to access the IDE registers in user mode on a real Falcon? I
don't believe so, but could somebody who has a Falcon easily
available please check this, just to be sure?
Thomas