Re: [hatari-devel] Bug with latest version |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Bug with latest version
- From: Laurent Sallafranque <laurent.sallafranque@xxxxxxx>
- Date: Sat, 23 Sep 2023 11:25:34 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1695461135; bh=2c09ZJKUIiptHdUTliv3nOQAoIY+j1Py710CpUuExC4=; h=Date:Subject:To:References:From:In-Reply-To:From; b=oARraZHi9qwCVAks2FqE3Wb4W3tJMU60iJ4g5egwEOBKto17/Jr51RIGNyzZ50sEf 9u1d9WnClmICj9XrKpwHxIt5N2zk54+EebCdNnEfmm3qnGG4g8F70IDEst6S5+lIGU LVrj4p2Hyw0j8usxkjWUpdFLED2doLDpFYpbY5f2MbDGwn3qv9ownx1Dc4hvEtxwQq PHBXyX2a7DoLutja16JqrNDtGMPSdZgguXjxCBz3lroez6KGNLEt+rPbum07OpgRwg /gkwQ8lXqZjYIFh6MmfAQ136mruZFxeTBzqtYBjKp+qijc30Z9it1BmVfCN04Kkg4R Dnd5vAJg6X9OA==
Hi,
The bug seems to be a bit more subtil.
If I save hatari.cfg without "Accurate FPU emulation" and restart
completly hatari, and then (after the restart), I set "Accurate FPU
emulation", it doesn't crash.
But if I start hatari with "Accurate FPU emulation" set into the
hatari.cfg config file, it crashs immediatly.
I've catches the traces if this can help :
Thread 1 "hatari" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) b
Breakpoint 1 at 0x0
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x000055555578efc2 in get_features ()
at /home/laurent/Atari/hatari/src/cpu/fpp.c:3618
#2 0x000055555579453a in fpu_reset ()
at /home/laurent/Atari/hatari/src/cpu/fpp.c:3734
#3 0x000055555578bf21 in m68k_reset2 (hardreset=<optimized out>)
at /home/laurent/Atari/hatari/src/cpu/newcpu.c:4016
#4 0x000055555578c4e3 in m68k_go (may_quit=may_quit@entry=1)
at /home/laurent/Atari/hatari/src/cpu/newcpu.c:7604
#5 0x0000555555730461 in M68000_Start ()
at /home/laurent/Atari/hatari/src/m68000.c:307
#6 0x0000555555731df0 in main (argc=<optimized out>, argv=<optimized out>)
at /home/laurent/Atari/hatari/src/main.c:983
(gdb)
Regards
Laurent
Le 23/09/2023 à 10:12, Eero Tamminen a écrit :
Hi,
On 23.9.2023 0.59, Laurent Sallafranque wrote:
I've compiled the latest source and removed hatari.cfg to start with
a clean program.
I've reconfigured an atari Falcon from the GUI, saved it to
hatari.cfg and then, start hatari.
I got core dumps every time.
I've done everything again (delete hatari.cfg, ...) and configured
the falcon step by step.
It worked well until I check "Accurate FPU emulation" in the system
panel (again, core dumps).
I've changed manually "bSoftFloatFPU = TRUE" to "bSoftFloatFPU =
FALSE" into hatari.cfg and hatari starts normally.
Again, if I return to "bSoftFloatFPU = TRUE", hatari doesn't start
and I get core dump.
Backtrace? Local variable values in the crashing Hatari function?
- Eero