Issues 3.2.0
Issues with 3.2.0 release candidates
This page is supposed to contain all issues discovered while testing release candidates and their status. Make sure to include information about the platform where the problem appears (if applicable). Once the issue gets resolved, you should strike it over and add number of SVN revision fixing it. If the revision number refers to a SVN repository different from "fpc" (i.e. "fpcbuild" or "fpcdocs"), include information about the SVN repository too.
Issues with 3.2.0-rc1
faq.txt
- Release Testing Procedure point 3.2 - no faq.txt file in the macOS disk image.
readme.txt typos
- "Both these adresses are for mailing lists. If you're not subscribed," -- adresses should be addresses.
- "order to make the compiler/rtl & IDE in a resonable time (eg <30 minutes)" -- resonable should be reasonable.
Other documentation issues
Runtime error 213 trying to use the textmode IDE help index. Issue #37094Fixed in revisions 45406,45407.- The Language Reference, Programmer's Guide, and User's Guide CHM files have an odd string on their first page: "mei 2019". Additionally the accented letters in author names aren't displayed correctly in those files. The FPDoc CHM has a similar front page, but it does looks correct.
macOS
- The Intel installer currently installs even if the command line utilities are not yet installed. This results in missing parameters in the generated /etc/fpc.cfg (even if they are installed afterwards; you have to reinstall fpc to regenerate fpc.cfg)
The Intel installer currently installs the man pages into /usr/local/man/[man1|man5] where they are not found. They should be installed into /usr/local/share/man/[man1|man5]. I reported here for 3.0.4: https://bugs.freepascal.org/view.php?id=35969A man page is installed for fp (text mode IDE), but there is no fp binary installed. Issue #36861Test suite (make full TEST_FPC=/usr/local/bin/ppcx64) fails to complete with an error. See https://sentinel.sentry.org/mylog for the log file.
- The file "Getting Started (Intel).rtf": It contains numerous references to very old details, which makes it long and hard to check, what is relevant to recent systems. I would replace most of that by a link to an according wiki page. It also says, that you cannot compile 64 bit GUI programs with Lazarus, without mentioning the cocoa, Qt4 and Qt5 64 bit variants of Lazarus. Please note that this text is also displayed at the start of the installation.
- The details on how to use FPC with older (Mac) OS X/macOS versions will remain there as long as those OSes remain supported by FPC. I will update the Lazarus part. Jonas (talk)
- In order to get rid of the overly dull and outdated impression, I suggest to reorder the points in better clarity with general ones first, followed by system version specific ones, from newest to oldest systems.
- The details on how to use FPC with older (Mac) OS X/macOS versions will remain there as long as those OSes remain supported by FPC. I will update the Lazarus part. Jonas (talk)
- The file "readme.txt"
- It still has 3.0.0 as version number at several places.
- It mentions the GNU debugger and not lldb
- Many feature are not really relevant for macOS or even not available.
- The QuickStart has some minor outdated stuff.
- The file "whatsnew.txt"
not really a bug of fpc, but still a noteworthy issue: lazarus-cocoa does not buildfpc 3.2.0 comes with updated cocoa headers, which breaks building lazarus-cocoa. Bugtracker: https://bugs.freepascal.org/view.php?id=36864(resolved with lazarus commits 62885 (trunk) and 62901 (fixies_2_0). Thanks to the Lazarus team.)
Linux
As tested on Ubuntu20.04 beta but not specific.
Testing instructions says run every binary. I am not familiar with all of them so I ran some with just '-h' as a parameter. All do have correct binary format but not all will accept that '-h', of those, most examined my '-h' and rejected it as an invalid parameter, thats OK. However -
unitdiff - does not support -h, crashes with bad input. OK with good input.- mkx86ins - crashes with bad input.
- The readme.txt, faq.txt and whatsnew.txt all refer to previous version being 3.0.0 not 3.0.4. Maybe this is as intended but, for example, the whatsnew does have specific content for 2.6.0, 2.6.2 and 2.6.4.
- Ran the full test suite and produced results not dissimilar to those listed on https://www.freepascal.org/testsuite/cgi-bin/testsuite.cgi
Go32v2
- The Go32v2 textmode IDE has no GDB due to builidng issues, reported by Pierre while uploading. Try to find old known working one?
Win32 and possibly others
- Does not ship pas2js binary, but does ship a pas2js units directory?
- Forum post Val procedure (and StrToFloat as well) fails with SIGFPE with Math.MaxDouble.
$Unitpath directive doesn't work correctly. Issue #37095Fixed in 45410, may or may not actually make it to 3.2.0.- An initial SetLength on a local managed array variable now causes a warning of uninitialized usage even though managed variables are always automatically initialized. Easy to work around but a nuisance, maybe should be mentioned in release notes if behavior is not changed. Issue #34169
Can no longer get the address of an index of a function result string, without saving the result string into a variable first. Could be intentional. Issue #37098This should never have worked in the first place, so it's more correct now.
ISO mode
Assigning a character to a file variable leads to a runtimes error 104, whereas trunk works. See https://bugs.freepascal.org/view.php?id=36902. This has been fixed with commit 44301 to trunk and I expect that RC2 will have it.Fixed Mischi (talk)
Merge requests
- r44127 needs to be merged to fix a Windows Registry Issue #36663.
- r44179 should be merged: New Property EmptyImputRaisesError to avoid TRegExpr Error "empty input string" Issue #36603