Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2008 22:41:14 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Mikhail Teterin <mi+mill@aldan.algebra.com>
Cc:        Kris Kennaway <kris@freebsd.org>, stable@freebsd.org, Jeremy Chadwick <koitsu@freebsd.org>
Subject:   Re: "sleeping without queue" ?
Message-ID:  <20080722194114.GE17123@deviant.kiev.zoral.com.ua>
In-Reply-To: <48863465.8080204@aldan.algebra.com>
References:  <4885F2A6.5020204@aldan.algebra.com> <4885FCE5.1060507@FreeBSD.org> <48860725.9050808@aldan.algebra.com> <20080722161958.GA11139@eos.sc1.parodius.com> <48860E8C.6050400@FreeBSD.org> <48860EF6.2040007@aldan.algebra.com> <48861284.1050706@FreeBSD.org> <48861448.7020708@aldan.algebra.com> <20080722192155.GC17123@deviant.kiev.zoral.com.ua> <48863465.8080204@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Tue, Jul 22, 2008 at 03:26:29PM -0400, Mikhail Teterin wrote:
> Kostik Belousov ΞΑΠΙΣΑΧ(ΜΑ):
> >Did you switched to the process before doing backtrace (using the proc 
> ><pid>
> >command)?
> Ok, thanks. Did not know about this one. Here:
> ...
> (kgdb) proc 79759
> (kgdb) bt
> #0  sched_switch (td=0xffffff01286dc000, newtd=0xffffff00010ce000, 
> flags=2) at /var/src/sys/kern/sched_4bsd.c:928
> #1  0x0000000000000000 in ?? ()
> #2  0xffffffff802f1108 in mi_switch (flags=678281216, newtd=0x2) at 
> /var/src/sys/kern/kern_synch.c:442
> #3  0xffffffff80318513 in sleepq_check_timeout () at 
> /var/src/sys/kern/subr_sleepqueue.c:519
> #4  0xffffffff80318c85 in sleepq_timedwait (wchan=0xffffffff80688408) at 
> /var/src/sys/kern/subr_sleepqueue.c:597
> #5  0xffffffff802f16a2 in _sleep (ident=0xffffffff80688408, lock=0x0, 
> priority=0, wmesg=0xffffffff804f3059 "vmo_de", timo=1) at 
> /var/src/sys/kern/kern_synch.c:224
> #6  0xffffffff8043036b in vm_object_deallocate 
> (object=0xffffff0053024a90) at /var/src/sys/vm/vm_object.c:509
From this frame, please, print the object (like p *object) and
likewise, print the object that is at the head of the object->shadow_head
list.

Another question is what scheduler do you use ?

> #7  0xffffffff8042920e in vm_map_delete (map=0xffffff0015ba4b60, 
> start=18446742979242478224, end=140737488355328) at 
> /var/src/sys/vm/vm_map.c:2315
> #8  0xffffffff804293df in vm_map_remove (map=0xffffff0015ba4b60, 
> start=0, end=140737488355328) at /var/src/sys/vm/vm_map.c:2423
> #9  0xffffffff8042b813 in vmspace_exit (td=0xffffff01286dc000) at 
> /var/src/sys/vm/vm_map.c:324
> #10 0xffffffff802c8cff in exit1 (td=0xffffff01286dc000, rv=0) at 
> /var/src/sys/kern/kern_exit.c:294
> #11 0xffffffff802ca08e in sys_exit (td=Variable "td" is not available.
> ) at /var/src/sys/kern/kern_exit.c:98
> #12 0xffffffff8045a700 in syscall (frame=0xffffffffb0d89c70) at 
> /var/src/sys/amd64/amd64/trap.c:852
> #13 0xffffffff8043f38b in Xfast_syscall () at 
> /var/src/sys/amd64/amd64/exception.S:290
> #14 0x000000080095f34c in ?? ()
> Previous frame inner to this frame (corrupt stack?)
> 
> >What is the exact version of the system ? Note that procstat
> >appeared in the late RELENG_7.
> FreeBSD 7.0-STABLE #0: Sat Mar  8 16:02:37 EST 2008
> >
> >Also, show the output of ps axl <pid>.
>  UID   PID  PPID CPU PRI NI   VSZ   RSS MWCHAN STAT  TT       TIME COMMAND
>    0 79759 79758   0  96  0     0    16 -      DE+   p6    0:00,00 
> /bin/tcsh -fc 
> /meow/ports/editors/openoffice.org-3/work/BEB300_m3/solver/300/unxfbsdx.pro/bin/ma

It makes sense to show the whole ps axl output.
> 
> Yours,
> 
>    -mi

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkiGN9oACgkQC3+MBN1Mb4gixACgzafvZTjueYYkuhWU6a5kJAae
Ag4An1h8Q6MF39xIBFkAtSpLV0G0jFzZ
=QzKi
-----END PGP SIGNATURE-----

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