[hatari-devel] Hatari reset loop during EmuTOS automated testing (was: Interrupt-driven I/O for TT MFP)

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


Hi,
 
cross-posting to EmuTOS and Hatari lists, as this is really strange: So, EmuTOS automated tests using a TT emulated by Hatari broke after this commit:
https://github.com/emutos/emutos/commit/8e40b049d8eb0f77012630f8898488ba675a45d4
... which is not the MFP interrupt commit, BTW.
 
On my fork on GitHub I enabled debug output from Hatari. See attached log file. To me, this looks as if Hatari is stuck in a reset loop until the maximum number of VBLs is reached. EmuTOS GitHub Actions build is using Hatari 2.1.0 (from the respective Ubuntu package). However, with Hatari 2.1.0 for Windows (from the official download page), I cannot reproduce the issue: the test passes fine there.
 
To me, this looks as if there is a bug, not in EmuTOS, but in the Ubuntu (or Linux) version of Hatari 2.1.0. Any idea how to proceed? Since I can currently only reproduce this on GitHub Actions, I cannot test interactively. Is there anyone that has access to a machine with Ubuntu Bionic and could confirm that the EmuTOS tests ("make test") fail there?
 
Regards
Christian
 
 
Gesendet: Freitag, 09. April 2021 um 10:25 Uhr
Von: "Christian Zietz" <czietz@xxxxxxx>
An: emutos-devel@xxxxxxxxxxxxxxxxxxxxx
Betreff: Re: [Emutos-devel] Interrupt-driven I/O for TT MFP
Roger Burrows schrieb:

> I've finished adding support for interrupt-driven I/O on the TT MFP, so I'm
> going to stop messing with serport.c and friends for now.

Unfortunately, snapshot builds are currently broken. This is because the
"cookie" test on the TT fails. I've rerun the GitHub Actions build, in
(the unlikely) case this was a transient error (e.g. race condition);
but it isn't.

I cannot reproduce this failure locally: tests work with Hatari 2.2.1
[1]. GitHub Actions (or rather the chosen Ubuntu container) uses an
older Hatari version. I have to postpone further investigations to
later, though.

Regards
Christian

[1] On Hatari 2.3.1 the recently fixed issue with 1024k ROMs prevents
the test from passing.
--
Christian Zietz - CHZ-Soft - czietz@xxxxxxx
WWW: https://www.chzsoft.de/
PGP/GnuPG-Key-ID: 0x52CB97F66DA025CA / 0x6DA025CA


_______________________________________________
Emutos-devel mailing list
Emutos-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/emutos-devel
- Checking TT ... Sound OFF, frequency = 44100.
Exit after 400 VBLs.
Native Features enabled.
Hatari v2.1.0, compiled on:  Feb 25 2018, 09:17:09
Video_SetSystemTimings 4 3 -> 5 (TT) 500 500 68
Configured max Hatari resolution = 832x588, optimal for ST = 832x588
STMemory_RAM_SetBankSize total=1024 KB bank0=512 KB bank1=512 KB MMU=5
update cyc speed 0 throttle 0.000000 clock_mult 512
CPU cycleunit: 256 (0.500)
CPU cycleunit: 256 (0.500)
1870 CPU functions
cpu table lvl=3 , mode=4
Building CPU, 45926 opcodes (3 -2 1)
CPU=68030, FPU=68882 (host), MMU=0, JIT=0. ~cycle-exact no unimplemented floating point instructions 24-bit
Sound: Disabled
Checking GEMDOS C: HDD: /home/runner/work/emutos/emutos/tests/cookies
GEMDOS HDD emulation, C: <-> /home/runner/work/emutos/emutos/tests/cookies.
memory_map_Standard_RAM total=1048576 ram0=524288 ram1=524288 mmu0=2097152 mmu1=0
Loaded TOS version 2.06, starting at $e00000, country code = 127, PAL
Skipped TOS patches.
Video_SetSystemTimings 4 3 -> 5 (TT) 500 500 68
Video_SetSystemTimings 4 3 -> 5 (TT) 500 500 68
Host system has accurate delays. (1)
update cyc speed 0 throttle 0.000000 clock_mult 512
CPU cycleunit: 256 (0.500)
CPU cycleunit: 256 (0.500)
m68k_run_2ce
make[1]: *** [test] Error 1
Exception 2 (e00088) at e00088 -> e00094!
CPU reset PC=e00094 (ROM memory)..
PMOVE 00000000,TT0 PC=00E000CA
PMOVE 00000000,TT1 PC=00E000CE
PMOVE 00000000,TC PC=00E000DA
Exception 2 (e0016e) at e0016e -> e00180!
memory_map_Standard_RAM total=1048576 ram0=524288 ram1=524288 mmu0=2097152 mmu1=0
PMOVE TC,00000000 PC=00E004BC
PMOVE 8000000200000700,CRP PC=00E005D4
PMOVE 80F04445,TC PC=00E005DC
PMOVE 017E8107,TT0 PC=00E005E4
PMOVE 807E8507,TT1 PC=00E005EC
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00400000
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 006c4710
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 005d1234
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 006d3148
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00400000
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00dc03c3
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00d003c3
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00cc03c3
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
NF_CONFIG not available
BOOTSTRAP natfeat not available
BOOTSTRAP natfeat not available
No GEMDOS dir '/home/runner/work/emutos/emutos/tests/cookies/AUTO'
Exception 2 (e00088) at e00088 -> e00094!
CPU reset PC=e00094 (ROM memory)..
PMOVE 00000000,TT0 PC=00E000CA
PMOVE 00000000,TT1 PC=00E000CE
PMOVE 00000000,TC PC=00E000DA
Exception 2 (e0016e) at e0016e -> e00180!
memory_map_Standard_RAM total=1048576 ram0=524288 ram1=524288 mmu0=2097152 mmu1=0
PMOVE TC,00000000 PC=00E004BC
PMOVE 8000000200000700,CRP PC=00E005D4
PMOVE 80F04445,TC PC=00E005DC
PMOVE 017E8107,TT0 PC=00E005E4
PMOVE 807E8507,TT1 PC=00E005EC
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00400000
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 006c4710
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 005d1234
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 006d3148
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00400000
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00dc03c3
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00d003c3
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00cc03c3
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
NF_CONFIG not available
BOOTSTRAP natfeat not available
BOOTSTRAP natfeat not available
No GEMDOS dir '/home/runner/work/emutos/emutos/tests/cookies/AUTO'
Exception 2 (e00088) at e00088 -> e00094!
CPU reset PC=e00094 (ROM memory)..
PMOVE 00000000,TT0 PC=00E000CA
PMOVE 00000000,TT1 PC=00E000CE
PMOVE 00000000,TC PC=00E000DA
Exception 2 (e0016e) at e0016e -> e00180!
memory_map_Standard_RAM total=1048576 ram0=524288 ram1=524288 mmu0=2097152 mmu1=0
PMOVE TC,00000000 PC=00E004BC
PMOVE 8000000200000700,CRP PC=00E005D4
PMOVE 80F04445,TC PC=00E005DC
PMOVE 017E8107,TT0 PC=00E005E4
PMOVE 807E8507,TT1 PC=00E005EC
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00400000
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 006c4710
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 005d1234
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 006d3148
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00400000
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00dc03c3
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00d003c3
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00cc03c3
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
NF_CONFIG not available
BOOTSTRAP natfeat not available
BOOTSTRAP natfeat not available
No GEMDOS dir '/home/runner/work/emutos/emutos/tests/cookies/AUTO'
Exception 2 (e00088) at e00088 -> e00094!
CPU reset PC=e00094 (ROM memory)..
PMOVE 00000000,TT0 PC=00E000CA
PMOVE 00000000,TT1 PC=00E000CE
PMOVE 00000000,TC PC=00E000DA
Exception 2 (e0016e) at e0016e -> e00180!
memory_map_Standard_RAM total=1048576 ram0=524288 ram1=524288 mmu0=2097152 mmu1=0
PMOVE TC,00000000 PC=00E004BC
PMOVE 8000000200000700,CRP PC=00E005D4
PMOVE 80F04445,TC PC=00E005DC
PMOVE 017E8107,TT0 PC=00E005E4
PMOVE 807E8507,TT1 PC=00E005EC
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00400000
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 006c4710
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 005d1234
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 006d3148
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00400000
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00dc03c3
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00d003c3
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00cc03c3
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
NF_CONFIG not available
BOOTSTRAP natfeat not available
BOOTSTRAP natfeat not available
No GEMDOS dir '/home/runner/work/emutos/emutos/tests/cookies/AUTO'
Exception 2 (e00088) at e00088 -> e00094!
CPU reset PC=e00094 (ROM memory)..
PMOVE 00000000,TT0 PC=00E000CA
PMOVE 00000000,TT1 PC=00E000CE
PMOVE 00000000,TC PC=00E000DA
Exception 2 (e0016e) at e0016e -> e00180!
memory_map_Standard_RAM total=1048576 ram0=524288 ram1=524288 mmu0=2097152 mmu1=0
PMOVE TC,00000000 PC=00E004BC
PMOVE 8000000200000700,CRP PC=00E005D4
PMOVE 80F04445,TC PC=00E005DC
PMOVE 017E8107,TT0 PC=00E005E4
PMOVE 807E8507,TT1 PC=00E005EC
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00400000
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 006c4710
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 005d1234
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 006d3148
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00400000
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00dc03c3
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00d003c3
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00cc03c3
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
NF_CONFIG not available
BOOTSTRAP natfeat not available
BOOTSTRAP natfeat not available
No GEMDOS dir '/home/runner/work/emutos/emutos/tests/cookies/AUTO'
Exception 2 (e00088) at e00088 -> e00094!
CPU reset PC=e00094 (ROM memory)..
PMOVE 00000000,TT0 PC=00E000CA
PMOVE 00000000,TT1 PC=00E000CE
PMOVE 00000000,TC PC=00E000DA
Exception 2 (e0016e) at e0016e -> e00180!
memory_map_Standard_RAM total=1048576 ram0=524288 ram1=524288 mmu0=2097152 mmu1=0
PMOVE TC,00000000 PC=00E004BC
PMOVE 8000000200000700,CRP PC=00E005D4
PMOVE 80F04445,TC PC=00E005DC
PMOVE 017E8107,TT0 PC=00E005E4
PMOVE 807E8507,TT1 PC=00E005EC
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00400000
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 006c4710
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 005d1234
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 006d3148
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00400000
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00dc03c3
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00d003c3
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00cc03c3
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
NF_CONFIG not available
BOOTSTRAP natfeat not available
BOOTSTRAP natfeat not available
No GEMDOS dir '/home/runner/work/emutos/emutos/tests/cookies/AUTO'
Exception 2 (e00088) at e00088 -> e00094!
CPU reset PC=e00094 (ROM memory)..
PMOVE 00000000,TT0 PC=00E000CA
PMOVE 00000000,TT1 PC=00E000CE
PMOVE 00000000,TC PC=00E000DA
Exception 2 (e0016e) at e0016e -> e00180!
memory_map_Standard_RAM total=1048576 ram0=524288 ram1=524288 mmu0=2097152 mmu1=0
PMOVE TC,00000000 PC=00E004BC
PMOVE 8000000200000700,CRP PC=00E005D4
PMOVE 80F04445,TC PC=00E005DC
PMOVE 017E8107,TT0 PC=00E005E4
PMOVE 807E8507,TT1 PC=00E005EC
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 00400000
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Bus error bget at 006c4710
Suppressing further messages about illegal memory accesses.
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
Exception 2 (e00ce0) at e00ce0 -> e00ce6!
NF_CONFIG not available
OS clock ticks / second: 100


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