Subject: pthread_run.c abort trap
To: None <netbsd-users@netbsd.org>
From: None <sigsegv@rambler.ru>
List: netbsd-users
Date: 07/26/2004 10:46:53
I'm learning pthreads programming, and while running a threaded test 
program which uses a lot of swap space, I get the following:

assertion "next != 0" failed: file 
"/usr/src/lib/libpthread/pthread_run.c", line 130, function "pthread__next"
[1]   Abort trap (core dumped) ./a.out

It is normal to happen for badly written threaded programs like mine, or 
it shouldn't happen and there could be a bug in the thread library?