Multithreaded program crashes on SMP (HT enabled) machine

Doug White dwhite at
Fri Apr 29 19:26:12 PDT 2005

Dropping -hackers and -bugs

On Wed, 27 Apr 2005, Adi Pircalabu wrote:

> Hello,
> I have a multithreaded application ported on FreeBSD 5.3 which crashes
> in a minute or less if hyperthreading in enabled. Without HT there is no
> problem.
> How and where should I start to investigate the problem?

Can you expalin "crash"? Do you get any messages?

> The backtrace:
> (gdb) bt
> #0  0x2819631b in pthread_testcancel () from /usr/lib/
> #1  0x2818e902 in pthread_mutexattr_init () from
> /usr/lib/ #2  0x00000000 in ?? ()

This looks like a thread library mismatch.

Doug White                    |  FreeBSD: The Power to Serve
dwhite at          |

More information about the freebsd-stable mailing list