frequent crashing

Randy Bush randy at psg.com
Wed Apr 20 23:18:04 PDT 2005


stable kernel of mar 7

but this has been happening for many months

# kgdb kernel.debug /usr/home/crash/vmcore.1 
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".
doadump () at pcpu.h:159
(kgdb) bt
#0  doadump () at pcpu.h:159
#1  0xc04c2b06 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:410
#2  0xc04c2ef4 in panic (fmt=0xc061752a "%s")
    at /usr/src/sys/kern/kern_shutdown.c:566
#3  0xc0600bbc in trap_fatal (frame=0xe76ba934, eva=0)
    at /usr/src/sys/i386/i386/trap.c:809
#4  0xc0600872 in trap_pfault (frame=0xe76ba934, usermode=0, eva=1100323877)
    at /usr/src/sys/i386/i386/trap.c:727
#5  0xc060041f in trap (frame=
      {tf_fs = -412418024, tf_es = -1068826608, tf_ds = -412418032, tf_edi = -1022922224, tf_esi = 1105719541, tf_ebp = -412374640, tf_isp = -412374688, tf_ebx = -1030244236, tf_edx = 1100323873, tf_ecx = -1067068460, tf_eax = 0, tf_trapno = 12, tf_err = 2, tf_eip = -1068575206, tf_cs = 8, tf_eflags = 66054, tf_esp = -1030244352, tf_ss = -412374656}) at /usr/src/sys/i386/i386/trap.c:417
#6  0xc05eb51a in calltrap () at /usr/src/sys/i386/i386/exception.s:140
#7  0xe76b0018 in ?? ()
#8  0xc04b0010 in ktr_writerequest (req=0x0) at atomic.h:365
#9  0xc04ed528 in selwakeuppri (sip=0x0, pri=0)
    at /usr/src/sys/kern/sys_generic.c:1058
#10 0xc04fd0cc in ttwakeup (tp=0xc04e7e45) at /usr/src/sys/kern/tty.c:2366
#11 0xc04fb99d in ttymodem (tp=0xc297b800, flag=0)
    at /usr/src/sys/kern/tty.c:1625
#12 0xc0500547 in ptcopen (dev=0xc2669a00, flag=3, devtype=8192, td=0x0)
---Type <return> to continue, or q <return> to quit---
    at linedisc.h:136
#13 0xc047637a in spec_open (ap=0xe76baa6c)
    at /usr/src/sys/fs/specfs/spec_vnops.c:207
#14 0xc0476028 in spec_vnoperate (ap=0x0)
    at /usr/src/sys/fs/specfs/spec_vnops.c:118
#15 0xc053a07e in vn_open_cred (ndp=0xe76babd8, flagp=0xe76bacd8, cmode=0, 
    cred=0xc283f980, fdidx=0) at vnode_if.h:228
#16 0xc0539c13 in vn_open (ndp=0x0, flagp=0x0, cmode=0, fdidx=0)
    at /usr/src/sys/kern/vfs_vnops.c:91
#17 0xc0532563 in kern_open (td=0xc2a39190, path=0x0, pathseg=UIO_USERSPACE, 
    flags=3, mode=0) at /usr/src/sys/kern/vfs_syscalls.c:957
#18 0xc0532440 in open (td=0x0, uap=0x0)
    at /usr/src/sys/kern/vfs_syscalls.c:926
#19 0xc0600f90 in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077942944, tf_esi = 134686612, tf_ebp = -1077943064, tf_isp = -412373644, tf_ebx = 671991264, tf_edx = 671984052, tf_ecx = 674242700, tf_eax = 5, tf_trapno = 12, tf_err = 2, tf_eip = 673698767, tf_cs = 31, tf_eflags = 518, tf_esp = -1077943156, tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:1001
#20 0xc05eb56f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:201
#21 0x0000002f in ?? ()
#22 0x0000002f in ?? ()
#23 0x0000002f in ?? ()
---Type <return> to continue, or q <return> to quit---
#24 0xbfbfe560 in ?? ()
#25 0x08072794 in ?? ()
#26 0xbfbfe4e8 in ?? ()
#27 0xe76bad74 in ?? ()
#28 0x280dc5e0 in ?? ()
#29 0x280da9b4 in ?? ()
#30 0x2830208c in ?? ()
#31 0x00000005 in ?? ()
#32 0x0000000c in ?? ()
#33 0x00000002 in ?? ()
#34 0x2827d3cf in ?? ()
#35 0x0000001f in ?? ()
#36 0x00000206 in ?? ()
#37 0xbfbfe48c in ?? ()
#38 0x0000002f in ?? ()
#39 0x00000000 in ?? ()
#40 0x00000000 in ?? ()
#41 0x00000000 in ?? ()
#42 0x00000000 in ?? ()
#43 0x2bb48000 in ?? ()
#44 0xc406a000 in ?? ()
#45 0xc2a39190 in ?? ()
#46 0xe76baaf8 in ?? ()
---Type <return> to continue, or q <return> to quit---
#47 0xe76baadc in ?? ()
#48 0xc1e7f640 in ?? ()
#49 0xc04d7320 in sched_switch (td=0x8072794, newtd=0x280dc5e0, flags=Cannot access memory at address 0xbfbfe4f8
)
    at /usr/src/sys/kern/sched_4bsd.c:881
Previous frame inner to this frame (corrupt stack?)



More information about the freebsd-stable mailing list