[Lazarus] Debugging the rtl/fcl - segfault in sdfdataset

Luca Olivetti luca at wetron.es
Thu Jul 16 18:36:48 CEST 2020


El 16/7/20 a les 8:55, Luca Olivetti via lazarus ha escrit:
> El 15/7/20 a les 18:26, Luca Olivetti via lazarus ha escrit:
> 
>>> For the record, the segfault happens here
>>>
>>>
>>> #0 SYSGETMEM_FIXED(544) at ../inc/heap.inc:963
>>
>> The memory is hosed, I still don't know why.
>> I managed to reproduce the problem with a simple lazarus program, 
>> however a plain pascal programĀ  that does the same doesn't trigger the 
>> it.
>>
>> I'm attaching the lazarus project as well as the simple pascal program 
>> if somebody could look into it...
> 
> 
> I reported it here
> 
> https://bugs.freepascal.org/view.php?id=37370

I found that reverting

https://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=43245

(in fact I just took sdfdata.pp from 3.0.4)

fixes the segfault.

Michael, what do you think?

Bye
-- 
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007


More information about the lazarus mailing list