On Fri, 07 Nov 2008, David Arturo Macias Corona wrote: Hi David,
> Using -bm flag and hbvmmt > ------------------- > 1. HB_THREADSTART > 1. hb_threadStartVM > 3. HB_THREADSTART > 2. hb_threadStartVM > SYS1808: > The process has stopped. The software diagnostic > code (exception code) is 0001. > ------------------- Thank you. Looks that is fails not 1-st memory allocation or TLS access. So now next step. Please replace hb_stackInit() function in source/vm/estack.c with this code: void hb_stackInit( void ) { HB_TRACE(HB_TR_DEBUG, ("hb_stackInit()")); printf("1. hb_stackInit()\n");fflush(stdout); #if defined( HB_MT_VM ) hb_stack_alloc(); #endif printf("2. hb_stackInit()\n");fflush(stdout); { HB_STACK_TLS_PRELOAD printf("3. hb_stackInit()\n");fflush(stdout); printf("4. hb_stackInit(%p)\n", &hb_stack);fflush(stdout); hb_stack_init( &hb_stack ); printf("5. hb_stackInit()\n");fflush(stdout); } } then rebuild Harbour (you do not need clean build) and the same .prg code. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour