Subject: kern/10079: kernel panic caused by SunOS Mathematica binary
To: None <>
From: None <>
List: netbsd-bugs
Date: 05/09/2000 02:04:12
>Number:         10079
>Category:       kern
>Synopsis:       Sparc port: kernel panic caused by SunOS binary of Mathematica
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 09 02:05:00 PDT 2000
>Originator:     Rahul Siddharthan
>Release:        1.4.2 release
Department of Physics,
Indian Institute of Science, 
Bangalore 560012, India
System: NetBSD 1.4.2 NetBSD 1.4.2 (HEISENBERG.DB) #0: Tue May 9 08:04:58 IST 2000 sparc

  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.
Running this binary reproduces the panic every time. 
None known to me