[Gambas-user] Crash with latest version

Benoît Minisini g4mba5 at gmail.com
Mon Mar 1 13:52:39 CET 2021


Le 01/03/2021 à 11:12, Christof Thalhofer a écrit :
> Am 26.02.21 um 02:26 schrieb Jussi Lahtinen:
>>
>>      Or did I do sth wrong while copying it?
>>
>>
>> I think so, sTest is written in Process_Read:
>>
>> Fast Public Sub Process_Read()
>>   
>>    Dim sTmp As String = Read #hProcess, 1
>>   
>>    sTest &= sTmp
>>   
>> End
>>
>> It is a stress test for writing via process as I have seen missing data
>> in similar code. But I think the problem doesn't exist anymore (and
>> hopefully never reappears).
>> At least the tester doesn't encounter it. It does the tests 1000 times,
>> so if they all fail there are 1000 errors from each test... However the
>> problem was so rare,
>> that you could see it only once or so.
> 
> ----------------------------------------------------------------
> #tldr: All fast tests pass, we can think about how to integrate it into
> Gambas development so that we can do a "make test" later.
> ----------------------------------------------------------------
> 

Thanks! If the full test is not too long to run, it will be possible to 
run it during "make install" so that any regression is detected almost 
immediately. It could be made optional, so that it will be run only on 
GitLab, which compile and install Gambas at each commit.

Regards,

-- 
Benoît Minisini


More information about the User mailing list