[Lazarus] Old Lazarus code fail at runtime
chavoux at gmail.com
Tue Dec 27 12:26:14 CET 2016
I wrote a small program for Linux in a previous version of Lazarus which
compiled and ran without problems before. I have now updated to fpc 3.0.0
and Lazarus 1.6 (backports version for Debian X86_64 Jessie). The code
still compiles perfectly (it had a number of warnings, but these have now
disappeared: e.g. unixfileutil.inc(6,51) Warning: Symbol "UTF8ToSys" is
deprecated: "Use the function in LazUTF8 unit"), but it results in a
"Project birds raised exception class 'External: SIGFPE'.
At address 7FFFEF8FC57F"
when running the following code:
procedure THoofVrm.OpenBtnClick(Sender: TObject);
What is wrong with my code (and how should I change it)?
I know that there has been a change in FPC/Lazarus string implementation,
but this is just a standard Lazarus File Open dialog (TOpenDialog) and
result in the error before even allowing me to select the file to open.
I am not using either UTF8ToSys or even the unixfileutil unit AFAICT:
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
IpHtml, StdCtrls, ExtCtrls, Buttons, ExtDlgs, AsyncProcess, Ipfilebroker,
Any pointers appreciated...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus