core files: wrong signal number with threaded program on sparc-solaris.