NetBSD Problem Report #10079

Received: (qmail 11648 invoked from network); 9 May 2000 09:04:38 -0000
Message-Id: <20000509045602.2524.qmail@heisenberg.physics.iisc.ernet.in>
Date: 9 May 2000 04:56:02 -0000
From: rsidd@physics.iisc.ernet.in
Reply-To: rsidd@physics.iisc.ernet.in
To: gnats-bugs@gnats.netbsd.org
Subject: kernel panic caused by SunOS Mathematica binary
X-Send-Pr-Version: 3.95

>Number:         10079
>Category:       kern
>Synopsis:       Sparc port: kernel panic caused by SunOS binary of Mathematica
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    chs
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 09 09:05:00 +0000 2000
>Closed-Date:    Wed Jun 14 04:34:56 +0000 2000
>Last-Modified:  Wed Jun 14 04:34:56 +0000 2000
>Originator:     Rahul Siddharthan
>Release:        1.4.2
>Organization:
Department of Physics,
Indian Institute of Science, 
Bangalore 560012, India

>Environment:

System: NetBSD heisenberg.physics.iisc.ernet.in 1.4.2 NetBSD 1.4.2 (HEISENBERG.DB) #0: Tue May 9 08:04:58 IST 2000 root@heisenberg.physics.iisc.ernet.in:/usr/src/sys/arch/sparc/compile/HEISENBERG.DB sparc


>Description:
  Running the Mathematica 2.2 SunOS binary on a Sun SPARC 4C IPC causes
a kernel panic with the message 
panic: amap_lookups: offset out of range
  A backtrace on the kernel crash dump gives
(gdb) target kcore /var/crash/netbsd.3.core               
panic: amap_lookups: offset out of range                    
#0  mi_switch () at ../../../../kern/kern_synch.c:633
633             cpu_switch(p);
(gdb) bt
#0  mi_switch () at ../../../../kern/kern_synch.c:633          
#1  0xf002f340 in tsleep (ident=0x0, priority=4, wmesg=0xf00ce578 "scheduler",  
    timo=0) at ../../../../kern/kern_synch.c:371              
#2  0xf00ce718 in uvm_scheduler () at ../../../../uvm/uvm_glue.c:436
#3  0xf001f6e4 in main () at ../../../../kern/init_main.c:420

This was with a custom kernel compiled for this machine, but it also
happens with the generic kernel in the 1.4.2 distribution, and with
the generic 1.4.1 kernel.
>How-To-Repeat:
Running this binary reproduces the panic every time. 
>Fix:
None known to me
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->chs 
Responsible-Changed-By: chs 
Responsible-Changed-When: Tue May 9 06:59:26 PDT 2000 
Responsible-Changed-Why:  
I'm looking at this. 
State-Changed-From-To: open->closed 
State-Changed-By: chs 
State-Changed-When: Tue Jun 13 21:32:07 PDT 2000 
State-Changed-Why:  
fixed in rev 1.17 of kern/exec_aout.c and rev. 1.18 of kern/exec_subr.c. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.