Adi Pircalabu
2005-Apr-27 08:29 UTC
Multithreaded program crashes on SMP (HT enabled) machine
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? The backtrace: (gdb) bt #0 0x2819631b in pthread_testcancel () from /usr/lib/libpthread.so.1 #1 0x2818e902 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 #2 0x00000000 in ?? () Thank you -- Adrian Pircalabu Public KeyID = 0x04329F5E -- This message was scanned for spam and viruses by BitDefender. For more information please visit http://linux.bitdefender.com/
Doug White
2005-Apr-29 19:27 UTC
Multithreaded program crashes on SMP (HT enabled) machine
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/libpthread.so.1 > #1 0x2818e902 in pthread_mutexattr_init () from > /usr/lib/libpthread.so.1 #2 0x00000000 in ?? ()This looks like a thread library mismatch. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org