Re: [Harbour] Win98 + MT crash

2009-11-19 Thread Przemysław Czerpak
On Thu, 19 Nov 2009, Chen Kedem wrote: Hi, > > If possible then I would like to ask you to make final tests. Now it should > > work even with CodeGuard. > Tested with Rev12933, with and without CodeGuard. > All tests/mt/mttest*.prg (apart from mttest10.prg that needs GUI) > are working now on bot

Re: [Harbour] Win98 + MT crash

2009-11-19 Thread Chen Kedem
Przemek, > If possible then I would like to ask you to make final tests. Now it should > work even with CodeGuard. Tested with Rev12933, with and without CodeGuard. All tests/mt/mttest*.prg (apart from mttest10.prg that needs GUI) are working now on both WinNT and Win95. btw, my Win95 machine is

Re: [Harbour] Win98 + MT crash

2009-11-18 Thread Przemysław Czerpak
On Wed, 18 Nov 2009, Chen Kedem wrote: Hi, > > If possible then I would like to ask you to make final tests. Now it should > > work even with CodeGuard. > Will do that tomorrow morning. Thank you very much. best regards, Przemek ___ Harbour mailing li

Re: [Harbour] Win98 + MT crash

2009-11-18 Thread Chen Kedem
Przemek, > If possible then I would like to ask you to make final tests. Now it should > work even with CodeGuard. Will do that tomorrow morning. Chen. ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.ha

Re: [Harbour] Win98 + MT crash

2009-11-18 Thread Przemysław Czerpak
On Wed, 18 Nov 2009, Chen Kedem wrote: Hi, > > Yes, but it is result of CodeGuard bug which do not works well with > > __thread static variables > Opps forgot about it. > >set HB_USER_CFLAGS=-DHB_USE_TLS -DHB_FM_STD_ALLOC > With this and without CodeGuard, mttest01.prg run well on Win95. Tha

Re: [Harbour] Win98 + MT crash

2009-11-18 Thread Chen Kedem
Przemek, > Yes, but it is result of CodeGuard bug which do not works well with > __thread static variables Opps forgot about it. >set HB_USER_CFLAGS=-DHB_USE_TLS -DHB_FM_STD_ALLOC With this and without CodeGuard, mttest01.prg run well on Win95. Chen. _

Re: [Harbour] Win98 + MT crash

2009-11-18 Thread Przemysław Czerpak
On Wed, 18 Nov 2009, Chen Kedem wrote: Hi, > > Can you make yet another test with harbour compiled with HB_USE_TLS macro > > i.e.: > >set HB_USER_CFLAGS=-DHB_USE_TLS -DHB_FM_STD_ALLOC > The build (on the NT) fail with lots (I killed it after 40,000 errors) of > CodeGuard > errors while runni

Re: [Harbour] Win98 + MT crash

2009-11-18 Thread Chen Kedem
Przemek, > Can you make yet another test with harbour compiled with HB_USE_TLS macro > i.e.: >set HB_USER_CFLAGS=-DHB_USE_TLS -DHB_FM_STD_ALLOC The build (on the NT) fail with lots (I killed it after 40,000 errors) of CodeGuard errors while running hbmk2.exe in the "Making shared version of

Re: [Harbour] Win98 + MT crash

2009-11-18 Thread Przemysław Czerpak
On Wed, 18 Nov 2009, Chen Kedem wrote: Hi, > Yes, the same type of CodeGuard errors. > (only on the Win95, in the WinNT it works all the time with no errors) > Also, all the errors CodeGuard report have the same ThreadID. It looks like a problem with TLS data. It's possible that on Win9x it has

Re: [Harbour] Win98 + MT crash

2009-11-18 Thread Chen Kedem
Przemek, >> on the Win95 I get huge amount of CodeGuard erros when trying >> to run hbmk2.exe (just the exe without parameters) > What errors? See sample at the end. > Do you have the same errors when you use: >set HB_USER_CFLAGS=-DHB_FM_STD_ALLOC > instead of HB_FM_WIN_ALLOC? Yes, the same

Re: [Harbour] Win98 + MT crash

2009-11-18 Thread Przemysław Czerpak
On Wed, 18 Nov 2009, Chen Kedem wrote: Hi, > > Please try to recompile Harbour without DLMALLOC using HB_FM_WIN_ALLOC > > macro, i.e.: > >set HB_USER_PRGFLAGS=-DHB_FM_WIN_ALLOC > > And check if it's enough to run Harbour application in Win95. > I guess its set HB_USER_CFLAGS=-DHB_FM_WIN_ALLOC

Re: [Harbour] Win98 + MT crash

2009-11-18 Thread Chen Kedem
Przemek, > Please try to recompile Harbour without DLMALLOC using HB_FM_WIN_ALLOC > macro, i.e.: >set HB_USER_PRGFLAGS=-DHB_FM_WIN_ALLOC > And check if it's enough to run Harbour application in Win95. I guess its set HB_USER_CFLAGS=-DHB_FM_WIN_ALLOC On WinNT all is the same (working), on the

Re: Re:[Harbour] Win98 + MT crash

2009-11-18 Thread Przemysław Czerpak
On Wed, 18 Nov 2009, Chen Kedem wrote: Hi, > Executing hbmk2.exe (Rev12895) on a Win95 I get an error message that > the program try to access undefined function InterlockedCompareExchange > in KERNEL32.DLL > This function exists on WinNT but not on Win95, > maybe the same is true for Win98. > It

RE: Re:[Harbour] Win98 + MT crash

2009-11-17 Thread Chen Kedem
I wrote: > Executing hbmk2.exe (Rev12895) on a Win95 I get an error message that > the program try to access undefined function InterlockedCompareExchange > in KERNEL32.DLL Another test (Rev12895, BCC32, WinNT): ..\bin\hbmk2 mttest01 Running mttest01.exe on both WinNT and Win95 I get an Argument

Re:[Harbour] Win98 + MT crash

2009-11-17 Thread Chen Kedem
Executing hbmk2.exe (Rev12895) on a Win95 I get an error message that the program try to access undefined function InterlockedCompareExchange in KERNEL32.DLL This function exists on WinNT but not on Win95, maybe the same is true for Win98. It is used in vm/dlmalloc.c and vm/fm.c Chen.

Re: [Harbour] Win98 + MT crash

2009-11-17 Thread Przemysław Czerpak
On Wed, 18 Nov 2009, Szak�ts Viktor wrote: > Hi Przemek and All, > After seeing reports on HMG Forum about hbmk2 > failing on Win98, I verified it myself and there > is indeed something wrong with MT mode on Win98 > systems, and it's not directly related to compiler. > So hbmk2 was the test prog

[Harbour] Win98 + MT crash

2009-11-17 Thread Viktor Szakáts
Hi Przemek and All, After seeing reports on HMG Forum about hbmk2 failing on Win98, I verified it myself and there is indeed something wrong with MT mode on Win98 systems, and it's not directly related to compiler. So hbmk2 was the test program I used, BCC 5.5 and MinGW 4.4.1 builds. Running