NetBSD Problem Report #34902

From www@NetBSD.org  Tue Oct 24 17:21:30 2006
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
	id 8C79363B9FB; Tue, 24 Oct 2006 17:21:30 +0000 (UTC)
Message-Id: <20061024172130.8C79363B9FB@narn.NetBSD.org>
Date: Tue, 24 Oct 2006 17:21:30 +0000 (UTC)
From: sigmfsk@aol.com
Reply-To: sigmfsk@aol.com
To: gnats-bugs@NetBSD.org
Subject: TME sun3 emulator asserts with bad fastread after "b st()" after stop-a
X-Send-Pr-Version: www-1.0

>Number:         34902
>Category:       pkg
>Synopsis:       TME sun3 emulator asserts with bad fastread after "b st()" after stop-a
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 24 17:25:00 +0000 2006
>Last-Modified:  Tue Apr 14 20:51:51 +0000 2009
>Originator:     arthur townsend
>Release:        3.0
>Organization:
>Environment:
3.0 for i386
>Description:
After starting TMESH, enter stop-a (via right-control-f1 A), then enter b st().  TME exits with:

tmesh> assertion "TME_M68K_TLB_OK_FAST_READ(tlb, function_code_program, ic->tme_m68k_ireg_pc, ic->tme_m68k_ireg_pc) || (emulator_load - 1) == emulator_load_last" failed: file "m68k-execute.c", line 155, function "_tme_m68020_execute"
[1]   Abort trap (core dumped) tmesh startjunk

>How-To-Repeat:

>Fix:
I commented out the assertion via the following patch, so that I could continue running the emulator and see if any other assertions popped up.

TME seems to run fine with the following commented out (or when TME is built with --disable-debug) but the problem should be investigated before electing to permanently remove the assertion.

--- m68k-execute.c.orig2        2006-10-24 07:31:54.000000000 -0400
+++ m68k-execute.c      2006-10-24 07:33:03.000000000 -0400
@@ -151,8 +151,13 @@
     }
     emulator_load_start = emulator_load = tlb->tme_m68k_tlb_emulator_off_read +
 ic->tme_m68k_ireg_pc;
     insn_fetch_sizes = 0;
+
+/*  this asserts true when stop-a (right-ctrl-f1 a) and "boot st()"
+
     assert(TME_M68K_TLB_OK_FAST_READ(tlb, function_code_program, ic->tme_m68k_i
reg_pc, ic->tme_m68k_ireg_pc)
           || (emulator_load - 1) == emulator_load_last);
+*/
+
     tme_m68k_verify_begin(ic, emulator_load_start);
 #else  /* !_TME_M68K_EXECUTE_FAST */
     linear_pc = ic->tme_m68k_ireg_pc;


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->fredette
Responsible-Changed-By: snj@netbsd.org
Responsible-Changed-When: Tue, 24 Oct 2006 21:04:32 +0000
Responsible-Changed-Why:
Assign to package author.


Responsible-Changed-From-To: fredette->pkg-manager
Responsible-Changed-By: spz@NetBSD.org
Responsible-Changed-When: Tue, 14 Apr 2009 20:51:51 +0000
Responsible-Changed-Why:
fredette is status observer now and thus can't fix this


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.