Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2000 01:58:36 -0500 (EST)
From:      Brian Fundakowski Feldman <green@FreeBSD.org>
To:        current@FreeBSD.org
Cc:        mckusick@FreeBSD.org
Subject:   SoftUpdates crash with new code
Message-ID:  <Pine.BSF.4.10.10001100154460.676-100000@green.dyndns.org>

next in thread | raw e-mail | index | archive | help
Well, I'm having problems with SoftUpdates.  I've disabled it for now.
Here's the backtrace for the crash; more info from the crashdump is
available upon request, but I think this is a general problem, and
easily reproduced.

GNU gdb 4.18
Copyright 1998 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-unknown-freebsd"...
IdlePTD 3272704
initial pcb at 282620
panicstr: softdep_lock: locking against myself
panic messages:
---
panic: softdep_lock: locking against myself

syncing disks... panic: softdep_lock: locking against myself
Uptime: 9m58s

dumping to dev #ad/0x20001, offset 262144
dump ata0: resetting devices .. done
128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 
---
#0  boot (howto=0x104) at ../../kern/kern_shutdown.c:304
304			dumppcb.pcb_cr3 = rcr3();
(kgdb) #0  boot (howto=0x104) at ../../kern/kern_shutdown.c:304
#1  0xc013f5d5 in panic (fmt=0xc023c6e0 "softdep_lock: locking against myself") at ../../kern/kern_shutdown.c:554
#2  0xc01bacc5 in acquire_lock (lk=0xc026635c) at ../../ufs/ffs/ffs_softdep.c:276
#3  0xc01bfdb0 in softdep_count_dependencies (bp=0xc37131d0, wantcount=0x0) at ../../ufs/ffs/ffs_softdep.c:4473
#4  0xc01c2f98 in ffs_fsync (ap=0xd8189b08) at ../../ufs/ffs/ffs_vnops.c:169
#5  0xc01c1b47 in ffs_sync (mp=0xc0b63000, waitfor=0x2, cred=0xc073d600, p=0xc02988a0) at vnode_if.h:537
#6  0xc016b893 in sync (p=0xc02988a0, uap=0x0) at ../../kern/vfs_syscalls.c:549
#7  0xc013f00b in boot (howto=0x100) at ../../kern/kern_shutdown.c:226
#8  0xc013f5d5 in panic (fmt=0xc023c6e0 "softdep_lock: locking against myself") at ../../kern/kern_shutdown.c:554
#9  0xc01bacc5 in acquire_lock (lk=0xc026635c) at ../../ufs/ffs/ffs_softdep.c:276
#10 0xc01bcc38 in indir_trunc (ip=0xd8189c00, dbn=0x800, level=0x0, lbn=0xc, countp=0xd8189bf0)
    at ../../ufs/ffs/ffs_softdep.c:2024
#11 0xc01bcb15 in handle_workitem_freeblocks (freeblks=0xc0c43d80) at ../../ufs/ffs/ffs_softdep.c:1959
#12 0xc01bc562 in softdep_setup_freeblocks (ip=0xc0d08c00, length=0x0) at ../../ufs/ffs/ffs_softdep.c:1667
#13 0xc01ba212 in ffs_truncate (vp=0xd81b1be0, length=0x0, flags=0x0, cred=0x0, p=0xd776fa00)
    at ../../ufs/ffs/ffs_inode.c:195
#14 0xc01c3eaa in ufs_inactive (ap=0xd8189eb8) at ../../ufs/ufs/ufs_inode.c:84
#15 0xc01c8f4d in ufs_vnoperate (ap=0xd8189eb8) at ../../ufs/ufs/ufs_vnops.c:2283
#16 0xc016995a in vput (vp=0xd81b1be0) at vnode_if.h:794
#17 0xc016ccb5 in unlink (p=0xd776fa00, uap=0xd8189f80) at ../../kern/vfs_syscalls.c:1421
#18 0xc02101da in syscall (frame={tf_fs = 0x2f, tf_es = 0x2f, tf_ds = 0x2f, tf_edi = 0x0, tf_esi = 0x80601b0, 
      tf_ebp = 0xbfbff984, tf_isp = 0xd8189fd4, tf_ebx = 0x8060230, tf_edx = 0x0, tf_ecx = 0x0, tf_eax = 0xa, 
      tf_trapno = 0x0, tf_err = 0x2, tf_eip = 0x280aac70, tf_cs = 0x1f, tf_eflags = 0x297, tf_esp = 0xbfbff8f8, 
      tf_ss = 0x2f}) at ../../i386/i386/trap.c:1057
#19 0xc0203f86 in Xint0x80_syscall ()
#20 0x804a30a in ?? ()
#21 0x80501b1 in ?? ()
#22 0x8048fa9 in ?? ()
(kgdb) 

-- 
 Brian Fundakowski Feldman           \  FreeBSD: The Power to Serve!  /
 green@FreeBSD.org                    `------------------------------'



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10001100154460.676-100000>