Subject: Large stack considered harmful?
To: None <port-vax@netbsd.org>
From: Matt Thomas <matt@3am-software.com>
List: port-vax
Date: 06/09/2002 00:10:51
Installing the tcl-expect package on -current causes a panic
when I "ulimit -s 1024":

NetBSD 1.6A (VS4000.BIG) #43: Sat Jun  8 23:51:36 PDT 2002

panic: Segv in kernel mode: pc 800a4e15 addr 88038fa0
Stopped in pid 951 (expect) at  trap+0x1d2:     cmpl    r0, $12
db> t
panic: Segv in kernel mode: pc %x addr %x
Stack traceback :
0x9a1f8488: trap+0x1d2(0x9a1f8510)
0x9a1f8510: trap type=0xc code=0x88038fa0 pc=0x800a4e15 psl=0x0
0x9a1f84dc: pmap_enter+0x179(0x96a26c00,0x7fffd000,0x36db000,0x7,0x20)
0x9a1f8560: uvm_fault+0x466(0x80e4369c,0x7ffff000,0,0x1)
0x9a1f8680: trap+0x194(0x9a1f86f4)
0x9a1f86f4: trap type=0xc code=0x7fffffff pc=0x800008b3 psl=0x8c00008
0x9a1f86c0: copyin+0x13(0x7ffff000,0x99ed0000,0x1000)
0x9a1f8740: uiomove+0x75(0x99ed0000,0x1000,0x9a1f888c)
0x9a1f8764: ffs_write+0x45c(0x9a1f8878)
0x9a1f883c: 
vn_rdwr+0xbf(0x1,0x83690440,0x7ffff000,0x1000,0x3c000,0,0,0x9,0x9698
3600,0,0x83db954c)
0x9a1f88ac: 
coredump_writesegs_elf32+0x3a(0x83db954c,0x83690440,0x96983600,0x9a1
f8938)
0x9a1f8908: 
uvm_coredump_walkmap+0xb5(0x83db954c,0x83690440,0x96983600,0x8004175
a,0x9a1f899c)
0x9a1f894c: coredump_elf32+0x1b0(0x83db954c,0x83690440,0x96983600)
0x9a1f8a00: coredump+0x175(0x83db954c)
0x9a1f8efc: sigexit+0x2f(0x83db954c,0xb)
0x9a1f8f28: postsig+0x77(0xb)
0x9a1f8f54: trap+0x252(0x9a1f8fb4)


-- 
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message