Subject: Re: DB prompt
To: None <port-dreamcast@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-dreamcast
Date: 02/08/2003 16:04:51
In article <200302071843.09517.mlist@beholder.homeunix.net>
mlist@beholder.homeunix.net wrote:
> panic: tlb_handler: invalid user-space access from kernel mode
> va=0x00000000 ssr=0x400000f0 lwp=0x8c832794 onfault=0x0c0ecefa
This is a known problem. It seems a bug around signal trampoline,
but I cannot track it yet.
You can reproduce the panic by the following way:
1) Build pkgsrc/devel/pth on pre-1.6M (pre-nathanw_sa) userland
(i.e. build pth without [gs]etcontext support)
2) Prepare a program used by "checking whether
pthread_mutex_trylock is posix like" test:
---
#include <pthread.h>
pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
int main () {
return !pthread_mutex_trylock (&mutex);
}
---
and build it:
> cc -O -I/usr/pkg/include -c -o test.o test.c
> cc -o test test.o /usr/pkg/lib/libpthread.a
> ./test
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp