[hatari-devel] Latest Hatari HG version gets stuck sometimes
Thomas Huth
th.huth at gmx.de
Mon Jul 6 23:34:54 CEST 2009
On Sat, 4 Jul 2009 01:15:23 +0300
Eero Tamminen <eerot at users.berlios.de> wrote:
> Hi,
>
> Nicolas, could this be related to your recent video.c changes?
>
> For some reason Hatari seems now to sometimes get stuck looping here
> (doesn't update its screen, uses 100% CPU etc):
> -----------------
[...]
> (gdb) print PendingInterruptFunction
> $2 = (void (*)(void)) 0x8075690 <Video_InterruptHandler_EndLine>
> (gdb) cont
> Continuing.
> ^C
> Program received signal SIGINT, Interrupt.
> [Switching to Thread 0xb79506b0 (LWP 4982)]
> 0x08060d53 in Int_AcknowledgeInterrupt () at int.c:292
> 292 InterruptHandlers[i].Cycles -=
> CycleSubtract;
> (gdb) print PendingInterruptCount
> $3 = -115200
> ------------------
Sounds like a problem similar to the one that recently appeared on Mac
OS X only.
Could you please try to uncomment the fprintf line right before the
Int_AddRelativeInterrupt(... INTERRUPT_VIDEO_ENDLINE) line in the
Video_InterruptHandler_EndLine() function, to see whether
"LineTimerBCycle - LineCycles + nCyclesPerLine" behaves strange as soon
as the problem occurs?
> This issue can be triggered by running Hatari with ST TOS and:
> /hatari -m --fast-forward 1 --frameskips 0
>
> And after desktop comes up, toggling Pause on/off half a dozen times.
> If you don't get this, re-run Hatari and try again.
Unfortunately I can't reproduce this problem on my computer... which
TOS version did you use?
Thomas
More information about the hatari-devel
mailing list