Re: [hatari-devel] ide.c segfault when config changed to Falcon |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] ide.c segfault when config changed to Falcon
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sat, 5 Dec 2020 22:35:43 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1607204145; bh=L153Dq8dJM7rDTtN3ZJCDS1n2uzRwt7yiuBCpUv97Ko=; h=Date:From:To:Subject:From; b=b1kyMNCTD1Cbu/eDmh8pMBBznHPTbPp+8xKQX1PQypuv1KPN2VdAazjlFdkuF6IqR nIfYmOs0zjCDj472p09DOGIwTDnsURVQQoZG2X1duAcGesdmE4l6LPH5uiSFOIbiLs Ibghozz/Y5R3pEQ+TefP5BhQ6mmNpFmaM2zMrvElC8sul51Q6sboqDJQcrNNjjblQ3 xxxlmdug4n+GPkE+0iyK5yprFIH7CgpbMwhIkN2Kf0tcRwwb5ByIdZFxBfYhxf0UAw lwxsbkV0TyB416kbY/aXO/R+TF1L8pZo68SckYjdXjWHN/v9BN58ZVaFDkSE8YD5Xx QLtls/aFYvYgQ==
Am Mon, 30 Nov 2020 22:01:26 +0200
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> Hi,
>
> ==5845== Process terminating with default action of signal 11
> (SIGSEGV) ==5845== Access not within mapped region at address 0x238
> ==5845== at 0x49A1A4: ide_ioport_read (ide.c:2324)
> ==5845== by 0x49A1A4: Ide_Mem_bget (ide.c:119)
> ==5845== by 0x513454: get_byte (memory.h:557)
> ==5845== by 0x513454: wait_cpu_cycle_read (custom.c:143)
> ==5845== by 0x4F0E48: mem_access_delay_byte_read (newcpu.c:8836)
> ==5845== by 0x877F23: op_4a10_14_ff (cpuemu_13.c:128804)
> ==5845== by 0x4F649D: m68k_run_1_ce (newcpu.c:5441)
> ==5845== by 0x4F57D1: m68k_go (newcpu.c:7573)
> ==5845== by 0x46F489: main (main.c:1010)
>
>
> If instead of selecting Falcon machine, one
> selects TOS4, everything works fine.
>
> I.e. machine change done during TOS version check is OK, one done by
> user from SDL GUI is not.
>
> See: https://www.atari-forum.com/viewtopic.php?p=408749#p408749
>
>
> Thomas, would you have time to look at this?
Not really. Tried to fix it anyway ;-) Please give it a try now!
Thomas