Subject: Re: random crashes with pthreads
To: None <port-sparc64@NetBSD.org>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 04/01/2005 17:35:06
Hello,

> > Has anyone experienced anything like this on sparc64?
> More or less. Lots of applications crash randomly here, mostly with bus errors coming from the bowels of libpthread. Sometimes there are segfaults too, but rarely. For some reason I can't even get a useful stack trace, usually it's something like this:
> Program received signal SIGBUS, Bus error.
> [Switching to LWP 1]
> 0x0000000041e0ef80 in pthread__sa_recycle () from /usr/lib/libpthread.so.0
> (gdb) bt
> #0  0x0000000041e0ef80 in pthread__sa_recycle () from /usr/lib/libpthread.so.0
> Error accessing memory address 0x872: Invalid argument.
> 
> ... looks a bit like it's in the middle of a context switch?

I forgot:
NetBSD Inishowen 3.99.2 NetBSD 3.99.2 (INISHOWEN) #326: Tue Mar 29 08:58:51 EST 2005  ml@Inishowen:/data/src/sys/arch/sparc64/compile/INISHOWEN sparc64
running -current 64bit userland from a couple of days ago.

have fun
Michael