Przemyslaw,

I did the change to the makefile, I get an immediate SIGSEGV simply starting
hbrun.

(E:\repository\harbour-svn\tests)\harbour\bin\hbrun mt\mttest01.prg

Killed by SIGSEGV
pid=0x7e87 ppid=0x0253 tid=0x0001 slot=0x00b2 pri=0x0200 mc=0x0001
E:\HARBOUR\BIN\HBRUN.EXE
HBRUN 0:00026f26
cs:eip=005b:00036f26      ss:esp=0053:022afe50      ebp=022afe58
 ds=0053      es=0053      fs=150b      gs=0000     efl=00010212
eax=00000000 ebx=026001c0 ecx=00000000 edx=0260013c edi=0001028f esi=00000028
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.

The same if I try to build any of the test programs inside tests\ using hvmmt.


Maurilio.


Przemyslaw Czerpak wrote:
> On Tue, 23 Sep 2008, Maurilio Longo wrote:
>> Hi Przemyslaw,
>> is hbrun mt ready? I was trying to use it to run mt\mttestxx but I get 
>> errors,
>> sometimes, like this:
>> (E:\repository\harbour-svn\tests\mt)\harbour\bin\hbrun mttest01.prg
>> Harbour 1.1.0dev (Rev. 9479)
>> Error BASE/3012  Argument error: HB_THREADJOIN
>> Called from HB_THREADJOIN(0)
>> Called from MAIN(25)
>> Called from HB_HRBRUN(0)
>> Called from _APPMAIN(109)
> 
> HBRUN is linked with hbmt not hbmtvm in standard GNU builds so it does
> not have support to MT. HB_STARTTHREAD() does not create new thread and
> returns NIL instead of thread pointer. It causes that later HB_THREADJOIN
> reports argument error. So the above is expected and correct.
> 
>> Other tests, like 02, 03 seem to work.
> 
> I do not think so. They only do not reprort errors when linked with
> ST HVM but second thread is not started.
> 
>> PS.I was using hbrun because there is ready way to run tests inside tests\ 
>> dir
>> (on OS/2 at least).
> 
> If you need hbrun in MT mode then please change in its Makefile
> hbvm to hbvmmt in two places and relink it. I'll look later for a way
> to build it in MT mode by default for platforms which supports MT.
> 
> best regards,
> Przemek
> _______________________________________________
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 

-- 
 __________
|  |  | |__| Maurilio Longo
|_|_|_|____| farmaconsult s.r.l.


_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to