[Mono-dev] mono_thread_get_stack_bounds vs NetBSD/powerpc
Magnus Henoch
mange at freemail.hu
Sun Sep 9 17:35:42 EDT 2007
I'm trying to build Mono from SVN on NetBSD/powerpc. I will submit
my patches later, but now I need to ask about the assertion in
mono_thread_get_stack_bounds in mono/metadata/threads.c:
g_assert ((current > *staddr) && (current < *staddr + *stsize));
On my system the stack is right at the top of virtual memory, so
*staddr + *stsize wraps around to 0, and the assertion fails. What
should this assertion really look like?
Magnus
More information about the Mono-devel-list
mailing list