Re: [hatari-devel] Disassembler crashes if not in supervisor mode |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Disassembler crashes if not in supervisor mode
- From: Andreas Grabher <andreas_g86@xxxxxxxxxx>
- Date: Wed, 21 Dec 2022 18:47:41 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1671644886; bh=EQCizmIwIdkFuyTV0b4ZtW96f3r/JXDFe8ert02TeXc=; h=From:Content-Type:Mime-Version:Subject:Date:To:Message-Id; b=Te0v9H20SqmUR2f7BSTifMiC6ehkh0o65S6ov2zbh0VTNrUJ0Td+WDr/PgCca9Yhl n/7t4rACS0C3MSObKaokfJKBiwodCT2BuCN5S1W7x3+zI9wW5mRRjzi9Svw/o6jMIw /6X8WSB/+2gmYBZMmSBEzcChRXXaqC/mhZMzmCzkSI/D9FMZ0xD9pAGYBDkOQKBCXd 7UVTdjkLtl7xJEQdB+cGumDzAaPzDhyag6EogAPvLoHCkvmG/ZxwNJVxOiCVmo0LkB QXi+Z6DPoDw7WaUEmC4/BbgEHxS+VNE+ysGU50Z/HXR49g6N8udN+UZ6wnBVYuoWTk XKoSvcoxWCxsA==
> Am 21.12.2022 um 09:51 schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
>
> Hi,
>
> On 11.12.2022 17.45, Andreas Grabher wrote:
>> I added back some of the disassembler functions to Previous. It seems that the disassembler crashes the whole application with strange error (error report fails). I think it might be related to bus error and try/catch (using longjumps in C).
>> The problem seems to only occur if the CPU is in user mode. I am using 68030 with MMU (run_mmu030()). Is this a known issue?
>
> No. Never heard of such issue. Maybe it's Previous specific?
>
Maybe. It might only happen with functions that use try/catch. Previous uses 68030 and 68040, both with MMU.
>
>> Failing call is in DebugInfo_Default() -> Disasm().
> Do you have a backtrace?
>
The debugger seems to not show where exactly the crash happens. It is somewhere in Disasm() and its subroutines.
>
> > Calling the disassembler with the disasm command also crashes the application.
>
>
> - Eero
>
>