Re: [hatari-devel] Bug with latest version

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


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





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/