Subject: pthread problem
To: None <current-users@NetBSD.org>
From: Marc Recht <recht@netbsd.org>
List: current-users
Date: 01/05/2004 11:35:56
--==========DE9FBEDA282406A6FD89==========
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi!

I just got this while aborting a threaded python(23-pth) program with=20
CTRL-C:

assertion "target->pt_state !=3D PT_STATE_RUNNING || target->pt_blockgen =
!=3D=20
target->pt_unblockgen" failed: file=20
"/usr/src/lib/libpthread/pthread_sig.c", line 790, function "pthread__kill"

After that the process ran amok and starting allocating memory like weird.=20
At the time I tried to kill it it had around 500MB allocated (start at=20
about 4MB).
I had to SIGKILL it several times (tried for approx. one minute) until it=20
finally aborted.

Kernel and userland is from the day before yesterday (libc.so.12.109 and=20
libpthread.so.0.4)

$NetBSD: pthread_sig.c,v 1.33 2004/01/02 19:24:44 cl Exp $

Cheers,
Marc
--==========DE9FBEDA282406A6FD89==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQE/+T4M7YQCetAaG3MRAt7PAJ42EDSV8o6Kz0rGnHGOZE5sxoQCnwCgi0x7
bGmkLSJ2i54dRJ38UxoKuho=
=EMrf
-----END PGP SIGNATURE-----

--==========DE9FBEDA282406A6FD89==========--