Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2006 09:26:24 -0300
From:      "Marc G. Fournier" <scrappy@freebsd.org>
To:        freebsd-stable@freebsd.org, freebsd-ports@freebsd.org
Cc:        aldert@nooitgedagt.net
Subject:   aolserver nsthreadtest fails / aborts ...
Message-ID:  <CE85CCFD1545D117D08A8BAC@ganymede.hub.org>

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

[-- Attachment #1 --]

Just found this while working on a clients site, and figured I'd mention it ...

Aolserver4 has a program called 'nsthreadtest' that you can run from the 
command line, that aborts part way through:

pthread: join 9 = 9
nsthreads: pthread_join failed in Ns_ThreadJoin: Invalid argument
Abort (core dumped)

It dumps core, with a quick trace showing:

(gdb) where
#0  0x0000000800b4781c in pthread_testcancel () from /usr/lib/libpthread.so.2
#1  0x0000000800b35543 in sigaction () from /usr/lib/libpthread.so.2
#2  0x0000000800b37062 in sigaction () from /usr/lib/libpthread.so.2
#3  0x0000000800b30d56 in pthread_kill () from /usr/lib/libpthread.so.2
#4  0x0000000800b305d3 in raise () from /usr/lib/libpthread.so.2
#5  0x0000000800d1696d in abort () from /lib/libc.so.6
#6  0x00000008007b1cb8 in Tcl_PanicVA () from /usr/local/lib/libtcl84.so.1
#7  0x00000008007b1d4d in Tcl_Panic () from /usr/local/lib/libtcl84.so.1
#8  0x0000000800630a65 in NsThreadFatal () from 
/usr/local/aolserver/lib/libnsthread.so
#9  0x0000000800632835 in Ns_ThreadJoin () from 
/usr/local/aolserver/lib/libnsthread.so
#10 0x0000000000402868 in main ()

Don't know if its anything to be concerned about, or just something badly 
programmed within nsthreadtest, but figured I'd point it out ... if I can 
provide more details just to confirm it isn't an "OS problem", let me know ...

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappy@hub.org                              MSN . scrappy@hub.org
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664


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

iD8DBQFFL4Xw4QvfyHIvDvMRAiYBAKC9uBwTarXIwN3VGg/OMN7HLc0PcgCgr5Sl
z1OVz8n2WVYuX1XZdHvcPlg=
=IE8U
-----END PGP SIGNATURE-----

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