Subject: anonget2 (Was: Re: galeon and threads on -current)
To: None <current-users@netbsd.org>
From: Love <lha@stacken.kth.se>
List: current-users
Date: 05/29/2003 06:25:51
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Love <lha@stacken.kth.se> writes:

> I get plenty of=20
> assertion "0" failed: file "/usr/src/lib/libpthread/pthread.c", line 400,=
 function "pthread__idle"
>
> thats the last assert(0) in pthread__idle()
>
> at the same time I get
>
> sa_switch(1735.11 flag 900004): Not enough stacks. from the kernel.
>
> mozilla and psi are the two threaded applications I use and both dies. I'=
ve
> added a p_comm to the 'Not enough stacks' message and well see if its both
> or just mozilla that dies in that error.

So after Nathan's patch
(http://mail-index.netbsd.org/source-changes/2003/05/26/0036.html) I've got
one (from mozilla) of the "Not enough stacks..." message. Quite a lot
better.


Mozilla, psi, and sometime, depending on load, bind9 was good at triggering
those.

However, now I've three times ended up with processes handing in
"anonget2", psi (twice) and bind9 (once).

(gdb) bt
#0  0xd4173404 in ?? ()
#1  0xc02905ff in ltsleep (ident=3D0xc0814ce0, priority=3D516,=20
    wmesg=3D0xc04298f4 "anonget2", timo=3D0, interlock=3D0xd3f6fb44)
    at ../../../../kern/kern_synch.c:495
#2  0xc02efc53 in uvmfault_anonget (ufi=3D0xd41c5b04, amap=3D0xd4190508,=20
    anon=3D0xd3f6fb40) at ../../../../uvm/uvm_fault.c:365
#3  0xc02f0612 in uvm_fault (orig_map=3D0xd41c00c4, vaddr=3D3217010688,=20
    fault_type=3D0, access_type=3D2) at ../../../../uvm/uvm_fault.c:1019
#4  0xc030ef58 in trap (frame=3D{tf_gs =3D -732495856, tf_fs =3D -736690128=
,=20
      tf_es =3D -736690160, tf_ds =3D -1069809648, tf_edi =3D -1077953248,=
=20
      tf_esi =3D -732457364, tf_ebp =3D -736338096, tf_ebx =3D -736675964,=
=20
      tf_edx =3D -736354304, tf_ecx =3D 194, tf_eax =3D 776, tf_trapno =3D =
6,=20
      tf_err =3D 2, tf_eip =3D -1072692148, tf_cs =3D 8, tf_eflags =3D 2163=
202,=20
      tf_esp =3D 0, tf_ss =3D -736676860, tf_vm86_es =3D -732457396,=20
      tf_vm86_ds =3D -1071071751, tf_vm86_fs =3D -732457364,=20
      tf_vm86_gs =3D -1077953248}) at ../../../../arch/i386/i386/trap.c:551
#5  0xc0102c64 in calltrap ()
#6  0xc030f14c in trap (frame=3D{tf_gs =3D 31, tf_fs =3D 31, tf_es =3D 31, =
tf_ds =3D 31,=20
      tf_edi =3D 137418400, tf_esi =3D 137418400, tf_ebp =3D -1077941864,=20
      tf_ebx =3D 1216204648, tf_edx =3D 0, tf_ecx =3D -1077941696, tf_eax =
=3D 0,=20
      tf_trapno =3D 6, tf_err =3D 6, tf_eip =3D 1211562029, tf_cs =3D 23,=20
      tf_eflags =3D 66194, tf_esp =3D -1077952468, tf_ss =3D 31, tf_vm86_es=
 =3D 0,=20
      tf_vm86_ds =3D 0, tf_vm86_fs =3D 0, tf_vm86_gs =3D 0}) at machine/use=
rret.h:100

Love

=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (NetBSD)

iQIVAwUBPtWL0RZyDLTSep3UAQJ6EQ//Q14+6NHYl17PzTjZ/QOpR+ACx6a/KPrd
3Il724l+k3mMf7yABee/qApkwphjIRXzD41P85sTdBd0fR2W/2e6VOaXvDj7Xdi8
9SHnBsaOLoFgwSKhuVLo/3wLGq2hHcfRQqPWsERd/FWIHpT4eR4VDO5XM1IM1aFZ
PKnf1+vUTnDRuIGogwMfUXHjbkt2mxXvyrTH9PRk86rXEh2hZFfnx8nFQZduXFrl
0ikzv1JhQp1Anfe8nOf0J8hp8jlQGw0XYo2qZyFsVftqfBNGAtWJvcD2lRMNzaj0
KFN3/hFpgRYkJ87BxkNOKw885+J+tYNs9cK5DLrG3szD0u2+2bnzTevArMdY4bZ1
nKmnexmuZtxtoOr1dmNKhTshGQO9JyUD372HagbHqop6mtLn5vtP++GJqNFwLJx9
r79WQAd4QhZUEDcOFMv3vV+mnR0FhPzM8WbUZ6ig9PetXY59uZJoq7VvpyztBvzm
Uw5+xBAxvrL6TSzWI/e3NZwA+Pl3ne8mIqbMypErCBXo79jZUAI8CDmDZmw1UNR/
sapiUquRLZ9hKhoBkLYW7UGNIqezy63h0F2Kmv/M4pa8X2Q8G4vpfWZ4wMNAlA10
jqVWFpIig0fyEpiegTUdk5NxXncDinzMf9JE2BVRiejVQ8wx7bzVzOhDQHT2Qnj4
wYIzZWx2Q10=3D
=3DEevM
=2D----END PGP SIGNATURE-----