[hatari-devel] pmdoom 0.55
Eero Tamminen
eerot at users.berlios.de
Wed Mar 31 21:46:12 CEST 2010
Hi,
On Friday 26 March 2010, Laurent Sallafranque wrote:
> I wanted to look at pmdoom 0.55
>
> It stops with 2 bombs with the strange M68000 Bus Error at address
> $ff8901.
>
> I've then loaded hatari under gdb and add a breakpoint like this :
>
> Breakpoint 1, M68000_BusError
>
> Then I ran everything.
With same options I assume?
> And there's no more bombs, pmdoom runs under gdb.
You could try using Hatari exception debugging (-D) and when Hatari enters
the internal debugger on bus error, you can attach Gdb to Hatari process:
gdb ./hatari $(pidof hatari)
> How is this possible ?
Could be a timing related bug in Hatari code. Or pmdoom is using
e.g. rtc for something that when timings don't match what it expects,
it does bad access.
ptrace() also changes some signal semantics a bit, but I don't
think SDL could mess things so much that stuff inside the emulation
would change.
- Eero
More information about the hatari-devel
mailing list