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

Luca Olivetti luca at wetron.es
Fri Jul 17 10:02:24 CEST 2020


El 17/7/20 a les 9:51, Michael Van Canneyt ha escrit:

>>> 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?
> 
> Seems like a bug somewhere. I'll need to look at it. Probably has something
> to do with the default codepage: Lazarus changes that.

What worries me is the fact that it is so easy to mess up the heap. What 
other dragons are lurking ahead in 3.2.0?

For the record, I tried to set the codepage of the component to 'utf-8' 
and it still segfaults, so I don't think it's because of the default 
codepage.

Also the fact that some of the TFieldDefs.Add are procedure and some 
functions doesn't seem right.

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