Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 2004 16:19:28 -0500
From:      Marc Ramirez <marc.ramirez@bluecirclesoft.com>
To:        Julian Elischer <julian@elischer.org>
Cc:        Ken Smith <kensmith@cse.buffalo.edu>
Subject:   Re: [FreeBSD 5.3-RC2] Processes STILL hanging in unkillable state
Message-ID:  <200411041619.35640.marc.ramirez@bluecirclesoft.com>
In-Reply-To: <418A955C.9080704@elischer.org>
References:  <200411020143.34251.gte990t@mail.gatech.edu> <200411041525.51985.marc.ramirez@bluecirclesoft.com> <418A955C.9080704@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1122925.WeeBbKoWvc
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Thanks for looking!

On Thursday 04 November 2004 03:47 pm, Julian Elischer wrote:
> >   thread 0xc2081e10 ksegrp 0xc2154310 [SUSP]
> >   thread 0xc187a960 ksegrp 0xc2154310 [SLPQ spltwt 0xc138fd98][SLP]
> >   thread 0xc2156960 ksegrp 0xc2154310 [SUSP]
> >   thread 0xc2157000 ksegrp 0xc2154310 [SUSP]
> >   thread 0xc2157190 ksegrp 0xc2154310 [SLPQ select 0xc08e44c4][SLP][SUS=
P]
> >   thread 0xc2156190 ksegrp 0xc2154310 [SLPQ accept 0xc216ae26][SLP][SUS=
P]
> >   thread 0xc2156320 ksegrp 0xc187dc40 [SUSP]
>
> showing the output of
> show thread 0xc2081e10
> (etc)
> for each thread
> should show the backtrace of each thread (I think)

The output of this is at bottom.

> it would be instructive to see where each thread is..

(kgdb) info threads
=2E..
  119 TID 100129  0xc0616abb in sched_switch (td=3D0xc2081e10, newtd=3D0xc1=
504190, flags=3D2) at /usr/src/sys/kern/sched_4bsd.c:865
  118 TID 100086  0xc0616abb in sched_switch (td=3D0xc187a960, newtd=3D0xc2=
081e10, flags=3D1) at /usr/src/sys/kern/sched_4bsd.c:865
  117 TID 100136  0xc0616abb in sched_switch (td=3D0xc2156960, newtd=3D0xc1=
87a960, flags=3D1) at /usr/src/sys/kern/sched_4bsd.c:865
  116 TID 100140  0xc0616abb in sched_switch (td=3D0xc2157000, newtd=3D0xc2=
0817d0, flags=3D1) at /usr/src/sys/kern/sched_4bsd.c:865
  115 TID 100141  0xc0616abb in sched_switch (td=3D0xc2157190, newtd=3D0xc2=
156960, flags=3D1) at /usr/src/sys/kern/sched_4bsd.c:865
  114 TID 100131  0xc0616abb in sched_switch (td=3D0xc2156190, newtd=3D0xc2=
156000, flags=3D1) at /usr/src/sys/kern/sched_4bsd.c:865
  113 TID 100132  0xc0616abb in sched_switch (td=3D0xc2156320, newtd=3D0xc1=
b10c80, flags=3D1) at /usr/src/sys/kern/sched_4bsd.c:865
=2E..

(kgdb) thread 119
[Switching to thread 119 (TID 100129)]#0  0xc0616abb in sched_switch (td=3D=
0xc2081e10, newtd=3D0xc1504190, flags=3D2)
    at /usr/src/sys/kern/sched_4bsd.c:865
865                     cpu_switch(td, newtd);
(kgdb) bt
#0  0xc0616abb in sched_switch (td=3D0xc2081e10, newtd=3D0xc1504190, flags=
=3D2) at /usr/src/sys/kern/sched_4bsd.c:865
#1  0xc060d1ee in mi_switch (flags=3D2, newtd=3D0x0) at /usr/src/sys/kern/k=
ern_synch.c:340
#2  0xc06116dd in thread_suspend_check (return_instead=3D0) at /usr/src/sys=
/kern/kern_thread.c:980
#3  0xc06248bb in userret (td=3D0xc2081e10, frame=3D0xd53c0d48, oticks=3D0)=
 at /usr/src/sys/kern/subr_trap.c:110
#4  0xc05f15aa in fork_return (td=3D0xc2081e10, frame=3D0xd53c0d48) at /usr=
/src/sys/kern/kern_fork.c:840
#5  0xc05f14dd in fork_exit (callout=3D0xc05f1598 <fork_return>, arg=3D0xc2=
081e10, frame=3D0xd53c0d48) at /usr/src/sys/kern/kern_fork.c:811
#6  0xc07ae34c in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:=
209

(kgdb) thread 118
[Switching to thread 118 (TID 100086)]#0  0xc0616abb in sched_switch (td=3D=
0xc187a960, newtd=3D0xc2081e10, flags=3D1)
    at /usr/src/sys/kern/sched_4bsd.c:865
865                     cpu_switch(td, newtd);
(kgdb) bt
#0  0xc0616abb in sched_switch (td=3D0xc187a960, newtd=3D0xc2081e10, flags=
=3D1) at /usr/src/sys/kern/sched_4bsd.c:865
#1  0xc060d1ee in mi_switch (flags=3D1, newtd=3D0xc2081e10) at /usr/src/sys=
/kern/kern_synch.c:340
#2  0xc06234cb in sleepq_switch (wchan=3D0x0) at /usr/src/sys/kern/subr_sle=
epqueue.c:417
#3  0xc06236b3 in sleepq_wait (wchan=3D0xc138fd98) at /usr/src/sys/kern/sub=
r_sleepqueue.c:529
#4  0xc060cf2e in msleep (ident=3D0xc138fd98, mtx=3D0xc08f29c0, priority=3D=
580, wmesg=3D0xc08373f7 "spltwt", timo=3D0)
    at /usr/src/sys/kern/kern_synch.c:228
#5  0xc076c2fb in vm_object_split (entry=3D0xc213db28) at /usr/src/sys/vm/v=
m_object.c:1306
#6  0xc0767cf3 in vm_map_copy_entry (src_map=3D0xc1b23e10, dst_map=3D0xc18d=
bbb8, src_entry=3D0xc213db28, dst_entry=3D0xc1f9e2ec)
    at /usr/src/sys/vm/vm_map.c:2406
#7  0xc076807e in vmspace_fork (vm1=3D0xc1b23e10) at /usr/src/sys/vm/vm_map=
=2Ec:2579
#8  0xc0763cab in vm_forkproc (td=3D0xc187a960, p2=3D0xc2155388, td2=3D0xc2=
157c80, flags=3D20) at /usr/src/sys/vm/vm_glue.c:649
#9  0xc05f0f8a in fork1 (td=3D0xc187a960, flags=3D20, pages=3D0, procp=3D0x=
d52c2ce4) at /usr/src/sys/kern/kern_fork.c:663
#10 0xc05efc7c in fork (td=3D0xc187a960, uap=3D0xd52c2d14) at /usr/src/sys/=
kern/kern_fork.c:97
#11 0xc07beed3 in syscall (frame=3D
      {tf_fs =3D 135004207, tf_es =3D 134873135, tf_ds =3D -1079181265, tf_=
edi =3D 135834112, tf_esi =3D 0, tf_ebp =3D -1079387648, tf_isp =3D -718525=
068,tf_ebx =3D 690092444, tf_edx =3D 690093188, tf_ecx =3D 690093188, tf_ea=
x =3D 2, tf_trapno =3D 12, tf_err =3D 2, tf_eip =3D 691201399, tf_cs =3D 31=
, tf_eflags =3D 646, tf_esp =3D -1079387724, tf_ss =3D 47}) at /usr/src/sys=
/i386/i386/trap.c:1001
#12 0xc07ae33f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s=
:201
#13 0x080c002f in ?? ()
#14 0x080a002f in ?? ()
#15 0xbfad002f in ?? ()
#16 0x0818aa00 in ?? ()
#17 0x00000000 in ?? ()
#18 0xbfa9da00 in ?? ()
#19 0xd52c2d74 in ?? ()
#20 0x2921f99c in ?? ()
#21 0x2921fc84 in ?? ()
#22 0x2921fc84 in ?? ()
#23 0x00000002 in ?? ()
#24 0x0000000c in ?? ()
#25 0x00000002 in ?? ()
#26 0x2932e577 in ?? ()
#27 0x0000001f in ?? ()
#28 0x00000286 in ?? ()
#29 0xbfa9d9b4 in ?? ()
#30 0x0000002f in ?? ()
#31 0x00000000 in ?? ()
#32 0x00000000 in ?? ()
#33 0x00000000 in ?? ()
#34 0x00000000 in ?? ()
#35 0x0a553000 in ?? ()
#36 0xc2153710 in ?? ()
#37 0xc187a960 in ?? ()
#38 0xd52c2b50 in ?? ()
#39 0xd52c2b38 in ?? ()
#40 0xc2081e10 in ?? ()
#41 0xc0616abb in sched_switch (td=3D0x0, newtd=3D0x2921f99c, flags=3DError=
 accessing memory address 0xbfa9da10: Bad address.
) at /usr/src/sys/kern/sched_4bsd.c:865
Previous frame inner to this frame (corrupt stack?)

(kgdb) thread 117
[Switching to thread 117 (TID 100136)]#0  0xc0616abb in sched_switch (td=3D=
0xc2156960, newtd=3D0xc187a960, flags=3D1)
    at /usr/src/sys/kern/sched_4bsd.c:865
865                     cpu_switch(td, newtd);
(kgdb) bt
#0  0xc0616abb in sched_switch (td=3D0xc2156960, newtd=3D0xc187a960, flags=
=3D1) at /usr/src/sys/kern/sched_4bsd.c:865
#1  0xc060d1ee in mi_switch (flags=3D1, newtd=3D0xc187a960) at /usr/src/sys=
/kern/kern_synch.c:340
#2  0xc06234cb in sleepq_switch (wchan=3D0x0) at /usr/src/sys/kern/subr_sle=
epqueue.c:417
#3  0xc06236b3 in sleepq_wait (wchan=3D0xc65efa0c) at /usr/src/sys/kern/sub=
r_sleepqueue.c:529
#4  0xc060cf2e in msleep (ident=3D0xc65efa0c, mtx=3D0xc08e4b60, priority=3D=
68, wmesg=3D0xc081eeed "spread", timo=3D0)
    at /usr/src/sys/kern/kern_synch.c:228
#5  0xc064da53 in bwait (bp=3D0xc65efa0c, pri=3D68 'D', wchan=3D0xc081eeed =
"spread") at /usr/src/sys/kern/vfs_bio.c:3770
#6  0xc05cfa06 in spec_getpages (ap=3D0xd541ab98) at /usr/src/sys/fs/specfs=
/spec_vnops.c:755
#7  0xc05ce903 in spec_vnoperate (ap=3D0x0) at /usr/src/sys/fs/specfs/spec_=
vnops.c:118
#8  0xc0750636 in ffs_getpages (ap=3D0xd541abd0) at vnode_if.h:1317
#9  0xc0778161 in vnode_pager_getpages (object=3D0xc1bc2000, m=3D0x0, count=
=3D0, reqpage=3D0) at vnode_if.h:1317
#10 0xc076133b in vm_fault (map=3D0xc1b23e10, vaddr=3D692051968, fault_type=
=3D1 '\001', fault_flags=3D0) at vm_pager.h:122
#11 0xc07be87d in trap_pfault (frame=3D0xd541ad48, usermode=3D1, eva=3D6920=
52136) at /usr/src/sys/i386/i386/trap.c:704
#12 0xc07be40f in trap (frame=3D
      {tf_fs =3D 135004207, tf_es =3D 134873135, tf_ds =3D -1079181265, tf_=
edi =3D 692563616, tf_esi =3D 692563784, tf_ebp =3D -1077951304, tf_isp =3D=
 -717116044, tf_ebx =3D 692560560, tf_edx =3D 135970880, tf_ecx =3D 0, tf_e=
ax =3D 756459912, tf_trapno =3D 12, tf_err =3D 4, tf_eip =3D 692052136, tf_=
cs =3D 31, tf_eflags =3D 66178, tf_esp =3D -1077951412, tf_ss =3D 47}) at /=
usr/src/sys/i386/i386/trap.c:316
#13 0xc07ae2ea in calltrap () at /usr/src/sys/i386/i386/exception.s:140
#14 0x080c002f in ?? ()
#15 0x080a002f in ?? ()
#16 0xbfad002f in ?? ()
#17 0x2947aea0 in ?? ()
#18 0x2947af48 in ?? ()
#19 0xbfbfc4b8 in ?? ()
#20 0xd541ad74 in ?? ()
#21 0x2947a2b0 in ?? ()
#22 0x081ac040 in ?? ()
#23 0x00000000 in ?? ()
#24 0x2d16a988 in ?? ()
#25 0x0000000c in ?? ()
#26 0x00000004 in ?? ()
#27 0x293fe0a8 in ?? ()
#28 0x0000001f in ?? ()
#29 0x00010282 in ?? ()
#30 0xbfbfc44c in ?? ()
#31 0x0000002f in ?? ()
#32 0x00000100 in ?? ()
#33 0x01000020 in ?? ()
#34 0x00200200 in ?? ()
#35 0x00000100 in ?? ()
=2D--Type <return> to continue, or q <return> to quit---
#36 0x0a553000 in ?? ()
#37 0xc2153710 in ?? ()
#38 0xc2156960 in ?? ()
#39 0xd541aa30 in ?? ()
#40 0xd541aa18 in ?? ()
#41 0xc187a960 in ?? ()
#42 0xc0616abb in sched_switch (td=3D0x2947af48, newtd=3D0x2947a2b0, flags=
=3DError accessing memory address 0xbfbfc4c8: Bad address.
) at /usr/src/sys/kern/sched_4bsd.c:865
Previous frame inner to this frame (corrupt stack?)

(kgdb) thread 116
[Switching to thread 116 (TID 100140)]#0  0xc0616abb in sched_switch (td=3D=
0xc2157000, newtd=3D0xc20817d0, flags=3D1)
    at /usr/src/sys/kern/sched_4bsd.c:865
865                     cpu_switch(td, newtd);
(kgdb) bt
#0  0xc0616abb in sched_switch (td=3D0xc2157000, newtd=3D0xc20817d0, flags=
=3D1) at /usr/src/sys/kern/sched_4bsd.c:865
#1  0xc060d1ee in mi_switch (flags=3D1, newtd=3D0xc20817d0) at /usr/src/sys=
/kern/kern_synch.c:340
#2  0xc06234cb in sleepq_switch (wchan=3D0x0) at /usr/src/sys/kern/subr_sle=
epqueue.c:417
#3  0xc0623775 in sleepq_timedwait_sig (wchan=3D0xc08e44c4, signal_caught=
=3D0) at /usr/src/sys/kern/subr_sleepqueue.c:573
#4  0xc05e273f in cv_timedwait_sig (cvp=3D0xc08e44c4, mp=3D0xc08e44a0, timo=
=3D101) at /usr/src/sys/kern/kern_condvar.c:326
#5  0xc062775c in poll (td=3D0xc2157000, uap=3D0xd5426d14) at /usr/src/sys/=
kern/sys_generic.c:937
#6  0xc07beed3 in syscall (frame=3D
      {tf_fs =3D 135004207, tf_es =3D 134873135, tf_ds =3D -1079181265, tf_=
edi =3D 135721472, tf_esi =3D 746712224, tf_ebp =3D -1079321040, tf_isp =3D=
 -717066892, tf_ebx =3D 690092444, tf_edx =3D 135779216, tf_ecx =3D 1357825=
12, tf_eax =3D 209, tf_trapno =3D 22, tf_err =3D 2, tf_eip =3D 691197591, t=
f_cs =3D 31, tf_eflags =3D 662, tf_esp =3D -1079321084, tf_ss =3D 47}) at /=
usr/src/sys/i386/i386/trap.c:1001
#7  0xc07ae33f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s=
:201
#8  0x080c002f in ?? ()
#9  0x080a002f in ?? ()
#10 0xbfad002f in ?? ()
#11 0x0816f200 in ?? ()
#12 0x2c81eca0 in ?? ()
#13 0xbfaade30 in ?? ()
#14 0xd5426d74 in ?? ()
#15 0x2921f99c in ?? ()
#16 0x0817d390 in ?? ()
#17 0x0817e070 in ?? ()
#18 0x000000d1 in ?? ()
#19 0x00000016 in ?? ()
#20 0x00000002 in ?? ()
#21 0x2932d697 in ?? ()
#22 0x0000001f in ?? ()
#23 0x00000296 in ?? ()
#24 0xbfaade04 in ?? ()
#25 0x0000002f in ?? ()
#26 0x00000000 in ?? ()
#27 0x00000000 in ?? ()
#28 0x00000000 in ?? ()
#29 0x00000000 in ?? ()
#30 0x0a553000 in ?? ()
#31 0xc2153710 in ?? ()
#32 0xc2157000 in ?? ()
#33 0xd5426afc in ?? ()
#34 0xd5426ae4 in ?? ()
#35 0xc20817d0 in ?? ()
#36 0xc0616abb in sched_switch (td=3D0x2c81eca0, newtd=3D0x2921f99c, flags=
=3DError accessing memory address 0xbfaade40: Bad address.
) at /usr/src/sys/kern/sched_4bsd.c:865
Previous frame inner to this frame (corrupt stack?)

(kgdb) thread 115
[Switching to thread 115 (TID 100141)]#0  0xc0616abb in sched_switch (td=3D=
0xc2157190, newtd=3D0xc2156960, flags=3D1)
    at /usr/src/sys/kern/sched_4bsd.c:865
865                     cpu_switch(td, newtd);
(kgdb) bt
#0  0xc0616abb in sched_switch (td=3D0xc2157190, newtd=3D0xc2156960, flags=
=3D1) at /usr/src/sys/kern/sched_4bsd.c:865
#1  0xc060d1ee in mi_switch (flags=3D1, newtd=3D0xc2156960) at /usr/src/sys=
/kern/kern_synch.c:340
#2  0xc06234cb in sleepq_switch (wchan=3D0x0) at /usr/src/sys/kern/subr_sle=
epqueue.c:417
#3  0xc06236ec in sleepq_wait_sig (wchan=3D0xc08e44c4) at /usr/src/sys/kern=
/subr_sleepqueue.c:542
#4  0xc05e2306 in cv_wait_sig (cvp=3D0xc08e44c4, mp=3D0xc08e44a0) at /usr/s=
rc/sys/kern/kern_condvar.c:196
#5  0xc0627772 in poll (td=3D0xc2157190, uap=3D0xd5429d14) at /usr/src/sys/=
kern/sys_generic.c:939
#6  0xc07beed3 in syscall (frame=3D
      {tf_fs =3D 135004207, tf_es =3D 134873135, tf_ds =3D -1079181265, tf_=
edi =3D 135052288, tf_esi =3D 717053512, tf_ebp =3D -1079189680, tf_isp =3D=
 -717054604, tf_ebx =3D 690092444, tf_edx =3D 135279904, tf_ecx =3D 0, tf_e=
ax =3D 209, tf_trapno =3D 12, tf_err =3D 2, tf_eip =3D 691197591, tf_cs =3D=
 31, tf_eflags =3D 658, tf_esp =3D -1079189724, tf_ss =3D 47}) at /usr/src/=
sys/i386/i386/trap.c:1001
#7  0xc07ae33f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s=
:201
#8  0x080c002f in ?? ()
#9  0x080a002f in ?? ()
#10 0xbfad002f in ?? ()
#11 0x080cbc00 in ?? ()
#12 0x2abd5e48 in ?? ()
#13 0xbfacdf50 in ?? ()
#14 0xd5429d74 in ?? ()
#15 0x2921f99c in ?? ()
#16 0x08103520 in ?? ()
#17 0x00000000 in ?? ()
#18 0x000000d1 in ?? ()
#19 0x0000000c in ?? ()
#20 0x00000002 in ?? ()
#21 0x2932d697 in ?? ()
#22 0x0000001f in ?? ()
#23 0x00000292 in ?? ()
#24 0xbfacdf24 in ?? ()
#25 0x0000002f in ?? ()
#26 0x00000000 in ?? ()
#27 0x00000000 in ?? ()
#28 0x00000000 in ?? ()
#29 0x00000000 in ?? ()
#30 0x0a553000 in ?? ()
#31 0xc2153710 in ?? ()
#32 0xc2157190 in ?? ()
#33 0xd5429af0 in ?? ()
#34 0xd5429ad8 in ?? ()
#35 0xc2156960 in ?? ()
#36 0xc0616abb in sched_switch (td=3D0x2abd5e48, newtd=3D0x2921f99c, flags=
=3DError accessing memory address 0xbfacdf60: Bad address.
) at /usr/src/sys/kern/sched_4bsd.c:865
Previous frame inner to this frame (corrupt stack?)

(kgdb) thread 114
[Switching to thread 114 (TID 100131)]#0  0xc0616abb in sched_switch (td=3D=
0xc2156190, newtd=3D0xc2156000, flags=3D1)
    at /usr/src/sys/kern/sched_4bsd.c:865
865                     cpu_switch(td, newtd);
(kgdb) bt
#0  0xc0616abb in sched_switch (td=3D0xc2156190, newtd=3D0xc2156000, flags=
=3D1) at /usr/src/sys/kern/sched_4bsd.c:865
#1  0xc060d1ee in mi_switch (flags=3D1, newtd=3D0xc2156000) at /usr/src/sys=
/kern/kern_synch.c:340
#2  0xc06234cb in sleepq_switch (wchan=3D0x0) at /usr/src/sys/kern/subr_sle=
epqueue.c:417
#3  0xc06236ec in sleepq_wait_sig (wchan=3D0xc216ae26) at /usr/src/sys/kern=
/subr_sleepqueue.c:542
#4  0xc060cf1e in msleep (ident=3D0xc216ae26, mtx=3D0xc08e48e0, priority=3D=
344, wmesg=3D0xc082c02b "accept", timo=3D0)
    at /usr/src/sys/kern/kern_synch.c:226
#5  0xc0640f8a in accept1 (td=3D0xc2156190, uap=3D0xd540bd14, compat=3D0) a=
t /usr/src/sys/kern/uipc_syscalls.c:299
#6  0xc0641434 in accept (td=3D0xc2156190, uap=3D0xd540bd14) at /usr/src/sy=
s/kern/uipc_syscalls.c:431
#7  0xc07beed3 in syscall (frame=3D
      {tf_fs =3D 47, tf_es =3D 47, tf_ds =3D 47, tf_edi =3D 135051264, tf_e=
si =3D 710260100, tf_ebp =3D -1079061296, tf_isp =3D -717177484, tf_ebx =3D=
 690092444, tf_edx =3D 135142272, tf_ecx =3D 1, tf_eax =3D 30, tf_trapno =
=3D 22, tf_err =3D 2, tf_eip =3D 691200695, tf_cs =3D 31, tf_eflags =3D 662=
, tf_esp =3D -1079061340, tf_ss =3D 47}) at /usr/src/sys/i386/i386/trap.c:1=
001
#8  0xc07ae33f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s=
:201
#9  0x0000002f in ?? ()
#10 0x0000002f in ?? ()
#11 0x0000002f in ?? ()
#12 0x080cb800 in ?? ()
#13 0x2a55b584 in ?? ()
#14 0xbfaed4d0 in ?? ()
#15 0xd540bd74 in ?? ()
#16 0x2921f99c in ?? ()
#17 0x080e1b80 in ?? ()
#18 0x00000001 in ?? ()
#19 0x0000001e in ?? ()
#20 0x00000016 in ?? ()
#21 0x00000002 in ?? ()
#22 0x2932e2b7 in ?? ()
#23 0x0000001f in ?? ()
#24 0x00000296 in ?? ()
#25 0xbfaed4a4 in ?? ()
#26 0x0000002f in ?? ()
#27 0x00000000 in ?? ()
#28 0x00000000 in ?? ()
#29 0x00000000 in ?? ()
#30 0x00000000 in ?? ()
#31 0x0a553000 in ?? ()
#32 0xc2153710 in ?? ()
#33 0xc2156190 in ?? ()
#34 0xd540bbec in ?? ()
#35 0xd540bbd4 in ?? ()
#36 0xc2156000 in ?? ()
#37 0xc0616abb in sched_switch (td=3D0x2a55b584, newtd=3D0x2921f99c, flags=
=3DError accessing memory address 0xbfaed4e0: Bad address.
) at /usr/src/sys/kern/sched_4bsd.c:865
Previous frame inner to this frame (corrupt stack?)

(kgdb) thread 113
[Switching to thread 113 (TID 100132)]#0  0xc0616abb in sched_switch (td=3D=
0xc2156320, newtd=3D0xc1b10c80, flags=3D1)
    at /usr/src/sys/kern/sched_4bsd.c:865
865                     cpu_switch(td, newtd);
(kgdb) bt
#0  0xc0616abb in sched_switch (td=3D0xc2156320, newtd=3D0xc1b10c80, flags=
=3D1) at /usr/src/sys/kern/sched_4bsd.c:865
#1  0xc060d1ee in mi_switch (flags=3D1, newtd=3D0x0) at /usr/src/sys/kern/k=
ern_synch.c:340
#2  0xc06234cb in sleepq_switch (wchan=3D0x0) at /usr/src/sys/kern/subr_sle=
epqueue.c:417
#3  0xc0623775 in sleepq_timedwait_sig (wchan=3D0xc2153810, signal_caught=
=3D0) at /usr/src/sys/kern/subr_sleepqueue.c:573
#4  0xc060ceef in msleep (ident=3D0xc2153810, mtx=3D0xc215377c, priority=3D=
360, wmesg=3D0xc08211dd "ksesigwait", timo=3D3001)
    at /usr/src/sys/kern/kern_synch.c:222
#5  0xc05f4525 in kse_release (td=3D0xc2156320, uap=3D0xd540ed14) at /usr/s=
rc/sys/kern/kern_kse.c:403
#6  0xc07beed3 in syscall (frame=3D
      {tf_fs =3D 47, tf_es =3D 47, tf_ds =3D 47, tf_edi =3D 134892288, tf_e=
si =3D 129, tf_ebp =3D -1078988916, tf_isp =3D -717165196, tf_ebx =3D 69009=
2444, tf_edx =3D -1078988964, tf_ecx =3D 31, tf_eax =3D 383, tf_trapno =3D =
12, tf_err =3D 2, tf_eip =3D 690077431, tf_cs =3D 31, tf_eflags =3D 662, tf=
_esp =3D -1078988992, tf_ss =3D 47}) at /usr/src/sys/i386/i386/trap.c:1001
#7  0xc07ae33f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s=
:201
#8  0x0000002f in ?? ()
#9  0x0000002f in ?? ()
#10 0x0000002f in ?? ()
#11 0x080a4b00 in ?? ()
#12 0x00000081 in ?? ()
#13 0xbfafef8c in ?? ()
#14 0xd540ed74 in ?? ()
#15 0x2921f99c in ?? ()
#16 0xbfafef5c in ?? ()
#17 0x0000001f in ?? ()
#18 0x0000017f in ?? ()
#19 0x0000000c in ?? ()
#20 0x00000002 in ?? ()
#21 0x2921bef7 in ?? ()
#22 0x0000001f in ?? ()
#23 0x00000296 in ?? ()
#24 0xbfafef40 in ?? ()
#25 0x0000002f in ?? ()
#26 0x08204510 in ?? ()
#27 0x08204578 in ?? ()
#28 0x0822e710 in ?? ()
#29 0xffffffff in ?? ()
#30 0x0a553000 in ?? ()
#31 0xc2153710 in ?? ()
#32 0xc2156320 in ?? ()
#33 0xd540ebf4 in ?? ()
#34 0xd540ebdc in ?? ()
#35 0xc1b10c80 in ?? ()
#36 0xc0616abb in sched_switch (td=3D0x81, newtd=3D0x2921f99c, flags=3DErro=
r accessing memory address 0xbfafef9c: Bad address.
) at /usr/src/sys/kern/sched_4bsd.c:865
Previous frame inner to this frame (corrupt stack?)

> I suspect that all the threads are waiting for thread 0xc187a960 to wake
> up and suspend
> for some single-threading purpose.
> but it is hard to tell.

db> show thread 0xc2081e10
  100180 (0xc2221000)  sched_switch(c2221000,0,1) at sched_switch+0x143
  100122 (0xc2081320)  sched_switch(c2081320,0,1) at sched_switch+0x143
  100183 (0xc22214b0)  sched_switch(c22214b0,0,1) at sched_switch+0x143
  100215 (0xc225b7d0)  sched_switch(c225b7d0,0,1) at sched_switch+0x143
  100181 (0xc2221190)  sched_switch(c2221190,0,1) at sched_switch+0x143
  100185 (0xc22217d0)  sched_switch(c22217d0,0,1) at sched_switch+0x143
  100142 (0xc2157320)  sched_switch(c2157320,0,1) at sched_switch+0x143
  100121 (0xc2081190)  sched_switch(c2081190,0,1) at sched_switch+0x143
  100113 (0xc1b104b0)  sched_switch(c1b104b0,0,1) at sched_switch+0x143
  100146 (0xc2157960)  sched_switch(c2157960,0,1) at sched_switch+0x143
  100145 (0xc21577d0)  sched_switch(c21577d0,0,1) at sched_switch+0x143
  100107 (0xc1b0faf0)  sched_switch(c1b0faf0,0,1) at sched_switch+0x143
  100139 (0xc2156e10)  sched_switch(c2156e10,0,1) at sched_switch+0x143
  100125 (0xc20817d0)  sched_switch(c20817d0,c2156e10,1) at sched_switch+0x=
143
  100138 (0xc2156c80)  sched_switch(c2156c80,0,1) at sched_switch+0x143
  100130 (0xc2156000)  sched_switch(c2156000,0,1) at sched_switch+0x143
  100162 (0xc21cd320)  sched_switch(c21cd320,c2156000,1) at sched_switch+0x=
143
  100137 (0xc2156af0)  sched_switch(c2156af0,0,1) at sched_switch+0x143
  100062 (0xc15f8320)  sched_switch(c15f8320,0,1) at sched_switch+0x143
  100148 (0xc2157c80)  sched_switch(c1441f38,d543ebb8,0,0,c1045640) at sche=
d_swi
tch+0x143
  100129 (0xc2081e10)  sched_switch(c2081e10,0,2) at sched_switch+0x143
  100086 (0xc187a960)  sched_switch(c187a960,c2081e10,1) at sched_switch+0x=
143
  100136 (0xc2156960)  sched_switch(c2156960,c187a960,1) at sched_switch+0x=
143
  100140 (0xc2157000)  sched_switch(c2157000,c20817d0,1) at sched_switch+0x=
143
  100141 (0xc2157190)  sched_switch(c2157190,c2156960,1) at sched_switch+0x=
143
  100131 (0xc2156190)  sched_switch(c2156190,c2156000,1) at sched_switch+0x=
143
  100132 (0xc2156320)  sched_switch(c2156320,0,1) at sched_switch+0x143
  100115 (0xc1b107d0)  sched_switch(c1b107d0,0,1) at sched_switch+0x143
  100066 (0xc15f8960)  sched_switch(c15f8960,0,1) at sched_switch+0x143
  100110 (0xc1b10000)  sched_switch(c1b10000,0,1) at sched_switch+0x143
  100068 (0xc15f8c80)  sched_switch(c15f8c80,0,1) at sched_switch+0x143
  100087 (0xc187aaf0)  sched_switch(c187aaf0,0,1) at sched_switch+0x143
  100067 (0xc15f8af0)  sched_switch(c15f8af0,0,1) at sched_switch+0x143
  100128 (0xc2081c80)  sched_switch(c2081c80,0,1) at sched_switch+0x143
  100112 (0xc1b10320)  sched_switch(c1b10320,0,1) at sched_switch+0x143
  100095 (0xc19727d0)  sched_switch(c19727d0,0,1) at sched_switch+0x143
  100083 (0xc187a4b0)  sched_switch(c187a4b0,0,1) at sched_switch+0x143
  100081 (0xc187a190)  sched_switch(c187a190,0,1) at sched_switch+0x143
  100111 (0xc1b10190)  sched_switch(c1b10190,0,1) at sched_switch+0x143
  100084 (0xc187a640)  sched_switch(c187a640,0,1) at sched_switch+0x143
  100106 (0xc1b0f960)  sched_switch(c1b0f960,0,1) at sched_switch+0x143
  100099 (0xc1972e10)  sched_switch(c1972e10,0,1) at sched_switch+0x143
  100127 (0xc2081af0)  sched_switch(c2081af0,0,1) at sched_switch+0x143
  100051 (0xc15f7190)  sched_switch(c15f7190,0,1) at sched_switch+0x143
  100054 (0xc15f7640)  sched_switch(c15f7640,0,1) at sched_switch+0x143
  100052 (0xc15f7320)  sched_switch(c15f7320,0,1) at sched_switch+0x143
  100070 (0xc1879000)  sched_switch(c1879000,0,1) at sched_switch+0x143
  100069 (0xc15f8e10)  sched_switch(c15f8e10,0,1) at sched_switch+0x143
  100065 (0xc15f87d0)  sched_switch(c15f87d0,0,1) at sched_switch+0x143
  100085 (0xc187a7d0)  sched_switch(c187a7d0,0,1) at sched_switch+0x143
  100088 (0xc187ac80)  sched_switch(c187ac80,0,1) at sched_switch+0x143
  100089 (0xc187ae10)  sched_switch(c187ae10,0,1) at sched_switch+0x143
  100090 (0xc1972000)  sched_switch(c1972000,0,1) at sched_switch+0x143
  100091 (0xc1972190)  sched_switch(c1972190,0,1) at sched_switch+0x143
  100092 (0xc1972320)  sched_switch(c1972320,0,1) at sched_switch+0x143
  100093 (0xc19724b0)  sched_switch(c19724b0,0,1) at sched_switch+0x143
  100094 (0xc1972640)  sched_switch(c1972640,0,1) at sched_switch+0x143
  100080 (0xc187a000)  sched_switch(c187a000,0,1) at sched_switch+0x143
  100039 (0xc1525e10)  sched_switch(c1525e10,0,1) at sched_switch+0x143
  100038 (0xc1525c80)  sched_switch(c1525c80,0,1) at sched_switch+0x143
  100074 (0xc1879640)  sched_switch(c1879640,0,1) at sched_switch+0x143
  100193 (0xc22364b0)  sched_switch(c22364b0,0,1) at sched_switch+0x143
  100103 (0xc1b0f4b0)  sched_switch(c1b0f4b0,c1b0f960,1) at sched_switch+0x=
143
  100097 (0xc1972af0)  sched_switch(c1972af0,c1b0f4b0,1) at sched_switch+0x=
143
  100098 (0xc1972c80)  sched_switch(c1972c80,c1972e10,1) at sched_switch+0x=
143
  100104 (0xc1b0f640)  sched_switch(c1b0f640,c1b0f960,1) at sched_switch+0x=
143
  100102 (0xc1b0f320)  sched_switch(c1b0f320,c1b0f4b0,1) at sched_switch+0x=
143
  100100 (0xc1b0f000)  sched_switch(c1b0f000,c1972e10,1) at sched_switch+0x=
143
  100105 (0xc1b0f7d0)  sched_switch(c1b0f7d0,c1b0f640,1) at sched_switch+0x=
143
  100101 (0xc1b0f190)  sched_switch(c1b0f190,c1b0f320,1) at sched_switch+0x=
143
  100096 (0xc1972960)  sched_switch(c1972960,0,1) at sched_switch+0x143
  100037 (0xc1525af0)  sched_switch(c1525af0,0,1) at sched_switch+0x143
  100050 (0xc15f7000)  sched_switch(c15f7000,0,1) at sched_switch+0x143
  100079 (0xc1879e10)  sched_switch(c1879e10,0,1) at sched_switch+0x143
  100077 (0xc1879af0)  sched_switch(c1879af0,0,1) at sched_switch+0x143
  100063 (0xc15f84b0)  sched_switch(c15f84b0,0,1) at sched_switch+0x143
  100071 (0xc1879190)  sched_switch(c1879190,0,1) at sched_switch+0x143
  100075 (0xc18797d0)  sched_switch(c18797d0,0,1) at sched_switch+0x143
  100076 (0xc1879960)  sched_switch(c1879960,0,1) at sched_switch+0x143
  100073 (0xc18794b0)  sched_switch(c18794b0,0,1) at sched_switch+0x143
  100072 (0xc1879320)  sched_switch(c1879320,0,1) at sched_switch+0x143
  100064 (0xc15f8640)  sched_switch(c15f8640,0,1) at sched_switch+0x143
  100078 (0xc1879c80)  sched_switch(c1879c80,0,1) at sched_switch+0x143
  100053 (0xc15f74b0)  sched_switch(c15f74b0,0,1) at sched_switch+0x143
  100036 (0xc1525960)  sched_switch(c1525960,0,1) at sched_switch+0x143
  100061 (0xc15f8190)  sched_switch(c15f8190,0,1) at sched_switch+0x143
  100060 (0xc15f8000)  sched_switch(c15f8000,0,1) at sched_switch+0x143
  100059 (0xc15f7e10)  sched_switch(c15f7e10,0,1) at sched_switch+0x143
  100058 (0xc15f7c80)  sched_switch(c15f7c80,0,1) at sched_switch+0x143
  100057 (0xc15f7af0)  sched_switch(c15f7af0,0,1) at sched_switch+0x143
  100056 (0xc15f7960)  sched_switch(c15f7960,0,1) at sched_switch+0x143
  100055 (0xc15f77d0)  sched_switch(c15f77d0,0,1) at sched_switch+0x143
  100025 (0xc15047d0)  sched_switch(c15047d0,0,1) at sched_switch+0x143
  100024 (0xc1504640)  sched_switch(c1504640,0,1) at sched_switch+0x143
  100023 (0xc15044b0)  sched_switch(c15044b0,0,1) at sched_switch+0x143
  100049 (0xc15f4e10)  sched_switch(c15f4e10,0,1) at sched_switch+0x143
  100048 (0xc15f4c80)  sched_switch(c15f4c80,0,1) at sched_switch+0x143
  100047 (0xc15f4af0)  fork_trampoline() at fork_trampoline
  100046 (0xc15f4960)  sched_switch(c15f4960,0,1) at sched_switch+0x143
  100045 (0xc15f47d0)  sched_switch(c15f47d0,0,1) at sched_switch+0x143
  100044 (0xc15f4640)  sched_switch(c15f4640,0,1) at sched_switch+0x143
  100043 (0xc15f44b0)  sched_switch(c15f44b0,0,1) at sched_switch+0x143
  100042 (0xc15f4320)  sched_switch(c15f4320,0,1) at sched_switch+0x143
  100041 (0xc15f4190)  sched_switch(c15f4190,0,1) at sched_switch+0x143
  100040 (0xc15f4000)  sched_switch(c15f4000,0,1) at sched_switch+0x143
  100012 (0xc1500320)  sched_switch(c1500320,0,1) at sched_switch+0x143
  100011 (0xc1500190)  sched_switch(c1500190,0,1) at sched_switch+0x143
  100035 (0xc15257d0)  fork_trampoline() at fork_trampoline
  100034 (0xc1525640)  sched_switch(c1525640,0,1) at sched_switch+0x143
  100033 (0xc15254b0)  fork_trampoline() at fork_trampoline
  100032 (0xc1525320)  sched_switch(c1525320,0,1) at sched_switch+0x143
  100031 (0xc1525190)  fork_trampoline() at fork_trampoline
  100030 (0xc1525000)  fork_trampoline() at fork_trampoline
  100029 (0xc1504e10)  sched_switch(c1504e10,0,1) at sched_switch+0x143
  100028 (0xc1504c80)  sched_switch(c1504c80,0,1) at sched_switch+0x143
  100027 (0xc1504af0)  sched_switch(c1504af0,0,1) at sched_switch+0x143
  100026 (0xc1504960)  sched_switch(c1504960,0,1) at sched_switch+0x143
  100000 (0xc14fd000)  sched_switch(c14fd000,0,1) at sched_switch+0x143
  100022 (0xc1504320)  fork_trampoline() at fork_trampoline
  100021 (0xc1504190)  sched_switch(c1504190,0,1) at sched_switch+0x143
  100020 (0xc1504000)  sched_switch(c1504000,0,1) at sched_switch+0x143
  100019 (0xc1500e10)  sched_switch(c1500e10,0,1) at sched_switch+0x143
  100018 (0xc1500c80)  fork_trampoline() at fork_trampoline
  100017 (0xc1500af0)  sched_switch(c1500af0,0,1) at sched_switch+0x143
  100016 (0xc1500960)  sched_switch(c1500960,0,1) at sched_switch+0x143
  100015 (0xc15007d0)  fork_trampoline() at fork_trampoline
  100014 (0xc1500640)  sched_switch(c1500640,0,1) at sched_switch+0x143
  100013 (0xc15004b0)  fork_trampoline() at fork_trampoline
  100010 (0xc1500000)  sched_switch(c1500000,0,1) at sched_switch+0x143
  100009 (0xc14fde10)  fork_trampoline() at fork_trampoline
  100008 (0xc14fdc80)  sched_switch(c14fdc80,0,1) at sched_switch+0x143
  100007 (0xc14fdaf0)  fork_trampoline() at fork_trampoline
  100006 (0xc14fd960)  fork_trampoline() at fork_trampoline
  100005 (0xc14fd7d0)  kdb_enter(c083ad21) at kdb_enter+0x2b
  100004 (0xc14fd640)  fork_trampoline() at fork_trampoline
  100003 (0xc14fd4b0)  sched_switch(c14fd4b0,0,1) at sched_switch+0x143
  100002 (0xc14fd320)  sched_switch(c14fd320,0,1) at sched_switch+0x143
  100001 (0xc14fd190)  sched_switch(c14fd190,0,1) at sched_switch+0x143
       0 (0xc08db780)  sched_switch(c08db780,0,1) at sched_switch+0x143
db> c
# vidcontrol -HP > console.txt
=20

=2D-=20
Marc Ramirez
Blue Circle Software Corporation
513-688-1070 (main)
513-382-1270 (direct)
http://www.bluecirclesoft.com
http://www.mrami.com (personal)

--nextPart1122925.WeeBbKoWvc
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBBipzng1EgpGw750IRAiZ5AJwKyYI9NQrLNs/ar/nHaXGhSeWj5gCcCyPg
N+eFB23mPekNnjZZ1bCVQms=
=/mdT
-----END PGP SIGNATURE-----

--nextPart1122925.WeeBbKoWvc--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411041619.35640.marc.ramirez>