DragonFly bugs List (threaded) for 2009-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
[issue715] panic at shutdown using comconsole
Thomas Nikolajsen <thomas.nikolajsen@mail.dk> added the comment:
(kgdb) bt
#0 dumpsys () at ./machine/thread.h:83
#1 0xc01a6599 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:375
#2 0xc01a685e in panic (fmt=0xc0337b38 "from debugger") at /usr/src/sys/kern/
kern_shutdown.c:800
#3 0xc014bcc9 in db_panic (addr=-1070598172, have_addr=0, count=-1,
modif=0xe8d8b730 "") at /usr/src/sys/ddb/db_command.c:447
#4 0xc014c334 in db_command_loop () at /usr/src/sys/ddb/db_command.c:343
#5 0xc014e93c in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_trap.c:71
#6 0xc02ff9ee in kdb_trap (type=3, code=0, regs=0xe8d8b82c) at /usr/src/sys/
platform/pc32/i386/db_interface.c:148
#7 0xc0310634 in trap (frame=0xe8d8b82c) at /usr/src/sys/platform/pc32/i386/
trap.c:815
#8 0xc03006e7 in calltrap () at /usr/src/sys/platform/pc32/i386/exception.s:785
#9 0xc02ff7e4 in Debugger (msg=0xc033e01d "panic") at ./cpu/cpufunc.h:73
#10 0xc01a6855 in panic (fmt=0xc035a718 "VOP_STDCLOSE: BAD OPENCOUNT %p %d
type=%d ops=%p flgs=%08x\n") at /usr/src/sys/kern/kern_shutdown.c:798
#11 0xc01e9d06 in vop_stdclose (ap=0xe8d8b8f8) at /usr/src/sys/kern/
vfs_default.c:1206
#12 0xc01fff73 in spec_close (ap=0xe8d8b8f8) at /usr/src/sys/vfs/specfs/
spec_vnops.c:763
#13 0xc02be245 in ufsspec_close (ap=0xe8d8b8f8) at /usr/src/sys/vfs/ufs/
ufs_vnops.c:1968
#14 0xc02bc287 in ufs_vnoperatespec (ap=0xe8d8b8f8) at /usr/src/sys/vfs/ufs/
ufs_vnops.c:2453
#15 0xc01faf8e in vop_close (ops=0xd3beb4f0, vp=0xe992fd68, fflag=3) at /usr/
src/sys/kern/vfs_vopops.c:258
#16 0xc01d3b23 in cttyclose (ap=0xe8d8b94c) at /usr/src/sys/kern/tty_tty.c:151
#17 0xc018e22e in dev_dclose (dev=0xc40a9fc8, fflag=3, devtype=8192) at /usr/
src/sys/kern/kern_device.c:124
#18 0xc01fff05 in spec_close (ap=0xe8d8b9a8) at /usr/src/sys/vfs/specfs/
spec_vnops.c:740
#19 0xc02be245 in ufsspec_close (ap=0xe8d8b9a8) at /usr/src/sys/vfs/ufs/
ufs_vnops.c:1968
#20 0xc02bc287 in ufs_vnoperatespec (ap=0xe8d8b9a8) at /usr/src/sys/vfs/ufs/
ufs_vnops.c:2453
#21 0xc01faf8e in vop_close (ops=0xd3beb4f0, vp=0xe992eaa8, fflag=3) at /usr/
src/sys/kern/vfs_vopops.c:258
#22 0xc01fa14c in vn_close (vp=0xe992eaa8, flags=3) at /usr/src/sys/kern/
vfs_vnops.c:415
#23 0xc01fa184 in vn_closefile (fp=0xe90c3d80) at /usr/src/sys/kern/
vfs_vnops.c:1109
#24 0xc01904aa in fdrop (fp=0xe90c3d80) at /usr/src/sys/sys/file2.h:120
#25 0xc01907a0 in closef (fp=0xe90c3d80, td=0xe8ded100) at /usr/src/sys/kern/
kern_descrip.c:2080
#26 0xc0190b98 in fdfree (p=0xe8f0d218) at /usr/src/sys/kern/kern_descrip. c:1734
#27 0xc019691a in exit1 (rv=1) at /usr/src/sys/kern/kern_exit.c:352
#28 0xc01a7081 in sigexit (lp=0xe8f59ef0, sig=1) at /usr/src/sys/kern/
kern_sig.c:1913
#29 0xc01a90d4 in postsig (sig=1) at /usr/src/sys/kern/kern_sig.c:1795
#30 0xc030fa0e in userret (lp=0xe8f59ef0, frame=<value optimized out>,
sticks=<value optimized out>) at /usr/src/sys/platform/pc32/i386/trap.c:289
#31 0xc0310c36 in syscall2 (frame=0xe8d8bd40) at /usr/src/sys/platform/pc32/
i386/trap.c:1411
(kgdb) frame 18
#18 0xc01fff05 in spec_close (ap=0xe8d8b9a8) at /usr/src/sys/vfs/specfs/
spec_vnops.c:740
740 error = dev_dclose(dev, ap->a_fflag, S_IFCHR);
(kgdb) print p
$1 = (struct proc *) 0xe8f0d218
(kgdb) print p->p_session
There is no member named p_session.
(kgdb) print p->p_pgrp
$2 = (struct pgrp *) 0xe9167ec0
(kgdb) print p->p_pgrp->pg_session
$3 = (struct session *) 0xd3ba1a60
(kgdb) print p->p_pgrp->pg_session->s_ttyvp
$4 = (struct vnode *) 0x0
-
$ grep p_session /usr/include/sys/proc.h
#define p_session p_pgrp->pg_session
-thomas
_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue715>
_____________________________________________________
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]