Home Two patches for RAD Studio 10.4.2 Sydney released
Post
Cancel

Two patches for RAD Studio 10.4.2 Sydney released

As posted on Embarcadero’s blog post, there were two patches released today that are important for many wanting to use C++ Builder or Delphi 10.4.2.

As discussed in a previous blog post here, 10.4.2 was a great release but there were a few important issues to be aware of. Two of the top issues seem to have been addressed by the patches released today.

Delphi 10.4.2 Compiler Patch #1

Quality Portal Issues Fixed

  • RSP-32768 F2046 Internal Error - out of memory on large projects This seems like the most widely experienced issue for many developers trying to use 10.4.2. The same projects are buildable (albeit slowly) with Delphi 10.4.1. There are currently 39 votes for this issue on Quality Portal with 43 watchers.

  • RSP-33425 F2084 Internal Error - sporadic build failures This error occurs during compiling Win32/Win64 larger projects. The same projects are buildable without issue with Delphi 10.4.1. There are currently 29 votes for this issue on Quality Portal with 33 watchers.

  • RSP-33232 64-bit DLL Debugging broken with runtime packages Cannot debug 64-bit dll in the IDE with runtime packages as the breakpoints are never hit. There are currently 4 votes for this issue on Quality Portal with 5 watchers.

By default, a backup is stored in a folder named similar to: C:\Program Files (x86)\Embarcadero\Studio\21.0\_patch-backup\2021-04-30 15.38.58\bin

You can analyze the patch contents within the GetIt repository folder. On my system, the files for this patch can be found in the folder: C:\Users\Darian\Documents\Embarcadero\Studio\21.0\CatalogRepository\10.4.2CompilerPatch-10

Delphi 10.4.2 General Patch #1

Quality Portal Issues Fixed

  • RSP-33117 TRY..FINALLY block is broken for non-Windows platforms An embedded try/except with a raise statement after the except is the culprit according to a comment from Dave Nottage There are currently 32 votes for this issue on Quality Portal with 29 watchers.

  • RSP-32951 is referenced in the blog post and in the patch notes, but that issue is a duplicate and is closed. The open issue is RSP-29696 C++64: Debugger fatal error: debug kernel not responding. The debug process willl be terminated. There is currently 1 vote for this issue on Quality Portal with 7 watchers.

  • RSP-32939 Debugging of DLL with runtime packages is not possible at all. This must be another duplicate as this particular issue is marked as closed. (Or perhaps an undocumented related internal issue was closed.) There are currently 3 votes for this issue on Quality Portal with 6 watchers.

  • RSP-32043 Fatal linker error: Type index XXX is bad in module YYY when using clang compiler There are currently 3 votes for this issue on Quality Portal with 6 watchers.

  • RSP-33406 E2213 Bad packaged unit format There are currently 0 votes for this issue on Quality Portal with 5 watchers.

As with the first patch, a backup is found in Studio\21.0\_patch-backup folder. The patch contents are also in the GetIt repository folder, but in the 10.4.2GeneralPatch-10 subdirectory.

Notes:

  • I’m currently using a locally managed network license and after each patch installation process, I was repeatedly asked to register my copy of Delphi. Eventually, I figured out that I had to go into the Advanced screen, click on my network license, and then click on the Cancel button to get the IDE to finish loading.

  • For those that do not utilize GetIt, the patches are not yet available in my.embarcadero.com but will be soon.

  • After installing the patches, the version is still reflected as: Embarcadero® Delphi 10.4 Version 27.0.40680.4203 within the About screen. You can verify installation by viewing the Patches and Hotfixes category in the GetIt Package Manager as displayed below:

Screenshot showing Patch #1 and Patch #2 installed within GetIt Package Manager

Unfortunately, the other issues listed in my previous blog post on 10.4.2 remain unresolved. Perhaps an additional patch or two for 10.4.2 will arrive before the 10.5 release later this year.